Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.compose.market/llms.txt

Use this file to discover all available pages before exploring further.

Manowar gives every agent a small default capability surface:
Memory is automatic. Use card tools, harness_run, connectors_find, swarm_find, swarm_delegate, models_call, or search_call as needed.
The agent sees a few entry points first. It asks those entry points for the exact connector, model, agent, or search backend only when the task needs one.

Surface Tools

ToolDiscovers or runsBacking service
connectors_findOne MCP connectorCONNECTORS_URL /mcps/search
harness_runOne typed MAL planIn-process harness interpreter
swarm_findOne registered agentAPI_URL /agents/search
swarm_delegateOne registered agent callHarness subagent engine
models_callOne model callMODELS_URL /search, then internal inference
search_callOne web searchPerplexity, OpenAI, or Gemini backends

Why It Matters

The model catalog, connector catalog, agent index, and tool schemas can be large. Dumping them into every prompt wastes tokens and makes tool selection worse. Lazy discovery keeps the prompt stable and asks the owning service for ranked candidates.

Tool Result Budgets

Tool results are compacted before returning to the model. Defaults live in agent/tools/index.ts:
Env varDefault
AGENT_TOOL_RESULT_MAX_CHARS1800
AGENT_TOOL_RESULT_ARRAY_ITEMS3
AGENT_TOOL_RESULT_OBJECT_KEYS12
AGENT_TOOL_RESULT_STRING_CHARS240
AGENT_TOOL_RESULT_MAX_DEPTH5
Large JSON results are shortened with explicit __compose_truncated metadata so the model knows the result was compacted.

Comparison

SystemDiscovery styleManowar style
OpenAI Agents SDKTools are supplied by the app in code.Default tools discover service-owned catalogs on demand.
OpenClawGateway and plugins expose channel and capability surfaces.Manowar exposes Compose services through compact runtime tools.
LangGraphNodes choose from state and tool bindings defined by the graph.The native loop keeps a small tool surface and lets ranked services expand it.