The Agent’s Permanent Memory
Knowledge files are the agent’s permanent memory — long-term facts that persist indefinitely and are always available in context. While episodes capture what happened and consolidation compresses the timeline, knowledge files store what Wolffish knows about you, your world, and your preferences.Location
The Five Default Files
| File | Purpose |
|---|---|
people.md | People you interact with — names, roles, relationships, context |
projects.md | Active and past projects — stack, status, key decisions |
preferences.md | Your personal preferences — tools, workflows, communication style |
technical.md | Technical facts — environments, APIs, credentials locations, conventions |
decisions.md | Decisions you’ve made — rationale, constraints, outcomes |
These five files are created during first launch. You can add more knowledge files — the agent reads everything in the
knowledge/ directory. Create books.md, health.md, or whatever categories make sense for your life.How Knowledge Gets Written
Knowledge enters the system through three paths:1. Automatic Promotion (LLM-driven)
During consolidation, the LLM identifies patterns that deserve permanent storage. If the same preference appears across multiple weeks, or a project keeps coming up, the consolidation process promotes it to the appropriate knowledge file.2. Direct Agent Writes
When you say something like “remember that I prefer conventional commits” or “my manager’s name is Sarah,” the agent writes directly to the appropriate knowledge file during the conversation. Theagents.core.md procedures instruct Wolffish to update knowledge whenever it learns a new long-term fact.
3. Manual Editing
Open any knowledge file in your editor and change it. The brainstem file watcher detects the change, the cortex re-indexes it, and the next conversation will use the updated information.Context Priority
Knowledge files have the highest memory priority after identity files (soul.md, user.md). They are always included in context assembly — unlike episodes and consolidated files, which pass through RAS scoring. The logic is simple: if you told the agent to remember something permanently, it should always be available.
Example: preferences.md After a Few Weeks
Example: people.md
Editing Guidelines
- Adding Facts
- Correcting Facts
- Removing Facts
Just tell Wolffish during conversation:
- “Remember that my API key for Stripe is in 1Password”
- “Note that we decided to use PostgreSQL over MySQL for the new service”
- “My flight to Riyadh is on June 3rd”
Custom Knowledge Files
Create any.md file in the knowledge/ directory and it becomes part of the agent’s permanent memory: