Skip to content

Workspaces & Layout

A workspace is a folder with a .cortex/ directory. Cortex can live inside any git repository, next to your agents and your code.

my-project/
├── .cortex/
│ ├── workspace.json # commit it
│ └── local.json # gitignored on creation
└── orbit.yaml # written by the GCP wizard, if you use it

workspace.json holds:

FieldContent
connections.runtime[]Runtime connections: name, local or remote, URL
connections.nexus[]Nexus connections: name, hub URL, auth mode, optional tenant id
activeRuntimeId, activeNexusIdWhich connection each mode uses
environments, activeEnvironmentNamed sets of variables (see below)
gcpProject, region and auth method for the GCP panel
whatsappThe WhatsApp wizard’s settings
ui.lastModeThe mode the workspace reopens in

Cortex saves the file half a second after any change, and reloads it when it changes on disk (after a git pull, say) unless you have unsaved changes. The Welcome page keeps the last 20 workspaces.

AreaContents
Activity barExplorer · Agents · RAG Pipelines · Workflows · Runtime · GCP Deployments · Channels · Channel Activity · Settings
SidebarThe selected panel. Click the active icon to hide it; drag the edge to resize
Editor areaTabs: agent YAML, visual builder, RAG pipeline, workflow, workflow run, GCP wizard, infrastructure map
Right panelThe console
Bottom panelTerminal · Activity (every API request Cortex made, filterable) · Output
Status barMode switch, active connection with its health, runtime version and agent count, active environment
PanelWhat it does
ExplorerRuntime status (version, uptime, agents) and a tree of agents, templates and built-in tools
AgentsAgents with their status (deployed, draft, paused) and load errors; new agent, visual editor, deploy, pause, delete
RAG PipelinesPipelines on the runtime; open as YAML or in the visual builder
WorkflowsRun workflows, follow runs, approve or reject pending steps
RuntimeInstall and control the local runtime
GCP DeploymentsProvision and operate a Cloud Run runtime
Channels · Channel ActivityWhatsApp setup and live channel traffic
SettingsRuntime connections, environments, dev tunnel

Nexus mode has its own activity bar.

Settings → Runtime Connections lists the runtimes this workspace knows. Each has a name, a type and a URL; click one to make it active. Every Runtime-mode panel talks to the active connection.

  • local is the runtime Cortex installs. It counts as up when Cortex’s own process manager reports it running.
  • remote is any other runtime, a Cloud Run service included. Its health is checked against /health every 15 seconds.

An environment is a named set of variables. Every workspace starts with default.

  • Add, remove, clone and rename environments in Settings → Environments. Click a value to edit it in place.
  • Choose the active one from the status bar (env: …) or with Activate.
  • The active environment’s variables are passed to the local runtime when it starts or restarts. Changing environments does not restart a running runtime.
  • The GCP wizard can inject an environment’s variables into the Cloud Run service.

The bottom panel’s terminal is an astromeshctl-style command line over the active runtime’s API. It is not a system shell.

CommandDoes
status, doctor, version, servicesRuntime status, health checks, version, enabled services
agentsAgents and their status
toolsBuilt-in tools
traces list <agent>, trace <id>Recent traces and one trace’s summary
metricsCounters and histograms
mesh statusMesh summary
run <agent> <query>Runs an agent and prints the answer
workflows list, workflows run <name> [query]Lists and runs workflows
approvals, approve <run_id> [comment], reject <run_id> [comment]The human-in-the-loop queue
help, clear

Tab completes, ↑/↓ walk the history, and the ? button shows a clickable reference.

KeysAction
Ctrl+Shift+PCommand palette
Ctrl/Cmd+MSwitch between Runtime and Nexus mode
Ctrl/Cmd+SSave the active tab
Ctrl/Cmd+BShow or hide the sidebar
Ctrl/Cmd+JShow or hide the bottom panel
Ctrl/Cmd+F4Close the active tab (asks if it has unsaved changes)
Enter / Shift+EnterSend / new line, in the console
Ctrl/Cmd+EnterSend, in the Nexus run panel