Cortex
The Cursor and Windsurf agent experience β in your own VS Code, powered by your OpenCode subscription.
Pick any model available on your OpenCode plan. You keep your editor and your OpenCode billing β Cortex is the IDE layer in between.
What makes Cortex different?
Complete agentic workflow
Plan β Build: analyzes your code, proposes a plan with checklist, and executes step by step. The same flow as Cursor Agent, now in your VS Code.
Your OpenCode models
Choose among the models included in your OpenCode subscription. Switch on the fly. Cortex does not sell AI access β you manage OpenCode yourself.
Smart context
Lexical + semantic search over your codebase. The agent sees exactly what matters β it doesn't scan the entire repo.
Inline diffs
Accept or reject every AI suggestion directly in the editor with diff preview. Full control over what changes.
Full chat sidebar
Conversation history, tool usage timeline, markdown streaming. Everything you need for a continuous flow.
OpenCode inside your IDE
Uses OpenCode as the agentic runtime integrated into VS Code or any compatible fork. Same assisted programming feel as Cursor or Windsurf β without leaving your editor.
Cortex vs the rest
Same agentic power, more freedom.
| Cortex | Cursor | Windsurf | |
|---|---|---|---|
| Editor | Your VS Code or compatible fork | Own editor (VS Code fork) | Own editor (VS Code fork) |
| AI access | Your OpenCode subscription | Cursor subscription | Windsurf subscription |
| Cortex license | Free in early access; later one-time purchase | Subscription | Subscription |
| AI billing | OpenCode (external to Cortex) | Included in Cursor plan | Included in Windsurf plan |
| Agentic workflow | Plan β Build with checklists | Agent mode with tools | Cascade with tools |
| Code control | Inline diff, accept/reject | Inline diff, accept/reject | Inline diff, accept/reject |
| Project context | Lexical + semantic search | @mentions + codebase index | @mentions + context flows |
Cortex is a VS Code extension, not a fork. Keep your editor and settings. It integrates OpenCode so you get a Cursor/Windsurf-like agent experience while you control your own OpenCode subscription.
Get started in 3 steps
Search "Cortex Agent" in Extensions, or install cortex-labs.cortex-agent from the VS Code Marketplace or Open VSX.
Open the Cortex sidebar and connect your OpenCode account. Models come from your OpenCode subscription β managed outside Cortex.
Ask questions, generate code, refactor β Cortex analyzes, plans, and executes. You approve every change.