Skip to main content
Install Charm locally so you can create, validate, run, and publish agents from your terminal.

Prerequisites

Before installing Charm, make sure you have:
  • Python 3.10 or newer.
  • pip or uv.
  • Git.
  • Docker Desktop or Docker Engine if you want to test agents in the local container sandbox.
uv is recommended because it creates fast, reproducible Python environments.

Install with uv

For agent development:
For local runner and Docker sandbox testing:

Install with pip

For agent development:
For local runner and Docker sandbox testing:

Verify the CLI

Run:
You should see the available Charm commands, including init, run, validate, push, logs, and auth.

Optional: Create a Project Virtual Environment

If you are working inside an agent repository, create and activate a virtual environment first.
On macOS or Linux:
On Windows PowerShell:
Then install Charm:

Optional: Docker Sandbox

Charm can run agents locally in a container that more closely matches the cloud runtime. To use sandbox mode:
  1. Install charmos[runner].
  2. Start Docker.
  3. Run your agent with --docker.

Next Step

Continue to Build Your First Agent.