A lightweight file-based memory system for AI and coding agents.
This project helps developers and AI agents share a portable, low-overhead memory workflow without starting with vector databases, RAG pipelines, or heavy infrastructure.
这个项目提供一套轻量、可迁移、面向多 agent 协作的文件型记忆系统。
它把“个人级记忆”和“项目级记忆”拆开管理,并提供任务创建、handoff、周维护、周报汇总等脚本。
-
personal-agent-configPersonal global agent preferences and install scripts. It answers: who you are, how you work, and what defaults your agents should follow. -
agent-memory-templateProject-level memory templates, task workflows, maintenance scripts, and multi-agent collaboration rules. It answers: what this project is, what matters now, and how agents coordinate safely.
Most agent workflows lose context across:
- machines
- projects
- sessions
- collaborators
This project provides a file-based solution with clear memory layers:
- Long-term memory: personal preferences, stable project rules, architecture decisions
- Mid-term memory: sprint focus, recurring issues, current priorities
- Short-term memory: task notes, handoffs, weekly summaries
- Sync your personal AI agent preferences across multiple devices
- Start every new project with the same memory structure
- Let multiple agents collaborate around the same task and handoff files
- Keep memory lightweight and inspectable using plain files
personal-agent-config/
codex/
claude/
profiles/
install/
agent-memory-template/
AGENTS.md
docs/
tasks/
handoff/
scripts/
See examples/ for realistic usage examples.
The examples include:
- a single-agent workflow
- a multi-agent AI project workflow
cd .\personal-agent-config
.\install\setup.ps1This installs:
~/.codex/instructions.md~/.claude/CLAUDE.md
cd .\agent-memory-template
.\scripts\new-task.ps1 -Title "your first task" -WithHandoffRecommended first edits:
AGENTS.mddocs/architecture.mddocs/current-sprint.md
.\scripts\memory-check.ps1
.\scripts\weekly-summary.ps1Default working model:
- 1 coordinator
- 2 to 3 workers
Recommended rules:
- The coordinator maintains
AGENTS.md,docs/current-sprint.md, anddocs/architecture.md - A worker owns one
tasks/<task>.mdat a time - Cross-session work must leave a
handoff/<task>.md - Important experiments go into
docs/experiment-log.md - Repeated issues go into
docs/known-issues.md
See:
agent-memory-template/docs/multi-agent-rules.mdagent-memory-template/docs/weekly-ops.mdagent-memory-template/docs/migration-plan.md
In agent-memory-template/scripts/:
new-task.ps1: create task and handoff filesmemory-check.ps1: detect placeholders and stale memory structureweekly-summary.ps1: generate a weekly summary from tasks and handoffs
In personal-agent-config/install/:
setup.ps1: install personal global config into the local user profile
Sync by default:
- user-level config inside
personal-agent-config/ - templates, docs, and scripts inside
agent-memory-template/ - real project
tasks/,handoff/, anddocs/experiment-log.md
Do not sync by default:
- session state
- sqlite databases
- logs
- caches
- local model weights
- temporary runtime output
- generated validation folders and disposable reports
Current version has been validated for:
personal-agent-config/install/setup.ps1agent-memory-template/scripts/new-task.ps1agent-memory-template/scripts/memory-check.ps1agent-memory-template/scripts/weekly-summary.ps1
- Add Linux / macOS install scripts
- Add project bootstrap scripts
- Improve experiment-log summarization
- Improve weekly summary extraction
- Add retrieval later, without turning the project into a heavy memory platform too early