Cortex AI IDE Cortex AI IDE
Features Pricing Security How it works Docs Blog FAQ Download
Sign In Sign Up
Docs

Cortex Documentation

The complete guide to Cortex AI IDE — installation, the workspace, chat modes, every agent tool, models & API keys, memory, permissions, and troubleshooting.

For Cortex v2.7+ Windows 10 / 11

On this page

1. Introduction 2. Installation & Sign-in 3. Quick Start 4. The Workspace 5. The Chat Interface 6. Modes: Agent · Ask · Plan 7. Agent Tools Reference 8. The Agentic Loop 9. Permissions & Safety 10. Models & API Keys 11. Context Management 12. Project Memory 13. Settings Reference 14. MCP Servers & Extensions 15. Account & Subscription 16. Updates 17. Privacy & Security 18. Tips & Tricks 19. Troubleshooting 20. Antivirus & Performance 21. Support

1 Introduction

Cortex is an agentic AI IDE for Windows. It combines a native code editor (Monaco), a file explorer, an integrated terminal, and a multi-provider AI agent that can autonomously plan, search, edit, run, and verify code across your entire project.

Two principles define how Cortex is built:

  • BYOK — Bring Your Own Key. Your prompts and code travel directly from your machine to the AI provider you choose. There is no Cortex proxy in the middle, and no token markup. You pay your provider directly at their prices.
  • Local-first. API keys, chat history, project memory, and settings all live on your machine. The Cortex server handles only account, subscription, and three platform services (OCR fallback, embeddings, web search).

2 Installation & Sign-in

1
Download the installer from the download page. Requirements: Windows 10/11, 64-bit, ~8 GB RAM recommended. The installer verifies its SHA-256 checksum, shown on the download page.
2
Run the installer and launch Cortex. First start takes a few seconds while the editor engine initializes.
3
Sign in from Settings → Profile. Three options:
  • Google or GitHub — one click, your email arrives pre-verified.
  • Email + password — we'll email you a 6-digit verification code. Enter it to finish creating your account. Codes expire after 10 minutes; you can request a new one anytime.
Sign-in uses OAuth2 device flow: the browser opens, you approve, and the IDE receives its token — your password is never typed into the IDE.
4
Subscribe ($10/mo or $80/yr) from the account page to unlock platform services — see Section 15. The IDE itself is free to install; BYOK chat works with your own keys.

3 Quick Start — Your First Task

1
Open Settings → Models & Providers, paste an API key (MiMo or DeepSeek are enabled by default — see Section 10 for where to get keys), and press Test. A green check means you're connected.
2
Open a project folder (File → Open Folder). The sidebar shows your file tree; Cortex indexes the project in the background for semantic search.
3
In the chat panel, keep the mode on Agent, pick a model from the dropdown (or leave Auto for smart routing), and describe a goal:
"Add input validation to the signup form and show inline error messages."
4
Watch the agent work: thinking appears in collapsible thought cards, each file read/search/edit shows as a live tool card with result counts, and the first file write asks for your permission.
5
Review the diffs, run your app from the integrated terminal, and tell the agent anything worth remembering — ending with "update your memory".

4 The Workspace

4.1 Editor

The editor is Monaco (the engine inside VS Code): syntax highlighting for all mainstream languages, multi-tab editing, minimap, and word wrap. When the agent edits a file that's open, the tab reloads automatically.

4.2 Sidebar & file search

The file explorer supports instant fuzzy file search — start typing to filter the tree; hovering a result shows its full path. Right-click for file operations.

4.3 Terminal

A real Windows terminal (ConPTY-based) runs inside the IDE — same environment the agent uses for its commands, so "it works in the agent but not for me" can't happen.

4.4 Diff viewer

Every agent edit produces a reviewable diff. Open the diff viewer from the edit card to see exactly what changed, side by side.

4.5 Keyboard shortcuts

ShortcutAction
Ctrl+W / Ctrl+F4Close current editor tab
Ctrl+Shift+WClose all tabs
Ctrl+Tab / Ctrl+Shift+TabNext / previous tab
Ctrl+SSave file
Ctrl+Alt+DDebug console

5 The Chat Interface

The chat panel is where you and the agent collaborate. It renders far more than plain text:

  • Thought cards — reasoning models (DeepSeek, MiMo, Claude, Grok, GLM…) stream their internal thinking into a collapsible card with a live word count. The final answer stays clean; expand the card when you want to see why.
  • Tool cards — every file read, search, edit, and command appears as a card with a spinner while running and a real result count when done ("42 files", "7 matches"). Expand any card to see the details.
  • Diff cards — edits show as before/after diffs with accept context, and clicking a file path opens it in the editor at the right line.
  • Rich rendering — markdown tables render as real tables, Mermaid diagrams render as interactive cards (copy source, fullscreen viewer), and code blocks get syntax highlighting with a language tag, Copy button, and collapse control.
  • Images in, images understood — paste or attach screenshots. Vision-capable models (Claude, GPT, Gemini, Grok, Kimi, and more) see the image itself through your own API key at no cost from Cortex. For models without vision (e.g. DeepSeek), an OCR fallback (subscription) extracts the text so they can still work with it.
  • Persistence — chats survive IDE restarts, including tables, diagrams, and code blocks, and re-render in whichever theme is active.
  • Stop button — interrupts the agent mid-turn, immediately.

6 Modes: Agent · Ask · Plan

ModeCan edit files?Use it for
AgentYes (with permission)Building features, fixing bugs, refactors — the full autonomous loop: plan → search → edit → run → verify.
AskNo — read-onlyUnderstanding code: "where is auth handled?", "why does this function exist?", "explain this error". The agent can read and search but never writes.
PlanNo — plans onlyBig or risky work. The agent explores the codebase and produces a step-by-step implementation plan for review. Approve it, switch to Agent, and say "implement the plan".

Rule of thumb: Ask to understand → Plan to decide → Agent to execute.

7 Agent Tools Reference

These are the 13 core tools the agent can call. You'll see each one as a card in the chat when it runs.

ToolWhat it does
ReadReads file contents — text, images, PDFs, Jupyter notebooks. Line-range reads for big files; per-model size caps prevent context overflow.
WriteCreates a new file or overwrites one. Gated by the permission card; streams progress for large files.
EditExact string replacement in a file — surgical changes, optionally replace-all. Every edit runs the cross-file impact check (Section 8).
BashRuns terminal commands (build, test, git, package managers) with a security layer: command classification, path validation, and per-command permission rules.
GlobFinds files by name pattern (**/*.py, src/**/test_*.js).
GrepRegex content search across the project — powered by ripgrep for speed.
SemanticSearchFinds code by meaning, not keywords: "where do we retry failed payments?" works even if the word "retry" never appears. Uses local embeddings of your codebase (subscription).
LSLists directory contents.
TodoWriteThe agent's own task list for multi-step work — you see it as a live checklist in chat, items ticking off as it progresses.
AskUserQuestionWhen the agent genuinely needs your decision (e.g. "REST or GraphQL?"), it pauses and shows clickable options instead of guessing.
WebSearchSearches the web for current docs, error messages, library versions (subscription).
WebFetchFetches and reads a specific URL — changelogs, GitHub issues, documentation pages.
LoopStarts a structured plan → execute → review cycle for long autonomous runs, with an independent reviewer model checking the work (see Agentic Loop Mode below).

8 The Agentic Loop

In Agent mode, Cortex doesn't answer in one shot — it works in turns, like a developer:

1
Think. The model reasons about the goal (visible in the thought card). Thinking is token-budgeted — a model can never "think forever" without acting.
2
Explore. It reads, greps, globs, and semantically searches to build an accurate picture of your code before touching anything.
3
Act. Edits, new files, terminal commands — each visible as a card, each write behind your permission gate.
4
Verify. After every Python edit, the cross-file impact detector parses the change: if the agent removed or renamed a function that other files still import, it gets warned in the same turn — with exact file:line locations — instead of you discovering an ImportError at runtime. Syntax errors are flagged at edit time the same way.
5
Repeat until done — with hard turn limits (scaled to the model's context window) and auto-continue for long tasks.

Agentic Loop Mode

For bigger autonomous runs, enable Agentic Loop Mode in Settings. It adds a formal cycle on top: the agent writes a plan, executes it, then an independent reviewer model (your strongest configured model) audits the changes — checking for missing tests, secrets in code, and incomplete work — before the loop is allowed to finish. Failed reviews send the agent back to fix the findings.

9 Permissions & Safety

9.1 The permission card

Reading is free — the agent can read, search, and analyze without interruptions. The first time it wants to write, edit, or delete, a permission card appears:

ButtonEffect
Allow alwaysOne click grants file access for the whole session — the agent works uninterrupted afterwards. This is the "let it cook" option.
Allow onceApproves only this change; the agent asks again for the next one.
RejectThe change is dropped. Nothing touches your disk.

While the card waits, the agent doesn't time out — take your time. Read-only work can continue in the background.

9.2 Command safety

Terminal commands pass through a dedicated security layer: commands are classified (read-only vs. mutating vs. dangerous), paths are validated against the project boundary, and risky patterns require explicit approval. Search and file tools are scoped to the opened project folder — the agent cannot wander your disk.

9.3 Guardrails

  • Turn limits and thinking budgets prevent infinite loops.
  • A safety guard detects repeated failing actions and stops the pattern.
  • Memory-pressure monitoring throttles the agent on low-RAM machines instead of freezing your session.

10 Models & API Keys (BYOK)

Keys go in Settings → Models & Providers. Each row has a Test button (live connection check), a Remove button, and an enable toggle controlling whether that provider's models appear in the chat dropdown. MiMo and DeepSeek are enabled by default; enable others after adding their keys. Keys are stored encrypted on your device (Windows Credential Manager + encrypted store) and never sent to Cortex servers.

ProviderGet your key atKey formatModels
Xiaomi MiMoapi.xiaomimimo.comtp-… or sk-…MiMo V2.5 Pro (1M ctx, 42B MoE), MiMo V2.5
DeepSeekplatform.deepseek.comsk-…V4 Pro (1.6T params, 1M ctx), V4 Flash
Anthropicconsole.anthropic.comsk-ant-…Claude Fable 5, Opus 4.8/4.5, Sonnet 4.5, Haiku 4.5
OpenAIplatform.openai.comsk-… / sk-proj-…GPT-5.5, GPT-5.4 (1.05M ctx)
OpenRouteropenrouter.ai/keyssk-or-v1-…Claude, Gemini, Grok, GLM, Nemotron — one key, many providers
Alibaba QwenModel Studio (DashScope)sk-…Qwen 3.7/3.6 Plus, Qwen3 Coder Plus, Flash, Turbo

10.1 MiMo key types — important

  • tp-… — token-plan keys (prepaid token packages).
  • sk-… — standard API-based pay-as-you-go keys.
  • Both are supported. Note that MiMo's Singapore server accepts token-plan (tp-) keys only — Cortex detects your key type automatically, routes to the correct endpoint, and falls back from tp- to sk- if you've configured both.

10.2 Auto model & failover

  • Auto (top of the dropdown) picks a sensible model for each request.
  • Failover: if your active provider has an outage or quota problem mid-task, Cortex automatically retries on your next configured provider instead of failing the task.
  • A ● dot next to a model means its provider key is configured and working.

10.3 Extended thinking

Reasoning-capable models (Claude, Grok, Gemini, GLM, DeepSeek, MiMo, Qwen) automatically get extended thinking enabled — their reasoning streams into the thought card instead of cluttering the answer.

11 Context Management

  • Model-aware budgets. Cortex knows each model's real context window (up to 1M tokens on MiMo, DeepSeek, Claude, Gemini, Qwen) and derives file-read caps, tool-result caps, and history limits from it — no hardcoded guesswork.
  • Conversation compaction. Long sessions are summarized in the background so the agent keeps the important facts without hitting the context ceiling.
  • History restore. Reopening the IDE restores your recent conversation — the agent remembers what you were doing yesterday.
  • Large-file protection. Reads are size-capped per model; the agent reads big files in ranges instead of flooding its own context.

12 Project Memory

Cortex keeps a persistent memory per project, so the agent remembers your conventions, architecture decisions, and gotchas across sessions.

  • Where it lives: plain markdown files inside your project at <project>/.cortex/memory/, with an index file the agent loads at session start. It's your data — readable, editable, version-controllable.
  • Global memory also exists for facts that apply to every project (your preferences, your style).
  • Never uploaded. Memory stays on your machine. The Cortex server never receives it — same guarantee as your code and keys.
  • Semantic recall: at the start of each task, relevant memories are found by meaning and injected as context.
  • Consolidation: a background pass merges duplicates and prunes stale entries so memory stays sharp instead of bloating.
🧠
The habit that pays off most: say "update your memory". The agent captures some things automatically, but when something really matters — "we deploy with Docker, never bare pip", "the staging DB is read-only" — tell the agent and end with "update your memory". It writes the fact immediately, and every future session starts knowing it.

Manage everything in Settings → Memory: browse project/global scopes, edit or delete entries, see staleness indicators, run consolidation, and search your memories semantically.

13 Settings Reference

SectionWhat's there
GeneralSession restore, update checks, notifications, sounds, telemetry opt-in.
AppearanceDark / light theme (live switch, no restart), UI options.
ProfileSign in/out, avatar, display name, plan badge.
Usage & BillingToken usage heatmap (last 30 days), request counts, lifetime stats, plan period, invoices.
Models & ProvidersDefault model, per-provider API keys with Test buttons, provider enable toggles.
MemoryBrowse/edit/delete memories, project + global scopes, consolidation, rules setup.
PersonalizationCustom instructions the agent follows in every conversation.
Safety & PermissionsPermission behavior, command approval rules, Agentic Loop Mode toggle.
MCP ServersConnect Model Context Protocol servers to give the agent extra tools.
GitGit integration options.
ExtensionsPlugin management.
TerminalShell and terminal preferences.
AboutVersion, update channel, licenses.

14 MCP Servers & Extensions

Cortex speaks MCP (Model Context Protocol) — the open standard for giving AI agents extra tools. Add an MCP server in Settings → MCP Servers and its tools become available to the agent alongside the built-ins (databases, issue trackers, design tools, whatever the server provides).

The plugin system extends the IDE itself — installed plugins are managed from Settings → Extensions.

15 Account & Subscription

LLM usage is always BYOK — the subscription never marks up tokens. $10/month (or $80/year) covers the three platform services that need server-side keys:

  • OCR fallback — for models without native vision (e.g. DeepSeek), screenshots become usable text context. Vision-capable models see images directly through your own key — no subscription needed for that.
  • Semantic search embeddings — your code and memories become searchable by meaning.
  • Web search — current docs and answers from the live web.
  • Payment: PayPal (USD) or Razorpay (INR). After every successful payment you receive a branded receipt email with the PDF tax invoice attached; invoices are also always available at Account → Plan.
  • License: your subscription generates a license key the IDE validates automatically — nothing to type in.
  • Cancel anytime — access continues to the end of the paid period.

16 Updates

  • Cortex checks for new releases automatically and shows the current version on the download page and in Settings → About.
  • Critical releases can be marked force update — the IDE will ask you to install before continuing, ensuring security fixes reach everyone.
  • Each release ships with its SHA-256 checksum so you can verify the download.

17 Privacy & Security

DataWhere it livesEver sent to Cortex servers?
API keysWindows Credential Manager + encrypted local storeNever
Your codeYour disk → directly to your chosen AI provider (TLS)Never
Prompts & chatsLocal database on your machineNever
Project memory<project>/.cortex/memory/ markdown filesNever
Account email, planCortex server (needed for login/billing)Yes — account data only
Crash reportsOpt-in, anonymized stack traces onlyOnly if you opt in

Full details in the Privacy Policy.

18 Tips & Tricks

  • "update your memory" — the highest-leverage habit in Cortex. Explicit memory beats automatic capture every time.
  • Plan → Agent workflow — for anything multi-file, get a plan first, correct it in one round, then execute. Cheaper and better than letting the agent discover the design mid-flight.
  • Paste errors raw — full tracebacks and console output beat your summary of them. The agent is good at logs.
  • Ask by meaning — semantic search finds "where do we throttle API calls?" even when no code says "throttle".
  • Request diagrams — "draw a mermaid sequence diagram of the login flow" renders an interactive diagram card, fullscreen-able and copyable.
  • Use the todo checklist — for long tasks, watch the agent's live task list to see exactly where it is; if priorities change, say so and it re-plans.
  • Interrupt early — if the thought card shows the agent heading the wrong way, hit Stop and redirect. Ten seconds of steering saves ten minutes of wrong work.
  • Two providers > one — a second key means outages and quota limits fail over instead of stopping your work.
  • Screenshots as specs — attach a UI screenshot and say "match this layout". Vision models see it directly; the OCR fallback covers non-vision models.
  • Keep the dropdown lean — enable only providers you actually use; the model picker stays fast to navigate.
  • Let it verify — after edits, ask "run the tests" in the same conversation. The agent sees the results and fixes failures with full context.

19 Troubleshooting

SymptomFix
Key rejected (401/403)Re-paste the key without spaces/quotes, press Test. For MiMo, remember tp- keys use the Singapore token-plan server — check which type you have.
"Quota exhausted"Your provider account is out of credit — Cortex names the provider and links its billing page. Top up or switch models; failover kicks in automatically if another key is configured.
Model missing from dropdownEnable its provider toggle in Settings → Models & Providers (only MiMo + DeepSeek are on by default).
Verification code not arrivingCheck your spam/junk folder for the Cortex verification email. Codes expire after 10 minutes — request a fresh one from the same page.
Agent stopped asking permissionYou clicked "Allow always" earlier in the session — that's by design. Restart the session to reset, or adjust Safety & Permissions settings.
Slow on low-RAM machinesCortex throttles itself under memory pressure rather than freezing. Close unused editor tabs and other apps; 8 GB+ recommended.
IDE feels slower with antivirus installedAdd the recommended exclusions — see Antivirus & Performance for one-minute steps per product.
IDE crashedSessions auto-restore on restart. Opt-in crash reports (Settings → General) help us fix it — they contain stack traces only, never code or keys.

20 Antivirus & Performance

Like any developer tool — IDEs, compilers, git — Cortex performs many small file operations while you work. Some antivirus products scan each one in real time, which can make any IDE feel slower than it should. Most vendors (and tools like Visual Studio and JetBrains IDEs) recommend excluding developer directories from real-time scanning for the best experience.

Add these two paths (and, where the product supports it, the Cortex.exe process):

  • C:\Program Files\Cortex — the application
  • C:\Users\<you>\.cortex — Cortex's local workspace data
AntivirusWhere to add the exclusion
Microsoft DefenderWindows Security → Virus & threat protection → Manage settings → Exclusions → Add or remove exclusions → Add folder.
BitdefenderProtection → Antivirus → Settings → Manage Exceptions → Add an Exception → paste the folder path.
KasperskySettings → Security settings → Threats and Exclusions → Manage exclusions → Add.
Norton 360Settings → Antivirus → Scans and Risks → Exclusions/Low Risks → Items to Exclude from Scans → Configure.
McAfeePC Security → Real-Time Scanning → Excluded Files → Add file/folder.
Avast / AVGMenu → Settings → General → Exceptions → Add exception → paste the folder path.
ESETSetup → Computer protection → Real-time file system protection (gear icon) → Edit exclusions → Add.
Trend MicroSettings → Exception Lists → Files/Folders → Add.
MalwarebytesSettings → Allow List → Add → Allow a file or folder.
AviraSecurity → Protection options → Real-time protection (gear icon) → Exceptions → Add the folder paths.
Webroot SecureAnywherePC Security → Block/Allow Files → Add File (or Advanced Settings → Exclusions).
Panda DomeSettings → Antivirus → Exclusions → Files and folders excluded from scans → Add.
F-SecureViruses & Threats → App and file control → Excluded → Add new exclusion.
G DATASettings → AntiVirus → Real-time protection → Exceptions → New → add the directory.
VIPREManage Settings → Antivirus → Excluded files & locations → Add folder.
ComodoSettings → Advanced Protection → Scan Exclusions → Excluded Paths → Add.
Symantec / Corporate EDR (CrowdStrike, SentinelOne, Sophos…)Managed by your IT team — ask them to allowlist the two paths above and the Cortex.exe process.

Is this safe? Yes — these folders contain only Cortex itself and your local workspace data. API keys are never stored in either location (they live encrypted in Windows Credential Manager), and Cortex's core source code is public on GitHub, so you can verify what it does.

21 Support

  • Email [email protected] — include your Cortex version (Settings → About) and, for agent issues, the model you were using.
  • Quick answers on pricing, BYOK, and privacy: the FAQ.
Cortex AI IDE Cortex AI IDE

The agentic AI IDE built for Windows. Bring your own API keys — your machine, your models, your rules.

Product
Features Pricing Download Security
Resources
Documentation Blog Changelog How it works FAQ
Legal
Privacy Terms License (EULA) Support
© 2026 Cortex AI IDE. All rights reserved. v2.9.0  ·  Source on GitHub  ·  Windows 10/11 x64  ·  BYOK — 6 providers