Exports
AgentExecutionTimeout
An invocation exceeded its configured deadline.Example
Example
AgentInfo
Portable metadata needed by every Harnest transport.— means no declared default):
Parameters and example
Parameters and example
AgentRuntimeError
A compiled artifact cannot be loaded or served safely.Example
Example
InvocationRequest
The complete input passed from a transport to a runtime driver.— means no declared default):
Parameters and example
Parameters and example
InvocationResult
The normalized result of a non-streaming invocation.— means no declared default):
Parameters and example
Parameters and example
NoCustomerFacingOutputError
Raised when a completed invocation contains no public answer or result.Example
Example
ResponseRequest
Strict Pydantic body accepted by default byPOST /responses.
— means no declared default):
Parameters and example
Parameters and example
RuntimeDriver
The only interface transports require from a framework runtime.Example
Example
RuntimeDriver.info
Return immutable metadata and structured input/output contracts.Example
Example
RuntimeDriver.create_session
Parameters and example
Parameters and example
RuntimeDriver.get_session
Parameters and example
Parameters and example
RuntimeDriver.list_sessions
Parameters and example
Parameters and example
RuntimeDriver.get_session_messages
Parameters and example
Parameters and example
RuntimeDriver.update_session
Parameters and example
Parameters and example
RuntimeDriver.delete_session
Parameters and example
Parameters and example
RuntimeDriver.invoke
Parameters and example
Parameters and example
RuntimeDriver.stream
Parameters and example
Parameters and example
RuntimeDriver.close
Example
Example
RuntimeEvent
Example
Example
SessionConflictError
Raised by a driver when a requested session id already exists.Example
Example
SessionMessage
One portable transcript item with lossless framework-owned metadata.— means no declared default):
Parameters and example
Parameters and example
SessionRecord
A backend-independent view of a persisted agent session.— means no declared default):
Parameters and example
Parameters and example
create_fastapi_app
Build a server with explicit policy and no UI when production assets are absent.Parameters and example
Parameters and example
load_agent_card
Load the compiled YAML or JSON Agent Card.Parameters and example
Parameters and example
load_compiled_agent
Load the selected framework’s managed or advanced target.Parameters and example
Parameters and example
load_compiled_app
Load the native ADK App from an ADK compiled artifact.Parameters and example
Parameters and example
load_compiled_application
Load the application and retain authored namespaces for lazy imports.Parameters and example
Parameters and example
run_agent_message
Run one request through the same driver used by the HTTP server.Parameters and example
Parameters and example