Skip to content
Navigation

Complete API reference for the Orbiter framework.

Packages

orbiter-core

The foundational package providing agents, tools, runners, swarms, hooks, events, configuration, and the type system. Everything you need to build and run LLM-powered agents.

Public modules:

ModuleDescription
typesMessage types, agent I/O, run results, streaming events, base error
configConfiguration dataclasses: ModelConfig, AgentConfig, TaskConfig, RunConfig
registryGeneric named registry with duplicate detection
eventsAsync event bus for decoupled communication
hooksLifecycle hook system for agent execution interception
toolTool ABC, FunctionTool, @tool decorator, schema generation
agentAgent class — the core autonomous LLM-powered unit
runnerrun(), run.sync(), run.stream() — the primary execution API
swarmMulti-agent orchestration with flow DSL
humanHuman-in-the-loop tool and input handlers
loaderYAML agent and swarm loader with variable substitution
skillsMulti-source skill registry for loading skills from local paths and GitHub

orbiter-core Internal

Internal modules that power the public API. These are implementation details subject to change without notice.

ModuleDescription
message_builderBuild ordered message lists for LLM provider calls
output_parserParse LLM responses into agent-level output types
stateRun state tracking with execution nodes and lifecycle
call_runnerCore execution loop with loop detection
handlersHandler abstractions for composable agent execution
agent_groupParallelGroup and SerialGroup execution primitives
nestedSwarmNode for nesting swarms within swarms
graphDirected graph, topological sort, flow DSL parser
backgroundBackground task handler with hot-merge and wake-up-merge