10. Agents
Claude Code works in a directory and reads its rule files at the start of every session. The vault becomes the agent's memory when those rules direct it to the entry points and require it to record its work there.
| Component | Function | Configuration |
|---|---|---|
| User rule file | ~/.claude/CLAUDE.md, loaded in every project. | Names the entry points and the rule that work is recorded while it is done. |
| Project rule file | CLAUDE.md in a project directory, loaded in that directory. | Rules for one client or one repository. |
| Automatic memory | Claude Code's own notes for each project, indexed in MEMORY.md. | Index lines point to notes. Rules that apply in every project belong in the user index. |
| Search server | qmd and Smart Connections, reached through MCP. | claude mcp add. |
| Second agent | A separate agent on another computer, which drafts notes into a review queue. | Drafts enter the knowledge folders only after review. |
Verified November 24, 2026 against the vendors' documentation. References