← Selected work

Rust · Agent orchestration

TeraCode

A local-first Rust TUI for running safe, multi-agent software factories.

What I built

I built a local-first Rust TUI that turns a development goal into an isolated, multi-agent task DAG with explicit workspace and autonomy gates.

  • Built a Ratatui terminal interface and bounded DAG scheduler over six coding-agent CLI adapters, with process-group cancellation and local SQLite run history.
  • Isolated parallel workers in git worktrees, detected overlapping file paths, and assembled binary-safe patches into a staged integration branch without touching the starting branch.
  • Required explicit workspace and autonomy policies on every run, passing prompts as process arguments rather than shell strings and redacting credential-shaped values from diagnostics.
Factory routing line
$ teracode --repo .

goal → blueprint & task DAG
     → isolated git worktrees (6 CLI adapters)
     → quality gates & bounded rework
     → staged teracode/<run>/integration
View source on GitHub