Reference·First runIndex

First run

The setup wizard: when it opens, what each stage shows, and the usual mistakes.

.mdllms.txt
a shell
nodecode

When setup opens

CaseResult
No provider has a credential, or no default model is savedSetup opens on the first frame.
nodecode setupSetup opens on the first frame.
/setup in the shellSetup opens now.

A credential can come from config.jsonc, auth.json or the environment.

The walk imports first, then has three steps: Provider, Model, Reasoning effort. The counts them: step 1/3. The lists what each stage takes. Left and Right move between steps. Esc on the provider list ends the walk.

Setup on the first frame: Connect, Setup · step 1/3 · still needs a provider and a model, Search providers, then Anthropic, OpenAI, OpenRouter, Google, DeepSeek, Moonshot AI and Z.AI, More providers, A to Z, and the keys under the list.

Quitting halfway and expecting it to pick up

The walk keeps no state. The next launch opens it again until a provider and a default model are both saved.

Instead: nodecode setup walks it again.

Writing config.jsonc by hand before the first run

A parse error stops the launch: is not valid JSONC (byte N).

Instead: Fix it or move it aside. Then nodecode setup.

1. Import

The import runs only when another coding agent's home is on this machine. Nodecode knows 15 of them: Claude Code, Codex, OpenCode, Cursor CLI, Gemini CLI, Qwen Code, pi, Crush, Cline, Windsurf, Kiro, dotagents, Hermes Agent, Openclaw and Command Code. It does not ask first.

The walk says what it found in its own dialog, never the chat: a ledger over the key check, such as 2 keys, 3 configs and 1 memory, each with the agents it came from. The keys land first; instructions, memory, skills, servers, bots and jobs land behind the walk.

When the import brings a default model over and its provider answers, the walk ends there. /models changes the pick.

ItemHere
InstructionsAdded to ~/.nodecode/AGENTS.md, under the agent's name.
SkillsKept by name, with their description.
MCP serversWritten to the config, off. /mcp starts one: the server's row.
API keysCopied to auth.json, then checked.
Sign-insStay with the other agent.
SessionsLeft out. nodecode import WORLD --only sessions brings them.
Settings this home already hasKept.
Report~/.nodecode/import/report-<time>.txt

Starting where another agent holds keys you don't want here

The import runs without a question. Keys and bot tokens come with it.

Instead: Run nodecode import WORLD first and pick Skip. Then nodecode.

Expecting a Claude Code or Codex sign-in to come over

A sign-in stays with its agent. The report says so: no key imported here serves it.

Instead: Paste an API key in the provider step.

Waiting for an imported MCP server to answer

Imported servers land off: lands off: its row in /mcp, filesystem, starts it.

Instead: /mcp, then the server's row, once you have read what it runs.

2. Provider

Seven providers come first, then the rest A to Z. Enter on one asks for its key and that makes one. The shows stars.

The key step: Paste your DeepSeek API key. platform.deepseek.com/api_keys makes one. API key (empty).

Nodecode asks the provider before it saves. A key that answers goes to ~/.nodecode/auth.json . The provider , over Connect another. Connect a second one, or press Enter on a connected provider to pick its model.

DeepSeek key works, saved to auth.json; the list again, still needs a model: Suggested, Continue DeepSeek connected; pick a model next, DeepSeek 4 models connected (auth.json), Connect another and the other providers.

Pasting the key while the list is open

It goes into the search, in plain text, and finds No matching providers.

Instead: Press Enter on the provider first. Paste into the key field.

On the provider's key step, the key shows as stars.
The DeepSeek key step with a pasted key shown as stars.

Pasting a key from another provider, or one with a typo

DeepSeek refused this key (HTTP 401 invalid_api_key); nothing was saved.

Instead: Make a key on the page the step names. Enter pastes another.

Checked, then saved: DeepSeek key works, saved to auth.json.
DeepSeek key works, saved to auth.json, and the Continue row.

Reading "saved" as "works"

A provider that doesn't answer in 5 seconds gets the key saved anyway: not checked: no answer.

Instead: Run /doctor. If the key fails, /models takes it again: pick the provider, then Ctrl+E.

Connecting a local server before it runs

nothing listens at …; nothing was saved.

Instead: Start the server. Enter checks again.

Pressing Ctrl+V over SSH

No clipboard to read here — paste with your terminal (Ctrl+Shift+V)

Instead: Ctrl+Shift+V.

3. Model

The picker opens on the : the provider's newest that can call tools. A list not fetched yet reads Loading the model list… and fills in place. Type to search. Enter makes the the default for every session.

Models (4), Setup · step 2/3: suggested: deepseek-flash, the newest with tool calls; deepseek/deepseek-flash DeepSeek V4.1 Flash selected, three more DeepSeek models under it.

Pressing Esc on the model step, then on the providers

Esc on the model step goes back to the provider list. Esc there ends the walk with nothing picked. The summary's problem line says model: no model configured — /models picks one, and writes it to the shared config, and every prompt fails until one is.

Instead: /models.

Pressing Enter on the first row without reading it

It is the newest model with tool calls, not the one you use.

Instead: Type part of the name you want, then Enter.

Editing config.jsonc while the walk runs

The pick can't be written: was not saved: … is not valid JSONC.

Instead: Fix the file. Then /models.

4. Reasoning effort

After a pick, the step opens the model's own reasoning ladder. Enter applies a rung from the next turn, in this session and every new one, and the summary notes it: reasoning effort: high. Esc keeps the current one and ends the walk. Left goes back to the model. /think changes it later.

A model with no reasoning controls shows one Continue row: This model has no reasoning effort controls.

5. Finish

The walk ends on its last page, in the same dialog. Its head says Ready, or how many things there are to check. Under it: each problem or check first, then the provider, the model, what the import found, and notes.

The Discord guide in the transcript, then setup done: provider deepseek, model deepseek/deepseek-flash, cells 5 installed, to finish channels.discord (ask: set up discord), try type a task; the footer now names the gateway.
RowShowsDoes
StartNothing left to checkCloses the walk on an empty chat. The row says type a task, such as "what is in this folder?".
Change provider or keySomething to checkGoes back to step 1.
Start anywaySomething to checkStarts, and the footer keeps the count: 1 setup issue, which opens /setup.
DetailsAn import ranLists what came over, agent by agent.

Esc starts too. The footer gains the .

Pressing Start anyway over a model problem

The turn fails: no model is chosen yet: /setup connects a provider and picks one.

Instead: Change provider or key, or /models. The footer's count goes when the pick answers it.

Expecting the summary again in the chat

The walk never writes it there. The footer keeps only the count.

Instead: /doctor reports the same. /setup walks it again.

Expecting it to keep running after the last shell closes

It does while the gateway is on, its default on Linux and macOS. Off, /doctor says gateway off — nothing keeps this organism running once its last shell closes.

Instead: nodecode gateway on.

A nodecode.ai account

API credit from nodecode.ai needs no key pasted. Top up, then sign in:

a shell
nodecode login

It signs in for API credit, pay per token from your balance, and asks nothing. In the shell, /login does the same.

It opens nodecode.ai in your browser with this machine's code already in the page: Your browser is open at nodecode.ai. Over SSH it prints the link instead, Open this page in a browser, on this machine or any other, and any device signs it in. Nothing is pasted back.

Then it prints Signed in, saves the account key to auth.json, and prints the meter: Founders Base plan: 41,188 of 42,000 requests left, resets Nov 11 · 0 of 4 running, and API credit: …. Run nodecode, then /models to choose a nodecode model.

The footer shows the meter from then on. A click on it opens /usage.

CommandDoes
nodecode loginSigns in, in a browser, to run on the account's API credit.
/loginThe same, from the shell.
nodecode logout, /logoutSigns this machine out again.
nodecode machine link [CODE]Links this machine with a code from Machines.

Signing in on an account with no credit

This account has no API credit yet: add some at https://nodecode.ai/account/top-up. Calls answer 402 until there is some. An account that holds a plan is not told this: the plan pays first.

Instead: Top up. The terminal spends it from its next request, with no new sign-in.

Secrets

SecretStored inMode
Provider API key~/.nodecode/auth.json0600
A secret pasted in /settingsA file under ~/.nodecode/secrets/0600

The config names the file, never the value.

Coming back

CommandDoes
nodecode setupOpens the shell with setup on the first frame.
/setupOpens the whole walk. Takes no argument.
/loginSigns in to your nodecode.ai account, to run on its API credit.
/modelsOpens the providers under Main, Auxiliary, Decider and Backup tabs. Connect one, or pick a model.
/cellsLists cells. Space turns one on or off.
/settingsBrowse and change settings, a cell's among them.
/doctorLists what is missing, with a fix for each.

Typing /setup discord

`/setup` does not take arguments.

Instead: nodecode gateway setup discord in a terminal. See Channels.

Turning a cell off in /cells and expecting it gone

The row says its code stays loaded until a restart.

Instead: Restart nodecode.

Editing auth.json by hand

A file that doesn't parse reads as no keys. The next save fails.

Instead: Let /models write it.

What it said, line by line: Troubleshooting. Then type a prompt and press Enter. Keys: Shell.

Esc

    Loading the index…

    ↑↓ moveEnter openEsc close