Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 751 Bytes

README.md

File metadata and controls

40 lines (29 loc) · 751 Bytes

Multi-Modality

Dev Swarm

Install

$ pip install dev-swarm

Usage

from dev_swarm import DevSwarm

# Example usage
items = []
module = "docs/swarms/structs"
docs_folder_path = "docs/swarms/structs"
tests_folder_path = "tests/memory"
flow = "FunctionGenerator -> DocumentorAgent -> H -> TesterAgent -> H"

dev_swarm = DevSwarm(
  items=items,
  documentor_agent_name="DocumentorAgent",
  tester_agent_name="TesterAgent",
  function_generator_agent_name="FunctionGenerator",
  max_loops=1,
  module=module,
  docs_folder_path=docs_folder_path,
  tests_folder_path=tests_folder_path,
  flow=flow,
)

output = dev_swarm.run(task="Start your tasks")
print(output)
```