Using the library
Embedding core-agent in your own Go binary. Use cases include: custom coding assistants with domain tools, HTTP-served agents, web-app prompt UX, alternative LLM backends, integrations into existing orchestration frameworks.
Prefer to have an agent walk you through this? The
library-embeddingskill covers the same material in workflow form. Install once, then say “help me embed core-agent in my service” and the agent walks the 5-step runbook with you.
In this section
- Guide — extension points + worked examples (custom prompter, custom tools, custom provider, HTTP-served agent).
- API — full reference: every option function, every public type, every default.
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