UseDocumentation Index
Fetch the complete documentation index at: https://developers.autoplay.ai/llms.txt
Use this file to discover all available pages before exploring further.
compose_chat_pipeline(...) when you want one callback (pipeline.on_actions) that wires context storage and agent-context writing without callback clobbering.
Import
Signature
llm: async callable(prompt: str) -> str.threshold: summarizer trigger (action count).lookback_seconds,max_actions:AsyncContextStorebounds.write_actions: optional push callback for raw action text.overwrite_with_summary: optional callback invoked when summary is emitted.debounce_ms: forwarded toAsyncAgentContextWriter.
Minimal setup
Ordering guarantee
pipeline.on_actions(payload) runs in canonical order:
context_store.add(payload)updates retrieval state.agent_writer.add(payload)handles push and summary logic.
When to use this helper
- You want the default chat ingestion wiring without hand-rolling callback orchestration.
- You need predictable summary propagation to both storage and UI push callbacks.











