StateFabric is a small infrastructure layer for AI agents that need more context than chat history.
Once an agent starts using tools, runs across multiple sessions, or needs to survive restarts, simply storing conversation history is no longer enough. You need to know:
What happened? What state changed? Which tools were called? What context should go into the next model turn?StateFabric stores an append-only event log for every agent run, then derives working state and model context from those events. Rather than treating context as a growing message history, it treats it as a view built from durable events.
Your agent framework or runtime continues to own prompts, tools, model calls, and business logic. StateFabric sits alongside it as the persistence, replay, and context layer.
What it doesStateFabric records every significant event that occurs during an agent session, including user messages, model responses, tool calls, tool results, and s…