Cortex reads source code and holds the keys that let it. This page says plainly what happens to both, including what is not done yet. It describes the hosted service at app.cortexagent.com.
Your source code
How it is read
When you connect a repository, the service makes a copy of it with git, limited to the most recent 200 commits, on the server that runs the app. It reads that copy to find the parts of your system and how they are connected. It only reads. Nothing in the service writes to your repository.
What is kept from it
The model: the names of the parts, what they are built with, how they connect, and for each one the file paths and short excerpts that show why. The copy of the repository itself stays on the server's disk so the next reading is quick. It is not put in the database and is not in any backup. Deleting the project removes both.
What reaches an AI model
When you ask the architect something, it is sent your question, the parts of the model that bear on it, and any files or search results it looks up in your code to answer. That goes to the model you have chosen: Cortex AI, which runs at DigitalOcean, or a provider whose key you added. We do not use your code or your conversations to train models. What a provider does with what it receives is set by that provider's terms.
What coding agents get
A coding agent you connect over MCP is given the model and the rules, not the repository. Each connection uses a token your admins create and can revoke, and a token can be read-only.
Keys, tokens and passwords
GitHub
Connected through the GitHub App, the service stores no long-lived GitHub token. You choose which repositories it may read, and each time it reads one it asks GitHub for a token that covers that repository only, read-only, and expires within the hour.
Tokens and model keys you paste
These are stored with your organisation's settings in the database. The database is encrypted on disk by our host and reached only over an encrypted connection. The service does not yet encrypt each key separately on top of that; this is planned. Once saved, only the last four characters of a key are shown in the app.
Passwords
Stored only in a scrambled form (scrypt) that cannot be turned back into the password. After five wrong guesses from one place, sign-in to that account from there is refused for fifteen minutes.
In transit
Every connection to the service, and from the service to the providers it uses, is over HTTPS.
Who can see your data
Within your organisation, admins decide who is a member and whether each person can edit or only look. Each organisation's data is kept apart from every other's, and every request is checked against the organisation it asks for.
At Cortex Agent LLC, the person who runs the service can reach the database, in order to keep it running and to look into a fault. We do not look at an organisation's work except to fix a problem it has reported or that the service has reported about itself. Fault reports have keys, tokens and passwords removed before they are sent.
Others that handle data
| Who | What they are given, and why |
|---|---|
| DigitalOcean | Runs the servers and the database, in the United States. It also runs Cortex AI, the built-in model, so questions put to that model are processed there. |
| Stripe | Takes payment. It holds the card details; we never see or store a card number. |
| Resend | Sends the emails the service writes: confirming an address, invitations, password resets and notices about your plan. |
| GitHub | Only if you connect it. It gives the service read access to the repositories you choose. |
| OpenAI | Only for presentations read aloud in a studio voice, on paid plans. It is sent the words to be spoken. |
| A model provider you add | Only if you add your own model key. Questions put to that model go to that provider, under your agreement with them. |
Not done yet
- Separate encryption of each stored key and token.
- An independent security audit, such as SOC 2.
- A button for deleting a whole organisation. It is done on request, by hand.
- Keeping data in a region other than the United States.
If your code cannot leave your own network, Cortex can also run on your own machine, where none of the above applies. Write to us about it.
Reporting a problem
If you find a security problem, write to [email protected]. We will answer, and we will not take action against anyone who reports one in good faith.