Skip to main content

Module agent_registry

Module agent_registry 

Source
Expand description

Agent registry: lightweight discovery index for parallel agent sessions.

Stores one TOML file per active agent in .heddle/agents/<session-id>.toml. The registry does NOT manage worktrees or refs — those remain independent. It exists purely so an orchestrator can query which agents are in flight.

Structs§

ActorChainNode
One hop in an actor ancestry chain, ordered root to leaf.
AgentEntry
A registry entry describing one active (or recently finished) agent session.
AgentRegistry
Manages agent registry entries stored in .heddle/agents/.
AgentUsageSummary
ContextQueryEntry
A record of one heddle context get call made during an agent session.

Enums§

AgentStatus
Status of an agent session.
ReserveOutcome
Outcome of an attempt to reserve an active session on a thread.

Functions§

generate_agent_id
Generate a unique agent session identifier.