thrush-swe-agent
About
Thrush is a local, self-hosted workbench for software-engineering agents built around two deliberately different safety postures. In supervised operation the agent inspects the repo, reasons, drafts edits, and asks for confirmation, with every change staged as a pending revision the developer approves before anything touches disk. Delegating a full task instead routes it to a bundled mini-swe-agent instance running inside an isolated git worktree under data/auto-runs, after an Environment Doctor pre-check verifies clean git state, Docker, the model key, and GitHub readiness; the run produces a report, diff, logs, and full trajectory while the main workspace stays untouched, and opening a draft PR remains a manual step. The implementation is Next.js 15 with SQLite, keyed for DeepSeek, OpenAI, or Anthropic, with Windows users directed to WSL. It fits developers who want one local workbench that can switch between reviewed drafting and autonomous runs on throwaway worktrees.