Ag2 Hitl

Pause an AG2 beta `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 Updated

File contents

ag2ai/build-with-ag2/tree/main/.agents/skills/ag2-hitl commit f301730797

Frequently asked questions

npx skillmds@latest add ag2ai/ag2-hitl-2