Skip to content

Command reference

The commands you run in a terminal, for people rather than scripts. This list comes from the commands' own help: add --help to coder or to openagents GROUP (such as openagents projects --help) for the same text on your computer. Commands for scripts and other agents are in Coder from scripts.

coder

CommandDoes
coderOpen Coder in this folder.
coder loginLog in to openagents.com: approve the code at openagents.com/device.
coder login --keyLog in with a login key from Settings, pasted or piped in. Or set OPENAGENTS_TOKEN.
coder logoutSign this computer out.
coder syncSend every chat here to your account now (sync must be on).
coder trace uploadUpload a chat to your account as a trace: --last for your latest, --share for a public link.
coder trace listList the traces on your account.
coder export --accountSave everything on your account to one file.
coder solver NSolve issue N to a pull request. See Solve an issue.

Options for coder itself:

OptionDoes
--in DIRWork in DIR instead of this folder.
--modelsOpen the model picker first.
--pluginsOpen plugins first.
--follow IDWatch a chat another program is running; press any key to take it over.
--state DIRKeep Coder's data in DIR instead of ~/.openagents/coder.
--versionPrint the version.
--helpPrint the help.

coder update

CommandDoes
coder updateInstall the newest Coder on your channel now.
coder update --checkSay whether a newer Coder is published.
coder update --rollbackGo back to the Coder the last update replaced.
coder update --mode autoDownload and install updates on their own (the default).
coder update --mode notifyOnly say when an update is ready.
coder update --mode offNever check.
coder update --channel stableFollow stable releases (the default). --channel rc follows release candidates.

openagents coder: models, plugins, and saved chats

CommandDoes
openagents coder statusWho answers, the model, plugins, and the folder.
openagents coder models listThe models you can pick, and the agents turned on here, with the one selected.
openagents coder models set SLUGChoose the model. claude-code, codex, opencode, or opencode/PROVIDER/MODEL starts new chats on that agent, as /models does; auto goes back to Auto choosing. Add --reasoning EFFORT for the reasoning level.
openagents coder plugins listYour plugins and whether each is on.
openagents coder plugins enable IDTurn a plugin on.
openagents coder plugins disable IDTurn a plugin off.
openagents coder plugins check IDCheck a plugin's connection with its key.
openagents coder agents listThe other coding agents found on this computer.
openagents coder agents refreshLook for installed agents again.
openagents coder sessions listYour saved chats and their IDs.
openagents coder sessions delete IDRemove one saved chat.
openagents coder export ID --output FILESave a chat to a file.
openagents coder import FILEOpen a chat file to read or continue it.
openagents coder memory listWhat Coder remembers here. memory forget NAME deletes one.

The plugin IDs include claude-code, codex, opencode, and microcoder; openagents coder plugins list shows them all.

openagents projects: your projects on openagents.com

CommandDoes
openagents projects listYour projects: name, repositories, chats, and last activity. Projects shared with you are listed too.
openagents projects show PROJECTOne project, with its repositories and chats.
openagents projects create NAME --repo OWNER/NAMEMake a project. It needs only a name; each --repo adds a GitHub repository.
openagents projects move CHAT PROJECTMove a chat into a project. --none in place of PROJECT takes it out.
openagents projects members PROJECTWho is in the project and what each can do.
openagents projects invite PROJECT --github USERInvite someone by GitHub username: it waits on their Projects page with Join and Decline. Add --role viewer for read-only.
openagents projects join LINKJoin a project with an invitation link someone sent you.
openagents projects role PROJECT ACCOUNT ROLEMake a member an editor, viewer, or owner.
openagents projects remove PROJECT ACCOUNTTake a member out of the project.
openagents projects leave PROJECTLeave a project someone shared with you.
openagents projects files add PROJECT PATHAdd files to the project.
openagents projects delete PROJECTDelete a project for good, after you type its name.

See Share a project with a teammate.

openagents chat: chats from the shell

CommandDoes
openagents chat send "MESSAGE"Send one message to OpenAgents and print the reply. --project PROJECT starts the chat inside one of your projects.
openagents chat threads --accountYour chats on openagents.com, newest first.
openagents chat read --thread IDPrint a chat.
openagents chat follow --thread IDFollow a chat's Coder run until it ends. Ctrl+C stops following, not the run.
openagents chat stop --thread IDStop a chat's Coder run.
openagents chat export --thread IDPrint a chat as an ATIF file.

openagents settings: what Coder may use here

CommandDoes
openagents settings showEvery setting, with the defaults.
openagents settings set KEY VALUEChange one setting. unset KEY returns it to the default.
openagents settings disable AGENTTurn a coding agent off: Coder never uses it. enable AGENT turns it back on.
openagents settings provider-key set PROVIDERAdd your own OpenRouter, Vercel AI Gateway, or TypeSafe key, from a hidden prompt.

See the settings reference.

openagents connect: your phone

CommandDoes
openagents connect inviteShow a QR code for the OpenAgents app on a phone. --text prints a code to paste instead.
openagents connect devicesThe phones that can reach this computer.
openagents connect remove DEVICECut a phone off now.
openagents connect statusThis computer's connection at a glance.

See Connect a computer.

Next: Pricing.