Lux.Agent.Supervisor (Lux v0.5.0)

View Source

Supervisor for managing Agent processes. Handles starting, stopping, and monitoring agents.

Summary

Functions

Returns a specification to start this module under a supervisor.

Finds a agent process by its ID.

Lists all running agents.

Starts a new agent process.

Stops a agent process.

Functions

child_spec(arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

find_agent(agent_id)

Finds a agent process by its ID.

list_agents()

Lists all running agents.

start_agent(agent)

Starts a new agent process.

start_link(init_arg)

stop_agent(agent_id)

Stops a agent process.