惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

U
Unit 42
博客园 - Franky
T
Tailwind CSS Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
月光博客
月光博客
人人都是产品经理
人人都是产品经理
雷峰网
雷峰网
Hugging Face - Blog
Hugging Face - Blog
有赞技术团队
有赞技术团队
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
阮一峰的网络日志
阮一峰的网络日志
C
Check Point Blog
爱范儿
爱范儿
T
The Blog of Author Tim Ferriss
aimingoo的专栏
aimingoo的专栏
Stack Overflow Blog
Stack Overflow Blog
博客园 - 聂微东
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
L
LangChain Blog
云风的 BLOG
云风的 BLOG
MyScale Blog
MyScale Blog
Microsoft Security Blog
Microsoft Security Blog
The Cloudflare Blog
博客园 - 三生石上(FineUI控件)

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
AIDE Memory – Persistent Memory for AI Coding Agents and ...
ameky · 2026-05-01 · via Hacker News: Show HN

April 29, 2026

What lives in your head doesn’t flow across AI sessions, and doesn’t always make it to your team. How features fit together in your system, the patterns you follow in an area, the reasoning behind decisions — they’re not always captured by CLAUDE.md and .cursorrules.

Coding with agents made me more productive, but made me repeat myself. So I built aide-memory — an auto-captured, auto-recalled, path-scoped memory tool for AI coding agents and teams.

Why rules files aren’t enough on their own

CLAUDE.md and .cursorrules help with part of this. But they have real limits:

  • Corrections don’t make it back. You correct the agent in conversation. The lesson works for that session. Unless someone manually edits the rules file afterwards, it doesn’t persist.
  • Area-specific knowledge isn’t always documented. How a feature ties into the larger system, the architectural decisions in a specific module, the reasons certain things are built the way they are. Not all of that fits in a project-wide rules file, and there’s no way to scope it to a code area.
  • The whole file gets injected on every turn. Whether the agent is working in auth, the dashboard, or the settings panel, it gets the same block of text. Relevant context competes with non-relevant context for space in the window.
  • Team handoff is manual. The corrections and decisions from your sessions don’t flow to your teammate’s agent automatically.

aide-memory sits alongside rules files, not above or below. Rules files for static, always-on guidance. aide-memory for the dynamic, scoped knowledge that grows with the codebase.

Capture happens as you work

You don’t have to remember to save anything. The preferences, technical context, area decisions, and team guidelines that come up while you build are captured as you work. Six hooks fire across the session lifecycle, installed by — you don’t manage them.

Correction detection. When you correct the agent (“no, we don’t do it that way”, “use composition instead”), the UserPromptSubmit hook detects the correction and prompts the agent to store it, scoped to the code area you’re working in.

Periodic reflection. At the end of turns, the Stop hook prompts “anything worth remembering?” on a tunable schedule (frequent early in the session, less frequent in long sessions). Area decisions and technical context get captured here.

Session start. When a session begins, the SessionStart hook injects your top preferences, team guidelines, and priority-always memories so the agent starts with context rather than a blank slate.

Pre-read prompting. Before the agent reads or edits a file, the PreToolUse hook checks if relevant memories exist for that path. If they haven’t been recalled yet this session, it prompts the agent to recall them first.

Capture happens because the editor fires the hook, not because someone remembers to call a tool.

Recall is scoped to where you’re working

Instead of dumping global context on every prompt, when the agent opens a file aide-memory matches the path against stored scopes (, ) and surfaces only what’s relevant to that area.

Four layers organize the knowledge:

Recall ranks first (most specific to the area), then , then , then . Scoped memories rank above project-wide ones.

The agent gets what applies to where it’s working, not a global dump of non-relevant text.

Your team’s agents learn from yours

Memories are JSON files under . Commit, push, pull.

When your teammate pulls, a git hook rebuilds the local cache. Their agent’s next read in the area you’ve been working in picks up the context you stored.

Personal preferences () are gitignored. Team conventions travel with the repo. Context starts flowing between teammates and their agents without anyone editing the same flat file.

Cross-tool

Claude Code and Cursor read the same directory. A memory captured in one tool is available in the other. Switch tools and the context comes with you.

Codex, Copilot, and Windsurf get a rules template at launch; deeper integration may come based on user feedback.

Tunable

aide-memory ships with defaults you can adjust:

  • How often the agent gets prompted to reflect and store context (frequent early in a session, rare in long ones, or set your own schedule)
  • How specific a scope needs to be before a memory surfaces per-file vs only at session start
  • How much context gets injected at session start (character cap, per-layer toggles)
  • Which hooks are active (disable per-file blocking, turn off correction detection, adjust the reflection schedule)
  • Personal vs shared preferences (gitignored or committed, configurable per-project)

seeds with all public settings so you can see and edit them in one place. Full config reference at Configuration.

Privacy

Memories are JSON files on your disk plus a local SQLite cache. Memory content stays on your machine. Telemetry is on by default — only event types and machine-anonymous counts (event name, hash of , platform, arch, Node version) are sent. The sender IP is not transmitted, so location is not derived from events. To turn it off: or .

Try it

Creates , installs hooks, configures the MCP server, writes rules files for Claude Code and Cursor. Start a fresh editor session after init so the MCP server registers.

Free to use.

FAQ