Ag2 Hitl

Pause an AG2 `Agent` mid-run to collect human input via `context.input()`, or gate a tool call with `approval_required()` middleware. Use when the user wants the agent to ask for confirmation, request missing info (passwords, API keys, data), or have a human approve sensitive / irreversible / expensive tool calls (sending emails, deleting records, payments).

ag2ai 678f9be 6.9 KB Updated

File contents

ag2ai/ag2-skills/tree/main/skills/ag2-hitl commit 678f9be016

Frequently asked questions

npx skillmds@latest add ag2ai/ag2-hitl