Skip to content

Models

Pydantic data models for gateway payloads. Every gateway request and response that crosses the SDK ↔ gateway boundary is represented by one of these models — there are no untyped dict[str, Any] payloads in the public API.

Models

Model Purpose
AgentConfig Configuration sent to the gateway when an agent registers.
AgentState Current state snapshot returned by the gateway for an agent.
PolicyEvaluation Result of a single policy evaluation (allow / deny + reason + policy id).

agent_assembly.models

Data models for Agent Assembly SDK.

AgentConfig

Bases: BaseModel

Configuration for an agent.

AgentState

Bases: BaseModel

Current state of an agent.

PolicyEvaluation

Bases: BaseModel

Result of a policy evaluation.