What the next session gets
Every conversation with your agent still starts as a new conversation. fAI doesn't replay the old chat. What changes is what's in front of your agent when it starts.
Three files
When fai starts, it writes a short block into the rules file of every agent it
has detected (CLAUDE.md, AGENTS.md, .cursor/rules/fai-context.mdc and the
rest - see Agents):
<!-- fai:context -->
## fai Context
- Project knowledge: ~/.fai/workbenches/<id>/FAI-PROJECT.md
- Personal preferences: ~/.fai/personal/FAI-PERSONAL.md
- Active session: ~/.fai/sessions/<session-id>/FAI-SESSION.md
<!-- /fai:context -->
| File | What it carries |
|---|---|
FAI-SESSION.md | What you're working on in this session |
FAI-PROJECT.md | This project's decisions, patterns, context and vocabulary |
FAI-PERSONAL.md | How you work, across every project |
The block points at the files rather than copying them in, so your agent reads the current version. fAI rewrites only that block each time it starts. The rest of the rules file is yours.
Agents that support MCP also get fAI's MCP server in their config. Through it they can read the same files, and your petnames, live while you work. See MCP Server.
Picking up where you left off
Run fai, choose the session to continue from the menu, and open your agent. Or
run fai --auto to skip the menu and continue this project's most recently
started session, or start one if this folder has none.
A session is the thread your work is captured into. Keep one running on a project for months, or start a new one when you want a clean thread. See Sessions.
What it doesn't carry
- The old chat, word for word. The record keeps every capture, but your agent is pointed at the synthesis: a distilled version, rebuilt on a cadence.
- The last few minutes, yet. Recent work reaches the synthesis on the next pass.
- A synthesis, with
capture-only. fAI still captures, but there's no synthesis to point at until you choose a model withfai synthesize.
- Never Stop Working → - the same files, when you switch agents mid-task
On fathym.com: fAI →