Back to migration guides

sdk1.0.02.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

manual

Convert old agent config format to AgentGraphDefinition

2. Update node handlers

manual

Migrate custom node handlers to new NodeExecutor interface

3. Enable checkpointing

automated

Configure checkpoint storage for state persistence

npx prisma migrate dev