Adapters let Charm support different agent frameworks behind a shared runner interface.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.
When to Add an Adapter
Add an adapter when a framework has a distinct execution model that cannot be cleanly handled by the existing adapters.Adapter Responsibilities
An adapter should define how to:- load the user’s entry point,
- pass inputs into the framework,
- stream or return output,
- surface errors,
- handle tools or state when supported.
Development Steps
- Study the closest existing adapter.
- Add the adapter implementation.
- Register the adapter type.
- Add or update manifest validation.
- Add a minimal template or example.
- Add tests.
- Update docs.
