The Python template is the simplest way to build a Charm agent. It is a good fit for agents that call APIs, transform text, run lightweight data processing, or wrap an existing Python function.Documentation Index
Fetch the complete documentation index at: https://docs.charmos.io/llms.txt
Use this file to discover all available pages before exploring further.
Use Case
Use this template for a minimal Python agent with a small dependency surface.Prerequisites
- Python 3.10+.
- Charm CLI.
- Optional: Docker for isolated local runs.
Configuration Surface
The importantcharm.yaml fields are:
personainterfaceruntime.adapterruntime.lifecyclepolicies
Expected Project Shape
Local Development
Run with a simple input:Run and Publish
When to Choose Another Template
- Use Interactive Agent for streaming chat.
- Use Daemon Agent for always-on execution.
- Use OpenClaw Skill Agent for heavy browser or tool automation.
