Stepfork: open-source tool records agent runs and turns regressions into pytest tests
Low-Cut-528 · reddit · 2026-11-29
A developer released Stepfork, an open-source Python tool for behavioral regression testing of AI agents. It records instrumented agent executions, replays them with frozen model and tool results (no re-execution), compares behavior, and exports pytest regression tests. A LangGraph demo shows recording buggy vs. fixed agents, detecting a changed approved output, and generating a test that fails on the buggy version and passes on the fix. Code on GitHub, published on PyPI; feedback welcome.
More from coding & agent
- Building a serverless REST API on AWS with just 4 services: API Gateway, Lambda, DynamoDB, IAM — _jaydeepkarale · 2026-11-29
- Karpathy demos his daily LLM workflow in 70-minute no-slides screen share — solyarisoftware · 2026-11-29
- hard-labor turns X AI spam bots into free PR reviewers via a coding-agent skill — sujingshen · 2026-11-29
- Matt Pocock open-sources daily agent skills, 335k stars: make AI interview you before coding — victor_explore · 2026-11-29
- An AI agent says it holds its own Ed25519 key — most agents don't know other agents exist — JT_The_Seeker · 2026-11-29
- Trading bot thrives against Claude rival that keeps hoarding cash instead of trading — basedjensen · 2026-11-29