Context is precious. Execution is sacred. Trust is earned.Python 3.10–3.13

API reference

Primary imports

from agent_gantry import (
    AgentGantry, create_default_gantry, with_semantic_tools,
    set_default_gantry, ToolCall, ToolResult, ToolDefinition,
    GantryContextProvider, enable_console_logging,
)

AgentGantry

  • register(...): register a callable as a tool, with tags, capabilities, metadata, and schema inference.
  • sync(): synchronize tool definitions to the configured vector store.
  • retrieve(...) / retrieve_tools(...): retrieve relevant tools for a query and return internal or provider-specific schemas.
  • execute(ToolCall): execute a selected call through the execution engine.
  • close(): release vector store, telemetry, and protocol resources.

Decorator path

with_semantic_tools wraps existing async generation functions and injects a tools argument based on the prompt parameter.

CLI

agent-gantry install-skill --claude
agent-gantry install-skill --target ./skills