leaf for Mac
For makers Docs GitHub Follow the build
FOR DEVELOPERS · YOUR OWN AGENTS · A LEAF PROJECT UNDERNEATH

Your agents, on a framework that keeps them on track

Runs Claude Code, Codex or Gemini on your own subscription, inside a Leaf PHP project with its own runtime. Modules instead of hand-rolled auth, a memory every agent reads first, and plain code on disk.

Coming soon · Free Read what the agent reads →
Leaf with a project running, Open in VS Code, and Claude Code reporting the files it changed
01 · WHO IT'S FOR

Built for people who read the code their agent writes.

COMING FROM ANOTHER STACK
Ship on PHP without learning PHP first
Coming from JavaScript, Python or Go? Your agent already knows Leaf's conventions from the docs it reads, the project follows them, and you open real files in VS Code or Cursor whenever you want. Nothing is hidden behind the app.
ALREADY ON LEAF
Developer mode, when you want the machinery
A rail beside the chat shows what changed, a read-only view of the database with migrate and rollback buttons, and the project's runtime and packages. Switch from SQLite to Postgres or MySQL from a pasted connection string. Turn it off and the app is a chat again.
02 · WHAT YOU GET

The same AI ships a better app when the project sets the rules.

Left alone, an assistant rewrites parts that already exist, guesses at security, and rereads your project every session. Leaf gives it finished parts to connect, a memory to read first, and a boundary around risky commands.

BUILT IN
The hard parts already exist
Sign-ups with roles and card payments come as finished Leaf pieces, and so do email and background jobs. Your AI connects them to your app rather than writing its own version, which is where most security mistakes in AI-built apps live.
MEMORY
It remembers your project between sessions
Every project keeps a written record of what it is, what changed and what was decided, and each agent reads it before it starts. You stop paying for the same rediscovery every morning.
BOUNDARIES
Risky commands wait for you
In Standard access the AI edits files freely, while anything that could delete data or reach outside the project stays sandboxed until you switch the project to Full access.
ANY ASSISTANT
Your AI, on your own subscription
Claude Code, Codex and Gemini run inside the app on the accounts you already have, and you pick the model and effort for each task. They share one project memory, so one can pick up where another stopped.
SETUP
One home for every kind of code
The project has a place for each thing, so what the AI writes today lands where the next session expects to find it. Everything the app needs to run arrives in one verified download, with no setup questions.
SHIPPING
Online when you are
It runs at a local address while you build. When it is ready, package it for Docker, Render, Fly, Vercel or your own server, or build a zip for hosts that take drag and drop.
03 · FIRST RUN

Three screens between download and building.

Every image below is a screenshot of the app. It asks how you build, asks who builds for you, and gets out of the way.

Leaf asking how you like to build
01 · HOW DO YOU BUILD
Choosing the coding agent and model, on your own account
02 · YOUR AI, YOUR ACCOUNT
Describing a new app in Leaf before it starts building
03 · DESCRIBE IT. START BUILDING.
04 · THE DEAL

Where the app stops.

Leaf is the environment and your assistant is the author. You own every line it writes, and the app never pretends otherwise.

✓Your AI accounts, your subscriptions. Leaf sells no tokens.
✓Real code on your disk, readable and portable.
✓When Claude Code answers, it says Claude Code.
✓Close the app forever and you keep an ordinary Leaf project any developer can run.
✓The app is free, and stays free.

Be there when it lands.

Leaf for Mac is in private testing and ships free. Follow along for the first public build.

leaf
A head start for the AI you already use.
© 2026 Creative Leaf