Back to migration guides
sdk • 1.0.0 → 2.0.0
Upgrade Agent Runtime from v1 to v2
Migrate agent runtime to the new LangGraph-based execution engine with state graphs and checkpointing.
Upgrade steps
1. Update agent definitions
manualConvert old agent config format to AgentGraphDefinition
2. Update node handlers
manualMigrate custom node handlers to new NodeExecutor interface
3. Enable checkpointing
automatedConfigure checkpoint storage for state persistence
npx prisma migrate dev