Connect models and tools

Subscription providers

Use the Claude or ChatGPT subscription you already pay for on the canvas through Claude Code and Codex, or connect Cursor with an API key.

If you already pay for Claude or ChatGPT, you can use that subscription on the canvas instead of paying again. Slashspace drives the official Claude Code and Codex command-line tools (CLIs) on your computer, signed in with your own account. Cursor connects with a Cursor API key instead.

These models are agents: they work in a folder you choose, reading files and, if you allow it, changing them. That helps when your research lives in files as well as on the canvas.

How it works

You install a CLI once and sign in to it with the account you use in the browser. When a chat node that uses one of its models sends a message, Slashspace starts the CLI on your computer, passes it the message and the chat's context, and streams the reply into the node. Usage counts against your Claude or ChatGPT plan, with no API key to paste.

Setup lives in Settings (bottom of the sidebar) > Subscription Providers, under AI Settings:

  • The Slashspace card at the top is for Slashspace's own hosted models, paid from your optional hosted wallet. It needs no setup. Manage hosted wallet opens your account page on the web; see Plans and billing.
  • Below it, Cursor, Claude Code and Codex each have a row you can expand. A row's check mark turns green once that provider is connected.

Open a terminal

You install and sign in once, in a terminal. On macOS, press ⌘Space, type Terminal and press Return. On Windows, press the Start key, type PowerShell and press Enter. On Linux, open your terminal app. Paste a command, press Enter and wait for it to finish.

When Slashspace can't find a CLI, its CLI Status card shows these same commands for your system, with copy buttons.

Claude Code

Claude Code uses your Claude subscription.

Install Claude Code

macOS or Linux:

curl -fsSL https://claude.ai/install.sh | bash

Windows (PowerShell):

irm https://claude.ai/install.ps1 | iex

Windows (Command Prompt):

curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd

With npm, if you already use Node.js:

npm install -g @anthropic-ai/claude-code

Sign in to Claude Code

claude

Follow the prompts and log in with the Claude account that has your subscription, not an API key.

Turn on Claude Code

  1. In Subscription Providers, expand Claude Code and turn on its switch. Slashspace loads the model list from the CLI.
  2. Check the CLI Status card. A green check with a version number and a file path means you're ready. If it says the CLI wasn't found, quit and reopen Slashspace (it reads your program paths at startup), then click Re-check.

Claude Code options

  • Custom CLI path: leave it empty for automatic detection (see Troubleshooting).
  • Permission mode: how much Claude Code may do without asking you.
    • Default: asks for your approval in the chat before actions that need permission.
    • Accept edits: edits files in the workspace without asking. Other actions still ask.
    • Plan: read-only. It plans and explains but changes nothing.
    • Bypass permissions: runs everything without asking. Use with care.
  • Max agent turns: an optional cap (1 to 100) on rounds of tool use per reply. Empty means no limit. At the cap, the chat tells you; send "continue" to carry on.
  • Refresh Models: reloads the model list from the CLI, for example after your plan changes. If the CLI can't be reached, a default set loads instead.

Codex

Codex uses your ChatGPT subscription.

Install Codex

macOS or Linux:

curl -fsSL https://chatgpt.com/codex/install.sh | sh

Windows (PowerShell):

powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex"

With npm, if you already use Node.js:

npm install -g @openai/codex

Sign in to Codex

codex login

This opens your browser. Sign in with the ChatGPT account that holds your subscription, not an API key.

Turn on Codex

Expand Codex, turn on its switch, and check the CLI Status card as you would for Claude Code.

Codex options

  • Custom CLI path: same as for Claude Code.
  • Approval policy: when Codex stops to ask you in the chat.
    • On request (default): Codex decides which commands need your approval.
    • Untrusted: every command asks first.
    • On failure: commands run in the sandbox, and you're asked only when one fails.
    • Never: never asks. Everything runs within the sandbox.
  • Sandbox mode: how much of your computer Codex can touch.
    • Workspace write (default): can change files inside the agent workspace.
    • Read-only: can read the workspace but not change anything.
    • Full access: no sandbox, so Codex can touch anything on your computer. Use with care.
  • Refresh Models: same as for Claude Code.

Cursor

Cursor needs no CLI. It connects with a Cursor API key, and Cursor, not Slashspace, bills you for what you use.

  1. Expand Cursor and click Get API key to open your Cursor dashboard and create a key.
  2. Paste it into the Add API key field and click the check button. Slashspace tests the key before saving it.
  3. Click Refresh Models to load Cursor's current models.

Cursor's agent also runs on your computer in the agent workspace, but Slashspace has no permission or sandbox settings for it.

Agent workspace

The agent workspace is the folder these models read and, depending on your settings, change. Choose one before your first message.

  • For one chat: when a chat node uses one of these models, a folder button appears right below its message box. Hover it for the full path; click it to choose a folder.
  • For a whole canvas: click the gear in the canvas header to open Canvas settings, then under Agent workspace click Choose folder.... Every agent chat on the canvas uses that folder unless you picked one for the chat itself. The X next to the folder name (Clear workspace) removes it.

Note: These agents can change and delete files in the workspace, and Accept edits, Bypass permissions and Full access let them do it without asking. Pick a folder that holds only what they should work on, keep a backup, and start with Plan (Claude Code) or Read-only (Codex) until you trust the results.

Using these models in chats

Once a provider is connected, its models appear in every chat node's model dropdown, in Claude Code, Codex and Cursor groups below the Slashspace group. You can also make one your default; see Choosing a model.

They never draw from the hosted wallet, so they keep working at a zero balance. Hosted tools such as image generation still charge the wallet.

A few things work differently from Slashspace's own models:

  • They use their own tools, such as reading files and running commands. You see the tool calls in the chat, where Claude Code and Codex ask for approval according to the settings above. See Agent mode and tools.
  • In Agent mode, the connectors turned on for the chat come along, and these models can hand work to sub-agents.
  • They can't suggest switching the chat's mode or model. With no incoming connections they get only a short summary of the rest of the canvas, so connect the nodes you want them to read in full.

Troubleshooting

Slashspace can't find the CLI

Check that the install finished without errors, quit and reopen Slashspace, and click Re-check.

If you installed the CLI somewhere unusual (for example with a version manager), find it with which claude or which codex in a terminal (on Windows, where.exe claude or where.exe codex). Paste the path into Custom CLI path and click Save. Empty the field and save to return to automatic detection.

If the card then says "No executable found", or on Windows mentions a "launcher script", the saved path isn't the program itself. Point Custom CLI path at the program, or reinstall with the PowerShell command.

The CLI isn't signed in

CLI Status checks that the CLI runs, not that you're signed in. If you aren't, Refresh Models falls back to the default list with a note that it couldn't fetch models from the CLI, and messages fail with a sign-in error. Run claude or codex login in a terminal again.

Slashspace uses whichever account the CLI is signed into. To switch accounts, sign out and back in from the terminal.

Usage is billed to an API key

Slashspace passes your computer's environment settings to the CLI. If ANTHROPIC_API_KEY or OPENAI_API_KEY is set, or you first signed the CLI in with an API key, it may bill that key instead of your subscription. Run the CLI in a terminal to see which account it uses.

For other errors, see Troubleshooting and support.

On this page