How jonhill90/agent-estate works
agent-estate combines a Go supervisor that gates and records coding-agent turns with a Go terminal application for operating the resulting estate. The main workflow is an operator dispatching work: host pressure is checked, an agent subprocess runs, and its outcome is recorded for task-state queries; the TUI reads supervisor state for live views. A separate knowledge workflow turns corpus evidence and binding vault facts into a regenerable query index. The README documents these stages and the TUI excerpt confirms its MCP connection; internal call details are not inferred where source was not sampled.
Main entry points: estate/main.go Estate CLI · tick.go Turn dispatch · knowledge.go Compiled index · estate/main.go Estate TUI
Components 18
Dispatch and supervision
- Estate CLI
src/estate/main.go - Pressure gate
src/estate/internal/pressure/pressure.go - Turn dispatch
src/estate/internal/tick/tick.go - Append-only ledger
src/estate/internal/ledger/ledger.go - Task state queries
src/estate/internal/knowledge/knowledge.go
Knowledge lifecycle
- Evidence corpus
src/estate/internal/corpus/corpus.go - Vault facts
src/estate/internal/knowledge/vault.go - Compiled index
src/estate/internal/knowledge/knowledge.go - Knowledge query
src/estate/internal/knowledge/query.go - Distilled rules
src/estate/internal/distill/distill.go
Operator interface
- Estate TUI
src/tui/cmd/estate/main.go - MCP client
src/tui/internal/mcp/client.go
Supporting services
- Issue mining
src/issuemine/main.go - Telegram notifier
src/notify/main.go - Progress reporting
src/progress/main.go
Other components
- Operator
- Agent subprocess
- Supervisor MCP
Connections 16
- Operator → Estate CLI: dispatches work
README.md - Estate CLI → Pressure gate: checks capacity
README.md - Estate CLI → Turn dispatch: starts turn
README.md - Turn dispatch → Agent subprocess: runs subprocess
README.md - Turn dispatch → Append-only ledger: records outcome
README.md - Estate CLI → Task state queries: queries tasks
README.md - Operator → Estate TUI: operates estate
README.md - Estate TUI → MCP client: creates client
src/tui/cmd/estate/main.go - MCP client → Supervisor MCP: calls tools
- Evidence corpus → Compiled index: evidence for
README.md - Vault facts → Compiled index: binds facts
README.md - Compiled index → Knowledge query: serves queries
README.md - Operator → Knowledge query: asks question
README.md - Issue mining → Distilled rules: mines closed issues
README.md - Operator → Telegram notifier: receives messages
README.md - Progress reporting → Operator: reports progress