The Database Built for Agentic Workloads

Agent systems create bursts of isolated work, memory, and state that traditional databases were not designed to handle. TiDB supports branching, durable state, and concurrency for agents operating independently at scale.

hero image

Proven at Scale

Leading AI teams use TiDB to power stateful agent systems.

Manus

Scaled autonomous agent orchestration with instant branching for parallel task execution.

Dify

Built end-to-end agent workflows with persistent state management across complex multi-step operations.

Rengage

Deployed concurrent agent sessions with ACID guarantees for reliable state tracking.

Developer Resources

Build, Test, and Scale Agent Systems

Explore practical examples, runnable demos, and developer resources for building stateful agent workflows on TiDB.

Instant isolated environments for parallel agent execution

  • Create branches in milliseconds without data duplication
  • Run independent agent sessions simultaneously
  • Merge changes back safely with conflict resolution
  • Full ACID transactions within each branch
tab image
Runnable Examples

Common Agentic Patterns

Practical code examples and architectural patterns for agent systems on TiDB.

Branch-per-Agent Pattern

Map independent agent tasks to isolated branches for parallel execution without interference.

View Example

Stateful Workflow Tracking

Persist tool outputs and decisions across steps with queryable workflow history.

View Example

Multi-Agent Coordination

Patterns for multiple agents writing safely to shared systems with strong consistency.

View Example