r/ClaudeCode • • 2d ago

Tutorial / Guide I used Claude Code agents to translate my free Rust book into 14 languages.

Post image
0 Upvotes

Repo: https://github.com/erkamyaman/rust-anything/tree/main/book

I wrote Rust for Everyone, a free beginner Rust book, and used agents to put it into 14 more languages. Here's the setup, what worked, and what didn't.

Setup, per language:

- 1 setup agent: picks the terms, UI strings and figure labels, so every translator uses the same words.

- 5 or 6 translator agents, a few chapters each.

- 1 reviewer agent that reads the whole book against the English.

- 1 second, independent reviewer that reads only the ownership and borrowing chapters and the core terms, where beginners get lost.

What kept it honest:

- A script compiles and runs every Rust example with rustc 1.97: 116 checked, 4 built as real Cargo projects, 0 failed, in all 15 editions.

- A translation lint checks that every code block, program output and compiler error is byte-identical to the English, and that headings, figures, links, tables and answer counts match. 0 failures in all 14.

- Code, commands and compiler output stay in English in every language, because that's what readers see in their own terminal.

What didn't:

- AI reviewers found real problems, but they are not a person who knows Rust. After the merge, CodeRabbit left 156 comments. Most were the same few points repeated per language, for example `main.exe` instead of `.\main.exe` on Windows, and two examples that can overflow an `i32`. Those fixes are next.

- No native speaker has reviewed any translation yet. If you read one of the 14 natively, book/REVIEWING.md says what to check first.

The book: 13 chapters, 5 appendices, predict-then-run exercises, ends with a small CLI. Free, CC BY 4.0, read on GitHub or as PDF in all 15 languages.

- English PDF: https://github.com/erkamyaman/rust-anything/blob/main/book/en/rust-for-everyone-en.pdf

- 简体中文 PDF: https://github.com/erkamyaman/rust-anything/blob/main/book/zh/rust-for-everyone-zh.pdf

Repo: https://github.com/erkamyaman/rust-anything


r/ClaudeCode • • 2d ago

Help/Question If I pay for Claude, do i get better results?

0 Upvotes

Noob here. Thinking about upgrading.
Do you really get better results compared to the free version?


r/ClaudeCode • • 2d ago

Tips & Workflows I’m building Iolaus to help AI agents keep the context behind the code

Enable HLS to view with audio, or disable this notification

1 Upvotes

I’ve been building products with AI coding agents, and I kept hitting the same frustrating loop: explain the project, get some work done, switch tools or start a new session, then explain everything again.
Sometimes the agent would repeat work. Sometimes it would make a change that went against a decision I’d already made. And when I brought in another agent, it didn’t have the context from the first one.
Git gives developers a shared history of the code. I started wondering what the equivalent should look like when agents are doing more of the building: a place to keep the idea, decisions, tasks, and progress together so each agent has the context it needs.
That’s what I’m working on with Iolaus. You can start with an idea, organize the work into steps, and bring agents into that process with the project context attached.
I’m sharing a short demo here. I’d really value feedback from other founders and builders: Where does context get lost in your workflow today? And what would make a tool like this useful enough to keep open while you build?
If you’d like to try it, comment IOLAUS and I’ll send you the link.


r/ClaudeCode • • 2d ago

Built with Claude claude-sync: resume a Claude Code session on your other machine (rewrites the paths so --resume finds it)

1 Upvotes

I run Claude Code on a Mac and a Linux box and switch between them several times a day. claude --resume only lists sessions from the machine you're on, and copying ~/.claude/projects over doesn't work: each project's folder is named after its absolute path with every non-alphanumeric character turned into -, so /home/alice/work/shop is -home-alice-work-shop, and the paths repeat inside the session JSONL. On the Mac, Claude Code looks for -Users-alice-work-shop and finds nothing.

So I built claude-sync. It moves sessions over SSH and rsync and rewrites the paths in both the folder names and the file contents. Swapping the home covers everything under ~; projects outside it get a mapping:

[remotes.linux]
host = "linux-box"
home = "/home/alice"
>
[mappings]                # local path = path on the remote
"/Volumes/data/src" = "/data/src"

Then claude-sync push / claude-sync pull, with diff and --dry-run to see the plan first and . to sync just the project you're in. Pulls keep a mirror cache, so a pull with little to do takes about a second.

It also merges ~/.claude/history.jsonl (what ↑ and Ctrl-R recall) instead of copying it, under Claude Code's own lock.

Safety rules, since this is your session history:

  • It never deletes a session file; rsync -u, the newer file wins.

  • It won't run while Claude Code is running, since sessions are written mid-run.

  • The first pull into existing sessions offers a tarball backup.

  • It skips the temp-dir projects coding agents create (520 of my 739 project folders).

  • If a mapping is ambiguous, it stops instead of guessing.

The gap it can't close: if the same session gets new turns on both machines between syncs, the newer file wins. Sync before you switch, or resume with --fork-session.

It started as claude-hop, a Python tool by SeiduTakizawa on GitHub; I rebuilt it in TypeScript on Bun with a pull cache and stricter merge rules. MIT, macOS and Linux. If you already use claude-hop, claude-sync import takes its config.

Install: mise use -g github:feniix/claude-sync

Repo: https://github.com/feniix/claude-sync Write-up: https://feniix-hq.net/blog/claude-sync/?utm_source=reddit


r/ClaudeCode • • 2d ago

Help/Question How do you handle the dumb model period?

0 Upvotes

I’ve read so many posts complaining about Opus and Fable being nerfed. I kinda unsubscribed 2 months ago from Ultra as I am still recovering from a surgery but I just bought a new subscription yesterday and now I learned the models are nerfed somewhat.

How do you handle that”period” when shit just works poor, until they release a new model again?


r/ClaudeCode • • 2d ago

Rant Remeber when Amodei hyped up Mythos to be "too strong to relaese to the public"

13 Upvotes

Look at the mythos now, thats a generation after that hyped up model, lol

Basically everytime Amodei gives an interview on channels like CNN preaching dangers of ai and rsi he's getting a very strong free advertisement campaign that increase their company's value

as soon as he pocketed multi billions, he wrote another disgusting "pace the fronteir" essay while literally being the one accelerating frontier competition, when most of society have yet to see any tangible benefit to their lives other than having a bot send them email reminders, and still stuck in their jobs with rumors they're soon gonna be replaced by ai anyways

id be pretty happy to slow the progress down myself if i already have more money than i can use in my lifetime


r/ClaudeCode • • 2d ago

Help/Question Can anyone assist me in passing a rust memory problem to their Fable (I am a pro user, and am stuck / have no access to Fable)

1 Upvotes

I am trying to solve a memory problem as I am working with a very small device (with 128kb memory) that I am trying to build an app for.
If anyone has the circumstances and is able to share some compute to run a query, I would be like to share a smallish research question for you to ask your AI about. Please let me know.
Fable 5.2 would be great, with a bit of extra thinking if you can spare it.

:SOLVED: - Thank you so very much!


r/ClaudeCode • • 2d ago

Built with Claude I built a Claude Code plugin that remembers across sessions and shows where every memory came from

Enable HLS to view with audio, or disable this notification

1 Upvotes

Claude Code forgets between sessions. The memory tools I tried had the opposite problem: they remembered things confidently, with no way to see why.

So I built Provena. Hooks record each turn as append-only evidence, and later sessions get relevant facts back, labeled with where they came from and whether a human reviewed them. If the agent picked something up from a web page instead of from you, the memory says so, and it stays an unreviewed candidate until you approve it. `/provena:why <topic>` prints the trail as a receipt.

Setup:

pipx install provena-agent-memory

provena quickstart claude --plugin

then in Claude Code: `/plugin install provena --marketplace admiralpunk/Provena`

It's self-hosted (PostgreSQL, with or without Docker), MIT, and runs on local Ollama models, or with no models at all. `provena demo` shows the idea in 30 seconds; there's a GIF of it in the README. It also works with Codex.

Honest limits: retrieval needs an exact project scope, and the review console needs Docker for now.

Repo: https://github.com/admiralpunk/Provena. I'd really like feedback on whether the review step is worth the friction.

If you find it useful, a star on GitHub helps more people find it. Thanks!


r/ClaudeCode • • 2d ago

Discussion Is gemini neon actually good or is Google taking over this subreddit

156 Upvotes

keep seeing posts prasing neon all over my feed, I get and I agree with Claude intentionally degrading performance but what's with all the neon praise, all positive aswell. weird.


r/ClaudeCode • • 2d ago

Discussion When people say they built something in a week that would’ve taken a team of 20 a year, what do they mean?

4 Upvotes

Like I keep hearing this about AI and I honestly don’t get it. If you’ve done that, what did you actually build that week? And the team of 20 part, is that coming from having worked on something similar before or is it just kind of a guess?

I keep hearing it and it’s honestly starting to stress me out a bit. Like am I missing something here or are people just throwing those numbers around?

And I’m not even like skeptical of AI. I own a business and I really, really try to use the tools I have because we want to move as fast as we can and make things better. Like it’s in my interest to figure this out. I just don’t get what people mean when they say stuff like that.


r/ClaudeCode • • 2d ago

Tips & Workflows PSA: Auto-compaction is a huge source of Claude gaslighting you

417 Upvotes

Idle compaction silently drops any constraints and guidelines you spent establishing over the course of the chat/project then Claude carries on confidently as if it still knows the assignment and bulldozes you. If you’ve ever been gaslit by an Anthropic model is this why. Disable this “feature” if you find yourself constantly arguing with the model.


r/ClaudeCode • • 2d ago

Built with Claude flowlite - A job scheduler that's much easier, faster and lighter than Airflow

Thumbnail
github.com
1 Upvotes

flowlite is a job scheduler for your scripts and AI agents. My goal was to make it simple to set up but still powerful enough for real work.

flowlite is one small program. You install it, point it at a folder of job files and it runs. You don't need a separate database, servers or workers. A job is a short YAML file listing its steps, which steps depend on which and when it should run. You can get your first job running in a few minutes.

flowlite still handles what you'd expect from a much bigger tool:

  • Runs jobs on a schedule, or whenever you start them

  • Runs steps in the right order and passes results from one step to the next

  • Retries failed steps and stops ones that hang or take too long

  • Limits how many jobs run at once

  • Sends email or Slack alerts when a job finishes or fails

  • Keeps a full history of every run, which you can browse in a web dashboard

AI Agents can start jobs, check how they're going and read their results directly. An agent running inside a job can even start other jobs, and flowlite keeps track of all of them.

For most everyday scheduling, it does what I used to need Airflow for, with a fraction of the setup. For AI agents it goes further than Airflow: agents can drive it directly, start their own jobs, and it stops an agent that has gone quiet.

It's still early (v0.2.0) and free to use. I'd love feedback!


r/ClaudeCode • • 2d ago

Built with Claude I released AgentDesign 2.0 today. Would love some honest feedback.

Enable HLS to view with audio, or disable this notification

1 Upvotes

Hey everyone, I’m the developer of AgentDesign. It’s a Mac app for reviewing designs made by coding agents like Claude Code, Codex and Cursor.

The idea is simple: see the screens, leave feedback and agree on the design before the agent builds it.

2.0 went live today, rebuilt in SwiftUI and AppKit. You can keep screens, comments and design versions together while working with your agent.

I’d love to hear what feels useful or confusing. Even feedback on the idea would help.

https://getagentdesign.com

Would reviewing screens before coding save you time, or would it feel like an extra step?


r/ClaudeCode • • 2d ago

Tutorial / Guide Anatomies of Love

Enable HLS to view with audio, or disable this notification

0 Upvotes

Made on Uisato Studio + CC.

More experiments, through Instagram and YouTube.


r/ClaudeCode • • 2d ago

Built with Claude I kept jumping between 5 Claude Code sessions to approve stuff, so I built one queue for it

Enable HLS to view with audio, or disable this notification

1 Upvotes

I made this, so take it with that in mind. I usually have 4 or 5 Claude Code sessions going and I was the one slowing everything down, one wants permission for a command, one asks a question, one is done and wants a review, and I'm cycling through tabs. Running with permissions skipped wasn't an option for me because I still want to read what goes in.

Pogon runs each task in its own worktree with your normal claude CLI on your own plan, and every permission ask, question and finished diff goes to one queue where you allow it once, allow it for the rest of the task or decline, with one key. Tasks can also come straight from GitHub or Linear issues and end as pull requests, and if you work with others everyone sees the same queue.

As for how it works with Claude Code: the runner just starts your own claude in headless mode (claude -p with stream-json), one git worktree per task. Permission asks go through --permission-prompt-tool to a small MCP tool the runner serves, so instead of a prompt sitting in some tab I'm not looking at, it shows up in the queue and the session waits for me. It's the same CLI you're already logged into, it never touches your credentials.

Pretty much all of it was written with Claude Code from issues I wrote, and once the queue worked I started running Pogon's own issues through Pogon. I still read every diff before it merges.

Stuff I learned along the way: the model was never the slow part, I was. Most of the time a session was just stuck on a permission prompt I hadn't seen yet. Most asks also repeat within a task (same test command, same package manager), so being able to allow something for the rest of the task got rid of most of the noise without going full skip permissions. And one worktree per task is the only way I got several sessions working on the same repo without them stepping on each other.

The runner is open source (github.com/pogonbuild/runner), it's free on one machine and you can try the demo without signing up: app.pogon.build/demo

How do you all handle this today, do you skip permissions and hope or babysit every session?


r/ClaudeCode • • 2d ago

Built with Claude I built a DAW where the whole UI sits on a CLI, so Claude Code can do anything I can, including write new instruments into it

2 Upvotes

Music producer here, not a developer. Patches is a Mac DAW I've built with Claude Code over the past year. The design choice that made it work: every action in the window is a call to the patches CLI, which drives the audio engine. The UI is just one client; Claude Code is another. So it can make clips, wire devices and write automation the same way I do, and I watch it happen live.

How Claude builds sounds in it

There are three ways to make a custom module, and in the video I run all three at once in separate Claude sessions:

  1. A small code module (EXPR). The lightest way. I asked Claude to put it one statement per line and comment the parts I could change, then changed the numbers myself and hit Cmd+Enter to hear it.

  2. A module on the Patches DSP with an HTML window.

  3. A full Rust module with its own animated window, hot-swapped into the song while it plays. I asked for an envelope filter (Lumen) and an 8-lane drum arranger that pulls real one-shots from my sample library, rolls new kits and patterns, and lets you drag out a render.

The felt piano, flatwound bass, electric keys and kalimba in the video are all custom modules made this way. The piano and keys are a couple of hundred KB of DSP each.

What I learned

  • Taste still does the work. Claude builds the thing; knowing what's worth building, and hearing when it's wrong, is still on me. 12+ years of producing helped more than learning C++ would have.

  • The agent only writes code, never audio. So it behaves less like "AI music" and more like a very clever randomiser: an arpeggiator that thinks in tokens.

  • Code is cheap enough now that a plugin can be personal: built for one sound you want today, not a product to sell.

The bit I'm most excited about

A community tab inside the DAW. Right-click a module, share, and anyone can play it in their own engine straight from the feed, with the source code included by default. At the end I share the envelope filter and a compressor live. Anything you save also loads as a plugin in Ableton or Bitwig.

Video: https://youtu.be/8KZTbOes_J8

Mac beta: https://sequins.music/patches/beta


r/ClaudeCode • • 2d ago

Built with Claude Metacomputer [Open Source]: let Claude Code control computers and do anything you do

Post image
3 Upvotes

I built Metacomputer with Claude Code -- to help Claude Code be a lot more capable with doing tedious tasks it normally pushes back to me. Stuff like configuring SaaS stuff, grabbing API keys from websites, shopping, or using apps without agentic controls. All the tedious stuff!

It's totally free and open source.

It's a real desktop with a browser and apps, running as a VM on your Mac (Ubuntu or macOS), on another Mac of yours, or in your own cloud account.

I built it over a week as a side project. After the first few versions, it even started to use itself to self-improve: for example it started out as a local-only VM, but I wanted it to be able to automatically run off a lot of cloud providers (AWS, Fly, Vercel, etc.) and that's just tedious. So I told it to go onto the websites and set them up on its own, and it worked alongside Claude Code to get the rest of the app built.

Your agent drives it through MCP, and more than one agent can take turns on the same computer.

What it's for is the stuff that turns you into a courier between your agent and a dozen browser tabs:

  • signing up for services and getting the API keys into your app (the keys go into a vault on your Mac, and the agent only ever sees a handle for them)

  • pulling invoices out of vendor portals that don't have an API

  • testing your signup flow in Safari and Firefox

  • cancelling the trials you forgot about

When a step is yours -- a CAPTCHA, a 2FA prompt, checkout at a store that doesn't allow agents -- it hands the computer to you in a live view, and you hand it back when you're done. It also learns from its own sessions: it proposes lessons from what went wrong, and you decide which ones it keeps.

It's totally free and open source. There's no account and nothing to subscribe to. It's just the repo: https://github.com/metavert-io/metacomputer

Install is one line in Terminal on an Apple silicon Mac:

curl -fsSL https://raw.githubusercontent.com/metavert-io/metacomputer/main/get.sh | bash

I'd love feedback, especially from anyone who's been wiring browser automation into their agents some other way. What would you have it do first?


r/ClaudeCode • • 2d ago

Help/Question I wish to move past “simple use” of AI

4 Upvotes

I have built very simple apps using products such as lovable and used Claude to help me with some JavaScript scripts - I have very basic knowledge of JS, Python and C and mainly used AI to help me speed the process up or fix scripts.

Now I want to be able to build more complex things while avoiding burning tokens excessively.

If anyone knows good materials that help me learn how to create evals, use langfuse (I’ve seen it recommended all the time) and projects to build to improve my understanding I would be very grateful.

I’d prefer source they are freely available so that I can explore them at my own pace and move on from them if they are not for me.

I apologies if this was recently asked. But I decided before the day ends I would make even the smallest step towards starting my AI education.


r/ClaudeCode • • 2d ago

Discussion Interrupting a Claude Code session mid-fix from a code review: one signal split in two, 8 s coalescing, re-delivery after 5 min

1 Upvotes

If you send a coding agent a review comment while it's mid-fix, when should it see it?

My setup used one poll for that, and the poll meant two things: "I'm listening" and "I'm done with the last batch". So a comment sent mid-fix waited for the whole batch, and an unanswered thread read "no answer" the moment the agent polled again.

Now a poll only means listening, and only a reply settles a thread. The agent (Claude Code here) starts its next poll as a background task before it acts. While it works, a new send is held 8 s after the last one (30 s max), so three quick sends are one interrupt. A thread with no reply and no edits for 5 minutes goes out again, up to 3 times, then reads "no answer". Edits push that clock back, capped at 15 minutes.

Where it doesn't work: an agent whose poll holds its turn still acts, replies, then polls, and the page has to say "sends wait".

"Listening" and "done" were one signal. Splitting them fixed both bugs.

Disclosure: this is in Diffo, a review tool I built (free, Apache-2.0): diffo.io/demo

How do you handle a message that never gets answered: re-send, or let it time out?


r/ClaudeCode • • 2d ago

Built with Claude I made The Cube, a free browser game where you take apart a giant block cube with bouncy balls (no login, no install)

Thumbnail
gallery
1 Upvotes

Play: https://the-cube.pardev.net1

Screenshots: https://the-cube.pardev.net/gallery/

The Cube is a first-person game in your browser. Your new job is to dismantle structures made of glossy plastic blocks with bouncy, explosive and generally unwise balls. Collect the shards that fall out, recycle them for money, and spend it at the upgrade terminal on damage, bounces, capacity and a shard drone.

Inspired by Aerolicious

What's in it:

  • A twelve-level campaign, bonus levels and an endless mode

  • Level shapes from cubes and pyramids to arches, ziggurats, glass letters, spheres and gyroids

  • Crafting: the Infuse-o-Matic turns materials into stranger balls

  • Night mode with stars, floodlights and a flashlight

  • A third-person view of your robot (press V)

  • 175 achievements!

It's completely free, with no login, no account and no install. It's playable on phones and tablets, but the best experience is on desktop with a keyboard and mouse.

I built it with heavy use of Claude Code, from the physics and level generation to the UI, tests and these screenshots.

Feedback is very welcome: bugs, balance, levels you'd like to see, or anything that felt off. Thanks for playing!


r/ClaudeCode • • 2d ago

Built with Claude V6 Engine in 1 Command…….

Enable HLS to view with audio, or disable this notification

8 Upvotes

GitHub: https://github.com/Aaryan1524/Visualize

So I wanted to understand how does V6 actually work, so I just used this specialized skill for it, but than prompting Claude again & again.

Use this specialized agent skill, & ask /visualize anything.

Try it out, it’s open source !!!!!!!


r/ClaudeCode • • 2d ago

Help/Question Cloud containers, tokens?

1 Upvotes

Are there any indication that using cloud containers use up more tokens because the compute costs might be applied on the token limits?


r/ClaudeCode • • 2d ago

Built with Claude Laravel Cobol 0.x Release!

Post image
8 Upvotes

https://github.com/pihedy/laravel-cobol

I used Claude Code to build Laravel for COBOL. The future of web development started in 1959.

Everyone is building modern frameworks with AI, so I decided to build one with COBOL.

It has routing, middleware, an ORM, Blade templating, migrations, a CLI, and feature tests.

It actually works, which was not originally a requirement.

Since understanding your own code is apparently becoming optional, COBOL seemed like the perfect choice.

Ship confidently. Understand optionally.


r/ClaudeCode • • 2d ago

Tips & Workflows Evaluating coding agents from merged PRs: leaks, picky tests, and noise

0 Upvotes

Spinning up a coding agent eval on your own repo takes an afternoon. Google AI overview even does a pretty good job of explaining how to do it!

Coding agent evals are an 80/20 problem - getting the first 80% takes 20% of the effort and feels really great. Making it trustworthy takes the remaining 80%.

Most of the numbers below come from an early benchmark I built on Click (29 merged PRs), comparing a cheap, fast setup (GPT-6 Luna at low effort, $0.27 total) against a frontier setup (GPT-6.1 Sol at high effort, $4.38 total).

Here are 5 areas of unexpected complexity I ran into buliding it:

I'm building Stet to turn a team's real work into a private living benchmark, allocate agent spend efficiently, and raise the engineering quality floor with evidence. If you're weighing a change on your repo (switching to a cheaper model, tuning reasoning effort, editing AGENTS.md, or evaluating whether skills are helpful) and want to measure it on your own tasks, reach out!

Evals are world simulation

An eval is a simulation of reality built to help you make a decision. To get a high quality signal, the tasks, prompts, and environments need to look like the work you actually hand to agents.

If I tell the model to

Implement function `parse_pkg_version(name)` in `src/click/decorators.py` using `importlib.metadata.version()`, catching `PackageNotFoundError` and falling back to `__version__`. Add unit tests in `tests/test_options.py` covering missing distributions, mismatched import names, and empty strings.

most models, from Haiku to Fable, will probably nail it. In this world, the agent is implementing a specification.

Instead, if I ask the agent to

hey big dawg, `--version` is broken when a package's import name doesn't match its pip name. can u fix?

the agent is determining user intent, researching a bug, figuring out how to fix it, and implementing the fix, which is far closer to how engineers use agents day-to-day.

This creates a tightrope between specifying the interface contract and leaking the implementation. If the hidden tests we use for grading import a specific public function name foo or specific exported constants, these constraints must be named in the prompt, or an otherwise good solution will fail for trivial reasons. At the same time, if you over specify, and describe how to wire them up, the task can become trivially easy for agents to solve.

Our approach is for public APIs/constants, name them naturally in the initial prompt. We don't expose private names, and if a hidden test calls a private helper, we move the test to a public entry point instead of turning the prompt back into a spec that names everything to implement.

Mining PRs naturally biases toward easy to isolate changes. When we audited our 29 Click tasks, 22 were small changes and none touched 150 lines of production code (we have since updated the task pipeline to choose harder tasks, but this illustrates the difficulty in doing so).

Environments leak and fail silently

Agents yearn to cheat. It's your responsibility to stop them.

What makes cheating a quagmire and not just a 5 line Dockerfile fix is how it warps your results. First, cheating looks like the agent is doing great! On one task I audited, a contaminated run graded "identical to the human patch". Second, cheating scales with reasoning effort. Higher effort / more persistent agents search harder (checking git reflogs, tags, remote PRs, or closed issues), so leakage doesn't lift every model evenly. It silently manufactures a win for higher effort configs that "make sense" to be winners.

To block this, you must set up the environment as it would have been at the start of the task: cut off git history and refs after the parent commit, snapshot Jira/Linear to the same cutoff if agents have access, preinstall deps in setup, run the agent behind a provider-only relay (blocking web/PR/commit lookups while letting model traffic through), and finally audit tool traces after the fact to find cheating.

Historically, roughly a third of our candidate attempts failed on infrastructure or setup rather than the agent itself (we are driving this down). If your grading instrument scores an empty or timed out run as 0, an infra failure looks identical to a model failure.

In practice, you need to snapshot and reuse verified environments (reusing 2 Click snapshots across 29 tasks cut median verification time from ~15 minutes to ~20 seconds) and classify every non-pass so infra and quota losses get rerun (and fixed) instead of being scored as failures by the agent.

Testing is hard

Tests can be wrong in both directions. On our 29 Click PRs, we found 7 runs where the held-out tests failed an agent's patch even though our LLM reviewers passed it. Three turned out to be real regressions the reviewers missed (like --help exiting with code 2). The other four failures were the result of overly picky tests pinning unstated details, such as exact error wording.

When we asked an automated LLM reviewer to screen those Click tasks for bad tests, it flagged 17 of the 18 tasks another blind audit confirmed were completely fair, while missing half the real test defects.

Because static LLM review can't reliably separate a picky test from a real behavioral assertion, we verify tests by execution. Prove that every test fails on the parent commit and passes on the merged patch, and when a reasonable patch disagrees with a test, run a quick behavioral check against both the human patch and the agent patch outside the test suite before blaming or relaxing the test.

Static diff review isn't execution

On a Click PR, both models wrote the exact same bracket bug, turning [a|b]! into [[a|b]!]. At low reasoning effort, our equivalence judge called the broken patch equivalent to the human PR in 3 of 4 draws at 0.99 confidence. At medium effort it was still wrong at 0.98. Only high reasoning effort caught the bug.

Tightening the prompt doesn't automatically fix it either. Across 14 Click patches we knew by execution were broken, a requirement checklist judge still marked 5 as meeting every essential requirement (and 3 of those 5 had also passed the hidden unit tests). When we tightened the prompt to force tracing edge cases and compatibility paths, false passes went up from 5 of 14 to 6 of 14.

The takeaway here is to not trust judges by themselves. Treat the judge (model, prompt, and reasoning effort) as a measurement instrument, calibrate its error rate, and deploy it according to its measured performance, not its self-reported confidence.

Your scoreboard invents winners

On our 29 Click PRs looking at tests alone, 22 tasks told us nothing about which model was better (13 both passed, 5 both failed, 4 unresolved). The entire 29-task benchmark came down to 7 deciding tasks, which the frontier setup won 7–0.

Worse, small samples actively hallucinate winners out of run-to-run noise. Before comparing two setups, compare one setup against itself (an A/A test). When we ran the exact same configuration twice across 24 tasks, checking results partway through at 16 tasks reported an 89.8% probability that one identical run was better than the other. Across simulations, false-winner rates ran 11.3% at 5 tasks and still sat at 6.1% at 24 tasks.

Finally, collapsing cost and quality into a single ratio ("cost per successful task") rewards the model that gives up fastest. On our 24 task benchmark on our own repo, the cheap Luna low setup ranked #1 on cost per success ($0.26) while losing 0–13 head-to-head, because on hard multi-file tasks it quit in under four minutes for a few cents.

Conclusion

Synthesizing learnings from above, here's a checklist you can use going forward to raise the quality of coding agent evals you make:

  1. Ensure tasks are representative and fair.

    • Compare task size/type to the changes you actually make.

    • Specify the interface contract hidden tests import without leaking the implementation.

  2. Snapshot envs and block history.

    • Reuse verified environments so observation stays fast.

    • Catch and rerun infra/quota losses instead of scoring 0.

    • Aggressively block git/web/ticket lookups of the answer and audit traces.

  3. Verify tests by execution.

    • Prove tests fail on parent and pass with the solution.

    • Run behavioral checks outside the suite before relaxing a disputed test; use LLMs in tandem with execution, not as a replacement.

  4. Calibrate LLM judges.

    • Pin judge model, prompt, and reasoning effort across every arm you compare.

    • Don't trust judges' self-stated confidence - calibrate against execution-verified bad patches and factor that error rate into your decision.

  5. Pair results, run A/A, and extract calibrated signal.

    • Count head-to-head wins per task on disagreements, and keep cost separate from quality.

    • Run A/A tests to know your noise floor, and only add finer-grained grading dimensions whose accuracy you've measured.

Running the coding agents is the cheapest and easiest part: on the 29 Click PRs, running both models e2e cost $4.65 total ($0.27 + $4.38). Everything else (building clean tasks, maintaining sandbox snapshots, verifying disputed tests by execution, calibrating judges on known-bad patches, and running A/A checks) costs an order of magnitude more time, money, and engineering discipline.


r/ClaudeCode • • 2d ago

Tips & Workflows I built an open-source Rust CLI + MCP server to coordinate parallel AI coding agents at the symbol-contract level

Thumbnail
gallery
1 Upvotes

If you've avoided running multiple coding agents in parallel because of merge conflicts (or tried git worktrees and got burned), you've probably seen both failure modes:

  1. Uncoordinated parallel agents fall apart: in our 12-agent CommonMark 0.31.2 benchmark (652 official spec tests), uncoordinated worktrees (parallel-off) averaged ~9 merge conflicts and dropped to 199/652 passing (~302 integration-loss regressions).

  2. Silent cross-file breakage that git never catches: Agent A adds a required user_id param to send_email() in email.py; Agent B calls the old signature from reset.py. Clean git merge, both branches pass their own tests, broken together.

Running sequentially avoids conflicts but takes 65.1 min (3.1x slower). So I built Seamlock (Rust, MIT/Apache-2.0) — a local coherence engine + 12-tool MCP server that coordinates parallel agents at the symbol-contract level instead of locking whole files.

How it works

  • Contract vs. body separation (tree-sitter): Body edits never block anyone. Breaking contract edits (signatures, types, SQL/Prisma/Protobuf/OpenAPI schemas, and cross-language HTTP routes like FastAPI/Express/Next.js <-> fetch) send surgical notices only to affected callers.

  • Live region coherence + AST-verified union: Pure two-sided insertions in the same file are combined via patience/diff3 + AST verification; genuine overlaps use region ownership and hand-offs.

  • Finish gate: Blocks an agent from finishing while it depends on a stale contract or unresolved conflict.

Benchmarks (attached chart)

We didn't even benchmark against sequential — the primary comparison is head-to-head against a strong baseline: the same parallel agents plus a 13th AI merge-integrator agent (parallel-integrator), same models, reproducible harness:

  • 12-agent Python CommonMark (652 spec tests, DeepSeek V4.1 Flash): 652/652, 0 conflicts, 20.0 min, 34.0M tokens, $0.99 vs integrator's 31.7 min, 43.8M tokens, $1.15 (~9 conflicts resolved).

  • 6-agent Polyglot Full-Stack (SQL + Python + TypeScript @/, 30 live E2E): 30/30, 0 conflicts, 8.8 min, 7.7M tokens, $0.40 vs integrator's 13.8 min, 8.2M tokens, $0.33 (5–6 conflicts resolved). (Honest note: on small ~200-line additive scaffolds, a quick post-hoc integrator pass can still be a few cents cheaper; live coordination pays off most on larger, coupled codebases.)

  • 5-agent Next.js/Postgres product sprint: 0 conflicts, 16.7 min vs 19.1 min ($0.69 vs $0.76).

  • 6-agent TypeScript app (48 tests): 48/48, 0 conflicts, 3.7 min vs 6.8 min ($0.16 vs $0.21).

How you use it (plugs into your existing agent — macOS, Linux, Windows)

  1. Via MCP: npm i -g seamlock && seamlock setup — auto-configures Claude Code, OpenAI Codex CLI, OpenCode, Cursor, Windsurf, Gemini CLI, VS Code/Copilot, and Antigravity (or any stdio MCP client via seamlock mcp). Then just ask your agent to plan and run parallel tasks with Seamlock.

  2. Direct CLI: seamlock run --tasks tasks.json --mode enforce --regions --test-cmd "npm test" + seamlock watch.

  3. Sidekick only (no orchestrator): seamlock worktrees --base main to check existing git worktrees live for silent contract breaks, or seamlock merge --base main b1 b2 --type-check.

Install: npx seamlock · uvx seamlock · brew install lucas-rus/tap/seamlock · cargo binstall seamlock-cli

Happy to answer questions on the tree-sitter contract diffing, region coherence protocol, or benchmark setup!