How we set up our AI coding toolchain
A flexible harness, a model per stage, a workflow of our own and an environment that runs several features at once.
People often ask which AI coding tool we use. The honest answer is that we do not use one tool; we use a small stack of them, each doing one job, chosen so that any piece can be swapped without disturbing the others.
This post walks through that stack: the coding harness, the models plugged into it, the workflow that tells the agents how we work, the environment that runs several features in parallel, and the tracker that holds the work. Then what we have learned, with the numbers.
read the rest, free
Enter your email to unlock the article. You will also get the AI Builder's Newsletter with practical notes on building & shipping products with AI.
No payment, no card, nothing else to fill in. Unsubscribe any time.
By continuing you agree to receive the PO2 newsletter. We use your email for that and nothing else. Privacy policy.
A flexible harness, not a vendor
The first decision was the most important. The coding agent most people start with is tied to one provider's models. That is convenient until the provider is unavailable in a region you work in, raises prices, or is simply no longer the best model for a particular task. Then your whole workflow is tied to it too.
We chose a harness that is independent of the model: it provides the tools, the editing, the search, the language-server feedback and the agent loop, and it lets us plug in whichever model we want behind it. Vendor lock-in was the risk we most wanted to avoid, and this was the way to avoid it.
Oh My Pi as the coding harness
The harness we use is Oh My Pi, an open-source terminal coding agent. It grew out of Pi, a deliberately minimal harness, and adds the tooling a real codebase needs: precise edits, language-server integration, debugger access, a browser, web search, memory and the ability to fan out to subagents.
Its design premise is the one we agree with: the harness matters as much as the model. The same model performs noticeably better when the edit format, the search defaults and the feedback from the tools match how coding actually works.
A model for each job
Oh My Pi gives each kind of work its own model role, so we set four:
- Planning and driving. A feature is planned and driven on Claude Opus 5.5, the strongest model we have. It uses few tokens, and its mistakes are the expensive kind.
- Building. Subagents build on Claude Sonnet 5.5. Building uses most of the tokens, so this is where a cheaper model pays off. GLM 5.3 has also built well for us at a fraction of the price.
- Reviewing. Reviews run on GPT-6.1 Sol: always a different model from the builder, and from a different company, so the review is an independent check rather than another pass by the builder. It costs little: on our largest project so far, reviews were $6.60 of a $212 bill.
- Small jobs. Quick searches of the codebase and naming sessions run on Claude Haiku 5.5, so they are not billed at the planning model's price.
Changing any of them is one line of configuration, and we revisit them whenever models or prices move. The trade-offs behind those choices are in Choosing AI coding models.
Supercharge as the workflow
The harness knows how to edit code. It does not know how we work. That is the job of Supercharge, our own five short skills. They define how a project's context is written down, how a request is planned into slices, how each slice is built through tests and reviewed, and how a finished feature is merged. We introduce it in Introducing Supercharge.
Orca as the development environment
To run several features at once we use Orca, an open-source agentic development environment. Each feature gets its own session, in its own git worktree, with its own terminal and browser, so agents working on different features do not overwrite each other's files. From one place we can see what every session is doing, review diffs and step in where a session has stopped for us.
Starting work is picking an issue from Orca's issue list. Every issue our planning creates begins with the command that builds it, so a feature issue opens a session that drives the whole feature, and a slice or a small ticket opens one that builds just that. How that works with several features, and several slices, at once is in Running coding agents in parallel.
Orca is agent-agnostic too: it runs whatever coding agent you point it at, so it fits around the harness rather than replacing it.
GitHub holds the work
All of it coordinates through GitHub. Each planned feature becomes a feature issue with its slices as sub-issues, labelled by feature and marked ready for an agent, with their dependencies and which slices can be built together. Each slice lands as a pull request that has to pass CI. Humans see the same issues and pull requests the agents do, so there is no separate agent to-do list to drift out of sync.
How it fits together
A request starts in its own session. Opus asks its business questions in one batch, writes the feature document and cuts the feature into slices as GitHub issues, marking which can be built together; the plan reaches main on its own pull request. Starting the feature issue in Orca opens the session that drives the build. It hands slices to Sonnet builders, in parallel where the plan allows; each builds through tests, gets reviewed by GPT and merges into the feature branch. The driver then checks the docs against what shipped and opens one pull request into main. We review it and reply go, and the agent checks CI, merges and cleans up.
Most of the time, we are answering questions, writing requirements and reviewing finished features. The agents are doing the rest.
Keeping it light
Every piece in this stack can be replaced. The harness is open source and model-agnostic. The workflow is a few files we own. The environment runs any agent. The models are configuration. That is deliberate: tools and models are changing monthly, and a setup that cannot change with them is a liability.
Lessons learned
We tested the setup by building the same small receipt-scanning app several times with different models and settings, then used it on a real five-day project that went live. Four lessons stood out.
Splitting the models is where the money is. The first receipt-scanner build, with Opus planning and building, cost $38. A later build of the same brief cost about $5.90 with Opus writing the docs and the plan, GLM 5.3 building and GPT reviewing; the docs and plan were $0.79 of that. It was not a controlled comparison, since the stack and the skills had changed in between, but it showed a cheap builder could deliver. On the real project, where we left Opus building, builders were $149 of the $212 total.
Cheaper models build well from a checked plan, and plan less well. GLM 5.3 built the planned slices well. As planners, the cheaper models we tried missed business questions that mattered. One plan assumed every receipt was in Hong Kong dollars. It listed that as an assumption, and the human caught it at the plan checkpoint; without that check, a US-dollar receipt would have been saved as HKD. Planning stays on the strongest model, and with a cheaper planner, a human approves the plan.
Agree shared rules before building in parallel. In an early run, slices built in parallel wrote contradictory currency rules, and each passed its own tests. The plan now settles rules that several slices share and marks which slices are independent before any builder starts.
Start a new session for each request. On the real project we kept one session running for five days, and its context grew from about 50,000 tokens to 600,000, which made every call expensive. The documentation already carried everything the next request needed, so a fresh session would have lost nothing.
What we would improve
The real project should have had a cheaper builder from the start; it would probably have cut the $149 of building sharply. Work that came after the feature had shipped, such as design passes and search engine work, was added as issues under the finished feature instead of being planned as new work; the planning skill now treats any request about a shipped feature as new work. And in two runs, a cheaper driver skipped the final documentation refresh, checking the docs itself instead, so running it is now an explicit last step, even when the docs look current.
What we are confident of: decoupling the harness from the model has already paid for itself, the workflow is better for being small, and the biggest gains came not from any tool but from planning: clear slices with acceptance criteria are what let a cheaper model do the building and let the agents run without us.

