Maxxing Code
Documentation · Getting startedGetting startedModels and providersInstruction filesPermissionsToolsSessionsSkills, commands, sub-agentsMCPScriptingACPConfigurationArchitectureDesign decisions

Getting started

Install

curl -fsSL https://maxxing-code.com/install | sh

The script downloads the binary for your system (Linux or macOS, x64 or arm64), checks its checksum and puts it in ~/.local/bin. maxxing-code.com/install is the script of this repository (scripts/install.sh); the site counts its downloads per day and country, and keeps nothing else. The binary itself comes from the GitHub release. From source: bun install && bun run build gives dist/maxxing-code.

maxxing-code doctor checks the installation. maxxing-code update installs the latest release (checksum verified) and maxxing-code update check only says whether there is one. Nothing checks for updates in the background.

Give it a key

Maxxing Code talks to the model provider of your choice with your own API key. Either:

  • set the provider's variable in your shell (ANTHROPIC_API_KEY, OPENAI_API_KEY, GOOGLE_API_KEY, OPENROUTER_API_KEY…), or
  • let it store the key: maxxing-code keys set OPENROUTER_API_KEY (asked without echo, written to ~/.maxxing-code/keys.json, readable by you only). The environment wins when both exist.

On the first launch without a model, it walks you through it: provider, key, model.

First session

cd your-project
maxxing-code

Type what you want done and press Enter. The agent reads files, searches, and proposes changes; in the default mode it asks before changing a file or running a command:

  • Yes: this time.
  • Yes, and always allow…: also the next times (the rule is saved for this folder, in your own settings, see Permissions).
  • No: the turn stops and waits for you.
  • No, and say what to do instead: your sentence goes back to the agent, which adapts.

/init makes it read the project and write a MAXXING.md: the file where you tell it how the project works (Instruction files).

Keys

Key What it does
Enter send. While it works: add a message it reads before its next step
Alt+Enter while it works: queue a message for when it has finished
Shift+Enter, Ctrl+J new line
Esc interrupt the work in progress (messages that were waiting go back to the editor)
Shift+Tab next permission mode: default → accept-edits → plan (bypass only with /mode bypass or --mode bypass)
Ctrl+O show or hide the full output of tools
Ctrl+C interrupt, or clear the line, or leave (twice)
Ctrl+D leave
@ complete a file path
!command run a shell command yourself; its output is given to the agent with your next message
/ commands

A path to an image (png, jpg, gif, webp) in your message attaches the image, for models that read images: type it, drop the file on the terminal, or press Ctrl+V to paste the image of the clipboard (on Linux this needs wl-paste or xclip). Arrow up brings back the messages of earlier launches.

Commands

Command
/help commands and keys
/model [provider/model] choose the model (a list that narrows as you type)
/effort [level] reasoning effort: none, low, medium, high, max
/mode [mode] permission mode
/permissions show the rules; /permissions allow Bash(npm test:*), /permissions deny Read(.env)
/connect add a provider, or your own API address (a local model, a gateway), then pick a model
/keys, /keys set NAME API keys
/new, /clear start a new session
/resume [id] resume an earlier session of this folder
/fork go back before an earlier message and continue from there
/undo undo the file changes of the last turn
/compact [instructions] summarize the conversation to free context
/context what fills the context window
/cost tokens and cost of the session
/init analyze the project and write MAXXING.md
/memory instruction files loaded for this folder
/skills, /agents, /mcp what is available here
/export [file.md] write the session to a Markdown file
/theme [name] harness, dark, light
/doctor check the installation
/quit leave

Your own commands (.maxxing/commands/*.md) appear in the same list: see Extending.

Command line

maxxing-code [options] [prompt]     interactive session (the prompt, if any, is sent at once)
maxxing-code -p "prompt"            answer once and exit; stdin is appended to the prompt
maxxing-code -p --json "prompt"     same, as JSON events (see Scripting)
maxxing-code acp                    Agent Client Protocol on stdio (see ACP)

  -m, --model <provider/model>      --mode <default|accept-edits|plan|bypass>     --effort <level>
  -c, --continue                    -r, --resume <id>
  --allow <rule>  --deny <rule>     --cwd <dir>     --verbose

maxxing-code keys | models [provider] [--refresh] | sessions | export <id> [file] | mcp … | doctor | update [check]

Edit this page on GitHub