starting

The operating system for AI software development

Make your AI write secure, clean code.

  • Plans first
  • Never forgets
  • Locks every AI
  • Tests every change
  • No security holes
  • Works with any AI
irm https://cortexrail.com/install.ps1 | iex

Paste into PowerShell: free, and about a minute. See why

checkout.tsCheckingSecure and tested
  1. const key = "sk_live_51Hx9";const key = process.env.PAYMENT_KEY;Key in the codeKey kept out
  2. db.query("... WHERE id=" + id);db.query("... WHERE id = ?", [id]);Injection riskInjection blocked
  3. const total = 19.99 * qty;const totalCents = 1999 * qty;Forgot a decisionRemembered
  4. // no tests yet// 14 tests passedNot testedTested
Memory used3 notes, not the whole project

Works with the AI coding tools you already use

Claude Code
Codex
OpenCode
Gemini CLI
Qwen Code
Cursor CLI
GitHub Copilot CLI
Aider

The problem: AI without Cortex Rail

Without a system, AI is fast. Then it drifts, forgets, and sends the bill.

  1. MonYou give a clear brief
  2. TueThe AI hits a gap and guesses
  3. Next weekA new session forgets why
  4. Month twoThe guess is now the foundation

With Cortex Rail, in numbers

0%

of the time the right note is in the top five, in our own test of 95 questions

~0 ms

to search the memory, on your own computer

0

AI coding tools follow the same rules and share one memory

0

servers holding your code, and no account to make

Security

Approval is a lock, not a polite request.

The AI can't write code until you approve the plan, and only you can approve it. Three separate walls hold that line, so an AI can't talk its way around it.

  1. 1

    One lock, every AI

    The app stops Claude Code, Codex and OpenCode before the write, and each tool's own check refuses it too.

  2. 2

    The app's watch

    With protection on, any change that slips through is undone.

  3. 3

    Saving the work

    Git refuses to save code that has no approved plan.

The plan is ready. The code is locked.

  • Risks are thought through while planning
  • Passwords and keys never go in the code
  • Bigger projects add approvals for the data design and before release
  • It runs on your computer; no server holds your code

Built like an operating system

A small core. Everything else plugs in.

Version 3.0 rebuilt Cortex Rail from the inside. A small core keeps the lock, the memory and the record of the work. Every AI and every feature plugs into it, and all of them pass the same lock.

The core The lock, the memory and the record of the work

A driver for each AI

Claude Code, Codex and OpenCode each run through their own official channel. A new AI is a new driver, not a new app.

Features you choose

Memory, Preview, Code changes, Azure DevOps and more. Switch any of them off on the Features screen or in the chat, and nothing is lost.

Facts that stay current

What the app knows about each AI is data. When a tool changes, it is updated from this site, without a new version.

One program for every check

Every AI tool's checks run through one small program, set up once per computer, with nothing extra to install.

Planning

It thinks like a software architect before it writes a line.

Understand, ask, design, decide the tests, break it into tasks. Only then does it ask for your approval.

  1. Understand

    Reads what you want

    Your description of the product, or the code you already have.

  2. Size

    Fits the process to the project

    A quick demo stays light. A product with real users gets the full treatment.

  3. Ask

    Asks instead of guessing

    Every gap comes back as a question, with its recommendation and the reason.

  4. Design

    Draws the blueprint

    Structure, data, error handling, security risks and how it will be tested.

  5. Break down

    Splits it into small tasks

    Each one clear enough to build, check and hand to a teammate.

  6. Approve

    Waits for you

    The AI cannot write code before you approve. The tools refuse the write.

  7. Build

    Builds one task at a time

    Inside the structure it designed, with the board showing every move.

  8. Prove

    Reviews, tests, then tells you

    It checks its work to the depth the project needs before calling it done.

Right-sized, never watered down

Pick the size. See what the AI prepares.

Planning
Testing
Your approvals
Security work

Always on, at every size: clean code, project memory, lean context, plain words and the approval lock.

Testing

It knows what to test before it writes the code.

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

  • The logic

    Each piece does what the plan said, awkward cases included.

  • The pieces together

    The parts still work when connected to real data.

  • Bad input

    Rubbish or something malicious is turned away.

  • Outside services

    Payments, email and the rest still agree with us.

  • Real people

    It works with a keyboard and a screen reader.

  • The look

    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

It never forgets. And it never re-reads everything.

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

    0 of 36 notes

    The rest stays on disk, untouched and unpaid for, until a message needs it.

    Found by meaning

    Ask about “money” and it finds the note on prices in cents. The search runs on your computer.

    A smart index, not a big file

    A tiny core and a map of the notes. It opens only what the task needs.

    It writes its own notes

    After a task it saves the decision, the reason and the pitfall. Every save has an Undo.

    Survives long sessions

    Before a long chat is squeezed, the important parts are saved and given back.

    Knows when it may be wrong

    If the code behind a note changed, the note says “check this”.

    Tidies itself

    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

    The project grows. The cost of each task doesn't.

    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.

    • Only the rules for the current step
    • Notes fetched by meaning, a few at a time
    • Updates change one line, not a whole file
    project grows → cost per task re-reads everything Cortex Rail
    An illustration of the idea. Measured on a shop of about 90 files, six tasks: about the same tokens as the AI alone, with the notes, the board and the lock on.

    Teams

    Many people. Many AIs. One project that knows everything.

    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.

    M
    MayaClaude Code
    S
    SamCodex
    L
    LinaOpenCode
    The shared project brain memory, task list, handoffs
    Card payments
    0%
    M S

    Maya starts “Card payments”.

    • No double work

      Starting a task puts your name on it. Start one that's taken and you hear about it first.

    • Handoffs without a meeting

      When someone stops, a short note says what they were on and what comes next.

    • Same context on any machine

      Pull the project and your AI knows what theirs knew.

    • Useful on day one

      A new teammate's AI reads the same memory as everyone else's.

    Many AIs

    The right AI for each step. All on the same rail.

    Your strongest AI on the thinking, a cheaper one on the typing, another to check the result, each with the model and effort you pick. They follow the same rules and share the same memory.

    StepWhat it needsWho does it (click to change)

    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

    Run all of it from one chat, in plain words.

    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 chat in Cortex Rail 3.0: asked what a late book costs, the AI searches the project and answers 75 cents, with what the answer cost
    The board in Cortex Rail 3.0: the steps from understanding to save and share, a stuck task that needs you, and tasks sorted into Not started, In progress, Stuck and Done
    The Features screen in Cortex Rail 3.0: the approval lock, GitHub issues, Preview, Azure DevOps and more, each with its own on and off switch
    The AIs and models screen in Cortex Rail 3.0: each step of the work with its own AI, model and effort, such as Claude Code at high effort for the plan and Codex at low effort for the code
    The memory map in Cortex Rail 3.0: each dot is a named note of the project, joined to the notes it relates to

    Everything that is new in version 3.0

    The builder behind Cortex Rail

    Abir Rahman

    Hi, I'm Abir Rahman.

    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

    The things people ask first.

    What is Cortex Rail?

    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.

    Which AI coding tools does it work with?

    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.

    Is it free?

    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.

    Do I have to work inside the app?

    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.

    How is the memory different from one big instructions file?

    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.

    Where is my code and my memory kept?

    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.

    All questions and answers

    Get Cortex Rail

    One line. Free. Yours in a minute.

    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
    Runs onWindows 10 and 11 · Ubuntu 20.04+, Debian 11+, Fedora 34+ and similar
    Works withClaude Code, Codex, OpenCode, Gemini CLI, Qwen Code, Cursor CLI, GitHub Copilot CLI, Aider
    CostsNothing. Free for personal and commercial work.