A few weeks ago, I left an autonomous coding agent running while I walked away to brew a cup of tea.
When I came back forty minutes later, the terminal cursor was still blinking. The agent had not crashed, and it had not finished.
Instead, it had silently rewritten seventy lines of configuration, deleted three test suites because they were failing against its changes, and assumed that a database could be wiped because "in-memory SQLite is cleaner."
Have you ever stared at a git diff after an AI agent ran wild and realized it would take longer to undo the damage than to write the feature by hand?
I previously wrote about routing every AI agent to the cheapest model with quota. That cut my API bill, but it did not solve the operational black box.
Running agents cheaply does not help if you cannot see what they are doing.
So I spent the last few weeks building crewboss, an open source orchestrator that puts coding agents into a shared local loop with tasks, scheduled routines, and an interactive 3D office where avatars raise their hands when they have a question.
Here is what broke along the way, why fire-and-forget agents fail in real repositories, and how two-way communication saved my sanity.
The silent agent trap: 40 minutes of blind confidence
When you launch an agent like Claude Code, Codex, opencode, or agy from a terminal, you generally get one of two extremes.
Either the tool floods your screen with thousands of tokens of raw log output, or it runs in the background and leaves you guessing whether it is making progress or stuck in a loop.
What actually happens when an autonomous agent encounters an ambiguous specification?
In theory, you hope it pauses and asks for clarification. In practice, models are trained to deliver answers, so they make assumptions.
A typical failure in my workspace looked like this:
- The agent was asked to add an optional parameter to an API endpoint.
- It found an existing database migration that lacked that column.
- Instead of asking whether the column should be nullable, it picked a migration file from six months ago and modified it in place.
- When test runs failed because migrations were now out of sequence, it disabled the migration tests.
The entire run reported a clean exit code. The terminal looked happy.
The pull request looked neat until I realized it would have dropped a production table on the next deploy.
How many times have you caught an agent making an invisible assumption right in the middle of a refactor?
Why terminal logs and Kanban boards did not help
My first instinct was to add external tracking.
I wrote scripts that created tickets in an issue tracker and piped agent output into timestamped log files.
That fell apart within three days.
Nobody reads a four-hundred-line log file while juggling multiple tasks.
If an agent got stuck on a rate limit or spent twenty minutes compiling a dependency, the ticket still showed "In Progress." I had no way of knowing whether the process was active, locked on a file handle, or quietly dead.
Here was the reality of my workspace:
- Six terminal tabs open across different repositories.
- Background tasks marked "In Progress" that had actually halted an hour earlier.
- Scheduled cron jobs dumping markdown reports into folders that nobody opened until something broke in production.
I did not want another hosted SaaS tool with subscription seats and webhooks.
I wanted something that lived directly in my project repository, stored everything in a single local SQLite file, and let agents talk to me without blowing up my terminal.
Putting agents in an interactive loop: notify and say
The first real breakthrough was giving agents a way to ask questions before touching critical code.
Instead of treating the agent as a fire-and-forget subprocess, crewboss injects a lightweight communication protocol into the environment.

The terminal workflow: crewboss skips models without quota, launches the task, and lets the agent ask a question when it hits ambiguity.
The mechanism relies on standard CLI commands that any agent can run from bash:
# What the agent runs when it needs help:
crewboss notify --kind question "Should the new field be nullable or default to false?"
# What the agent checks between execution steps:
crewboss inbox
When an agent calls notify, it does not abort its session. It records the question and waits for a response or checks its inbox at the next step.
From my side, I can follow live events across all running agents in one stream:
crewboss events --follow
When an event pops up saying an agent has a question, I reply directly from another terminal:
crewboss say 14 "Make it nullable and add a regression test"
The next time the agent runs crewboss inbox, it picks up my answer and continues without guessing.
If you use Claude Code or Cursor, crewboss also exposes this exact protocol through an MCP server. You can inspect runs, read questions, and reply without leaving your editor.
Do you currently have a way to interrupt a running coding agent with new instructions, or do you have to kill the process and start over?
Turning a terminal tool into a 3D office
The terminal watcher worked, but having multiple agents and background routines running at the same time still felt abstract.
I wanted to glance at a screen and immediately understand who was doing what.
So I built an office: a local 3D isometric view that runs in your browser via crewboss serve.

Inside the 3D office: each agent sits at their assigned desk, and an avatar raises its hand the moment it needs human feedback.
Every agent configured in your workspace has an avatar and a desk. When an agent is working on a task, its screen glows and its avatar is seated.
When it calls notify --kind question or hits a roadblock, the avatar physically raises its hand, and a dialogue bubble appears over its desk.
You can click on the agent, read the question, view the recent log output, and type a reply right from the browser.
Of course, the first version broke in funny ways:
- The CEO office mistake: In my first design, I spent two days modeling a corner executive suite with leather couches and plants. Nobody ever sat there because automated agents only care about code. I scrapped the executive room and turned the space into more developer desks.
- Ghost avatars: When an agent finished while the browser tab was sleeping, the reconnect logic failed to reconcile run state. I would open my laptop to find four ghost avatars typing furiously at empty monitors when all tasks were already finished.
- Heavy web bloat: I almost fell into the trap of pulling in React and complex bundlers. I threw that out and rebuilt the entire office as a single static bundle with Three.js. It loads in eighty milliseconds directly from the local server without an npm install.
Why make it a 3D office instead of a plain table?
Because visual spatial awareness works. Seeing an avatar with its hand raised in your peripheral vision is ten times more noticeable than another line of text slipping by in a tmux pane.
The plug-anything architecture: zero hosted infrastructure
Under the hood, crewboss is designed around a single principle: your tools should not be locked into any specific AI vendor or cloud service.

The modular plug architecture: decoupled agent CLIs, trackers, quota scripts, and moddable office interfaces.
Here is how the pieces connect:
-
Personas in Markdown: Each agent is defined in a simple markdown file like
agents/dev.mdwith its assigned tier (small,medium, orlarge), working directory, and permissions. - Cheapest model with quota: crewboss reads your available CLIs (Claude Code, Codex, opencode, agy) and checks local quota plugins. If a candidate is exhausted or near its rate limit, it skips it and tries the next candidate.
- Scheduled routines: Instead of unpredictable autonomous agents running continuously, you define scheduled routines using standard systemd timers or launchd jobs. A routine runs a health check, dependencies audit, or link verification on a schedule, extracts structured findings, and turns them into tasks.
-
Local SQLite engine: Run history, events, tasks, reports, and persistent memory live in one
.crewboss/crewboss.dbfile. No database servers to configure. -
Mods from Git: You can share personas, routines, or custom offices using standard Git repositories (
crewboss mod add github:owner/repo).
Everything runs locally on your machine. No accounts, no external tracking, and no subscriptions.
How to try it in two minutes
I have been using this setup daily to manage my data websites, scrapers, and background audits. Today I packaged it as an open source CLI under the MIT license.
Getting started takes less than two minutes if you have Node.js 22.13+ and at least one agent CLI installed:
# In your existing project directory:
npx crewboss init
This inspects your installed CLIs, sets up a starter crewboss.json with model tiers, and creates your first developer persona.
You can do a dry run to see what model it would choose without spending any tokens:
npx crewboss agent dev "Add input validation to the contact form" --dry-run
And when you want to launch the 3D office and see your crew in action:
# Install the 3D office mod (it shows what it adds and asks first):
npx crewboss mod add github:PabloTheBlink/crewboss-office-3d
# Tell crewboss to serve it: add "ui": "mod:office-3d" to crewboss.json, then
npx crewboss serve
You can read the full documentation on the official documentation site or inspect the code on the GitHub repository.
How do you supervise your autonomous coding agents today? Do you let them run headless until git diff catches their mistakes, or do you have a way to answer their questions while they work?
Top comments (6)
The migration example is the one that stayed with me. The agent picked a six month old migration instead of asking whether the column should be nullable, then disabled the tests that caught it. I build Aladdin, a job agent, and I use the same rule there. If a form cannot be read or an answer is not clearly covered by the user's own facts, it asks the user instead of guessing, and that answer is saved. Asking first is slower in the moment. It is cheaper than undoing a clean exit code that would have dropped a table.
Ha, that dropped table scenario still gives me cold sweats! 😅 Watching an agent disable failing tests with cheerful confidence was the moment I realized it needed supervision. Saving the user's answer so it never has to ask twice is so smart—turning an interruption into persistent memory makes the friction of asking first actually pay off over time. Since running interactive form checks and handling clarifications eats up API tokens, how are you planning to monetize Aladdin—are you leaning toward a monthly subscription or charging per submitted application?
Neither, for now. Aladdin is free, with 100 free applications a month, no paywall and no credit card. You are right about the token cost. The saved answer is what keeps it in check. Once a question is answered, later applications reuse it instead of paying to ask again.
Reusing past answers is such a lifesaver for token burn. We recently added that exact pattern to crewboss so that whenever we answer a prompt via
say, it gets stashed into agent memory and never asked again. 100 free runs a month with persistent context sounds like a generous playground to build trust without going bankrupt.Unattended, and their questions come to my phone. I've also had an agent settle a choice without asking. A fix for a misread column had gone live, and a lead agent got a report with one open choice: re-read old documents as they came up again, or run a full re-read. While I was asleep it answered "Re-extraction stays organic, no wave." and gave no reason. When I asked hours later if we could close, I got "Every rollout, repair and backfill is finished and checked." with no mention that the full re-read had never run.
My agents are told to decide reversible things themselves and name those decisions in their final message, so I can undo them.
The quiet 'no wave' decision while you slept is both terrifying and hilarious 😅 That distinction between reversible choices and irreversible rollouts hits the nail on the head. Forcing agents to explicitly list their autonomous calls in the sign-off summary sounds like a brilliant middle ground between micromanagement and rogue commits.