Ved — An HGateway Agent¶
Every Agent automating a task eventually hits a wall it can't cross alone — a refund over the limit, a deploy that needs sign-off, a decision that needs a human's judgment. Crossing that wall is called HITL (human-in-the-loop): the Agent has to hand something to a human and wait for their answer before it can resume.
Most teams build that hand-off by hand, inside the Agent — a raw
interrupt() primitive, a one-off Slack message, no plan for what happens if the
person doesn't answer, no way to reroute it to someone else on-the-fly, nothing learned
from the last hundred times this happened. It works, until it doesn't.
Ved is the HGateway (HITL Gateway) Agent that owns the human interaction layer for your Agent. You hand Ved a typed interrupt, and Ved owns its complete lifecycle from there — delivery through resolution — and resumes your Agent with the response. Your Agent's code goes back to doing the one thing it's actually coded for: its business logic, not babysitting a human interaction.
hgateway-sdk is how your Agent registers HITLs with Ved.
New here? Start with Why hgateway — the problem this solves and what handing HITL to Ved gets you. Then:
- Architecture & Lifecycle — how the pieces fit together across the HITL lifecycle
- Integration Guide — dashboard setup, install and configure the SDK, then the step-by-step to integrate your Agent with Ved
- SDK Reference — full API surface for
hgateway-sdk, the part of Ved you integrate with directly.