Agent libraries
Agent protocol library
Module map and exact interface links for agent_protocol; preserve host lifetime, authority, and error contracts.
View Markdown source ↗Closed protocol envelopes, identifiers, requests/results, events, pagination, history and security projections. Codecs own wire validation; transports do not add methods.
Administrative session.updated payloads may include an additive
replacement_snapshot. Event.Durable.replacement_snapshot validates its session
identity, revision and cursor against that individual event. Older payloads
without the field remain valid; it does not introduce a new event kind.
See embedding, protocol and the implementation specification. Public interfaces are the exact callable API; the table below is the complete module inventory for this library. Follow each interface for preconditions, resource ownership, return types and cancellation/error behavior.
| Module | Interface | Implementation |
|---|---|---|
audit | contract | source |
blob | contract | source |
command | contract | source |
envelope | contract | source |
error | contract | source |
event | contract | source |
grant | contract | source |
health | contract | source |
history | contract | source |
id | contract | source |
idempotency_key | contract | source |
initialize | contract | source |
job | contract | source |
json_codec | contract | source |
method_result | contract | source |
mutation_result | contract | source |
operation | contract | source |
page | contract | source |
permission | contract | source |
ping | contract | source |
principal | contract | source |
prompt | contract | source |
protocol_error | contract | source |
schedule | contract | source |
scope | contract | source |
session | contract | source |
snapshot | contract | source |
timestamp | contract | source |
version | contract | source |
workspace | contract | source |