Skip to content

zarlcode

zarlcode is a terminal UI coding agent. It is one of the real products shipped in this repo, built almost entirely from zkit packages.

zarlcode in action

  • Runs an interactive agent loop in a TUI
  • Reads, writes, edits, and patches files in a workspace-rooted sandbox
  • Executes shell commands through a sandboxed process manager
  • Selects and calls tools with guardrails and fan-out budgets
  • Persists sessions, settings, and API keys in SQLite
  • Spawns read-only or verify-only sub-agents for exploration and testing

For a screen-by-screen tour of the TUI — the timeline, the cockpit, the working set, the file viewer, plan mode, and every key that opens them — see the interface reference.

PackageRole
zkit/agent/runnerThe streaming agent loop
zkit/ai/tools/coderead, write, edit, bash, grep, ls, and plan tools
zkit/agent/guardrailsSchema repair, shell policy, fan-out caps, Go verifiers
zkit/agent/coderunnerStandard coding toolset + guarded source assembly
zkit/agent/spawnSub-agent delegation
zkit/prefsEncrypted API keys and workspace-scoped settings

The source lives at zarlcode/.

Terminal window
cd zarlcode
go run ./cmd