Build Self-Hosted Shared Memory to Stop AI Coding Agents from Forgetting
bitdoze · reddit · 2026-08-26
The author set up a self-hosted, persistent memory bank using Hindsight (Postgres + pgvector) shared across all AI coding agents (Claude Code, Pi, etc.). The post details the architecture (Docker Compose, external embeddings, RRF reranker) and extraction strategies to retain technical facts while ignoring noise. Key learnings: extraction missions are critical, stable Worker IDs prevent task loss, and observation-style memory outperforms raw chat logs. Includes full config and a video walkthrough.
More from coding & agent
- Auth0 launches Cross App Access protocol for MCP support — yenkel · 2026-08-26
- Claude Opus 5 excels at Three.js coding despite being hated for overthinking — prasenx · 2026-08-26
- Built X scraper to fix Ctrl+A, derived LLM voice evaluation rule — ExpertDeep3431 · 2026-08-26
- NVIDIA Shows Using AI Coding Agents to Unlock Materials Simulation — PyTorch · 2026-08-26
- Vercel AI SDK 7 Ships HarnessAgent for Unified Coding Agent Interfaces — lgrammel · 2026-08-26
- Energy/Power Market MCP Connector Released — isotropicdesign · 2026-08-26