After benchmarking Claude Code on different skills, MCP servers and AGENTS.md setups, I found out that a bare setup scored 95%, while a full-blown software factory scored 90%, at triple the price and agent coding time.
You heard that right. I was blown away by the results too, because deep down I wanted the software factory to win.
Table 1 shows the results on costs, coding agent time and performance for the two dimensions we will drill down into within this article:
Inngest vs. LangChain. To answer which stack is better for coding agents to build durable, long-running agents.
One-shot workflow vs. Software factory. To measure whether it’s worth paying triple the token cost for “the idea of” better code performance and quality.

In all our tests, we implemented CodeClimb from scratch in different scenarios. Now... What the heck is CodeClimb and how is related?
CodeClimb is an eval driven long-running agent that finds the optimal solution for AI measurable solutions such as RAG. I explained how it works in depth in this issue and built it in Inngest and LangChain ecosystem (LangGraph + LangSmith) to compare all the design trade-offs between the two when building durable agents in this issue.
CodeClimb needs to run from 12 hours up to 2 days, burning hundreds of dollars while searching for the optimal solution. So it is the perfect lab rat for this experiment, of measuring how well coding agents work with different vendors to implement durable agents.
Thus, I designed a full blown benchmark and ran 90 trials with Claude Code on Opus 5.5 with medium reasoning with different setups and scenarios burning $560 in credits. I replicated multiple combinations of how a developer’s setup would look like, vendor skills, MCP servers, docs and Matt Pocock’s skills software factory.
Measuring how well the code works on 92 end-to-end tests and code quality metrics such as function complexity.
So let’s see how Inngest compares to LangChain when used by Claude Code on 4 levels: vendor setups, software factory, code quality and adding features/solving bugs.

But first, a quick word from our sponsor ↓
Inngest virtual hackathon. Win up to $5,000 in total prizes (Sponsored)
I just joined my first hackathon in over 6 years! It’s called 12 Days of Weird Workflows, a virtual hackathon hosted by Inngest and CodeTV.
Contestants are challenged to implement a simple task in the most overengineered way possible. Like a toaster that requires three human approvals and a cron job to make toast.
Naturally, I submitted CodeClimb.
The hackathon is a great chance to learn about durable agents or workflows, as Inngest is releasing daily 5-minute lessons with code examples from December 7 to 18, so you can learn as you build.
While having the chance to win $5,000 in cash prizes and 12 daily giveaways. I’ve got my eyes on that custom mechanical keyboard :)
Submissions close on December 23, with winners announced live on CodeTV on December 29.
If this sounds like your kind of fun, come join me (it’s free and virtual):
Disclaimer: Even though Inngest is the sponsor of this article, all the opinions and results are my own. Their team hasn’t seen this piece before publishing.
Now, let’s get back to our article and start comparing Inngest to LangChain on different vendor setups.
Comparing different vendor setups
To design the benchmark, I reduced CodeClimb’s codebase from the main (Inngest) and langchain branches to a build spec with zero code in it. It describes the features, architecture, components, interfaces and data flow. I created one spec for Inngest and one for LangChain, both containing the exact same features and interfaces for a fair comparison.
To spice things up, as seen in Table 2, I created 4 different setup scenarios. Why? All of us, me included, are obsessed with setting up the right skills, MCP servers, and documentation links in AGENTS.md. So I wanted to measure whether all this complexity actually helps. This was a perfect setup, as both vendors provide dedicated skills, MCP servers and /llms.txt docs, all targeted to help coding agents work better with their products.

full is skills plus mcp-docs.bare is the control group, while full is the setup most of us use.
I used Harbor as the open-source benchmark engine to operate the trials and jobs. It was created by the team behind Terminal-Bench, one of the most popular coding benchmarks, which runs on it too.
Each trial is designed around Harbor’s built-in Claude Code agent, which gets as input the build SPEC.md and an E2E.md file that specifies all the verification steps that need to pass before the app is considered done (34 out of our 92 tests). Depending on the setup scenario, I exposed the agent to extra skills, MCP servers and llms.txt doc links in the AGENTS.md file.
All the trials used Opus 5.5 on medium reasoning.
Harbor starts Claude Code in a Docker container (or a remote sandbox if required). As CodeClimb executes the agent’s tools in a different Docker sandbox, every trial gets a sidecar container. So, as seen in Image 2, every trial runs 2 coupled Docker containers.

To ensure the verification has 0 bias, the verifier is a third, separate container. It receives the build, reinstalls it, rebuilds the images, starts fresh services and reruns every check.
As the agent has access to the internet, it could access all the reference builds from the public CodeClimb repo, so to keep it simple, I blocked the agent’s access to GitHub.
As I prepared 30 trial, each running 3 times to even out any noise, I ran a total of 90 trials for about $560 of subscription usage. I ran 3 trials in parallel on an Apple M2 Max chip, which took 5 days.
To measure how well the coding agent performs, as seen in Table 3, I designed 3 test families. The basic tests are seen and used by the coding agent as end-to-end tests to verify its code. As expected, since it sees them, it passed all of them. That’s why I designed a layer of hidden mocked tests and another one of real tests that use LLM credits.

In Table 4, we can see the mean results of the 3 trials for each combination across multiple dimensions such as cost, coding time and performance. All the scores below are on the hidden and real tests only, the ones the agent never saw.

bare scores highest and mcp-docs lowest on both stacks.In terms of cost, there is no huge difference between setups. Coding with LangChain costs a bit more, but the difference isn’t crazy.
It gets interesting when we look at the time it takes a coding agent to implement the build spec, which is 1.6x to 1.8x longer on LangChain, except on mcp-docs, where the two tie.
It gets even more interesting when we compare the performance on the hidden and real tests, where the result is the opposite of what we would expect. Adding skills, MCP servers, and docs brought no measurable gain. Ouch!
The bare setup had the best results with a few exceptions. With Inngest, the full setup got a perfect score on real, while with LangChain it got a perfect score when it had access only to the skills. The crazy part is that on LangChain, with the full setup, the performance on the real tests completely collapsed.
My take is that a filled context window confuses the agent. But still, it’s extremely counterintuitive that even vendor-specific setups bring no gain.
I investigated why the bare setup performed so well and saw that the agent opened the stack’s package in node_modules and learned directly from the source code, rather than from fuzzy skills (all the code is in TypeScript). Researchers at ETH Zurich and LogicStar.ai found the same for AGENTS.md-style context files. There is no general gain in task success.
Crazy to see how the latest frontier models need almost no setup to get sh** done.
So, in conclusion, the coding agent works 1.6x to 1.8x faster with Inngest in every setup but mcp-docs. Within the bare setup, there is no difference in performance, and the only split is on full, where my read is that the Inngest ecosystem guides the agent more reliably.
The obvious question is: “Do we need skills, or should we avoid overengineering and just use a bare setup?” So let’s take it to the next level and see if a software factory is any good.
What about a full-blown software factory?
I took the full setup and added Matt Pocock’s skills on top to see if a software factory can better guide the coding agent in properly using the vendor agent ecosystem. So now, instead of changing the context the agent sees, I play with its workflow.
So I took the build spec and applied its /to-tickets skill to divide the spec into multiple scoped tickets. Then, within each trial, I called its /implement skill and gave it access to the entire plugin, including model-invokable skills such as /tdd and /code-review. The specs were already grilled with grill-with-docs when I created them from the original CodeClimb reference builds.
In Table 5, you can see the results, which show that using a software factory increases the cost by at least 2.6x on Inngest and 1.9x on LangChain, and increases the time to complete the task by 2.3x on Inngest and 1.4x on LangChain. This is expected, as it iterates through each ticket one at a time instead of doing it in one shot. But the real question is, does it help improve performance?

full one-shot setup against the software factory, per stack. Only the workflow changes.On the hidden tests, there was barely any change, while the performance on the real tests is intriguing. Inngest is better without it. Its real tests fell from 100% to 77.6%, while on the LangChain stack it helped it recover to 86.6%.
The factory’s results are not bad, but not great. Both bare and skills still beat the factory on hidden + real tests on both stacks.
The biggest hit on performance was that the factory ran out of budget. Every trial had $32, and the one-shot builds spent $12 to $15, while all 6 factory trials hit the cost cap and had to be stopped. You can see in Table 5 that the LangChain implementation, on average, had about 11 tickets left, while Inngest had 5, which makes sense, as the coding agent moves faster with Inngest. The cost per trial in the table is not exactly $32 because I left room for running the tests.
As the coding agent didn’t finish all the tickets, I wouldn’t draw any crazy conclusion on performance, only on price. If I had let it finish all the tickets, the price would probably have tripled relative to the one-shot workflow.
But Paul... Software factories are about less AI slop and more code quality, right? So before demonizing software factories, let’s see their impact on code quality. As a side note, I am a big fan of software factories and Matt’s work. I personally use his skills, but this difference in price shocked me.
What’s the impact on code quality?
In Table 6, you can see a comparison between the full one-shot workflow and the one that uses the software factory on code quality metrics such as the number of files, lines of code, type escapes (in TypeScript) and function complexity.

full one-shot setup against the software factory. Type escapes and lint findings are counted per 1,000 lines, so builds of different sizes compare fairly. Lower is better for both and for complexity, while higher is better for coverage.The factory writes twice the files (so more modular code), about 40% fewer type escapes (the ways TypeScript lets you skip the type checker, such as any), fewer than half the lint findings, a max function complexity down a quarter to a third (how many branches exist, such as if else statements) and test coverage from about 30% to about 70%.
It’s clear that using a software factory dominates on code quality. But at what cost? Literally.
Code quality between Inngest and LangChain is not significantly different. The biggest difference is that for Inngest, you have to write ~1,000 more lines of code, as a lot of functionality is not hidden behind abstractions. This propagates into the number of tests, as there is more code to test. Plus, as we control more code, it’s easier to test it.
LangChain’s more structured code doesn’t make the agent write cleaner code as complexity, types and lint are much the same.
So far I’ve kept writing CodeClimb from scratch based on the build spec, but the final boss is seeing how the coding agent behaves on an existing codebase where it needs to add a new feature or fix a bug.
How about adding features or solving bugs?
To build this benchmark, I took my reference builds from the main branch for Inngest and the langchain branch for LangChain, then planned 4 new features and planted 6 bugs. Each is an individual trial starting from the reference.
The features are scoped, such as adding a hard deadline configuration, where the run stops even in the middle of a step instead of ending when the tool call ends. This time, I ran the coding agent with the bare setup (no skills, docs or MCP servers).
The bugs are related to durability issues as well. For example, after a restart due to a crash, the run started recomputing rounds 1 and 2, which should have been replayed via the durability engine instead of starting from scratch.
To keep measuring on the same hidden tests, I designed both the feature and bug trials around dimensions that were already tested.
In Table 7, you can see the results, where LangChain nailed all 30 trials. Inngest did well, with 3 failures. The most surprising part is that the difference in cost and coding time completely collapsed.
When implementing new features or fixing bugs, LangChain seems like the clear winner, which is a huge one as it’s the closest to what we have in production!
So... What tech stack and setup should your coding agents use?
Do coding agents work better with Inngest or LangChain? Also, are software factories worth it or not?
Well... When starting from scratch, Inngest won on time and cost, while on an existing codebase, LangChain won, nailing all 30 trials.
My intuition is that on an existing project, Inngest needs more of your architectural guidance, while LangChain’s structured framework shows the agent how things get done.
Now, is the factory worth it? For code quality, definitely, but at the expense of doubling or tripling the cost.
Also, I haven’t tested the impact of the factory on verification and monitoring strategies, where factories likely matter most.
And the main takeaway is that for quick prototypes and experiments, the best setup is no setup! We’ve seen that adding skills, MCP servers and docs mostly had close to 0 impact, or even a negative one. So until you are sure you care about code quality and keeping the code for the long run, just open up Claude Code, write a detailed spec, hit enter, and you are good to go. Stop overengineering your setup.
📚 To find out more about CodeClimb and building durable agents, consider going through our previous two articles from the series:
Build Durable, Secure Long-Running Agents
What would it take to trust an AI agent to work on your code overnight? Without burning through LLM API credits to reach its goal no matter what, exposing your credentials to the AI overlords, or losing hours of progress when something crashes at 5 AM.
Inngest vs. LangChain: I Built the Same Long-Running Agent Twice
While building and talking about my latest long-running coding agent, CodeClimb, on LinkedIn and X, people kept asking me about one of their root fears: “If the run crashes after 6 hours, will it cost me twice to resume?”
💻 You can reproduce the benchmark on CodeClimb’s
benchmarkbranch.Everything the coding agent got is on that branch: the build specs for Inngest and LangChain, the vendor skills for Inngest and LangChain, Matt Pocock’s skills, and the MCP servers and doc links for Inngest and LangChain, wired per setup in the job configs.
You can also try out the original CodeClimb code on the main branch for Inngest and langchain for LangChain.
💶 For Inngest, use this link for a 3-month free Pro trial (until Nov 2027).
References
Whenever you’re ready, here is how I can help you
Go from agent user to agent builder. Master the foundations of AI agents and turn fragile demo code into reliable, production-ready systems with my course, Agent Engineering: Building Multi-Agent Systems (made with Towards AI).
35 lessons. Pure foundations from scratch. 4 mini-projects. 2 production systems. A certificate and direct access to me & industry experts in our Discord.
Built for software and data professionals transitioning into AI engineering. Rated 5/5 with 300+ students. The first 7 lessons are free:
Not ready to commit? Start with our free Agent AI Engineering Guide, a 6-day email course on the mistakes that silently break AI agents in production.
Thanks again to Inngest for sponsoring the series and keeping it free!

Build AI agents and workflows that survive crashes, retries, and long waits:
Images & videos
If not otherwise stated, all images and videos are created by the author.







