Installation

From VS Code Marketplace

  1. Open VS Code (or a compatible fork)
  2. Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
  3. Search for Cortex Agent
  4. 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

  1. Install the OpenCode CLI and ensure it is on your PATH (or set cortex.opencodeBinary)
  2. Open the Cortex sidebar (lightning icon)
  3. Run Cortex: Connect Provider (or Manage Tokens / Logins) to sign in to OpenCode
  4. Pick a model from your OpenCode subscription and start chatting

Requirements