LOCAL-FIRST DAEMON & DESKTOP APP ✓ RED → GREEN VERIFIED

Plan, route, and verify local coding agents.

Your calm in the commit storm. DevBro turns chaotic single-prompt agent runs into structured specs, model-tiered tasks in isolated git worktrees, and real command checks that prove the work.

DRIVES YOUR LOCAL CLIS:
Claude CodeCodexOpenCodePiGitHub Copilot CLIAntigravity CLI
DevBro deadpan developer mascot with opaque round glasses and low ponytail
<._.> status: calm · 0 silent retries
1. Discover / 2. Specify / 3. Plan / 4. Build / 5. Review
127.0.0.1:4321 · local
T2 · Red-green check runner
worktree: .devbro/worktrees/r-02/T2 · branch: devbro/r-02/T2
✓ RED → GREEN VERIFIED
RED node --test checkRunner.test.ts failed with expected text
GREEN node --test checkRunner.test.ts 14/14 passed · 310ms
packages/server/src/services/checkRunner.ts
- if (result.exitCode !== 0) return { passed: false };
+ if (expect.kind === 'fail') {
+ return verifyExpectedFailure(result, expect.mustContain);
+ }
RULE 01

DevBro proposes, you decide.

Skills, tiers, updates, and memories are suggested with reasons — nothing applies without confirmation.

RULE 02

Nothing hidden.

Every project map, trimmed log, skill, and memory put into a prompt is inspectable and editable.

RULE 03

Cost per passing task.

Not vanity speed benchmarks. We optimize real token spend per task that actually passes its checks.

RULE 04

Untrusted until reviewed.

External skill repos are scanned offline and stay inactive until you inspect the risk report.

HOW DEVBRO ACTUALLY WORKS

Built for engineers who read the diff.

Six real engineering problems with coding agents — and the deadpan architecture DevBro uses to fix them.

01 · PLAN BEFORE CODE

Agree on the spec before an agent touches a file.

Most agent failures start in the first 30 seconds: vague prompt in, 1,400-line hallucinated diff out. DevBro runs every feature through five structured stages — Discover, Specify, Plan, Build, and Review.

  • Structured question cards during Discover so requirements are settled in place, not buried in chat scrollback.
  • Editable Markdown spec and portable tasks.json contracts: change complexity, model tier, skills, or checks before pressing Build.
  • User overrides are marked setBy: "user" so re-planning never silently overwrites your decisions.
Discover → Specify → Plan → Build → Review
DevBro leaning deadpan on his hands at a mechanical keyboard staring at a rubber duck saying semicolon
FIG 01 · RUBBER DUCKING Five minutes of structured planning beats two hours of explaining a missing semicolon.
02 · BIG MODEL PLANS, SMALL MODELS BUILD

Stop paying frontier-model prices to rename a variable.

Token efficiency is a first-class engineering constraint in DevBro, not an afterthought. Your smartest model writes provable, bite-sized task contracts; fast small models execute them on a lean, cache-friendly prompt.

  • Per-task model tiers (small / medium / large) mapped to your own CLI models in Settings — plans stay portable.
  • Stable prompt prefix shared byte-for-byte across tasks in a session so your provider prompt cache actually hits.
  • Bounded project map, trimmed failing check logs, capped session handoff notes, and real token + cost reporting per passing task.
↓ Prompt bloat · ↑ Prompt cache hits
DevBro holding a tiny fix-typo sticky note next to a giant $47.82 API token receipt
FIG 02 · TOKEN BURN Using a flagship reasoning model with 400k uncached tokens to fix "blu → blue".
03 · CHECKS PROVE THE WORK

Red-green TDD in one task. Zero identical retry loops.

An agent saying "All tests pass!" while commenting out assertions is comedy, not CI. DevBro runs real shell checks with explicit expectations and treats exit codes as ground truth.

  • Single-task red-green flow: write the failing test, verify it fails for the stated reason, implement, verify green.
  • Pre-checks run before the assistant even starts — tasks whose checks already pass (or have broken commands) are blocked immediately.
  • No identical retries: if an attempt changed no files and failed with the same output, DevBro stops and asks you instead of burning credits.
RED (expected failure) → GREEN (verified)
DevBro pointing calmly at a passing laptop while a production server smokes with PROD 500
FIG 03 · WORKS ON MY MACHINE If a check did not fail before your code existed, it proved nothing.
04 · PARALLEL WORKTREES & SAFE COMMITS

Run four agents at once without turning Git into a crime scene.

Independent tasks run concurrently in isolated git worktrees on dedicated branches, then land back onto your session branch one verified commit at a time.

  • Non-overlapping file scopes execute in parallel (up to 4 concurrent lanes) inside .code-buddy/worktrees/.
  • Git hooks always run (never --no-verify), never force-pushes, never stashes or touches your uncommitted work, and never stages .env or *.key secrets.
  • On a merge conflict, DevBro aborts cleanly, keeps the task worktree intact, names the conflicting files, and lets you decide.
Hooks respected · Secrets never staged
DevBro sipping coffee deadpan at his desk while a server burns behind him on Friday at 5pm
FIG 04 · FRIDAY DEPLOY Calm coffee energy because every task landed on an isolated worktree with clean rollback.
05 · KNOWLEDGE BASE & SCANNED SKILLS

Untrusted until reviewed. Nothing hidden in the prompt.

Third-party SKILL.md repos are basically curl | sh for your coding agent. DevBro indexes git skill sources into local SQLite FTS5 and scans every imported or updated skill before it can touch a prompt.

  • Offline static pattern scanner catches hidden unicode, HTML comments, pipe-to-shell, rm -rf, ~/.ssh / .env reads, and outbound URLs.
  • High-risk skills are hard-blocked unless you explicitly inspect the flagged lines and override.
  • Every memory, skill, and model choice injected into an assistant prompt is shown transparently — nothing hidden, ever.
HIGH-RISK SKILLS BLOCKED BY DEFAULT
DevBro inspecting a SKILL.md scroll with a magnifying glass and stamping BLOCKED over hidden malicious instructions
FIG 05 · UNTRUSTED SKILL Inspecting a shiny "10x helper" SKILL.md before it reads ~/.ssh/id_rsa.
06 · BRING YOUR OWN LOCAL AGENTS

One calm cockpit for every CLI coding agent you already pay for.

DevBro is a local daemon (127.0.0.1:4321) + native Tauri desktop shell + standalone binary. No hosted proxy, no seat-tax wrapper, and no switching away from the agent CLIs you trust.

  • Works out of the box with Claude Code, Codex, OpenCode, Pi, GitHub Copilot CLI, and Antigravity CLI.
  • 32-byte per-user access token, SameSite=Strict loopback auth, local SQLite storage, and process-group cleanup when you hit Stop.
  • Close the desktop window and your tasks keep running in the background daemon; reopen and reattach instantly.
Local daemon · SQLite · Tauri desktop + CLI
DevBro calmly conducting three parallel terminal panes running Claude Code, Codex, and OpenCode with PASS badges
FIG 06 · AGENT CONDUCTOR Orchestrating Claude Code, Codex, and OpenCode from one local cockpit without losing your mind.
EARLY ACCESS · LOCAL-FIRST

Stop babysitting terminal tabs.

DevBro is in active development toward v3 (the Code-Buddy rename + knowledge base + model tiers). Join the waitlist for desktop installer builds and release notes, or star the repo to track every PR.

✓ Runs 100% locally macOS · Linux · Windows Zero proxy markup
Which local agent CLI do you run? (optional)

Want to build from source today? Star betterthinker/code-buddy on GitHub →