Skip to main content
StateBase home page
Search StateBase docs...
⌘K
Dashboard
Status
Get Started
Get Started
Search...
Navigation
SDKs
TypeScript SDK
Documentation
Docs
API Reference
Guides
Documentation
GitHub
Discord
Getting Started
When to use StateBase
Quickstart
Copy-Paste Agent Example
Core Concepts
The StateBase Mental Model
What is State? (vs. Memory)
Sessions, Turns & Memory
Checkpoints & Rollbacks
Replay & Audit
Agent Failure Modes
Live Demos
Agent Hallucination Recovery
Debugging with Replay
Multi-Tool Recovery Demo
API Reference
POST
Sessions API
POST
Turns API
POST
Memory API
GET
Traces API
Agent Patterns
RAG Agents Pattern
Human-in-the-Loop Pattern
Long running
Multi agent
Integrations
OpenAI Integration
Anthropic
LangChain Integration
Langgraph
Vercel ai sdk
Mcp
SDKs
Python SDK
TypeScript SDK
SDK Design Patterns
Error handling
Production Playbook
When to Checkpoint
Rollback Strategies
Cost vs safety
Incident recovery
Security & Compliance
Data handling
Isolation model
Reliability Guarantees
Templates & Examples
Starter agent
Production agent
Failure injection
On this page
Installation
Reference
SDKs
TypeScript SDK
Official Node.js Client
Installation
npm
install
@statebase/client
Reference
Type definitions are included.
Python SDK
SDK Design Patterns
⌘I