Agent libraries
Agent session library
Module map and exact interface links for agent_session; preserve host lifetime, authority, and error contracts.
View Markdown source ↗Single-writer session actors, immutable prompt/workspace revisions, runtime builders, workers, subscriptions, quotas and transitions. Commit state through the actor; keep blocking work outside it.
Administration constructs detached reset/rebuild/upgrade candidates. Commit
prepared candidates through Session_actor.commit_administration, which rechecks
authority/revision/lifecycle and retains the previous state before replacement.
See archive storage and
operator initializer restrictions.
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 |
|---|---|---|
active_calls | contract | source |
administration | contract | source |
chatmd_export | contract | source |
compaction_archive | contract | source |
durable_event_log | contract | source |
history_codec | contract | source |
history_id_source | contract | source |
live_event_buffer | contract | source |
mailbox | contract | source |
memory_backend | contract | source |
operation_worker | contract | source |
permission_policy | contract | source |
permission_reviewer | contract | source |
prompt_catalog | contract | source |
prompt_definition | contract | source |
prompt_revision | contract | source |
prompt_revision_builder | contract | source |
quota_key | contract | source |
quota_manager | contract | source |
runtime_builder | contract | source |
runtime_paths | contract | source |
security_grant | contract | source |
session_actor | contract | source |
session_delta | contract | source |
session_persistence | contract | source |
session_state | contract | source |
session_transition | contract | source |
start_queue | contract | source |
subscriber | contract | source |
turn_worker | contract | source |
workspace_catalog | contract | source |
workspace_cleanup | contract | source |
workspace_definition | contract | source |
workspace_instance | contract | source |
workspace_lease | contract | source |
workspace_resolver | contract | source |