LMStudio.AdvancedMAS (lmstudio v0.1.0)

Advanced Multi-Agent System with collaborative learning, genetic evolution, and emergent behaviors.

Summary

Types

agent_id()

@type agent_id() :: String.t()

agent_role()

@type agent_role() :: :explorer | :analyzer | :synthesizer | :optimizer | :coordinator

agent_spec()

@type agent_spec() :: %{
  id: agent_id(),
  role: agent_role(),
  pid: pid(),
  genome: genome(),
  performance: float(),
  connections: [agent_id()]
}

genome()

@type genome() :: %{traits: map(), strategies: map(), fitness: float()}

knowledge_atom()

@type knowledge_atom() :: %{
  content: String.t(),
  source: agent_id(),
  confidence: float(),
  timestamp: DateTime.t()
}

state()

@type state() :: %{
  agents: %{required(agent_id()) => agent_spec()},
  knowledge_base: [knowledge_atom()],
  evolution_params: map(),
  interaction_log: list(),
  emergent_patterns: map(),
  generation: integer()
}

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

create_swarm(size, opts \\ [])

detect_emergent_patterns()

evolve_generation()

get_system_state()

share_knowledge(from_agent, to_agent, knowledge)

start_link(opts \\ [])

visualize_network()