Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/agent / factory
factory
createAgent({...}) — the agent factory entry point.
Wires the typed model -> tool calls -> model loop, the streamed event surface, the steering / followUp queues, durable HITL via RunState, the multi-agent handoff layer, the agent-level model fallback chain, and the per-tool preferred-model resolution.
Custom adapters override behaviour by supplying alternative Provider / Memory / CheckpointStore instances; the loop never reaches into adapter internals.
Functions
| Function | Description |
|---|---|
| createAgent | Build a fresh Agent from the supplied configuration. |