AI as Code

Stop rebuilding context every time you switch AI tools.

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.

You've taught every AI tool the same things. Separately.

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

Your context in portable files. Not locked to any tool.

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

Install once. Every tool gets smarter.

01

Context capture

Every AI session automatically captures your decisions, patterns, and preferences. No manual tagging. No extra workflow. You just build — fai listens.

02

Cross-tool portability

fai configures Claude Code, Cursor, Codex, Windsurf, Copilot, and more — all reading from the same context files. Teach one tool, every tool knows.

03

Compounding intelligence

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

You own everything

Plain Markdown files. Git-backed. No proprietary format. Clone your context, push it anywhere, read it anytime. Fire fai and keep everything you built.

Try it now

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, you're training platforms. With it, you're building capital.

Without AI as Code

  • Each tool learns independently — nothing transfers
  • Switch tools, start over from scratch
  • Your preferences live on someone else's servers
  • Intelligence resets every session
  • The more tools you use, the more fragmented you get

With fai

  • One context, shared across every tool
  • Switch models without losing a thing
  • Your context lives in your own files — forever
  • Intelligence compounds session over session
  • Every new tool starts from where you left off

Start building AI as Code. Install in under a minute.

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"