Bardo.AgentManager.AgentWorker (Bardo v0.1.0)

View Source

The AgentWorker is responsible for spawning the Exoself process (genotype) which in turn spawns the Cortex, Sensors, Neurons, Actuator (phenotype) and maybe the private scape.

Summary

Functions

Returns a specification to start this module under a supervisor.

The start_link function spawns the AgentWorker server.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(agent_id, op_mode)

@spec start_link(tuple(), atom()) :: {:ok, pid()}

The start_link function spawns the AgentWorker server.