Categories
Open Source

claudedvan: $200 of expiring Claude credit, a team of AI agents, and a camper van nobody is building

A friend’s new van, a weekend side project, and $200 of Claude API credit about to expire. I pointed mergecrew, my open-source agent team, at a camper van planner designed entirely by Claude and let it run overnight. Here’s what the agents built, what broke, and what I’d do differently.

Over Thanksgiving weekend we went camping, and a friend showed up in a van they'd just bought. By the end of the trip I'd heard everything about insulation, solar panels, and whether a bunk bed can hang from the ceiling on ropes. I'm not buying a van. But I got curious about how much planning a build takes, and it turned out to be a great weekend project.

Back home I had two things: that curiosity, and $200 of Claude API credit that was about to expire. I also had a project of my own that needed a real workload to test it. So I put the three together.

Two minutes of the night: mergecrew’s agents on the left, the site changing with every merge on the right, then a tour of what they built.

There's also a vertical version for phones.

The two projects

mergecrew is an open-source (Apache 2.0) agentic workflow I've been building on the side. You connect a GitHub repo, queue tasks, and each task becomes a run with three agents:

  1. a Planner reads the repo and the task and writes a plan;
  2. a Coder implements it in a sandbox and commits;
  3. a Reviewer checks the result against the plan and approves it or sends it back.

Then mergecrew opens the pull request, CI runs, and it merges. There's a scheduler, a spend cap per organization, and a UI that shows every step, token and dollar. It's a hobby project for learning how far agent loops can go without a human, and it had never had a night like this.

claudedvan.com is the joke that got out of hand. The name is the whole idea: a camper van that is Claude'd, planned and written entirely by Claude. I built the first version with Claude Code that weekend: a planner that walks through a van conversion step by step in 3D, in the order you'd actually do it, with the parts to buy, a cut list, a budget, and a voice that reads each step aloud. It ended up with features like a bunk that lifts on ropes and pulleys so the bed underneath stays usable, and every part links to a real product page.

What it lacked was the tedious work: real dimensions for every common US van, each with a source, a way to pick your van, a way to share a build, and a page showing where every number came from. Perfect work for agents, and a good way to spend credit that would otherwise disappear.

The code is open source too, at github.com/thiagotigaz/claudedvan. Most of its pull requests were opened by mergecrew's agents, so you can read every plan, change and review they made.

The setup: two loops running at once

Before going to bed I set up two loops that fed each other:

  • mergecrew's agents worked on claudedvan, paid by the API credit. I wrote the mission and the rules into the repo (docs/MISSION.md and CLAUDE.md: inches everywhere, a source URL for every number or it stays an "estimate", tests for new geometry), queued a few dozen tasks, and set a hard $200 cap on the org.
  • Claude Code watched mergecrew, on my regular Claude subscription. A /loop checked in every 30 minutes: it read the run status, closed stuck runs and requeued their tasks, resolved merge conflicts, kept the queue full, and when mergecrew itself was broken, fixed mergecrew: opened a PR, merged it once CI passed, and redeployed between runs.

So both projects got better at the same time. The agents improved claudedvan, and every time they hit a wall, Claude Code improved the agents' tooling.

Some guardrails made that safe enough to sleep through:

  • CI in front of everything. A PR from mergecrew merged on its own only after tests and a build passed, and never if it touched CI or deploy config.
  • A dev site. Every merge deployed to a dev environment within minutes. Production only changes when I promote it by hand, which I did once I had looked through the results.
  • Recording. Every deploy took screenshots, and every agent step and dollar was exported. That's where the video and the chart come from.

What broke (mostly mergecrew)

A real workload is the best bug finder. The first runs didn't make it to a pull request at all, and the night was a chain of "one step further, next wall":

  • The Planner's plan never reached the Coder, because two parts of mergecrew disagreed on what a finished step was called. And because each step's output overwrote the last, the Reviewer kept rejecting work it couldn't see.
  • Cloning broke because of a security setting I'd added that same week.
  • Web search crashed mid-run. The newer search tool needs a container id that wasn't being passed between turns.
  • The Coder committed, the Reviewer approved, and no PR appeared, because the branch name was read from the wrong field.
  • A run got stuck waiting for a human approval. It touched a file on its own "do not touch" list, and the policy said to ask a person. Nobody was awake. Now the agent gets an "off-limits" error and carries on.
  • Coders refused to edit big files, quite reasonably: every tool result was cut short, and the only way to change a file was to rewrite it whole.
  • Every PR touched the same backlog file, because my own rules told agents to update it. Every PR conflicted with the next one until the rules changed.

The 30-minute loop found and fixed every one of these. Once the last two were fixed, most runs were approved on the first pass and merged a few minutes later. The chart shows it: the line gets steep once the agents can finally edit files and land PRs.

Credit spent over the night, with each merged claudedvan PR (green) and each mergecrew fix (orange). The flat stretch is the run waiting for an approval nobody was awake to give.
Credit spent over the night, with each merged claudedvan PR (green) and each mergecrew fix (orange). The flat stretch is the run waiting for an approval nobody was awake to give.
Credit used $202.60 of $200 (the cap stops new paid steps after the one that crosses it)
Runs 55 that spent money, 1,486 model calls
Pull requests 34 opened, 33 merged
Per merged PR about $6
Spend by agent Coder 72%, Planner 25%, Reviewer 3%
What the agents did 1,638 file reads, 838 searches, 414 edits, 180 web pages read, 41 commits

What the agents built

  • 14 new van profiles, from Ford Transits to Ram ProMasters and Mercedes Sprinters, each with a research note listing every dimension and where it came from.
  • A "pick your van" first step, grouped by make, wheelbase and roof height.
  • Share a build as a link, which opens read-only so it never overwrites your own build.
  • A Sources page listing every number, its link, and how many are still estimates.
  • Sample builds for the Sprinter and the ProMaster.
Step 45 of 58: the kids' bunk raised on its pulleys, with the parts for this step and their store links on the right.
Step 45 of 58: the kids’ bunk raised on its pulleys, with the parts for this step and their store links on the right.

My favorite moments:

  1. They corrected the brief. My mission said "Transit 250 High Roof passenger van". A research run found that in the US the passenger Transit only comes as a 350. A 250 High Roof is a cargo van.
  2. They downgraded their own numbers. Ford's and Mercedes' spec PDFs block automated downloads, so the agents only saw search snippets. A later run went back and marked every snippet-only value as an "estimate" instead of a spec. That's what I'd want from a careful junior engineer.
  3. The last PR is a test that fails on purpose. It builds every module in every van at the extremes of its options, and it fails: the lifting bunk breaks in most vans at the extremes. A real bug, found by an agent before anyone else did.
Inside mergecrew: one run (the share-a-build feature) with its Planner, Coder and Reviewer, their tokens and cost, and every tool call.
Inside mergecrew: one run (the share-a-build feature) with its Planner, Coder and Reviewer, their tokens and cost, and every tool call.

Was the $200 well spent?

For mergecrew, absolutely. It went from never shipping a PR to 33 merged in one night, with a pile of fixes I couldn't have found without a real workload pushing on it.

For claudedvan it was good, but it could have gone about three times further. The big lesson: the night recorded zero prompt cache reads. An agent loop re-sends the whole conversation on every model call, so $186 of the $202 was input tokens billed at full price, again and again. With prompt caching that repeated prefix costs about a tenth as much. mergecrew has prompt caching now. Replaying the night's 1,486 model calls through the new cost math, the same work would have cost about $68 instead of $202, roughly a third. The next real runs will show whether that holds.

Two smaller lessons:

  • Do the ten minutes only a human can do. If I'd dropped Ford's body builder PDFs into the repo before bed, most estimates would now be specs with a page number. Agents are great at reading a 200-page PDF and bad at getting past a download wall.
  • Fail faster. About 40% of the spend went to runs that never produced a PR, mostly before the fixes landed. Smaller budgets for research tasks would have cut that.

Should I have built specialist agents?

At the start I wondered if a van planner needed its own agents: an electrical safety expert, a structural reviewer. I went with mergecrew's defaults, and for this batch that was right. Nothing worked end to end yet, so a custom setup would only have made failures harder to explain. The work was research and product features, not wiring. And every extra agent per run means fewer runs for the money.

For the next round I'd add two, each triggered only where a mistake is expensive:

  • An electrical and structural reviewer that runs only on PRs touching power, wiring, the bunk or anything bolted through the floor.
  • A source checker that opens every cited link and confirms the number is really on that page.

The rule I'd keep: start with the defaults, and add specialists where a wrong answer is costly, not just where the topic sounds specialized.

Round two: another $200 before the year ends

It turns out I have another $200 of credit that expires at the end of December. This time the goal isn't to spend it fast, it's to spend it well:

  • Prompt caching, now in mergecrew. If the replay is right, the same $200 buys about three times as many runs.
  • The human homework. Put the manufacturers' spec PDFs in the repo before starting, so the agents turn estimates into real specs.
  • The two specialist reviewers, running only on the PRs where they matter.
  • Smaller budgets for research tasks, so a run that's going nowhere stops early.

I'll update this post with the results, including whether caching really stretched the credit as far as the math says.

Try it yourself

  • mergecrew is open source: github.com/mergecrew/mergecrew. Issues and ideas are welcome.
  • mergecrew is looking for sponsors. It's a hobby project, and the expensive part is tokens: every experiment like this one is paid for out of pocket. If you or your company can donate API credits (Anthropic or any other provider), the sponsors page explains how. Credits go straight into runs like this one, and the results get written up here.
  • claudedvan is live at claudedvan.com, and its code (Apache 2.0, with every agent PR) is at github.com/thiagotigaz/claudedvan. Pick a van, hit play, and let Claude read you the build. Please don't actually hang a bunk from it without asking a human.

If you try the same thing on your own project: write the mission and the rules down in the repo, put CI in front of auto-merge, deploy to a dev environment, set a hard spend cap, give the loop something that watches it, and turn on prompt caching.

By Thiago Lima

Hey,

I am Thiago Lima, a Brazilian programmer who lives in California. The goal of this channel is to share my journey as a software engineer who left my own country to chase a dream. Here we will talk about technology itself, but also about how to migrate from our own country to become a programmer in US.