CodeClimb publishes durable-agent workflow tested for 11.8 hours
CodeClimb publishes an implementation that separates workflow state from workers and includes checkpoints, credential handling, stopping rules and recovery. The comparison covers Inngest and LangChain implementations.

TL;DR
- CodeClimb separates execution from control, with workers running application code and a separate server managing run state and checkpoints; the architecture postthe architecture post also says interrupted work can move to another worker.
- The workflow ran for 11.8 hours and includes checkpointed recovery, credential isolation, human pause and deterministic stopping rules, according to the long-run reportthe 11.8-hour report.
- The two-stack comparison kept the eval loop constant and gave Inngest a 4-2 edge across durability, developer experience, observability, deployment, cost and SDKs, per the comparison tablethe comparison table.
- Large documents stay outside workflow step payloads, with references passed between steps instead, as the payload warningthe payload warning explains.
The public CodeClimb repository exposes an eval-driven coding agent built around isolated sandboxes and a durability layer. Inngest's durable-agent documentation describes the corresponding primitive as step-level persistence, retries and waits that do not hold a worker. The comparison article changes the runtime, sandbox and state layer while keeping the experiment, evaluation and metering proxy fixed.
Worker and server
CodeClimb divides a night run into code execution and workflow control. The worker executes application code, while a separate server manages run state, schedules steps and stores checkpoints, according to the architecture postthe architecture post, which also describes redirecting interrupted work to another worker.
That split is implemented with six functions and four events. run-night invokes separate experiment and evaluator functions, while the comparison writeup describes an event queue, deduplication by ID and a WebSocket connection between the server and worker.
Inngest's durable-agent docs define each model or tool call as a step whose completed result is saved. A failed step can retry without repeating earlier calls, and a run can resume after a crash, deploy or multi-day wait.
Checkpoints and payloads
Checkpoint boundaries decide how much completed work survives a worker failure.
The checkpoint postthe checkpoint post describes independently checkpointing coding, evaluation and review so a crash does not replay completed work. CodeClimb's implementation instead wraps one full experiment and one full evaluation in a step because both contain nondeterministic work and side effects, as the durable-agent writeup documents.
The same writeup says one step can run for up to an hour, so experiments were capped at 50 minutes with a 10-minute buffer. Large documents and dataset splits were kept out of step arguments and results; a separate payload warningpayload warning describes storing large artifacts separately and passing references.
Sandboxed evaluation
CodeClimb uses evaluation as a boundary around the coding agent, not as another instruction in its prompt.
The sandbox replya sandbox reply says coding, evaluation and review run in different sandboxes with different agents. Another replyanother reply says the coding agent receives a training split for self-checking but cannot access the evaluation environment.
The workflow has three stages:
- Experiment: A coding agent receives the specification, training split and history from previous rounds, then writes code in a Docker sandbox.
- Evaluate dev split: A separate evaluator scores the code on the development data; a review agent turns the results into feedback for the next round.
- Evaluate test split: The final code is scored once on the test split, after the loop stops, to expose overfitting.
The long-running implementation keeps the dev and test data away from the coder and stores hypotheses and review results in decision history, including results from discarded experiments.
Guardrails and credentials
The control layer owns resource limits instead of asking the coding agent to enforce them.
The workflow diagramthe workflow diagram places a proxy between the sandboxes and model providers. It holds credentials, enforces an allowed-model list and tracks costs.
The implementation's TypeScript orchestrator stops a night when any of five conditions fires, according to the durable-agent writeup:
- metric thresholds are reached;
- the iteration cap is reached;
- the deadline expires;
- the night budget is exhausted;
- metrics plateau for too many rounds.
The author makes the design choice explicit in the guardrails postthe guardrails post: budgets, execution deadlines and stopping conditions belong in deterministic code, while the agent chooses how to solve the task. A follow-up replya follow-up reply says the test setting used nine plateau rounds and no rolling-best mechanism.
Inngest and LangChain
The comparison is about the durability layer, not two different applications.
The comparison article keeps the experiment, evaluator, metering proxy and dashboard concept the same, then swaps the runtime, sandbox and state components. Its author also discloses that Inngest sponsored the article.
The six reported dimensions were:
- Durability: Inngest's external server synchronized checkpoints and cleaned up after crashes; the LangChain build used batched writes and a separate watchdog.
- Developer experience: Inngest offered more freedom around existing application code; LangChain was stronger when the code followed its patterns.
- Observability: LangSmith provided native LLM and tool-call tracing; the Inngest setup tracked workflow execution but needed another tool for those traces.
- Deployment: LangSmith handled hosting and scaling; Inngest required the team to operate its workers.
- Cost: The author's estimate was about $1.40 per night for Inngest versus $3.30 for LangChain at 1,000 night runs, excluding model, storage and network costs.
- SDKs: Both supported TypeScript and Python; Inngest also supported Go and cross-language workers.
The resulting score was Inngest 4, LangChain 2, with LangChain taking the observability and deployment points shown in the comparison tablethe comparison table. LangGraph's official checkpointer documentation separately describes per-step graph-state snapshots for persistence, human approval and fault-tolerant execution.
Build benchmark
A second test measured how coding agents rebuilt each stack from a written specification.
The benchmark article reports 90 trials across four setup types, using Claude Code on Opus 5.5 with medium reasoning and 92 end-to-end tests. The test-pass results were:
- Bare: Inngest 95.3%, LangChain 94.8%.
- Skills: Inngest 91.3%, LangChain 95.9%.
- MCP plus docs: Inngest 88.9%, LangChain 90.4%.
- Everything combined: Inngest 95.3%, LangChain 82.1%.
Across the one-shot setups, the benchmark resultsthe benchmark results report 53 minutes and $12.38 per Inngest build versus 77 minutes and $14.04 per LangChain build. Maintenance reversed the result: Inngest resolved 27 of 30 feature requests and bug fixes, while LangChain resolved all 30.
A software-factory setup produced roughly 40% fewer type escapes, more than 50% fewer lint findings, lower maximum function complexity and about 70% test coverage versus roughly 30% in the one-shot baseline. The tradeoff was 1.9 to 2.6 times the cost, with all six factory trials exhausting their budgets before closing every ticket, according to the benchmark chartthe benchmark chart.
The 11.8-hour run
The longest reported run lasted 11.8 hours.
That run covered 26 rounds and cost $74.63, according to the durable-agent writeup. Node-extraction F1 reached 0.764 on the dev split against a 0.8 threshold; edge-extraction F1 reached 0.455 on dev and 0.368 on test. Graph-merge recall reached 0.994 on test, while retrieval recall reached 0.909 and mean reciprocal rank reached 0.922.
The run ended at its round cap with credits exhausted because the extraction thresholds were not reached. Under the checkpoint design, a worker crash would cost at most one $2.87 round rather than replaying all 26 rounds, as the implementation writeup reports.