Swarms Project Structure ======================= 1. Core Package (swarms/) ----------------------- ├── agents/ │ ├── agent_judge.py │ ├── agent_print.py │ ├── ape_agent.py │ ├── auto_generate_swarm_config.py │ ├── consistency_agent.py │ ├── create_agents_from_yaml.py │ ├── flexion_agent.py │ ├── gkp_agent.py │ ├── i_agent.py │ ├── openai_assistant.py │ ├── reasoning_agents.py │ ├── reasoning_duo.py │ ├── tool_agent.py │ └── __init__.py ├── prompts/ │ ├── accountant_swarm_prompts.py │ ├── agent_judge_prompt.py │ ├── agent_prompt.py │ ├── agent_prompts.py │ ├── agent_system_prompts.py │ ├── autoswarm.py │ ├── finance_agent_prompt.py │ ├── finance_agent_sys_prompt.py │ ├── math_agent_prompt.py │ ├── security_team.py │ ├── support_agent_prompt.py │ └── many more prompt files... ├── structs/ │ ├── agent.py │ ├── agents_available.py │ ├── agent_registry.py │ ├── agent_roles.py │ ├── agent_router.py │ ├── async_workflow.py │ ├── base_structure.py │ ├── base_swarm.py │ ├── base_workflow.py │ ├── concurrent_workflow.py │ ├── deep_research_swarm.py │ ├── graph_swarm.py │ ├── groupchat.py │ ├── majority_voting.py │ ├── matrix_swarm.py │ ├── mixture_of_agents.py │ ├── sequential_workflow.py │ └── many more structure files... ├── tools/ │ ├── base_tool.py │ ├── mcp_integration.py │ ├── tool_registry.py │ ├── tool_utils.py │ └── many more tool files... ├── utils/ │ ├── any_to_str.py │ ├── file_processing.py │ ├── formatter.py │ ├── loguru_logger.py │ ├── pdf_to_text.py │ └── many more utility files... ├── schemas/ │ ├── agent_input_schema.py │ ├── agent_step_schemas.py │ ├── base_schemas.py │ └── __init__.py ├── telemetry/ │ ├── bootup.py │ ├── main.py │ └── __init__.py ├── client/ │ ├── main.py │ └── __init__.py └── cli/ ├── create_agent.py ├── main.py ├── onboarding_process.py └── __init__.py 2. Examples (examples/) --------------------- ├── advanced_market_analysis/ ├── crypto/ ├── document_processing/ ├── forest_swarm_examples/ ├── groupchat_examples/ ├── healthcare/ ├── mcp_example/ ├── sequential_workflow/ ├── tools_examples/ └── many more example directories... 3. Documentation (docs/) ---------------------- ├── swarms/ ├── swarms_cloud/ ├── swarms_memory/ ├── swarms_platform/ ├── swarms_tools/ └── many more documentation sections... 4. Tests (tests/) --------------- ├── agents/ ├── artifacts/ ├── prompts/ ├── structs/ ├── utils/ └── many more test directories... 5. Configuration Files -------------------- ├── pyproject.toml ├── requirements.txt ├── poetry.lock ├── Dockerfile └── .env.example 6. Main Project Files ------------------- ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md └── SECURITY.md