Nous.AgentDynamicSupervisor (nous v0.13.3)

View Source

DynamicSupervisor for starting and managing AgentServer processes.

Summary

Functions

Returns a specification to start this module under a supervisor.

Find an agent process by session ID.

Start an AgentServer under this supervisor, registered in AgentRegistry.

Stop an agent by session ID.

Functions

child_spec(arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

find_agent(session_id)

Find an agent process by session ID.

start_agent(session_id, agent_config, opts \\ [])

Start an AgentServer under this supervisor, registered in AgentRegistry.

Options

Accepts all options supported by Nous.AgentServer.start_link/1.

start_link(opts)

stop_agent(session_id)

Stop an agent by session ID.