Skip to content

feat(agents): Moved Persistence to AIAgentStorage#1828

Open
Rizzen wants to merge 2 commits intodevelopfrom
mark/ai-agent-storage-based-persistence
Open

feat(agents): Moved Persistence to AIAgentStorage#1828
Rizzen wants to merge 2 commits intodevelopfrom
mark/ai-agent-storage-based-persistence

Conversation

@Rizzen
Copy link
Copy Markdown
Member

@Rizzen Rizzen commented Apr 9, 2026

  • Storage-based persistence: Migrated the Persistence feature to use AIAgentStorage (on AIAgentContext) instead of direct context fields, making persistence state accessible through the standard storage API

  • External storage injection: Added AIAgentSessionInputs — an extensible container that allows pre-populating AIAgentStorage before session execution via session.run(input, AIAgentSessionInputs(storage =
    ...))

  • runFromCheckpoint API: New extension functions on AIAgent and AIAgentRunSession that restore agent execution from a saved AgentCheckpointData without requiring the Persistence feature to be installed.

  • Persistence setExecutionPoint* methods are now suspend to align with the storage API migration

@Rizzen Rizzen requested a review from Ololoshechkin April 9, 2026 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants