agents.experiments.dynamic_supervisor_enhancedΒΆ

Enhanced Dynamic Supervisor with self-modification capabilities.

ClassesΒΆ

SelfModifyingSupervisor

A supervisor that can modify its own agent registry based on task requirements.

FunctionsΒΆ

create_agent_management_tools(supervisor_instance)

Create tools that allow the supervisor to manage its own agent registry.

demo_self_modifying_supervisor()

Demo Self Modifying Supervisor.

Module ContentsΒΆ

class agents.experiments.dynamic_supervisor_enhanced.SelfModifyingSupervisor(*args, enable_self_modification=True, **kwargs)ΒΆ

Bases: haive.agents.experiments.dynamic_supervisor.DynamicSupervisorAgent

A supervisor that can modify its own agent registry based on task requirements.

Initialize with self-modification capabilities.

Parameters:

enable_self_modification (bool)

agents.experiments.dynamic_supervisor_enhanced.create_agent_management_tools(supervisor_instance)ΒΆ

Create tools that allow the supervisor to manage its own agent registry.

Return type:

Any

async agents.experiments.dynamic_supervisor_enhanced.demo_self_modifying_supervisor()ΒΆ

Demo Self Modifying Supervisor.