Skip to main content

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 the LangGraph adapter for stateful graph-based agents.

Manifest

runtime:
  adapter:
    type: "langgraph"
    entry_point: "src.main:graph"

Runtime Behavior

Charm loads the compiled graph and invokes it with the input payload from the Store. Thread or state behavior depends on how your graph is configured.

Best For

  • Multi-step workflows.
  • Graph-based agent control flow.
  • Stateful assistants.
  • Agents with conditional routing.

State Notes

If your graph needs durable state, document the expected storage/checkpointing behavior clearly and test it in the target lifecycle.

Tips

  • Keep graph inputs aligned with interface.input.
  • Validate state shape before publishing.
  • Use interactive lifecycle for chat UX and daemon lifecycle for persistent background behavior.