Install
Two ways to call query()
There are two ways to callquery(), depending on whether you already have an OpenGAP agent repo or just want to point the SDK at an existing project.
Path 1 — With repo URL
agent.yaml, SOUL.md, and skills automatically. Zero local setup.
Path 2 — Without repo
Next steps
SDK Reference
Full API reference for query(), tool(), buildTool(), and hooks
Utilities
Context compaction and cost tracking helpers
Telemetry
Wire up OpenTelemetry spans and metrics
Architecture
Understand the agent directory structure and agent.yaml