AgentSea.Crew.Supervisor (agentsea_crews v0.1.0)

Copy Markdown

Per-crew supervision subtree: a Task.Supervisor for delegated work, a DynamicSupervisor for the crew's agents, and the coordinator. All three are registered in AgentSea.CrewRegistry keyed by {crew_name, key}.

Summary

Functions

Returns a specification to start this module under a supervisor.

Build a :via tuple for a crew's registered process (:supervisor, :task_sup, :agent_sup, :coordinator).

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(spec)

via(name, key)

Build a :via tuple for a crew's registered process (:supervisor, :task_sup, :agent_sup, :coordinator).