No guard
It can change your code before anyone agreed what to build.
The operating system for AI software development
Paste into PowerShell: free, and about a minute. See why
const key = "sk_live_51Hx9";const key = process.env.PAYMENT_KEY;Key in the codeKey kept outdb.query("... WHERE id=" + id);db.query("... WHERE id = ?", [id]);Injection riskInjection blockedconst total = 19.99 * qty;const totalCents = 1999 * qty;Forgot a decisionRemembered// no tests yet// 14 tests passedNot testedTestedWorks with the AI coding tools you already use
The problem: AI without Cortex Rail
It can change your code before anyone agreed what to build.
Code first, design never. The structure just happens.
Every new chat starts from zero, at your expense.
The bigger the project, the more it re-reads first.
Two people, two AIs, one task, and neither knows.
of the time the right note is in the top five, in our own test of 95 questions
to search the memory, on your own computer
AI coding tools follow the same rules and share one memory
servers holding your code, and no account to make
Security
The AI can't write code until you approve the plan. Three separate walls hold that line, so an AI can't talk its way around it.
Claude Code, Codex and the others refuse the write.
With protection on, any change that slips through is undone.
Git refuses to save code that has no approved plan.
The plan is ready. The code is locked.
Planning
Understand, ask, design, decide the tests, break it into tasks. Only then does it ask for your approval.
Your description of the product, or the code you already have.
A quick demo stays light. A product with real users gets the full treatment.
Every gap comes back as a question, with its recommendation and the reason.
Structure, data, error handling, security risks and how it will be tested.
Each one clear enough to build, check and hand to a teammate.
The AI cannot write code before you approve. The tools refuse the write.
Inside the structure it designed, with the board showing every move.
It checks its work to the depth the project needs before calling it done.
Right-sized, never watered down
Always on, at every size: clean code, project memory, lean context, plain words and the approval lock.
Testing
How deep to test is decided with the plan. Building, reviewing and testing are separate jobs, so the AI that wrote the code is never the only one saying it works.
Looked at from every side
Each piece does what the plan said, awkward cases included.
The parts still work when connected to real data.
Rubbish or something malicious is turned away.
Payments, email and the rest still agree with us.
It works with a keyboard and a screen reader.
No change quietly broke a screen that was right.
A demo gets a quick click-through. A product with real users gets all six. You choose the size; the AI does the work.
Memory and context
Every decision is kept as a small note. For each message, the AI gets only the few notes that matter.
Handed to the AI for this message
The rest stays on disk, untouched and unpaid for, until a message needs it.
Ask about “money” and it finds the note on prices in cents. The search runs on your computer.
A tiny core and a map of the notes. It opens only what the task needs.
After a task it saves the decision, the reason and the pitfall. Every save has an Undo.
Before a long chat is squeezed, the important parts are saved and given back.
If the code behind a note changed, the note says “check this”.
Old notes are put away, important ones never deleted, all as plain files in your project.
How the memory works, step by step
What that does to the bill
It loads one section of the rules, a tiny memory core and a few notes, so task number 300 costs about what task number 3 did.
Teams
The memory and the task list travel with the code. Whoever opens the project, on any computer and with any AI, starts from the same decisions and the same plan.
Maya starts “Card payments”.
Starting a task puts your name on it. Start one that's taken and you hear about it first.
When someone stops, a short note says what they were on and what comes next.
Pull the project and your AI knows what theirs knew.
A new teammate's AI reads the same memory as everyone else's.
Many AIs
Your strongest AI on the thinking, a cheaper one on the typing, another to check the result. They follow the same rules and share the same memory.
Your main AI does every step until you choose another one for a step. The app finds the AIs you have installed, lists every model each one offers, and never picks for you.
The app
No commands to memorise, nothing to copy between windows. Say what you want; your AI works right there and tells you when it is your turn.
Yours, on your computer. No Cortex Rail account; your AI tools keep their own sign-ins.





The builder behind Cortex Rail
The models were never the problem. They are brilliant. What they lack is everything around them: a plan to follow, a memory that lasts, and someone they have to answer to.
Cortex Rail is that missing layer. I built it so that AI can be trusted with real software, not just demos. It is free, because good engineering should not depend on who can afford the biggest model.
Use it on something real, then tell me where it held up and where it did not.
Powered byAgileCrafts
The software company that backs Cortex Rail and keeps it free.
agilecrafts.com
Questions
Cortex Rail is an operating system for AI software development. It is a free desktop app for Windows and Linux, plus a small set of plain-text rules it adds to your project. Together they make your AI coding agents plan before they write code, wait for your approval, test what they build and share one project memory. You run all of it from one chat.
Claude Code, Codex, OpenCode, Gemini CLI, Qwen Code, Cursor CLI, GitHub Copilot CLI and Aider. The app finds the ones you have installed and can help you add and sign in to the others. Use one, or mix them.
Yes, for personal and commercial work. The app itself is not open source. The rules it adds to your project are plain text files that you can read and change.
No. Once the rules are in your project, the memory, the plan-first steps and the approval lock also work when you use Claude Code, Codex or another supported tool by itself, with the app closed. Many people open the app only to set a project up and to look at the board and the memory map.
One big file is loaded in full every time. So it either stays short and forgets things, or it grows and costs more with every message. Cortex Rail keeps many small notes and hands the AI only the few that match the message. It works together with files such as CLAUDE.md and AGENTS.md: it adds a short pointer to them and leaves the rest alone.
On your own computer. The memory is plain text files inside your project, saved with your code. There is no Cortex Rail account and no Cortex Rail server holding your code or your notes, and the memory search runs locally. Your AI tools talk to their own makers the way they always do.
Get Cortex Rail
It installs into your own folders, needs no administrator rights, checks the download against its published fingerprint, and keeps itself up to date.
Paste into PowerShell:
irm https://cortexrail.com/install.ps1 | iex