What is Bitfab?
Bitfab helps you understand what your AI is doing and iterate on it faster. You capture traces with our SDK, then improve your code and prompts directly from your coding agent - with the web portal available to dive deeper when you need it.1
Capture
Add the SDK to capture inputs, outputs, errors, and context for every AI call. 1-shot setup with the Claude plugin or MCP - your coding agent reads your codebase, finds AI workflows, instruments them, and creates replay scripts.
2
Assistant
Ask your coding agent to find failures, diagnose issues, and fix your code and prompts. Replay production traces through updated code to verify changes work before you ship. Use replay mocking to skip expensive or environment-specific child calls while the root function runs real code.
Quick Start
Install the CLI and run init:How It Works
Capture
Your coding agent handles the entire setup:- Instrument + create replay scripts - Reads your codebase, finds AI workflows, and in parallel adds tracing with minimal diffs and generates scripts so you can regression-test against production data with one command
- Get traces - Run your app and traces flow into Bitfab automatically
Assistant
Once traces are flowing, iterate directly from your coding agent:- Find issues - Ask your agent to diagnose failures, search traces, and pinpoint what’s going wrong
- Fix code and prompts - Your agent suggests fixes and replays production traces through updated code to verify the changes work. Mock child spans during replay when an upstream LLM call, API call, or database lookup should return its recorded output while the code under test runs real.
- Dive deeper - Use the web portal to inspect individual traces, compare outputs side-by-side, and explore patterns across your data
Core Workflows
Replay Mocking
Replace selected child calls with recorded outputs so you can iterate on the root behavior without paying for every dependency again.
Database Branching
Replay each trace against the database state that existed when it was captured.