Skip to main content
Run a Charm agent locally. Use charm run while developing agent logic, testing input schemas, and checking runtime compatibility before publishing.

Usage

Simple Text Input

JSON Input

Use JSON when your interface.input defines multiple fields:

Input File

Use --input-file for repeatable test cases:
Example test file:

Docker Sandbox

Run inside a container to better match the cloud runtime:
Docker mode requires charmos[runner] and a running Docker daemon.

Mocked Integrations

For agents that require OAuth or skills, local mocks can speed up testing:

Debugging

Add --debug for extra logs: