Skip to content

feat(flow): add Kalki-backed persistence checkpointer (#4644)#4732

Closed
yuweuii wants to merge 2 commits into
crewAIInc:mainfrom
yuweuii:codex/issue-4644
Closed

feat(flow): add Kalki-backed persistence checkpointer (#4644)#4732
yuweuii wants to merge 2 commits into
crewAIInc:mainfrom
yuweuii:codex/issue-4644

Conversation

@yuweuii
Copy link
Copy Markdown

@yuweuii yuweuii commented Mar 5, 2026

Summary

This PR implements issue #4644.

  • Scope: [FEATURE] Kalki as a high-performance long-term memory checkpointer for agentic applications.
  • Source branch: yuweuii:codex/issue-4644
  • Commit: d589a40

Linked Issue

Closes #4644


Note

Medium Risk
Adds a new non-default persistence backend that checkpoints and restores flow state (including async pending-feedback resume markers) via external gRPC service calls, which could affect flow recovery behavior and introduce dependency/compatibility issues with Kalki protos.

Overview
Adds an optional Kalki-backed flow persistence backend (KalkiFlowPersistence) that checkpoints flow state to a running Kalki service via gRPC and restores the latest checkpoint by querying and timestamp-sorting stored log payloads.

The new backend also supports async human-feedback resume by writing pending-feedback markers and clearing them via an append-only tombstone entry, and it is exported from crewai.flow.persistence and documented in the Flows persistence guide with a usage example.

Written by Cursor Bugbot for commit 10e3c2c. This will update automatically on new commits. Configure here.

@greysonlalonde
Copy link
Copy Markdown
Contributor

Hi! We are generally not accepting any external tool additions at the moment. Please see https://docs.crewai.com/en/guides/tools/publish-custom-tools

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.

[FEATURE] Kalki as a high-performance long-term memory checkpointer for agentic applications.

2 participants