Operate

Runtime

Invoke, stream, and extract final text.

TeamApp and MultiAgentRuntime wrap invoke and stream. Nested streaming uses subgraphs=True by default on the team facade.

  • app.chat(message) — convenience text in / text out
  • app.runtime.ainvoke / astream
  • MultiAgentRuntime.final_text uses last_nonempty_text so an empty model reply after hand-back does not wipe the specialist's answer

Nested tool invokes forward ambient config via ensure_config() for tracing and interrupts.