Embed the Library
Embedding core-agent in your own Go binary. Common cases: custom
coding assistants with domain tools, HTTP-served agents, web-app
prompt UX, alternative LLM backends, integrations into existing
orchestration frameworks.
Getting startedInstall, minimal embed, first agent call — under five minutes.
GuideNarrative tour of every extension point with worked examples — custom prompter, custom tools, custom provider, HTTP-served agent.
API referenceExhaustive reference: every option function, every public type, every default.
Common references
Section titled “Common references”- Configuration —
.agents/config.jsonschema (consumed by both CLI + library callers) - Providers — each backend’s env vars, model IDs, gotchas
- Sessions and event log — durable session storage via
eventlog - Context management —
WithCompactor/WithCheckpointer/tools/agenticfor long-lived agents