
BackpackFlow
by pyrotank41
TypeScript-first, config-driven LLM framework for building observable AI agents with Git-like state management.
What it does
BackpackFlow is an advanced LLM orchestration framework that solves the "black box" problem of agent state. It introduces a "Backpack" concept—a versioned, immutable history of all data changes within an agent's execution, allowing for time-travel debugging and complete auditability of how an agent reached a specific conclusion.
Tools
FlowLoader: Serializes and deserializes agent flows between TypeScript code and JSON configurations.EventStreamer: Provides real-time observability of node lifecycles (START, PREP, EXEC, END).Backpack: Manages state with immutable commits and snapshotting capabilities.Zod Contracts: Ensures type safety across node boundaries with runtime validation.
Installation
Since BackpackFlow is a framework, you install it as a dependency in your project:
npm install backpackflow zod
To use it as an MCP server, ensure your environment is configured to run the compiled JS entry point via node.
Supported hosts
- claude
Quick install
npm install backpackflow zodInformation
- Pricing
- free
- Published
- 4/29/2026
- stars






