Skip to main content

Module session

Module session 

Source
Expand description

Sessions — durable records of sub-agent working contexts.

Sessions formalize the parent-child agent relationship: a lead agent delegates work by creating scoped sessions for sub-agents, each with their own branch and (optionally) restricted path access.

The type lives in agentstategraph-core so storage backends can implement SessionStore without circular dependencies on the repo crate. The SessionManager in agentstategraph wraps these records with enforcement helpers (e.g. check_scope).

Structs§

Session
A durable agent session record.

Enums§

SessionStatus
Lifecycle state of a persisted session.