Opaque reference to a running agent.
Returned by SkillKit.start_agent/2. Used with SkillKit.send_message/2
and SkillKit.stop_agent/1.
Summary
Functions
Builds an AgentRef from an %Agent{} struct (registry already set).
Classifies an agent name relative to a root agent name.
Types
Functions
@spec from_agent(SkillKit.Agent.t()) :: t()
Builds an AgentRef from an %Agent{} struct (registry already set).
Classifies an agent name relative to a root agent name.
Sub-loops are named "<root>/<kind>:<id>" (e.g. "neve/skill:plan",
"neve/delivery:abc"), so the prefix reveals where the name came
from:
:root— the top-level conversation:skill— anactivate_skillsub-loop:delivery— a webhook delivery sub-loop:subloop— any other descendant sub-loop:other— an unrelated agent