Skip to content

Getting started

core-agent ships a CLI (core-agent) that lands you in an in-process Bubble Tea TUI on a TTY, or runs one-shot with -p "…" in a script or CI job. This page gets you from zero to your first turn.

Requires Go 1.26 or newer.

Terminal window
go install github.com/go-steer/core-agent/v2/cmd/core-agent@latest

The binary lands in $(go env GOBIN) (or $GOPATH/bin if GOBIN is unset). Make sure that’s on your $PATH.

You need credentials for at least one model backend. Skip the tabs you don’t have keys for.

Get a key at aistudio.google.com.

Terminal window
export GEMINI_API_KEY=... # or GOOGLE_API_KEY — either works
core-agent -p "what's the capital of France?"

Auto-detection picks the Gemini provider when GEMINI_API_KEY or GOOGLE_API_KEY is set and no other provider is configured.

Drop the -p flag and core-agent lands in its Bubble Tea TUI (the default when stdin is a real terminal). Conversation history is preserved across turns automatically.

$ core-agent
[Bubble Tea TUI takes over the terminal]
> Remember the number 73.
Got it — I'll remember 73.
> What number did I just give you?
73.
> /quit

The TUI ships a rich slash-command surface — try /help to enumerate the catalog (/stats, /context, /compact, /done, /btw, /tools, /memory, and more).

Layer in a project — the .agents/ directory

Section titled “Layer in a project — the .agents/ directory”

core-agent walks up from the current working directory looking for a folder named .agents/, much like git looks for .git. It’s the project-level home for everything core-agent reads or writes:

your-repo/
├── .agents/
│ ├── config.json # provider, model, permissions, etc.
│ ├── mcp.json # MCP server declarations
│ ├── skills/ # SKILL.md bundles
│ │ └── echo/SKILL.md
│ └── sessions/ # one-shot transcripts (auto-written)
└── AGENTS.md # system prompt prefix (project-scoped)

A minimal config.json:

{
"version": 1,
"model": {
"provider": "anthropic",
"name": "claude-opus-4-7"
}
}

core-agent picks up everything in .agents/ automatically — no flags needed.

  • Tools — the model-facing tool catalog (files, search, shell, network, planning).
  • Interactive quickstart — operator workflow, slash commands, AGENTS.md, skills, MCP, in 15 minutes. (coming in Phase 2)
  • Providers — full reference for each model backend, env vars, and gotchas. (coming in Phase 2)