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

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Jina AI
Jina AI
博客园 - Franky
Apple Machine Learning Research
Apple Machine Learning Research
酷 壳 – CoolShell
酷 壳 – CoolShell
阮一峰的网络日志
阮一峰的网络日志
量子位
雷峰网
雷峰网
宝玉的分享
宝玉的分享
V
Visual Studio Blog
博客园_首页
小众软件
小众软件
The Cloudflare Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
大猫的无限游戏
大猫的无限游戏
博客园 - 聂微东
S
SegmentFault 最新的问题
博客园 - 【当耐特】
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 叶小钗
月光博客
月光博客
博客园 - 三生石上(FineUI控件)
人人都是产品经理
人人都是产品经理
WordPress大学
WordPress大学

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders
AIDE Memory – Persistent Memory for AI Coding Agents and ...
ameky · 2026-05-01 · via Hacker News - Newest: "AI"

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