AI as Code
fai captures your coding patterns into portable plain files that work with Claude Code, Cursor, Codex, Windsurf, Copilot, and more. Teach one tool — every tool knows.
Claude knows your architecture. Cursor knows your coding style. Copilot knows your naming conventions. None of them know what the others learned.
Every new session starts from scratch. Every new tool requires a full re-brief. The more AI tools you use, the more fragmented your intelligence becomes.
This isn't a tooling problem — it's an architectural one. Your AI knowledge needs a canonical source that isn't owned by any single platform.
The problem isn't that AI forgets. It's that your intelligence has no home.
The architectural layer
AI as Code means your patterns, decisions, and preferences live in plain files you own — FAI-PROJECT.md alongside your code, FAI-PERSONAL.md in your home directory. Git-backed, inspectable, portable forever.
Every AI tool reads from the same source. Every session builds on the last. Your context files work with Claude Code, Cursor, Windsurf, Codex, and Copilot — no re-export, no conversion.
How it works
01
Every AI session automatically captures your decisions, patterns, and preferences. No manual tagging. No extra workflow. You just build — fai listens.
02
fai configures Claude Code, Cursor, Codex, Windsurf, Copilot, and more — all reading from the same context files. Teach one tool, every tool knows.
03
Session 50 is measurably smarter than session 1. Your AI stops asking questions it already knows the answers to. Context compounds — it doesn't reset.
04
Plain Markdown files. Git-backed. No proprietary format. Clone your context, push it anywhere, read it anytime. Fire fai and keep everything you built.
Two commands. Your vault loads in under 3 seconds.
deno run -A "https://www.fathym.com/fai/install.deno"The shift
Without AI as Code
With fai
Free to start. Open source. Works with the tools you already use. Your context compounds from day one.
deno run -A "https://www.fathym.com/fai/install.deno"