feat: add CrewAI integration for persistent crew memory#319
Merged
nicoloboschi merged 4 commits intomainfrom Feb 18, 2026
Merged
feat: add CrewAI integration for persistent crew memory#319nicoloboschi merged 4 commits intomainfrom
nicoloboschi merged 4 commits intomainfrom
Conversation
nicoloboschi
reviewed
Feb 7, 2026
| @@ -0,0 +1,120 @@ | |||
| """ | |||
Collaborator
There was a problem hiding this comment.
can we move this to the cookbook ?
actually we must have on example there
Implements a CrewAI ExternalMemory storage backend that maps CrewAI's Storage interface (save/search/reset) to Hindsight's retain/recall/delete APIs, giving crews long-term memory with fact extraction, entity tracking, and temporal awareness across runs. Key features: - HindsightStorage: drop-in Storage backend for CrewAI ExternalMemory - HindsightReflectTool: BaseTool exposing Hindsight's reflect API - Per-agent memory banks with customizable bank resolver - Async compatibility layer for CrewAI's threading model - 35 unit tests, docs site page, example script Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Move research_crew.py example from hindsight-integrations/crewai/examples/ to the cookbook repo and update the integration README to link there instead. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The test-crewai-integration CI job uses `uv sync --frozen` which requires a committed lock file. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1c5b03e to
cc9c610
Compare
nicoloboschi
approved these changes
Feb 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
hindsight-crewaipackage — a CrewAIExternalMemorystorage backend powered by HindsightStorageinterface (save/search/reset) to Hindsight's retain/recall/delete APIsHindsightReflectToolas a CrewAIBaseToolfor disposition-aware memory synthesis_compat.py) to handle CrewAI's internal threading/event loop modelFiles
hindsight-integrations/crewai/— full package (storage, tools, config, errors, compat, tests)hindsight-docs/docs/sdks/integrations/crewai.md— docs site pagehindsight-docs/sidebars.ts— sidebar nav entryTest plan
uv run pytest tests/ -v— 35 unit tests passruff checkandruff format— clean🤖 Generated with Claude Code