Installation
From VS Code Marketplace
- Open VS Code (or a compatible fork)
- Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
- Search for Cortex Agent
- Install cortex-labs.cortex-agent
code --install-extension cortex-labs.cortex-agent From Open VSX
For VSCodium, Cursor, Windsurf, and other Open VSX clients: open-vsx.org
ovsx install cortex-labs.cortex-agent From VSIX
Download the .vsix from GitHub Releases, then:
code --install-extension cortex-agent-<version>.vsix First Run
- Install the OpenCode CLI and ensure it is on your PATH (or set cortex.opencodeBinary)
- Open the Cortex sidebar (lightning icon)
- Run Cortex: Connect Provider (or Manage Tokens / Logins) to sign in to OpenCode
- Pick a model from your OpenCode subscription and start chatting
Requirements
- VS Code 1.100+ (or a compatible fork)
- OpenCode CLI on PATH (or cortex.opencodeBinary)
- An OpenCode account / subscription (managed outside Cortex)