wrap()
The single execution primitive in AgentRein. Pass any API client and AgentRein intercepts every method call automatically.Approval Gates with wrap()
PassrequiresApproval with a list of method paths that need human
sign-off before executing.
ApprovalRejectedError is thrown and the session is
automatically rolled back.