Skip to main content
Reference for current pool shell commands, user-facing flags, and slash commands. This page omits hidden, development-only, and deprecated no-op flags. For workflow guidance, start with Poolside Agent CLI.
These docs describe Poolside Agent CLI v1.0.5. Run pool --version to check your installed version, run pool update to update the CLI, and see the Poolside Agent CLI releases on GitHub for release history.

pool

pool starts an interactive session by default. Arguments after -- are forwarded to the configured agent server. If your MCP servers expect environment variables, start pool with those variables set.
FlagShortDescription
--directory-CWorking directory for the interactive session
--resume-rResume a previous session by ID, or use -r alone to open the session picker. In the picker, press Tab to switch between current-directory sessions and sessions from all directories.
--model-mOverride the saved model preference for the interactive session
--modeOverride the saved mode preference for the interactive session
--agent-server [<name>]-sAgent server entry to use from pool.json. Use pool -s to open the agent server picker.
--sandbox <mode>Override sandbox usage for the Poolside agent server. Supported values: required and disabled.
--prompt-queue <prompt>-qQueue a prompt to send after the interactive session and agent connection finish initializing. Repeat to queue multiple prompts.
--help-hShow help for pool and exit
--version-vShow the current pool version and exit
KEY=VALUE pool
Use pool <command> --help to show help for a subcommand.

pool exec

pool exec runs a single prompt non-interactively and then exits. Provide the prompt with --prompt, --prompt-file, or standard input. Files passed after -- are added as context for the run. If your MCP servers expect environment variables, start pool exec with those variables set.
FlagShortDescription
--prompt-pPrompt text. Use - to read the prompt from standard input.
--prompt-file-fFile containing the prompt
--directory-dWorking directory to operate in. Defaults to the current directory.
--agent-name-aAgent to use in tenant mode
--api-urlOpenAI-compatible API URL to use in standalone mode
--output-oOutput format: markdown or json. JSON output is newline-delimited JSON.
--unsafe-auto-allowAutomatically approve tool actions without confirmation
--verbosePrint verbose tool result output
--sandbox <mode>Override sandbox usage. Supported values: required and disabled.
--continueContinue a previous conversation. Provide a run ID, or use the flag alone to continue the last run.
KEY=VALUE pool exec -p "test"

Exit codes

CodeMeaning
0Task completed successfully
4The agent ran but reported that it could not complete the task
OtherUnexpected CLI or request error

pool acp

pool acp starts Poolside’s Agent Client Protocol (ACP) server over standard input and standard output. If your MCP servers expect environment variables, start pool acp with those variables set.
FlagShortDescription
--sandbox <mode>Override sandbox usage. Supported values: required and disabled.
--version-vShow the current pool acp version and exit
KEY=VALUE pool acp
Configure thought level through ACP session config options when your editor exposes them.
Use thought level control only with models behind OpenRouter or another provider that accepts the OpenRouter-style reasoning field. If the underlying model connects directly to the OpenAI Chat Completions API at https://api.openai.com/v1/chat/completions, requests that include the reasoning field fail because OpenAI rejects the field.For Claude 4.6 models through OpenRouter, effort settings other than none are ignored. OpenRouter uses adaptive thinking automatically for those requests.

pool acp setup

Use pool acp setup to configure Zed or JetBrains to use Poolside.
FlagDescription
--editor <editor>Editor to configure. Required. Supported values: zed and jetbrains

pool acp logs

pool acp logs reads ACP debug logs from the Poolside log directory for the current working directory.
FlagShortDescription
--follow-fFollow log output
--pretty-pPretty-print log output
--sessionShow logs for a specific session ID

Setup and authentication

pool login

pool login runs the interactive login flow. Without flags, it asks whether you want to authenticate to standalone Poolside or an existing Poolside tenant.
FlagDescription
--api-key <key>Configure standalone mode with the given API key
--api-url <url>Configure tenant mode with the given API URL

pool logout

pool logout removes stored credentials for the selected API URL. In standalone mode, it removes the stored standalone API key.
FlagDescription
--api-url <url>API URL to use

Configuration and updates

pool config

Prints the log, trajectory, and config directories, plus the credentials path.

pool config settings

Opens settings.yaml in VISUAL, EDITOR, or vi, validates it after you exit the editor, and then saves it. For approval rules, path rules, and sandbox configuration, see Tool permissions.

pool update

pool update [version] updates the CLI to the latest version, or to a specific version when you provide one.
FlagDescription
--forceReinstall even if the CLI is already on the target version

Slash commands

Slash command availability depends on where you use pool.

Interactive slash commands

Use these commands in an interactive pool session.
CommandWhat it does
/modelOpen the agent selector for the current session
/modeOpen the mode selector
/new or /clearClear conversation history and start a new chat
/copyCopy the last assistant response to the clipboard
/rewindRoll back to a previous turn
/renameRename the current session
/feedbackOpen a feedback draft and optionally attach logs
/quit or /exitExit the session
/debug:dumpWrite the raw agent-server message log to a local JSON file
When you use the Poolside agent server, these additional commands are available in interactive mode:
CommandWhat it does
/planSwitch to plan mode
/compactCompact conversation context. Add guidance after the command to tell the agent what to preserve, such as /compact preserve tool call errors.
/shareGet a link to the trajectory viewer for the current session
/mcpShow MCP servers, connection status, and tools for the current session
/sandboxShow local sandbox configuration
/sandbox-apply-to-hostReview pending sandbox filesystem changes and apply them to the host workspace when available
/skillsRefresh and list available skills
/usageShow token usage and context window state
Available skills can also appear as slash commands. The available skill commands depend on the skills configured for the agent and workspace.

ACP slash commands

When your editor passes slash commands to pool acp, these commands are available:
CommandWhat it does
/planSwitch to plan mode when plan mode is available
/clearClear conversation history and free up context
/compactCompact conversation context. Add guidance after the command to tell the agent what to preserve, such as /compact preserve tool call errors.
/shareGet the trajectory viewer URL for the current session when trajectory sharing is available
/mcpShow MCP servers, connection status, and tools for the current session
/sandboxShow local sandbox configuration
/sandbox-apply-to-hostReview pending sandbox filesystem changes and apply them to the host workspace when available
/usageShow token usage for the current session
/skillsRefresh and list available skills
pool acp can also expose available skills as slash commands. The available skill commands depend on the skills configured for the agent and workspace.

History

pool history logs

Use pool history logs [<log-file-name-fragment>] to list recent log files or show one matching file.
FlagShortDescription
--all-aShow all log files instead of the most recent 20
--latest-lShow the most recent log file and write its filename to standard error
--pretty-pPretty-print log contents with colors and formatting
--follow-fFollow log output like tail -f

pool history trajectories

Use pool history trajectories [<trajectory-file-name-fragment>] to list recent trajectory files or show one matching file. Use --atif when you need to convert a local trajectory to Agent Trajectory Interchange Format (ATIF) JSON for external tooling.
FlagShortDescription
--all-aShow all trajectory files instead of the most recent 20
--latest-lShow the most recent trajectory file
--atifRender a single trajectory in ATIF JSON format. Use with --latest or part of a trajectory filename.
--pretty-pPretty-print ATIF JSON. Only applies with --atif.

pool history sessions

pool history sessions lists recent sessions.
FlagShortDescription
--all-aShow all sessions instead of the most recent 20
pool history sessions
pool history logs --latest --pretty
pool history trajectories --latest

MCP servers and secrets

pool mcp list

Lists configured MCP servers. Sensitive header values and environment values are masked in the output.

pool mcp get

Use pool mcp get <name> to inspect one MCP server configuration. Sensitive header values and environment values are masked in the output.

pool mcp remove

Use pool mcp remove <name> to remove an MCP server from settings.yaml.

pool mcp add

Use pool mcp add <name> [command] [args...] to add an MCP server. Use --transport to add a remote server. Without --transport, pool expects a command-based server and requires a command after --.
FlagShortDescription
--transport <type>-tTransport type for remote servers: http or sse
--env <key=value>-eEnvironment variable to store with the server. Repeat as needed.
--header <header>-HHTTP header for HTTP or SSE transport. Repeat as needed.
Examples:
# Command-based server over stdio
pool mcp add filesystem -- node filesystem-server.js

# Remote HTTP server
pool mcp add --transport http notion https://mcp.notion.com/mcp

# Remote SSE server
pool mcp add --transport sse linear https://mcp.linear.app/sse

# Pass environment variables or HTTP headers
pool mcp add --env API_KEY=<api-key> myserver -- npx -y myserver-mcp
pool mcp add --transport http --header "Authorization: Bearer $TOKEN" svc https://example.com/mcp

# Inspect and remove
pool mcp list
pool mcp get <name>
pool mcp remove <name>
pool stores MCP server configuration under mcp_servers in settings.yaml. To share servers with a project, add them to .poolside/settings.yaml. To keep them personal across projects, add them to ~/.config/poolside/settings.yaml.

pool secrets list

Lists stored secrets and their source.

pool secrets add

Use pool secrets add <name> to store a secret in the system keychain.
FlagShortDescription
--description <text>-dDescription for the secret

pool secrets edit

Use pool secrets edit <name> to update a stored secret.
FlagShortDescription
--name <name>Rename the secret
--description <text>-dUpdate the description

pool secrets get

Use pool secrets get <name> to inspect a stored secret.
FlagDescription
--show-valueShow the stored secret value

pool secrets delete

Use pool secrets delete <name> to remove a secret from the keychain.