Skip to content

Cortex Quick Start

This guide takes you from a fresh checkout to a running agent you can chat with — all from the Cortex desktop app.

  • Node.js 22+
  • git

Cortex manages its own Python runtime, so you do not need Python pre-installed to get started — the Local Runtime installer provisions a virtual environment for you.

Cortex is an Electron app built with electron-vite. Clone the repository, install dependencies, and start it in development mode:

Terminal window
npm install # install dependencies
npm run dev # development mode (Electron + HMR)

To produce a distributable desktop build, or to run the test suite:

Terminal window
npm run build # build the desktop app
npm test # run Vitest

When Cortex launches you land on the Welcome page. Choose New Workspace or Open Folder. Cortex writes a .cortex/workspace.json into the folder — this is your committable project file holding connections, environments, and UI state. The Runtime shell opens automatically.

In the Runtime shell, run the Install Local Runtime flow — an 8-step installer. Cortex creates a Python virtual environment with uv, installs the Astromesh stack:

Terminal window
pip install astromesh[mesh] astromesh-cli astromesh-orbit[gcp]

and spawns a uvicorn server on :8000. Install, start, stop, update, and uninstall are all one click, with health polling so you always know the runtime’s status.

Open a new agent and define it in the YAML editor (Monaco, with schema validation and autocomplete), or build it on the visual canvas by dragging nodes for the model, tools, memory, guardrails, permissions, and orchestration. The two views stay in bidirectional sync, so edits in one reflect in the other.

With the Local Runtime running, open the Agent Console — an interactive chat playground — and send the agent a message. Inspect the Trace timeline to see the hierarchical spans, with latency, inputs, and outputs for each step of the run.

Use the Deploy split-button to deploy to your persisted target. For a first run, that’s the Local Runtime on :8000. The target is remembered per tab and shown with a badge.

  • Runtimes — Manage the Local Runtime lifecycle and add GCP (Orbit) and Nexus targets
  • Workspaces — Go deeper on the workspace model, channels, environments, and keyboard shortcuts