Blog: Give Every Agent You Run in Omnigent a Persistent Memory#2709
Merged
Conversation
Tutorial-style post on adding persistent memory to Omnigent. Key angle: Omnigent intercepts hindsight_recall/retain/reflect at the runner level, so every wrapped harness (Claude Code, Codex, Cursor, Hermes, Pi) gets memory through one setup, even those with no native Hindsight support. Covers install, YAML spec, bank scoping, the Remy example, and cloud/self-hosted. Grounded in omnigent-ai/omnigent source. Bridge-diagram cover. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Fact-check against omnigent-ai/omnigent revealed CRITICAL error: tools are named memory_recall/retain/reflect (not hindsight_*). Fixed all 15 occurrences. Also added: reflect structured-output note, recall_tags filtering FAQ. Cover tagline updated to match. 0 em-dashes. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Reviewer was right: Codex and OpenCode have official Hindsight integrations, and Pi has a community one (epimetheus). Corrected the table (all marked Yes with the right type). Reframed the differentiator from 'only path to memory' to 'one central setup across every orchestrated harness'. Added a new section on when to use Omnigent's memory tools vs a tool's native integration, and the warning not to enable both against the same bank (double-write). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
An earlier fact-check read a stale unmerged branch (integration/hindsight- memory-tool) that renames the tools to memory_*. The RELEASED omnigent v0.5.1 (what 'pip install omnigent[memory]' gets) and main both use hindsight_recall/ retain/reflect (file omnigent/tools/builtins/hindsight.py, and examples/remy). Verified against the locally-installed 0.5.1 registry. Cover tagline reverted too. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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
Tutorial-style post on integrating Hindsight into Omnigent, a meta-harness that wraps multiple AI agents (Claude Code, Codex, Cursor, Hermes, Pi, and more).
Key angle — the universal memory bridge: Omnigent intercepts
hindsight_recall,hindsight_retain, andhindsight_reflectat the runner level and executes them locally, so every wrapped harness gets persistent memory through one setup, even harnesses with no native Hindsight support (Codex, Pi, OpenCode, custom).What it covers
pip install "omnigent[memory]"(addshindsight-client>=0.4.0)api_key,bank_id,budget,max_tokens,recall_tags)bank_id→agent_id→conversation_idexamples/remy/config.yaml)Grounding
Every technical claim verified against the omnigent-ai/omnigent repo:
omnigent/tools/builtins/hindsight.pyomnigent/runner/tool_dispatch.pyhindsight-client>=0.4.0optional dep inpyproject.tomlHindsightRetainTool._bank()examples/remy/config.yaml~1,220 words, 0 em-dashes.
Changes
hindsight-docs/blog/2026-07-14-omnigent-persistent-memory.mdhindsight-docs/static/img/blog/omnigent-persistent-memory.png— harness-fan bridge diagram (harnesses → Omnigent → ONE BANK)🤖 Generated with Claude Code