Pick your starting point
Two paths — both use the samequery() function.
Path 1 — With a GitAgent repo URL
agent.yaml + SOUL.md + skills. Zero config — the repo is your agent.
Path 2 — Without a repo
API Reference
query()
tool()
buildTool()
hooks
QueryOptions
Parameters accepted byquery()
Message Types
Emitted by thequery() async iterator
Cost Tracking
See Utilities for the full shape of the
costs() result and for context-compaction helpers.SDK Quickstart
Install the SDK and run your first query()
Utilities
Context compaction and cost tracking helpers
Telemetry
OpenTelemetry spans, metrics, and Jaeger setup
Capabilities: Tools
Built-in tools available to every agent