Bardo.AgentManager (Bardo v0.1.0)

View Source

Agent Manager module for the Bardo system.

This module is responsible for managing neural network agents, including their creation, evaluation, and lifecycle management.

Summary

Functions

Returns a specification to start this module under a supervisor.

Create a new agent with the specified parameters.

Evaluate an agent in the specified environment.

Start the AgentManager process.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

create_agent(params)

@spec create_agent(map()) :: {:ok, term()} | {:error, term()}

Create a new agent with the specified parameters.

evaluate_agent(agent_id, env_params)

@spec evaluate_agent(term(), map()) :: {:ok, float()} | {:error, term()}

Evaluate an agent in the specified environment.

start_link(args)

@spec start_link(any()) :: GenServer.on_start()

Start the AgentManager process.