Documentation ¶ Overview ¶ agent_with_nonblocking_run demonstrates non-blocking Agent.Run: start the run, poll AgentRun.Status while waiting, optionally Cancel after a few polls, wait on Done(), then Get. Uses WithApprovalHandler for tools that require approval. Source Files ¶ View all Source files main.go Click to show internal directories. Click to hide internal directories.