Exports
AgentInvoker
Server-bound capability for invoking the compiled root agent. Obtain this object from the owning Harnest API; its constructor includes runtime bindings.Example
Example
AgentInvoker.invoke
Parameters and example
Parameters and example
AgentResponse
Typed outcome returned when a custom endpoint invokes the root agent.— means no declared default):
Parameters and example
Parameters and example
AgentResponse.approval_id
Return the pending human-approval ID when this response requires it.Example
Example
AgentResponse.as_dict
Example
Example
HTTPCallRequest
The routing fields a server interceptor may inspect or replace.— means no declared default):
Parameters and example
Parameters and example
HTTPLifecycleContext
Stable request identity without headers, cookies, bodies, or credentials.— means no declared default):
Parameters and example
Parameters and example
HTTPLifecycleContext.next
Parameters and example
Parameters and example
HTTPLifecycleContext.finish
Parameters and example
Parameters and example
HTTPLifecycleError
An HTTP interceptor returned invalid or unsafe control flow.Example
Example
HTTPResponseHead
A response status and opaque raw headers available before body emission.— means no declared default):
Parameters and example
Parameters and example
HTTPRouteError
An authored HTTP route violates Harnest’s server contract.Example
Example