Skip to content
Navigation

Comprehensive guides covering every feature of the Orbiter multi-agent framework.

Core Concepts

GuideDescription
AgentsCreating and configuring agents — the core autonomous unit
ToolsDefining tools with the @tool decorator, FunctionTool, or the Tool ABC
Running AgentsExecuting agents with run(), run.sync(), and run.stream()
StreamingReal-time streaming with TextEvent and ToolCallEvent
Structured OutputConstraining agent output to Pydantic models

Multi-Agent Systems

GuideDescription
Multi-Agent SwarmsOrchestrating agents with workflow, handoff, and team modes
Agent GroupsParallel and serial execution groups, nested swarms

Lifecycle and Observability

GuideDescription
HooksIntercepting agent lifecycle events (pre/post LLM call, tool call)
EventsDecoupled async event bus for cross-cutting concerns

Human Oversight

GuideDescription
Human-in-the-LoopPausing agents for human input, confirmation, or review

Context Engine

GuideDescription
Context OverviewArchitecture, automation modes, and full context engine guide index
State ManagementHierarchical key-value state, parent inheritance, fork/merge
Prompt BuildingNeurons, priority ordering, variable substitution
ProcessorsEvent-driven pipeline (pre_llm_call, post_tool_call, etc.)
WorkspaceVersioned artifact storage, observers, filesystem persistence
KnowledgeText chunking, TF-IDF search, knowledge store
CheckpointsSnapshot save/restore, version history
Token TrackingPer-agent per-step usage, trajectories, summaries
Context ToolsPlanning, knowledge, and file tools for agents

Memory

GuideDescription
MemoryTyped memory hierarchy, short/long-term memory, orchestration, summarization
Memory BackendsSQLite, Postgres, and Vector storage backends

Integration

GuideDescription
MCPModel Context Protocol client/server, tool loading, multi-server management
SandboxIsolated execution environments (local, Kubernetes), filesystem and terminal tools
Agent-to-Agent (A2A)Agent discovery, HTTP-based agent communication, remote agent wrappers

Observability and Evaluation

GuideDescription
TracingOpenTelemetry spans, @traced decorator, prompt logging, propagation
EvaluationRule-based and LLM-as-Judge scorers, parallel evaluation, pass@k
Ralph LoopIterative refinement: Run -> Analyze -> Learn -> Plan -> Halt

Training

GuideDescription
TrainingTrajectories, data synthesis, evolution, VeRL/RLHF integration

Deployment

GuideDescription
ServerFastAPI-based HTTP server with chat, SSE, WebSocket streaming
CLICommand-line runner, interactive console, batch processing, plugins

Configuration and Extensibility

GuideDescription
Config-Driven AgentsLoading agents and swarms from YAML files
SkillsSkill registry, markdown skill format, local and GitHub sources
Model ProvidersUsing OpenAI, Anthropic, and custom LLM providers

Quick Reference

All framework types live in orbiter.types:

  • Messages: UserMessage, SystemMessage, AssistantMessage, ToolResult
  • Execution: AgentOutput, RunResult, ActionModel
  • Streaming: TextEvent, ToolCallEvent, StreamEvent
  • Stats: Usage

Configuration types live in orbiter.config:

  • ModelConfig, AgentConfig, TaskConfig, RunConfig
  • parse_model_string() — split "provider:model" strings

For full API details, see the API Reference.