What I learned building a native console for two competing coding agents
说明与用途
Agent Console 用于监督两种编码代理,提供快速批准、状态快照、差异查看和可验证的审计跟踪。
问题
Developing a desktop app to supervise coding agents (Claude Code and Codex) required features beyond what terminal UIs offered, such as quick approval, state snapshots, diff viewing, and verifiable audit trails.
结果
Agent Console enabled efficient, auditable supervision of two competing coding agents, revealing architectural insights (engine neutrality, permission store differences, convergence) and practical lessons on cross‑platform hooks, clipboard handling, and release pipelines.
工作流
- Launch Agent Console which auto‑starts the chosen agent in a PTY
- Agent outputs commands and diffs
- Human reviews command and diff, then approves or rejects via a two‑keystroke modal
- If approved, the agent executes the command; otherwise, execution is halted
- Each turn is recorded in a hash‑chained ledger with prompts, approvals, tool results, and diffs
- Users can export signed proof packets (Ed25519, DSSE) for audit
- The same workflow is used for supervising the app’s own development PRs
证据
The agents wrote the overwhelming majority of the code, supervised through the very app they were building.
Every session in Agent Console is witnessed: prompts, human approvals, tool results and per-turn diffs land in a hash-chained ledger.
- 记录日期: 2026-09-09T18:31:03.942Z