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.
Custom Runtimes
While Charm provides highly optimized base images for standard frameworks like LangChain, CrewAI, and OpenClaw, you may sometimes need complete control over the execution environment. This could be because:- You are using a specialized framework like AG2 or AutoGen.
- You have heavy system dependencies (e.g., custom rendering engines, specific versions of Node.js).
- You want to pre-install massive ML models inside the image to save boot time.
1. Create a Dockerfile
To ensure compatibility with the Charm Runner, we highly recommend extending the official base image:ghcr.io/charmaios/charm-base:latest.
2. Declare the Custom Image in charm.yaml
Once your image is publicly accessible, you can tell the Charm Cloud Runner to use it by adding the custom_image field under the runtime configuration block in your charm.yaml:
3. Deployment
Simply runcharm push as usual.
The Charm CLI will bundle your code and update the registry. When users trigger your agent, the Cloud Runner will dynamically fetch and launch ghcr.io/your-org/my-agent-image:latest instead of the default images, giving your agent the exact environment it needs.
[!NOTE] Ensure your Docker Registry is public, or that the Charm Cloud Runner has the necessary IAM permissions/Service Accounts configured to pull from your private registry.
