Status, checked 18 Nov 2026: ACTIVE. Coding-agent engine and UKC worker runtime. Last code change 17 Nov 2026 (bead file evaluation moved in from drover-warden).
Clean-clone check:
go build ./...,go vet ./...andgo test -race ./...pass from a fresh clone ofmain(9c069be). No sibling checkouts are needed since 44a199a removed thedrover-wardenanddrover-libsreplacelines (#19).Roadmap: ROADMAP.md. Program tracking: Drover gap program (M0 to M4).
Part of the Drover Ecosystem — Orchestrating Autonomous Agentic Engineering
A single static Go binary that runs an agentic coding assistant against the Anthropic Messages API (streaming, tools, Bubble Tea TUI). No Node or Bun.
Docs under docs/ follow Diátaxis and require YAML frontmatter per the org content taxonomy. Validate with scripts/validate-content-frontmatter.sh.
Tutorials (Learning-oriented):
How-To Guides (Problem-oriented):
Reference (Information-oriented):
- Agent Personas & Context
- Available Tools
- Environment Variables
- Implementation Requirements
- Requirements Index
- Requirements Summary (file not in repo)
- Interaction Guidelines
Explanation (Understanding-oriented):
Architecture Decision Records (docs/adr/):
- 01 Foundation
- 02 Agent Loop
- 03 Tools Overview
- 04 FS Tools
- 05 Shell Search Tools
- 06 Git Web Tools
- 07 TUI
- 08 Config & Permissions
- 09 Advanced Systems
- 10 Integrations
- 11 Headless Orchestration
- 12 Property Fuzz Testing
- 13 Test Coverage Plan
- 14 UX Memory Improvements
- 15 UKC Tools
- 16 UKC Workspace Sync
- 17 Custom Commands
- Claude Go Design Spec
- Claude Go Test Spec
- Go 1.26 (see
go.mod) - LLM API access — Anthropic (
ANTHROPIC_API_KEY) or OpenAI-compatible Chat Completions (OPENAI_BASE_URL+OPENAI_API_KEY/SGLANG_API_KEY). See docs/how-to/configure-custom-providers.md. gitonPATHif you use git tools
CGO_ENABLED=0 go build -o drover-code ./cmd/drover-codeInteractive TUI (from a project directory):
export ANTHROPIC_API_KEY=sk-ant-...
./drover-codeQuit and start again in the same directory to continue the last conversation:
./drover-code -c
./drover-code --resume # pick a session in the TUI
./drover-code --resume session-18f3Transcripts are written to ~/.drover/sessions/ after each completed message. /clear starts a new session id and leaves the previous file in place. See Resume a session.
Headless (stdin, non-interactive stdout):
echo "Summarise the README" | ANTHROPIC_API_KEY=sk-ant-... ./drover-codeHeadless mode is designed to run as a non-interactive batch worker (no TTY, no permission prompts), e.g. one job per Unikraft unikernel instance.
Read more: Scaling Agentic Coding: Drover-Code and Unikraft Cloud
- Activation: set
DROVER_CODE_HEADLESS=1(recommended) or rely on non-TTY stdin. - Permissions preset: set
DROVER_CODE_PERMISSION_PRESET=unikernelto run with an allowlist-oriented policy intended for isolated workers. - Machine output: pipe/redirect stdout (non-TTY) or set
DROVER_CODE_JSONL=1to force JSON Lines events. SetDROVER_CODE_HEADLESS_PLAIN=1to force plain text instead. - Completion artifact: set
DROVER_CODE_RESULT_PATH=/path/to/result.json(or pass--result-json /path/to/result.json) to write a final structured result on exit.
When operating as a remote agent on Unikraft Cloud, the worker instance runs a dedicated HTTP wrapper called ukc-agent (found in cmd/ukc-agent). This agent exposes secure endpoints for the local coordinator:
- Workspace Sync (
/workspace): Handles uploading the local repository to the worker and securely downloading artifacts/diffs back upon completion. - Execution Streams (
/exec): Allows real-time streaming of tool execution logs back to the coordinator.
To secure this communication, the Unikraft worker must be booted with an AGENT_TOKEN environment variable.
Coordinator Execution Example:
When running a task across remote workers, you can enable the --verbose flag on the coordinator to stream the remote ukc-agent logs directly to your local terminal:
export ANTHROPIC_API_KEY=sk-ant-...
export CLAUDE_CODE_COORDINATOR_MODE=1
# Dispatch and stream remote execution logs
./drover-code --verboseModel — default is baked into the binary; override with:
export ANTHROPIC_MODEL=claude-haiku-4-5-20251001or "model" in ~/.drover/settings.json or .drover/settings.json.
drover-code speaks Anthropic Messages by default, and OpenAI Chat Completions when OPENAI_BASE_URL or DROVER_LLM_PROVIDER=openai is set (self-hosted SGLang, DeepSeek-V4-Flash, etc.).
Setup, examples, and troubleshooting: docs/how-to/configure-custom-providers.md
Settings merge in order (legacy ~/.claude / .claude paths at each tier are still read when present; drover wins at the same tier):
~/.drover/settings.json<workdir>/.drover/settings.json<workdir>/.drover/settings.local.json
CLAUDE.md files under the working tree are concatenated and injected into the system prompt.
Permission rules and optional dream memory use the same .claude layout as other Claude Code–compatible clients.
Enable with "dreamEnabled": true in merged settings. On exit, the session is summarised into long-term memory for the next launch (TUI, headless, IDE bridge, and coordinator each flush once).
| Storage | Detail |
|---|---|
| Default | .claude/memory.json |
| SQLite | Set DROVER_CODE_DREAM_BACKEND=sqlite → .claude/memory.db |
| Import | First time SQLite opens an empty DB, existing memory.json is imported and renamed to memory.json.imported. Set DROVER_CODE_DREAM_SKIP_JSON_IMPORT=1 to skip. |
Retention (optional caps; applied after each new memory write and once at startup if limits are set):
| Source | Keys |
|---|---|
| Settings | dreamMaxRetentionEntries (max rows kept, newest first), dreamMaxRetentionAgeDays |
| Env | DROVER_CODE_DREAM_MAX_ENTRIES, DROVER_CODE_DREAM_MAX_AGE_DAYS (0 = unlimited for that rule) |
Env overrides win over JSON settings for those two values.
| Mode | How |
|---|---|
| Coordinator | CLAUDE_CODE_COORDINATOR_MODE=1 or "coordinatorMode": true in settings |
| IDE bridge (JSON-RPC over stdio) | CLAUDE_CODE_IDE_BRIDGE=1 |
| GitHub webhook server | ./drover-code webhook (needs GITHUB_TOKEN; optional GITHUB_WEBHOOK_SECRET, WEBHOOK_ADDR, WEBHOOK_WORK_DIR) |
You can define repeatable agent workflows using Markdown or JSON files.
Place Markdown definitions in .drover/commands/*.md (project-level) or ~/.drover/commands/*.md (global).
Example .drover/commands/audit.md:
---
name: audit
description: Run a security audit
agent: security
risk_tier: 2
---
Audit the following file: $1
Using rules in: @rules.mdThen invoke it via the TUI or Headless mode:
echo "/audit main.go" | ./drover-code| Command | Action |
|---|---|
/clear, /reset |
Clears on-screen history and API conversation state |
/tokens |
Estimated context size (char÷4 heuristic) and cumulative API usage |
/model |
Shows active model and how to change it |
/compact |
One summarisation round (older turns collapsed into a summary message) |
/quit, /exit |
Exit |
Long sessions: the agent loop automatically summarises when the estimated context passes the soft limit (see internal/convo). Exact token counts are not implemented yet.
- Context size is estimated with a character heuristic, not a real tokenizer.
- IDE bridge handlers are minimal; full parity with every extension RPC is not guaranteed.
- Run
go test ./...before releases; useCGO_ENABLED=0in CI to keep builds portable.