Agent libraries
Agent client library
Module map and exact interface links for agent_client; preserve host lifetime, authority, and error contracts.
View Markdown source ↗Typed connection ownership, projection, reconnect and downloads. Keep local drafts separate; replace snapshots and deduplicate stable IDs. Always close owned connections.
Projection.apply_event installs a validated administrative
replacement_snapshot before applying its session.updated payload. Replacement
clears absent/empty child collections and transient/terminal caches, so attached
clients converge after reset without waiting for reconnect. Legacy peers that
ignore the additive field must explicitly refresh their snapshot.
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.