Spaces:
Running on Zero
Running on Zero
File size: 666 Bytes
5424fe6 24b5ffb 5424fe6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | """Tool layer — the capability contract between agents and tools.
The ToolRegistry brokers tool calls and enforces per-agent capability grants
(``manifest.tools``). Tools resolve in-process by default; the same contract also
fronts MCP servers when the transport is configured (``MCP_SERVERS`` /
``MCP_ORACLE``), with the capability check always running first — see ADR-0017 and
docs/architecture/tool-contract.md. The MCP client/server modules are imported
lazily, so importing this package never requires ``mcp``.
"""
from src.tools.registry import CapabilityViolation, ToolRegistry, ToolSpec
__all__ = ["ToolRegistry", "ToolSpec", "CapabilityViolation"]
|