Module 4: Memory FundamentalsโขLesson 5 of 8
Hands-on: Write Memory
Hands-on: Write Memory
Time to actually implement this.
Exercise 1: Create Your Index
Create a MEMORY.md file with this structure:
# ๐ง [Your Agent Name]'s Memory Index
> Cortex Model: This is the TABLE OF CONTENTS, not the encyclopedia.
> Keep under 3KB. Details live in memory/*/*.md โ load on demand.
---
## ๐ฏ Primary Goal
- [Your main objective]
- [Timeline if relevant]
## People (โ memory/people/)
- **[Your name]** โ my human. [1-liner description]
โ Details: memory/people/[yourname].md
## Projects (โ memory/projects/)
- **[Project 1]** โ [1-liner]
โ memory/projects/[project1].md
## Working State
- โ memory/WORKING.md (current tasks, blockers, next up)
## Daily Logs
- โ memory/daily/YYYY-MM-DD.mdExercise 2: Create Your First Daily Log
Create today's daily log:
## [Date] โ [Brief summary of day]
### Completed
- [x] [Task 1]
- [x] [Task 2]
### Decisions
- [E] [Decision made and why]
### Learnings
- [L] [Something you learned]
### Notes
- [Anything else worth remembering]Exercise 3: Create Your USER.md
The agent needs to know about you:
# USER.md - About Your Human
- **Name:** [Your name]
- **What to call you:** [Nickname]
- **Location:** [City, Country]
- **Timezone:** [Your timezone]
## What You Do
[Brief description of your work/focus]
## Goals
[What are you trying to achieve?]
## Preferences
- [Preference 1]
- [Preference 2]
- [Communication style preferences]
## Context
[Anything else the agent should know]Validation
After completing these exercises, you should have:
- MEMORY.md with index structure
- memory/WORKING.md (even if empty)
- memory/daily/[today].md with at least one entry
- USER.md with your information
These files are the foundation. Everything else builds on this.