core-agent

A reusable Go-based agent built on the Google Agent Development Kit. Embed it in your binary, pick the providers and tools you need, ship.

core-agent ships first-class Gemini and Claude (first-party + Vertex) backends, MCP server integration, Claude-style skills, an autonomous-run driver with budgets + crash-resume, durable sessions with audit/replay event log, in-process subagents, and a permission gate — all behind a small Option-pattern API designed to be embedded in your own Go program.

Autonomous runs

agent.RunAutonomous loops the model toward a goal with budgets (turns / tokens / cost / wallclock). ResumeAutonomous picks up after a crash from the durable event log.

Read more

Durable sessions + audit log

eventlog.Open returns a SQLite/Postgres/MySQL-backed session.Service plus a Stream with monotonic seq, Since(seq) replay, and Watch(seq) live tail.

Read more

In-process subagents

agent.WithSubagents([]*Agent) registers each as a callable tool. Subagent events stream into the parent’s audit log under a branch-scoped path.

Read more

Install

go get github.com/go-steer/core-agent@v2.0.0

See Getting started for the first turn, or jump to Library API if you want the full surface.