SkillKit.Agent.Supervisor (SkillKit v0.1.0)

Copy Markdown View Source

Top-level supervisor for an agent.

Starts three children under :one_for_one:

  • Registry — process registry for agent components
  • SkillKit.Catalog — provider aggregation, authorization, tool definitions
  • Agent.Core — mailbox, server, subagent supervisor (:rest_for_one)

Receives a %SkillKit.Agent{} struct directly.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(agent)

@spec start_link(SkillKit.Agent.t()) :: Supervisor.on_start()