Your AI dev team, one click away — and you can watch them talk. Click the icon in your Dock and a window opens with a team of coding-agent sessions already running, plus a board that shows JEV routing every message between them: who sent what, who got it, how sure the router was, and who is working on what. No guessing.
The team follows the cross-session blueprint, Opus architects · Haiku relays · Sonnet executes:
| Pane | Model | Job |
|---|---|---|
| Architect | Opus | sets the rules, evaluates contract changes, signs off before merge |
| Main session | Sonnet | builds the feature, syncs schemas, patches dependents |
| Workers (2 by default) | Haiku | small delegated tasks, each in its own copy of the project |
| JEV router | TypeSafe Jev (not an LLM session) | reads every peer message, decides who needs it, delivers it |
| Board | a script | the picture: cards, decision bars, mailbox, session log |
studio up --codex builds the same team with Codex instead of Claude Code.
Codex sandbox grants. A codex role can write to only what its sandbox allows, so the Studio opens exactly these folders to it, nothing else:
- every codex role: the mailbox outbox (
<project>/.studio/mail/outbox), sostudio sendworks; - a codex worker also: its project's git objects, refs and logs, and its worktree's own git
directory (
<project>/.git/worktrees/<name>), so it can add, commit, reset and create branches.
Never the .git root, hooks/, config, info/ or packed-refs. Verified with the real codex
0.164 sandbox: add, commit, reset and branch create work. Branch and tag delete still prompt (they
need .git/packed-refs.lock). Commit and reset print a harmless packed-refs.lock warning.
Extra writable folders for codex workers. To let codex workers write to a folder of your own
(for example, a place for generated output), list it in <project>/.studio/codex-writable, one
path per line, relative to the project:
# comments and blank lines are ignored
out/renders
docs
Each valid line becomes one more --add-dir for codex workers only (architect and main are not
affected). A missing folder is created. Codex still starts when a line is refused; each refusal is
a warning that names the line number. A line is refused when it is:
- an absolute path, or has a
..part; - the project root itself;
- inside
.git(at any depth, in any letter case); .studioitself, or.studio/mailand below. Other.studiofolders (such as.studio/localq) are fine;- inside
.claudeor.codex, which hold the worktrees and settings; - or it resolves outside the project, through a symlink or otherwise. The deepest existing parent is checked before anything is created, and the new folder's real path is checked again after.
The file is read when a team starts, so restart the team (studio stop, then studio up) after
changing it.
Built for Macs with limited memory. Before starting, the Studio checks how much memory is free and starts fewer workers if they wouldn't fit. Built on Herdr, which keeps every agent running in the background and tells the board who is working, done, or waiting on you.
A small AI dev studio, a control room to watch and drive it, and two worked examples.
The agents and the plumbing between them.
| Part | What it is |
|---|---|
bin/studio |
The command: start a studio, send a message, ask a teammate. |
router/ |
The message router (JEV): every message between agents goes through it, so it can be seen and logged. |
roles/ |
The role briefs: architect, main session, workers. |
ui/ |
The board that shows the team and its messages in a terminal and in a browser. |
docs/MIXED-TEAMS.md |
Running Claude Code and Codex in the same team, and when to use which. |
The control room (control/)
Runs on your own machine and talks to every studio over SSH. See control/README.md.
| Part | What it is |
|---|---|
| Viewer | control/viewer/: a live page of every machine and who relayed what to whom. |
| Auditor | control/bin/re-audit: a reviewer model reads each studio's state and says whether it is progressing, stalled, looping or off-scope. |
| Dispatch and watch | control/bin/dispatch, control/bin/onmini and control/bin/studio-watch: hand a brief to a studio's architect, run a script on a remote machine, watch the studios. |
| Bar widget | control/omarchy-plugin/ and control/bin/barstat: working count and tooltip for the Omarchy bar. |
| Local jobs | control/bin/localq: a queue of small jobs for local models, with a gate and your approval before anything runs on a remote machine. |
| Setup | control/install.sh and control/bin/bootstrap: check tools, write the config, install the services. |
| Publish tools | control/hooks/pre-push, control/test/privacy.sh, control/bin/publish-export: keep private names out of what you publish. |
examples/camera-motion/: a small project the studio built end to end, with camera-motion presets, validation and exporters. See its README.examples/video-studio/: the second project, turning a still photo and a camera move into a short clip, plus a multi-shot planner. See its README.
- Install the studio: clone this repo and run
./install.sh(see "Install" below). - Install the control room:
control/bin/bootstrap(add--dry-runfirst to see what it will do). - Copy
control/config/machines.example.jsonto~/.config/re-studio/machines.jsonif bootstrap has not already, and put your own machines in it. - Start the services with
control/bin/bootstrap --enable, then open the viewer at http://127.0.0.1:8765.
git clone https://github.com/rickndanger-ctrl/dev-studio.git ~/dev-studio
cd ~/dev-studio
./install.shIt installs anything missing (Herdr, jq), saves your settings, adds a studio command, and
puts the Dev Studio icon in your Dock. For the JEV router, put your TypeSafe key in
~/.zshrc: export TYPESAFE_API_KEY=…. Without it the router falls back to plain rules.
- Click Dev Studio in the Dock and pick a project.
- The window opens on the board tab. Switch to the team tab to talk to the architect.
- Watch the board: every message the team sends crosses the router and shows up in the
session log with JEV's decision (
p=0.91 sharp → @main).
Click the icon again later and you're back in the same team, still running.
Want the team to mix Claude and Codex (and, later, local models), so the cheapest tool does each job? See Mixed teams. It is written for non-programmers.
If OMAC (the window manager) is running, the studio opens inside an OMAC terminal tile
instead of a macOS Terminal window, so it sits in your tiled layout. Set TERMINAL_APP in
~/.dev-studio/studio.conf to omac, ghostty, iterm or terminal to force one.
An agent runs studio send <me> @peer "one-line note" (or auto). The router asks Jev three
typed questions in one ~150 ms request — which peer needs this first? forward, broadcast,
escalate or drop? is it a note or a pasted dump? — then code decides: an unsure answer goes
to the architect, a dump is trimmed, and the note is delivered into the peer's terminal.
Each message is signed with a secret only its own pane has, so no agent can speak as another;
anything unsigned is delivered marked UNVERIFIED.
The board is a web page served by each Mac and opened beside the team when you click the Dock icon. It draws the team as a chain, top to bottom:
OPUS · session architect ← plans, delegates, signs off
┆ chain of command
SONNET · main session ← builds the feature
│
JEV · message router ← every message passes through here
┌─────────┴─────────┐
@worker-1 @worker-2 ← small delegated tasks
The lines are the real channels. Every message an agent sends travels sender → JEV → recipient, so when the architect hands the main session a task you see a pulse run down the architect's line into JEV and up into the main session; each line keeps the last message that crossed it and how long ago. Cards show each agent's state, what it is doing right now (read from its terminal), and the last message it sent and received.
Click anything. An agent opens its live terminal, its messages and its status history. A message in the feed (or on a line) opens Jev's full decision: every candidate peer with its probability, the action probabilities, the token-leak check, latency, and whether the sender was verified. JEV opens the router's recent decisions.
The live feed on the right is everything in time order: routes with their confidence,
deliveries, and every status change (idle → working → done). Filter it with the buttons.
Each Mac serves its board as a web page, kept alive by launchd and reachable only over your Tailscale network (your signed-in devices, nothing else):
- Mini 1:
http://100.64.0.1:8790 - Mini 2:
http://100.64.0.2:8790
Each page links to the other in its header. Any browser works — the Dell, an iPhone, an iPad.
/health on the same address returns the agent states as JSON for scripts.
The Herdr server and the web page both run under launchd with KeepAlive: if either dies, macOS restarts it within seconds. If Herdr restarts and brings the space back without its agents, the next click on the Dock icon rebuilds the team instead of reopening an empty room.
| Command | What it does |
|---|---|
studio up [project] [--codex] [--router jev|clef|rules] |
open (or reopen) the team |
studio ask "note" |
dry run: what would the router decide for this note? |
studio send FROM @TO "note" |
send a note through the router (agents do this) |
studio web [start|stop] |
the board as a web page (launchd keeps it up) |
studio doctor |
check everything is installed |
studio stop |
stop the studio's Herdr session and every agent in it |
Mixed teams use the same studio up, with role flags: --architect-kind, --main-kind,
--worker-kind and --workers-mixed. studio status shows which tool each role runs. The
Mixed teams guide explains when to use which.
Settings live in ~/.dev-studio/studio.conf (WORKERS, models, ROUTER, CLEF_URL,
SOUNDS). Per-project state (mailbox, router.log, team.json) lives in <project>/.studio/,
kept out of git.
Read HANDOFF.md, DESIGN.md and LESSONS.md. Tests: PATH="/bin:$PATH" /bin/bash test/run.sh.
examples/camera-motion/ is the first project the studios built together (Mini 1: presets, shot sequences and docs; Mini 2: engine, previews, exports and web page). It's a stdlib-only Python package of cinematic camera moves — dolly, crane, orbit, pan, tilt, dolly zoom — and shot sequences that chain them, with animated previews, exports to RealEstate10K, JSON, Blender and glTF, import and preset matching, and a local web page. Start with its README and tutorial.
examples/video-studio/ is the second project the studios built: still-to-motion (stillmove) turns one photo and a camera-motion move into a short clip, using an open depth model or no model at all, and shotplan lays out a multi-shot plan, checks it, and renders it with crossfades; stillmove matte/--layers cut the subject out for a layered 3D look, stillmove mesh builds a Blender scene, and makeclip is a local page to make clips and promos without commands. It is an independent, clean-room project. Start with its README and tutorial.