Archive

337 posts · Page 16 of 29. ← Blog

Pratik Dhanave · ·2 min read

Events

Streaming a workflow run so you can watch progress live — built-in lifecycle events plus your own custom ones — all discriminated by a single `.type` string.

Stream a Microsoft Agent Framework workflow with run(stream=True). Every event is one WorkflowEvent keyed by a .type string, plus custom events via ctx.add_event.

Pratik Dhanave · ·2 min read

Human In The Loop

Some steps need a person — request_info suspends the workflow and hands control back to your code, then you resume by re-running with the human's answer keyed by request_id.

request_info suspends the workflow and returns a pending request; you resume by re-running with the human's answer keyed by the same request_id.

Pratik Dhanave · ·2 min read

Frontend Tools

How the server-hosted agent can call a tool that actually runs on the client, and the one flag that makes it work.

Let a server-hosted agent call a client-side tool over AG-UI — the server sets DisableFuncAutoCall and forwards the call to the client, which runs the Go function locally.