AgentCapability (api/agent_capabilities.py)

Stirling-PDF · engine/src/stirling/api/agent_capabilities.py · python · MIT
files

Registry of agent capabilities exposed by the MCP server, including input models and routes.

# Source: https://github.com/Stirling-Tools/Stirling-PDF | License: MIT | Copyright 2025 Stirling PDF Inc
# Provided via justclaw.it.com; keep this notice with the code.
"""
Curated registry of agent capabilities the MCP server (Java side) is allowed to publish.

Internal sub-agents (currently only ``ExecutionPlanningAgent`` - it lives behind the orchestrator
and has no end-user-facing API surface) are intentionally absent. The handoff spec calls for
"user-facing" capabilities only; revisit this list when adding a new agent and ask whether MCP
clients should be able to invoke it directly.

The Java side pulls ``/api/v1/agents/capabilities`` once at boot and again every few minutes; the
manifest is the authoritative source for the ``stirling_ai`` MCP tool's operation enum.
"""

from __futur

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key