Installation¶
The RunAgents CLI lets you manage your agents, tools, model providers, runs, and approvals from the terminal.
Python (pip) — Recommended¶
If you use Python, pip install runagents is the easiest way. It installs the CLI, the Python SDK, and the agent runtime in one command.
The runagents command is available immediately. The Python SDK (Client, Agent, @tool, local dev) is documented at Python SDK →
One-line install (macOS / Linux)¶
Binary-only install — no Python required.
Override the install directory:
npm¶
Current version: 1.2.0
Or run without installing:
Download Binary¶
Pre-built binaries for every platform — no dependencies required.
Verify Installation¶
Configuration¶
Configure the CLI with your API endpoint and key:
runagents config set endpoint https://api.runagents.io
runagents config set api-key YOUR_API_KEY
runagents config set namespace default
runagents config set assistant-mode external
Set assistant-mode to runagents only if you want built-in runagents copilot commands.
Get your API key from the RunAgents console under Settings.
Verify your configuration:
Configuration is stored in ~/.runagents/config.json.
Environment Variables¶
| Variable | Description |
|---|---|
RUNAGENTS_ENDPOINT | API endpoint URL |
RUNAGENTS_API_KEY | API key for authentication |
RUNAGENTS_NAMESPACE | Workspace namespace header used by API requests |
RUNAGENTS_ASSISTANT_MODE | Assistant mode override: external, runagents, or off |
Shell Completion¶
Need an API key?
Sign up for free and we'll get you set up within 24 hours.