Skip to content

API Reference

Auto-generated from source code docstrings. For conceptual guides, see the Guides section.

Core Primitives

Module Description
Agent Agent and Tool data models
Edge Edge and GroupEdge connections
Edge Types Cooperation, Competition, Oversight, Delegation, Coopetition
Artifact Versioned shared work products
Society The society graph
Resolution Strategies Conflict resolution for competitive edges

Runtime

Module Description
Runtime LocalRuntime, event bus, termination, persistence
Compiler Graph-to-prompt compilation
LLM LLM protocol, LiteLLMBackend, MockLLM, auto_detect_llm
Human Human interface protocol, CLIHuman, MockHuman

Supporting

Module Description
Types SocietyConfig, IrreversibleAction, EscalationPolicy