AI Memory for your IDE — context never dies.
AFIM saves every productive AI coding session (ChatGPT, Claude, Copilot, Cursor, Gemini) into a brutalist, military-grade archive that lives inside VS Code. The next time the same error shows up, AFIM whispers "you solved this before — click to recall."
Features
- Sidebar Archive — brutalist black/white/lime UI with three sections: TELEMETRY, CAPTURE, ARCHIVE.
- Error Detection — watches VS Code diagnostics and failing terminal commands; surfaces matching past sessions as a one-click recall.
- Inline Hover Suggestions — hover over a red squiggle and AFIM offers the fix you wrote months ago.
- Command Palette —
Save,Search,Open,Scan,Clear,Export,Import— all under theAFIM:prefix. - Status Bar —
⚡ AFIM ◆ N sessionsin lime green; one click opens the archive. - Cross-IDE Memory — exports the canonical
afim.session.v1JSON envelope; same format as the AFIM Chrome extension and the upcoming JetBrains plugin. - Telemetry — Time Saved, Sessions This Week, Total Sessions, Active Model.
- Badges —
FIRST SAVE,BUG HUNTER,POWER USER.
Screenshot

How to use
- Install AFIM from the VS Code Marketplace.
- Click the AFIM icon in the activity bar — the sidebar opens.
- After a productive AI chat, hit
Ctrl+Shift+P→AFIM: Save Current Session. Fill in title, summary, platform, tags. Done. - When you hit a familiar error, AFIM pings you with
AFIM: Similar error found — view fix?. Click → the matching session pops open. - Sync across devices:
AFIM: Export Sessions (JSON)andAFIM: Import Sessions (JSON). The Chrome extension reads/writes the identical envelope.
Commands
| Command | What it does |
|---|---|
AFIM: Save Current Session |
Capture an AI session into the archive (4-step wizard). |
AFIM: Search Archive |
Fuzzy-find any saved session. |
AFIM: Open Panel |
Focus the AFIM sidebar. |
AFIM: Scan for Errors |
Match current diagnostics against your archive. |
AFIM: Clear All Sessions |
Wipe the archive (confirmation required). |
AFIM: Export Sessions (JSON) |
Dump archive as canonical AFIM JSON. |
AFIM: Import Sessions (JSON) |
Merge or replace from an AFIM JSON file. |
Design system
Pure black #000000 · white #FFFFFF · lime #CCFF00 · orange #FF4500 · Space Mono.
Mirrors afim-phi.vercel.app one-to-one.
License
MIT — see LICENSE.
Built by AFIM. CONTEXT NEVER DIES.