I built AI teammates that refuse to do the junior's homework
Coding agents now finish the tickets juniors used to learn on. Here's how I built Dibs on Switch: Claude Code and Codex agents in a real Discord room that save the right tickets for juniors, coach with hints instead of code, and track their growth.
A few weeks ago I watched a coding agent close a "good first issue" in about twenty minutes. Clean diff, tests passing, nothing to complain about.
Then it hit me. That ticket used to be a junior's whole afternoon. The afternoon where you get stuck, read the code, try something wrong, try something less wrong, and finally get it. That's how you become a senior engineer. And we're quietly handing all of it to agents.
It isn't just a feeling. Stanford's Digital Economy Lab ("Canaries in the Coal Mine", 2025) found a 13% relative drop in employment for 22 to 25 year olds in the most AI-exposed jobs, and software development is one of them. AWS CEO Matt Garman put it bluntly: replacing juniors with AI is "the dumbest thing I've ever heard", because that's where your future seniors come from.
So for the WeMakeDevs "Flip the Switch" hackathon I built Dibs: AI teammates that call dibs on the right tickets for your juniors. The AI still does most of the work. The juniors still get the reps.
The idea in one line
Most agent workflows ask "how do we hand work to agents?". Dibs asks the opposite: which work should the agents hand back?
What it looks like in a real chat
I ran the whole thing in a real Discord server with two people, Ravi (senior) and Asha (junior), plus three agents.
1. The sweep. Ravi types
@dibs sweep in #payments-team . Dibs scores every open issue against Asha's skill map and posts a triage card:- Most tickets go to the builder: "too easy", "little to learn", "risky (migrations/)".
- One gets reserved: #6, "Webhook sender gives up on the first failure: add retries with backoff". Error handling is at Asha's growth edge, the blast radius is small, and there are 6.6 days of slack on the deadline.
2. The approval. Asha tries
@dibs ok 6 on their own rep. Refused: only a senior can approve. Ravi sends @dibs ok 6 , and on GitHub the issue gets labelled, assigned to Asha and protected.3. The practice room. In
#asha-practice , Asha asks the builder (Claude Code) for the code. It says no and asks a question instead. That's a level 1 hint. Asha tries something and tells the reviewer (Codex), which can now give a level 2 pointer. Two different vendors, same behaviour.4. The review. Asha opens PR #20. Codex reviews it by asking questions, like "what keeps all these retries from firing in lockstep?". Asha adds jitter. All checks go green.
5. The sign-off. Ravi gets pinged exactly once, for the final review and one flagged teaching moment. Merge. The skill map moves error handling from Exposed to Guided, with the evidence attached: deepest hint L2, one review round.
Why Switch, and why it had to be Switch
Switch puts AI agents into the chat apps your team already uses (Discord, Slack, Teams, Mattermost) as real members of rooms. Dibs needed three things a single agent can't give me, and Switch gave me all three.
Agents from different vendors in one real team chat. My builder runs on Claude Code and my reviewer runs on Codex. Without Switch I'd have two bots in two terminals and a team that never sees them. With Switch they sit in
#payments-team next to Ravi and Asha.One rule every agent obeys. Switch rooms have instructions, text every agent reads when it joins. That's where the Dibs protocol lives:
On a reserved ticket you are a coach, not a builder. Rundibs status Nfirst. Ask the ledger for a hint level. Post only hints the ledger accepts.
I didn't write that rule into Claude Code's config, then again into Codex's, and hope they stayed in sync. It's attached to the room. Any agent that joins, from any vendor, gets it. That's the difference between a prompt and a team policy.
Shared memory only one agent can write. Asha's skill map is a Switch room document. Switch enforces that only the agent that created a document can edit it. So
dibs writes it, everyone can read it, and nobody else (not the builder, not the reviewer, not Asha) can quietly bump the numbers. A growth record anyone can edit proves nothing. This one is locked by the platform.Take Switch away and Dibs falls apart: three separate bots, rules copy-pasted into every prompt and drifting, and a skill map any agent could overwrite.
Setting it up
The whole team setup is one Switch template:
- Install Switch Console and start a local server. It runs natively on your machine.
- Connect your Discord server, and link each person's Discord account to their Switch user. Don't skip the linking step. If Ravi's account isn't linked, the agents don't know he's the senior and refuse his approvals.
- Install the
dibsbinary (one Go executable):
go install github.com/vivekyarra/dibs/cmd/dibs@latest
dibs doctor- In Console, import
switch/dibs.template.yamland fill in five fields: team name, the junior's Discord user, their handle, the GitHub repo and the messaging app.
One click creates three agents, a team room, a private practice room, aliases, the room instructions and the kickoff messages. The template also passes Switch's own
template_lint in my CI.Want to see it before setting anything up?
dibs demo plays a whole team week through the real engine in a few seconds, with no Switch or tokens needed.The model proposes, the ledger decides
This was the most important decision I made.
LLMs follow instructions most of the time. For a learning tool, "most of the time" isn't good enough. If the agent pastes the solution once, the whole point is gone.
So the agents don't make decisions. A small Go program does. The
dibs agent reads an issue and proposes three things: skill tags, an hour estimate and the files it expects to touch. Everything else is pure, tested Go:- Scoring. Hard filters drop tickets that are too far, too easy, too risky, too close to the deadline or over the learning budget. The rest get a score that rewards the junior's growth edge.
- Hint levels. L1 is a question. L2 is a pointer, no code. L3 is an outline of at most 8 lines. L4 is a worked example on different code. Deeper levels unlock only after real attempts or time spent.
- The hint checker. Agents don't post hints directly. They pass the text through
dibs hint give, which rejects things like an L1 containing a file name or a line of code. The agent has to rewrite it.
- Releases. If the deadline gets tight or the junior is stuck too long, the ticket goes back to the builder, who continues from the junior's branch and credits them. Delivery never waits on a rep.
And there's a hard stop on GitHub:
dibs-guard , a GitHub Action. When I told the builder to fix a reserved ticket anyway, the guard failed its PR with "#3 is reserved for @asha-dibs-demo as a learning rep". After Dibs released the ticket, the same check passed.Every
dibs command prints JSON with the exact message to post, so the numbers in the chat come from the ledger, not from a model paraphrasing them.Things I learned the hard way
Agents are eager. On my first live run, the builder picked up all ten open tickets at once, including the one reserved for Asha.
!interrupt-all-agents saved me. I turned off auto-delegation and let Dibs do the routing. Lesson: decide who routes work before you let agents loose in a room.Put rules where every agent will see them. Room instructions removed a whole class of "this agent didn't get the memo" bugs. That alone was worth building on Switch.
Don't let the model grade itself. An agent asked "can I give a deeper hint?" will usually say yes to itself. A twenty-line function that counts attempts and minutes says yes only when the junior has earned it, the same way every time.
Release is not failure. Teams will only hold work back for juniors if they trust the deadline still wins. The safety valve matters more than the scoring.
What's next
- Trying it with real teams that have one or two juniors, and measuring time to independence per skill.
- Skill catalogs beyond engineering: support, data and finance teams have the same junior problem.
- Learning which tickets teach best, from the evidence the ledger already keeps.
If you lead a team with juniors, I'd love to hear what you think. The AI does the work. Your juniors still get the reps.
- Dashboard: https://vivekyarra.github.io/dibs/
- Built on Switch for the WeMakeDevs × DevTools Academy "Flip the Switch" hackathon. #HowISwitch
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article