← Back to Blog

Agent Team Parity Harness for Code Migrations

Migrating an entire codebase from Python to Go without writing a single line of code using a team of agents

Originally published on Substack, May 7, 2026.

Coral Agents view for the migration-to-open-source team: the sidebar lists seven agents (Orchestrator, Business Development, QA Engineer, Lead Developer, DevOps Engineer, Frontend Dev and Terminal) with usage bars, a DevOps Engineer terminal reporting a passing release build, and the team message board with Lead Developer and Orchestrator posts about repo name tracking.

Performing a software migration on a complex codebase before agent tools was a huge task. Typically, you would need to:

With agentic coding, the bar for making this decision can be much lower. In fact, you can accomplish the migration in a day or two with a good parity harness.

I just went through one of these migrations on a project I’ve been building, and I want to discuss the process I used to port an application from Python to Go.

Context

I’ve been building an application for running multiple agents as part of an agent team. It is entirely vibe coded, and I started with Python. As the application grew in complexity, and as I wanted to do more with it, Python started becoming a bottleneck. I suspect that since Python is not a typed or compiled language, LLMs have a harder time with it.

There were also other things, like performance, portability, and distribution, that aren’t easily solved with Python. Go would solve many of these, so I decided to see how much effort it would take to port it. Surprisingly, the entire process took a day or two and required very little input from me personally, other than doing some manual testing and providing feedback.

The Parity Harness

If I were to define what I did, I would call it a parity harness. It consisted of:

Agent Team

I didn’t personally come up with most of the plan. I created a team of agents with the following roles:

Migration Plan

The first thing I did was tell them that I wanted to port the current codebase from Python to Go. Of course, they told me it was a massive undertaking that would take months. I told them I knew they could do it and that we should get to work coming up with a plan.

The agents came up with a plan for the different features, described how they would implement each one, and wrote it all down in a spec document.

Full-Flow Integration Test

After that, I decided it would be best to have a really good full-flow test. I asked the agents to help create a parity test, which would:

This test helps you get both completeness and correctness for your application without ever having to look at the code. It’s very important to have scripts that verify both of those things so that you don’t have to rely on the agents telling you whether it matches or not.

As a side note: agents are great at debugging databases and logs. When the database is different, they can quickly query it and figure out how the database state changed and why it is in that state. If the agents get stuck looking at code or thinking about why something isn’t correct, just tell them to go look at the actual data in the database.

Start the Migration

With those pieces in place, I spun up my team of agents and told them to get to work. I pointed them at the migration plan spec and told them to start implementing each feature, with the goal that the full-flow test would match at the end. After that, I basically let them go to work and iterate.

The great thing about this method is that you don’t have to do too much. From time to time, I would spin up the application myself, take a look, provide some feedback, and point out bugs. But I didn’t have to do much more than that.

Keep Working on the Original Code

Since I wasn’t splitting my attention, I mostly just kept developing new features normally on the Python codebase. Whenever the Go code team reached parity with the commit on main they had been targeting, I would let them know that there were new features and that they should bring the application back up to parity. The team would then look at the commit log and the diff between what they had been working on and what was new, then implement any new features.

Try It Yourself

You can see the codebase here: https://github.com/cdknorow/coral. I’ve since moved the old Python code to coral-python-legacy for posterity, and all of the current code lives in coral-go.

A GitHub folder listing showing coral-go and coral-python-legacy, the two code folders after the migration.

I will selfishly recommend using Coral to work with agent teams for these sorts of migrations. Coral provides the shared message board and persistent agents that make working with teams of agents very easy. The message board also makes communication and task assignment much easier than trying to use the built-in agent teams that come with Claude Code.

Coral Agents view for the same team: the Lead Developer terminal reporting a commit pushed to main, and the message board with a DevOps Engineer post about moving build scripts to a tools folder and an Orchestrator request to commit and push.

Good luck, and happy migrations.

Try Coral

Open source. Runs on your own computer.

Download Coral

Keep reading