#202 by GitHub stars
kyegomez/swarms
The Enterprise-Grade Multi-Agent Orchestration Framework. Website: https://swarms.ai
History
Review weekly changes to SKILL.md before updating. Dates mark the weeks in which we observed each version; checks apply to the recorded commits.
View weekly changes
SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Network or broad shell → After Network or broad shell
d715975065b5 → 0023748f866e
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Network or broad shell
First observation → d715975065b5
No earlier version was observed for comparison.
examples/single_agent/capabilities/skills/code-review/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Instructions only → After Instructions only
d715975065b5 → 0023748f866e
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → d715975065b5
No earlier version was observed for comparison.
examples/single_agent/capabilities/skills/data-visualization/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Instructions only → After Instructions only
d715975065b5 → 0023748f866e
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → d715975065b5
No earlier version was observed for comparison.
examples/single_agent/capabilities/skills/financial-analysis/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Instructions only → After Instructions only
d715975065b5 → 0023748f866e
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → d715975065b5
No earlier version was observed for comparison.
examples/single_agent/capabilities/skills/multiple_skill_dirs/my_skills/commit-messages/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Instructions only → After Instructions only
d715975065b5 → 0023748f866e
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → d715975065b5
No earlier version was observed for comparison.
examples/single_agent/capabilities/skills/multiple_skill_dirs/team_skills/code-review/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Instructions only → After Instructions only
d715975065b5 → 0023748f866e
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → d715975065b5
No earlier version was observed for comparison.
Verified commit 0023748f866e99bb048100c629a89c8953088ed8
git clone --filter=blob:none --no-checkout https://github.com/kyegomez/swarms.git .hotskills/kyegomez-swarms && git -C .hotskills/kyegomez-swarms checkout --detach 0023748f866e99bb048100c629a89c8953088ed8
# Copy each selected skill directory from .hotskills/kyegomez-swarms into .claude/skills/<skill-name>/git clone --filter=blob:none --no-checkout https://github.com/kyegomez/swarms.git .hotskills/kyegomez-swarms && git -C .hotskills/kyegomez-swarms checkout --detach 0023748f866e99bb048100c629a89c8953088ed8
# Copy each selected skill directory from .hotskills/kyegomez-swarms into .agents/skills/<skill-name>/git clone --filter=blob:none --no-checkout https://github.com/kyegomez/swarms.git .hotskills/kyegomez-swarms && git -C .hotskills/kyegomez-swarms checkout --detach 0023748f866e99bb048100c629a89c8953088ed8
# Copy each selected skill directory from .hotskills/kyegomez-swarms into .github/skills/<skill-name>/Heat
5.8- Star growth, last 7 daysAhead of 61% of tracked repositories
- Star growth, last 24 hoursAhead of 70% of tracked repositories
- Rank movement, last 7 daysAhead of 55% of tracked repositories
- Commits, last 30 daysAhead of 97% of tracked repositories
- Accounts asking about it through MCP, last 7 daysNot available
- Hot votes this weekAhead of 0% of tracked repositories
Heat never changes the order by stars, and sponsorship never touches it. How heat works
Stars over time
Individual skills in this repository
- swarms
/ - code-review
examples/single_agent/capabilities/skills/code-review - data-visualization
examples/single_agent/capabilities/skills/data-visualization - financial-analysis
examples/single_agent/capabilities/skills/financial-analysis - commit-messages
examples/single_agent/capabilities/skills/multiple_skill_dirs/my_skills/commit-messages - code-review
examples/single_agent/capabilities/skills/multiple_skill_dirs/team_skills/code-review
How it works
swarms
When your agent uses it
Build agents and multi-agent systems with the Swarms framework — the Agent class, tools, autonomous loops, memory, and the 15+ multi-agent architectures (SequentialWorkflow, ConcurrentWorkflow, GraphWorkflow, HierarchicalSwarm, SwarmRouter, and more). Use whenever writing, reviewing, or debugging code that imports `swarms`.
What it loads into context
Frontmatter
76 tokensAlways available to the agent
SKILL.md
5,966 tokensWhen the skill is activated
Reference documents
162,152 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Live documentation
- Golden rules
- Setup
- Choosing one
- SequentialWorkflow
- ConcurrentWorkflow
- AgentRearrange — flow DSL
- GraphWorkflow — DAG
- SwarmRouter — one entry point
- MixtureOfAgents
- HierarchicalSwarm
- GroupChat
- MajorityVoting
- CouncilAsAJudge
- DebateWithJudge
- HeavySwarm
- PlannerWorkerSwarm
- Others
- Scheduling
- Loading agents from files
- Production configuration
- Debugging
- Reference
Scripts executed separately
Dockerfileexample.pyexamples/changelogs/880_update_changelog_examples/01_marketplace_prompt_fetching.pyexamples/changelogs/880_update_changelog_examples/02_round_robin_swarm_routing.pyexamples/changelogs/880_update_changelog_examples/03_graph_workflow_rustworkx.pyexamples/changelogs/880_update_changelog_examples/04_agent_rearrange.pyexamples/changelogs/880_update_changelog_examples/05_nested_swarms.pyexamples/changelogs/880_update_changelog_examples/06_spreadsheet_swarm.pyexamples/changelogs/880_update_changelog_examples/07_model_router.pyexamples/changelogs/880_update_changelog_examples/08_self_moa_seq.pyexamples/changelogs/880_update_changelog_examples/09_single_voice_agent.pyexamples/changelogs/880_update_changelog_examples/10_multi_agent_voice_debate.pyexamples/changelogs/880_update_changelog_examples/11_hierarchical_voice_swarm.pyexamples/changelogs/880_update_changelog_examples/12_debate_with_judge.pyexamples/changelogs/880_update_changelog_examples/13_council_as_judge.pyexamples/changelogs/880_update_changelog_examples/14_swarm_router_round_robin.pyexamples/changelogs/880_update_changelog_examples/15_graph_workflow_batch_agents.pyexamples/changelogs/880_update_changelog_examples/autosaving_example.pyexamples/changelogs/v11_update/advisor_swarm_basic.pyexamples/changelogs/v11_update/advisor_swarm_custom_agents.pyexamples/changelogs/v11_update/agent_rearrange_batch_run.pyexamples/changelogs/v11_update/agent_rearrange_repeated_flow.pyexamples/changelogs/v11_update/conversation_cache_example.pyexamples/changelogs/v11_update/env_loading_example.pyexamples/changelogs/v11_update/graph_workflow_checkpoint.pyexamples/changelogs/v11_update/graph_workflow_serialization.pyexamples/changelogs/v11_update/heavy_swarm_16_agents.pyexamples/changelogs/v11_update/heavy_swarm_grok_basic.pyexamples/changelogs/v11_update/heavy_swarm_grok_router.pyexamples/changelogs/v11_update/hierarchical_swarm_example.pyexamples/changelogs/v11_update/planner_generator_evaluator_basic.pyexamples/changelogs/v11_update/planner_generator_evaluator_with_tools.pyexamples/changelogs/v11_update/planner_worker_swarm_basic.pyexamples/changelogs/v11_update/planner_worker_task_schema.pyexamples/changelogs/v11_update/sequential_workflow_drift_detection.pyexamples/changelogs/v12_update/01_persistent_memory.pyexamples/changelogs/v12_update/02_context_compression.pyexamples/changelogs/v12_update/03_grep_tool_autonomous_loop.pyexamples/changelogs/v12_update/04_conversation_memory_compact.pyexamples/changelogs/v12_update/05_graph_workflow_callbacks.pyexamples/changelogs/v12_update/06_arun_stream.pyexamples/changelogs/v12_update/07_interactive_mode.pyexamples/changelogs/v12_update/byzantine_consensus.pyexamples/changelogs/v13/agent_lookup_helpers_example.pyexamples/changelogs/v13/agent_rearrange_flow_example.pyexamples/changelogs/v13/agent_tools_default_example.pyexamples/changelogs/v13/cli_examples.shexamples/changelogs/v13/graph_workflow_composition_example.pyexamples/changelogs/v13/groupchat_self_selecting_example.pyexamples/changelogs/v13/heavy_swarm_variant_example.pyexamples/changelogs/v13/round_robin_rotation_example.pyexamples/changelogs/v13/sequential_workflow_streaming_example.pyexamples/changelogs/v13/swarm_router_groupchat_example.pyexamples/changelogs/v14-zena/01_opentelemetry_tracing.pyexamples/changelogs/v14-zena/02_instrument_custom_harness.pyexamples/changelogs/v14-zena/03_mcp_manager.pyexamples/changelogs/v14-zena/04_auto_agent_builder.pyexamples/changelogs/v14-zena/05_auction_swarm.pyexamples/changelogs/v14-zena/06_groupchat_turn_based.pyexamples/changelogs/v14-zena/07_hierarchical_swarm_recovery.pyexamples/changelogs/v14-zena/09_class_to_pydantic.pyexamples/changelogs/v14-zena/10_concurrent_workflow_on_error.pyexamples/changelogs/v14-zena/11_graph_workflow.pyexamples/changelogs/v14-zena/12_thread_pool_sizing.pyexamples/changelogs/v14-zena/13_agent_loader_csv.pyexamples/changelogs/v9_examples/autonomous_looper.pyexamples/changelogs/v9_examples/example_autonomous_looper_tools.pyexamples/changelogs/v9_examples/example_sub_agents.pyexamples/channel_examples/agent_channel.pyexamples/channel_examples/agent_rearrange_channel.pyexamples/channel_examples/agentmail_channel_example.pyexamples/channel_examples/concurrent_workflow_channel.pyexamples/channel_examples/graph_workflow_channel.pyexamples/channel_examples/groupchat_channel.pyexamples/channel_examples/hierarchical_swarm_channel.pyexamples/channel_examples/http_channel_example.pyexamples/channel_examples/http_channel_server.pyexamples/channel_examples/majority_voting_channel.pyexamples/channel_examples/mixture_of_agents_channel.pyexamples/channel_examples/planner_worker_swarm_channel.pyexamples/channel_examples/queue_channel_example.pyexamples/channel_examples/resume_channel.pyexamples/channel_examples/sequential_workflow_channel.pyexamples/channel_examples/smtp_channel_example.pyexamples/channel_examples/sqlite_channel.pyexamples/channel_examples/sqlite_channel_example.pyexamples/channel_examples/swarm_router_channel.pyexamples/cli/01_setup_check.shexamples/cli/02_onboarding.shexamples/cli/03_get_api_key.shexamples/cli/04_check_login.shexamples/cli/05_create_agent.shexamples/cli/06_run_agents_yaml.shexamples/cli/07_load_markdown.shexamples/cli/08_llm_council.shexamples/cli/09_heavy_swarm.shexamples/cli/10_autoswarm.shexamples/cli/11_features.shexamples/cli/12_help.shexamples/cli/13_auto_upgrade.shexamples/cli/14_book_call.shexamples/cli/research_agent_example.shexamples/cli/run_all_examples.shexamples/decision_models/calibrated_ensemble_judge.pyexamples/decision_models/debate_referee_early_stop.pyexamples/decision_models/decision_model_agent_router.pyexamples/decision_models/decision_screening_funnel.pyexamples/decision_models/get_decision_models_example.pyexamples/decision_models/guarded_group_chat.pyexamples/decision_models/openai_decisions.pyexamples/decision_models/simple_openai.pyexamples/decision_models/system_one_director_swarm.pyexamples/decision_models/typesafe_ticket_triage.pyexamples/guides/840_update/agent_rearrange_concurrent_example.pyexamples/guides/840_update/auto_swarm_builder_example.pyexamples/guides/840_update/fallback_example.pyexamples/guides/850_workshop/moa_seq_example.pyexamples/guides/850_workshop/peer_review_example.pyexamples/guides/850_workshop/test_agent_concurrent.pyexamples/guides/agentsh_implementation/agentsh.pyexamples/guides/changelog_890/01_dynamic_skills_loader.pyexamples/guides/changelog_890/02_autonomous_agent_loop.pyexamples/guides/changelog_890/03_agent_handoffs.pyexamples/guides/changelog_890/04_api_key_validation.pyexamples/guides/changelog_890/05_max_loops_parameter.pyexamples/guides/changelog_890/06_multi_tool_agent_tutorial.pyexamples/guides/changelog_890/07_hierarchical_voice_agent.pyexamples/guides/changelog_890/08_agent_rearrange_patterns.pyexamples/guides/demos/agent_with_fluidapi.pyexamples/guides/demos/apps/hiring_swarm.pyexamples/guides/demos/apps/smart_database_swarm.pyexamples/guides/demos/chart_swarm.pyexamples/guides/demos/crypto/dao_swarm.pyexamples/guides/demos/crypto/ethchain_agent.pyexamples/guides/demos/crypto/htx_swarm.pyexamples/guides/demos/crypto/swarms_coin_agent.pyexamples/guides/demos/crypto/swarms_coin_multimarket.pyexamples/guides/demos/cuda_swarm.pyexamples/guides/demos/finance/sentiment_news_analysis.pyexamples/guides/demos/hackathon_feb16/fraud.pyexamples/guides/demos/hackathon_feb16/sarasowti.pyexamples/guides/demos/insurance/insurance_swarm.pyexamples/guides/demos/legal/legal_swarm.pyexamples/guides/demos/medical/health_privacy_swarm.pyexamples/guides/demos/medical/health_privacy_swarm_two.pyexamples/guides/demos/medical/medical_coder_agent.pyexamples/guides/demos/medical/new_medical_rearrange.pyexamples/guides/demos/medical/ollama_demo.pyexamples/guides/demos/medical/rearrange_video_examples/term_sheet_swarm.pyexamples/guides/demos/news_aggregator_summarizer.pyexamples/guides/demos/privacy_building.pyexamples/guides/demos/real_estate/morgtate_swarm.pyexamples/guides/demos/real_estate/real_estate_agent.pyexamples/guides/demos/real_estate/realtor_agent.pyexamples/guides/demos/science/materials_science_agents.pyexamples/guides/demos/science/open_scientist.pyexamples/guides/demos/science/paper_idea_agent.pyexamples/guides/demos/science/paper_idea_profile.pyexamples/guides/demos/spike/agent_rearrange_test.pyexamples/guides/demos/spike/function_caller_example.pyexamples/guides/demos/spike/memory.pyexamples/guides/demos/spike/test.pyexamples/guides/demos/synthetic_data/profession_sim/convert_json_to_csv.pyexamples/guides/demos/synthetic_data/profession_sim/format_prompt.pyexamples/guides/demos/synthetic_data/profession_sim/profession_persona_generator.pyexamples/guides/deployment/cron_job_examples/callback_cron_example.pyexamples/guides/deployment/cron_job_examples/cron_job_example.pyexamples/guides/deployment/cron_job_examples/cron_job_figma_stock_swarms_tools_example.pyexamples/guides/deployment/cron_job_examples/crypto_concurrent_cron_example.pyexamples/guides/deployment/cron_job_examples/figma_stock_example.pyexamples/guides/deployment/cron_job_examples/multi_agent_schedules_cron.pyexamples/guides/deployment/cron_job_examples/non_blocking_cron.pyexamples/guides/deployment/cron_job_examples/one_agent_many_tasks_cron.pyexamples/guides/deployment/cron_job_examples/resilient_cron.pyexamples/guides/deployment/cron_job_examples/simple_callback_example.pyexamples/guides/deployment/cron_job_examples/simple_concurrent_crypto_cron.pyexamples/guides/deployment/cron_job_examples/single_agent_cron.pyexamples/guides/deployment/cron_job_examples/solana_price_tracker.pyexamples/guides/deployment/fastapi/fastapi_agent_api_example.pyexamples/guides/fairy_swarm/fairy_swarm.pyexamples/guides/fairy_swarm/fairy_swarm_examples/analytical_research.pyexamples/guides/fairy_swarm/fairy_swarm_examples/basic_fairy_swarm.pyexamples/guides/fairy_swarm/fairy_swarm_examples/custom_fairy.pyexamples/guides/fairy_swarm/fairy_swarm_examples/custom_tools.pyexamples/guides/fairy_swarm/fairy_swarm_examples/multi_page_wireframe.pyexamples/guides/fairy_swarm/fairy_swarm_examples/selected_fairies.pyexamples/guides/fairy_swarm/fairy_swarm_examples/standalone_tools.pyexamples/guides/generation_length_blog/longform_generator.pyexamples/guides/generation_length_blog/universal_api.pyexamples/guides/geo_guesser_agent/geo_guesser_agent.pyexamples/guides/graphworkflow_guide/comprehensive_demo.pyexamples/guides/graphworkflow_guide/quick_start_guide.pyexamples/guides/hackathon_judge_agent/hackathon_judger_agent.pyexamples/guides/hackathons/hackathon_sep_27/api_client.pyexamples/guides/hackathons/hackathon_sep_27/diet_coach_agent.pyexamples/guides/hackathons/hackathon_sep_27/nutritional_content_analysis_swarm.pyexamples/guides/hackathons/hackathon_sep_27/nutritonal_content_analysis_swarm.shexamples/guides/hiearchical_marketing_team.pyexamples/guides/mem0/mem0_and_swarms.pyexamples/guides/nano_banana_jarvis_agent/img_gen_nano_banana.pyexamples/guides/nano_banana_jarvis_agent/jarvis_agent.pyexamples/guides/voice_agents/voice_agents_examples/agent_speech.pyexamples/guides/voice_agents/voice_agents_examples/agent_with_speech.pyexamples/guides/voice_agents/voice_agents_examples/debate_with_speech.pyexamples/guides/voice_agents/voice_agents_examples/google_calendar_agent.pyexamples/guides/voice_agents/voice_agents_examples/hiearchical_speech_swarm.pyexamples/guides/voice_agents/voice_agents_examples/run_auto_agent_with_speech.pyexamples/guides/web_scraper_agents/batched_scraper_agent.pyexamples/guides/web_scraper_agents/web_scraper_agent.pyexamples/guides/workshops/workshop_sep_20/agent_tools_dict_example.pyexamples/guides/workshops/workshop_sep_20/batched_grid_simple_example.pyexamples/guides/workshops/workshop_sep_20/geo_guesser_agent.pyexamples/guides/workshops/workshop_sep_20/jarvis_agent.pyexamples/guides/x402_examples/agent_integration/x402_agent_buying.pyexamples/guides/x402_examples/agent_integration/x402_discovery_query.pyexamples/guides/x402_examples/memecoin_agent_x402.pyexamples/guides/x402_examples/research_agent_x402_example.pyexamples/mcp/agents/01_deepwiki_repo_qa.pyexamples/mcp/agents/02_gitmcp_repo_docs.pyexamples/mcp/agents/03_microsoft_learn_docs.pyexamples/mcp/agents/04_multi_server_agent.pyexamples/mcp/agents/05_exa_web_search.pyexamples/mcp/agents/07_huggingface_model_search.pyexamples/mcp/agents/10_firecrawl_web_scraping.pyexamples/mcp/agents/12_semgrep_security_scan.pyexamples/mcp/agents/13_mcp_sequential_workflow.pyexamples/mcp/agents/autonomous_agent_dynamic_tools.pyexamples/mcp/agents/deepwiki_minimal.pyexamples/mcp/agents/finance_agent_mcp.pyexamples/mcp/agents/mcp_connection_object.pyexamples/mcp/agents/mcp_with_local_tools.pyexamples/mcp/agents/multi_mcp_urls.pyexamples/mcp/agents/multi_mcp_walkthrough.pyexamples/mcp/agents/tools_list_dictionary.pyexamples/mcp/client/01_list_tools.pyexamples/mcp/client/02_call_tool.pyexamples/mcp/client/03_execute_llm_tool_calls.pyexamples/mcp/client/04_multi_server.pyexamples/mcp/client/05_auth_and_config.pyexamples/mcp/client/06_remote_agents.pyexamples/mcp/mcp_deployer/background_server_and_client_agent.pyexamples/mcp/mcp_deployer/custom_auth_per_tenant.pyexamples/mcp/mcp_deployer/env_keys_and_extra_tools.pyexamples/mcp/mcp_deployer/multiple_agents_one_server.pyexamples/mcp/mcp_deployer/owner_key_or_tenant_auth.pyexamples/mcp/mcp_deployer/plain_function_json_response.pyexamples/mcp/mcp_deployer/sequential_workflow_as_tool.pyexamples/mcp/mcp_deployer/single_agent_api_key.pyexamples/mcp/mcp_deployer/sse_transport.pyexamples/mcp/mcp_deployer/stdio_transport.pyexamples/mcp/mcp_deployer/token_verifier_with_scopes.pyexamples/mcp/servers/agent_as_tool_server.pyexamples/mcp/servers/crypto_price_server.pyexamples/mcp/servers/okx_crypto_server.pyexamples/mcp/servers/streamable_http_server.pyexamples/models/anthropic/claude_4.pyexamples/models/anthropic/claude_4_example.pyexamples/models/anthropic/fable_agent.pyexamples/models/anthropic/fable_example.pyexamples/models/anthropic/swarms_claude_example.pyexamples/models/azure/azure_agent.pyexamples/models/azure/azure_agent_api_verison.pyexamples/models/azure/azure_model_support.pyexamples/models/cerebras/cerebras_example.pyexamples/models/custom_llm/base_llm.pyexamples/models/deepseek/deepseek_r1.pyexamples/models/deepseek/fast_r1_groq.pyexamples/models/deepseek/groq_deepseek_agent.pyexamples/models/gpt_astra/gpt_astra.pyexamples/models/gpt_astra/gpt_astra_usage.pyexamples/models/gpt_astra/swarms_api_mixture_of_agents.pyexamples/models/gpt_astra/swarms_api_single_agent.pyexamples/models/gpt_oss/gpt_os_agent.pyexamples/models/gpt_oss/groq_gpt_oss_models.pyexamples/models/gpt_oss/multi_agent_gpt_oss_example.pyexamples/models/llama4/litellm_example.pyexamples/models/llama4/llama_4.pyexamples/models/llama4/simple_agent.pyexamples/models/lumo/lumo_example.pyexamples/models/mistral/mistral_example.pyexamples/models/moonshot/kimi_k3_local.pyexamples/models/moonshot/kimi_k3_or.pyexamples/models/ollama/kimi_k3_local_agent.pyexamples/models/ollama/simple_example_ollama.pyexamples/models/openai/4o_mini_demo.pyexamples/models/openai/5.4_openai.pyexamples/models/openai/concurrent_gpt5.pyexamples/models/openai/example_o3.pyexamples/models/openai/gpt_5.6_sol.pyexamples/models/openai/gpt_5_example.pyexamples/models/openai/o3_agent.pyexamples/models/openai/reasoning_duo_batched.pyexamples/models/openai/test_async_litellm.pyexamples/models/openrouter/glm_or.pyexamples/models/openrouter/groupchat_or.pyexamples/models/openrouter/hy3_or.pyexamples/models/openrouter/k3_kimi.pyexamples/models/openrouter/k3_kimi_example.pyexamples/models/openrouter/kimi_k3_single_agent.pyexamples/models/openrouter/minimax.pyexamples/models/qwen/qwen_3_base.pyexamples/models/vllm/vllm_example.pyexamples/models/vllm/vllm_wrapper.pyexamples/multi_agent/advisor_swarm_examples/advisor_swarm_example.pyexamples/multi_agent/agent_grpo_examples/agent_grpo_math_example.pyexamples/multi_agent/agent_grpo_examples/agent_grpo_physics_example.pyexamples/multi_agent/agent_rearrange_examples/01_fan_out.pyexamples/multi_agent/agent_rearrange_examples/02_fan_in.pyexamples/multi_agent/agent_rearrange_examples/03_multi_stage.pyexamples/multi_agent/agent_rearrange_examples/04_multi_provider_ensemble.pyexamples/multi_agent/agent_rearrange_examples/05_new_features_showcase.pyexamples/multi_agent/agent_rearrange_examples/batch_run_concurrent_example.pyexamples/multi_agent/agent_rearrange_examples/diamond_flow_real_agents.pyexamples/multi_agent/agent_rearrange_examples/nested_swarms_demo.pyexamples/multi_agent/agent_rearrange_examples/rearrange_test.pyexamples/multi_agent/agent_rearrange_examples/refactor_smoke_example.pyexamples/multi_agent/agent_router_examples/agent_router_example.pyexamples/multi_agent/agent_router_examples/refactor_smoke_example.pyexamples/multi_agent/aggregate_examples/aggregate_typed_turns_example.pyexamples/multi_agent/alternate_debates/brainstorming_session.pyexamples/multi_agent/alternate_debates/council_meeting.pyexamples/multi_agent/alternate_debates/interview_series.pyexamples/multi_agent/alternate_debates/mediation_session.pyexamples/multi_agent/alternate_debates/mentorship_session.pyexamples/multi_agent/alternate_debates/negotiation_session.pyexamples/multi_agent/alternate_debates/peer_review_process.pyexamples/multi_agent/alternate_debates/trial_simulation.pyexamples/multi_agent/asb/asb_research.pyexamples/multi_agent/asb/auto_agent.pyexamples/multi_agent/asb/auto_swarm_builder_example.pyexamples/multi_agent/asb/auto_swarm_builder_spec_only_example.pyexamples/multi_agent/asb/auto_swarm_builder_test.pyexamples/multi_agent/asb/auto_swarm_router.pyexamples/multi_agent/asb/content_creation_asb.pyexamples/multi_agent/auction_swarm_examples/basic_auction.pyexamples/multi_agent/auction_swarm_examples/batch_auction.pyexamples/multi_agent/auction_swarm_examples/custom_scoring_auction.pyexamples/multi_agent/auto_agent_builder_examples/auto_agent_builder_example.pyexamples/multi_agent/auto_agent_builder_examples/auto_agent_builder_simple.pyexamples/multi_agent/auto_agent_builder_examples/concurrent_workflow.pyexamples/multi_agent/auto_agent_builder_examples/exact_agent_count.pyexamples/multi_agent/auto_agent_builder_examples/save_and_reuse_roster.pyexamples/multi_agent/auto_agent_builder_examples/swarm_router_handoff.pyexamples/multi_agent/batched_grid_workflow/batched_grid_advanced_example.pyexamples/multi_agent/batched_grid_workflow/batched_grid_simple_example.pyexamples/multi_agent/batched_grid_workflow/batched_grid_swarm_router.pyexamples/multi_agent/batched_grid_workflow/batched_grid_workflow_example.pyexamples/multi_agent/broadcast_examples/broadcast_class_example.pyexamples/multi_agent/broadcast_examples/broadcast_function_example.pyexamples/multi_agent/caching_examples/example_multi_agent_caching.pyexamples/multi_agent/caching_examples/quick_start_agent_caching.pyexamples/multi_agent/concurrent_examples/asi.pyexamples/multi_agent/concurrent_examples/concurrent_example.pyexamples/multi_agent/concurrent_examples/concurrent_example_dashboard.pyexamples/multi_agent/concurrent_examples/concurrent_mix.pyexamples/multi_agent/concurrent_examples/concurrent_swarm_example.pyexamples/multi_agent/concurrent_examples/concurrent_workflow_autosave_example.pyexamples/multi_agent/concurrent_examples/concurrent_workflow_random_example.pyexamples/multi_agent/concurrent_examples/example_concurrent.pyexamples/multi_agent/concurrent_examples/streaming_callback/example_streaming_workflow.pyexamples/multi_agent/concurrent_examples/streaming_callback/parallel_search_agents.pyexamples/multi_agent/concurrent_examples/streaming_concurrent_workflow.pyexamples/multi_agent/council/judges/council_judge_basic.pyexamples/multi_agent/council/judges/council_judge_complex_example.pyexamples/multi_agent/council/judges/council_judge_custom_example.pyexamples/multi_agent/council/judges/council_judge_evaluation.pyexamples/multi_agent/council/judges/council_judge_example.pyexamples/multi_agent/council/judges/council_of_judges_eval.pyexamples/multi_agent/council/llm_council/business_strategy_council.pyexamples/multi_agent/council/llm_council/etf_stock_analysis_council.pyexamples/multi_agent/council/llm_council/finance_analysis_council.pyexamples/multi_agent/council/llm_council/legal_analysis_council.pyexamples/multi_agent/council/llm_council/llm_council_example.pyexamples/multi_agent/council/llm_council/marketing_strategy_council.pyexamples/multi_agent/council/llm_council/medical_diagnosis_council.pyexamples/multi_agent/council/llm_council/medical_treatment_council.pyexamples/multi_agent/council/llm_council/research_analysis_council.pyexamples/multi_agent/council/llm_council/technology_assessment_council.pyexamples/multi_agent/debate_examples/business_strategy_debate_example.pyexamples/multi_agent/debate_examples/debate_with_judge_example.pyexamples/multi_agent/debate_examples/policy_debate_example.pyexamples/multi_agent/debate_examples/technical_architecture_debate_example.pyexamples/multi_agent/election_swarm_examples/apple_board_election_example.pyexamples/multi_agent/election_swarm_examples/election_example.pyexamples/multi_agent/forest_swarm_examples/forest_swarm_example.pyexamples/multi_agent/forest_swarm_examples/fund_manager_forest.pyexamples/multi_agent/forest_swarm_examples/medical_forest_swarm.pyexamples/multi_agent/forest_swarm_examples/tree_example.pyexamples/multi_agent/forest_swarm_examples/tree_swarm_test.pyexamples/multi_agent/graphworkflow_examples/advanced_graph_workflow.pyexamples/multi_agent/graphworkflow_examples/graph/graph_workflow_basic.pyexamples/multi_agent/graphworkflow_examples/graph/graph_workflow_example.pyexamples/multi_agent/graphworkflow_examples/graph_workflow_basic.pyexamples/multi_agent/graphworkflow_examples/graph_workflow_basic_new.pyexamples/multi_agent/graphworkflow_examples/graph_workflow_checkpointing.pyexamples/multi_agent/graphworkflow_examples/graph_workflow_composition.pyexamples/multi_agent/graphworkflow_examples/graph_workflow_example.pyexamples/multi_agent/graphworkflow_examples/graph_workflow_fanout_fanin.pyexamples/multi_agent/graphworkflow_examples/graph_workflow_serialization.pyexamples/multi_agent/graphworkflow_examples/graph_workflow_streaming.pyexamples/multi_agent/graphworkflow_examples/graph_workflow_validate.pyexamples/multi_agent/graphworkflow_examples/graph_workflow_validation.pyexamples/multi_agent/graphworkflow_examples/rustworkx_examples/01_basic_usage.pyexamples/multi_agent/graphworkflow_examples/rustworkx_examples/02_backend_comparison.pyexamples/multi_agent/graphworkflow_examples/rustworkx_examples/03_fan_out_fan_in_patterns.pyexamples/multi_agent/graphworkflow_examples/rustworkx_examples/04_complex_workflow.pyexamples/multi_agent/graphworkflow_examples/rustworkx_examples/05_performance_benchmark.pyexamples/multi_agent/graphworkflow_examples/rustworkx_examples/06_error_handling.pyexamples/multi_agent/graphworkflow_examples/rustworkx_examples/07_large_scale_workflow.pyexamples/multi_agent/graphworkflow_examples/rustworkx_examples/08_parallel_chain_example.pyexamples/multi_agent/graphworkflow_examples/rustworkx_examples/09_workflow_validation.pyexamples/multi_agent/graphworkflow_examples/rustworkx_examples/10_real_world_scenario.pyexamples/multi_agent/graphworkflow_examples/test_parallel_processing_example.pyexamples/multi_agent/groupchat/dynamic_groupchat_example.pyexamples/multi_agent/groupchat/dynamic_groupchat_example_simple.pyexamples/multi_agent/groupchat/enhanced_collaboration_example.pyexamples/multi_agent/groupchat/groupchat_examples/crypto_tax.pyexamples/multi_agent/groupchat/groupchat_examples/crypto_tax_swarm.pyexamples/multi_agent/groupchat/groupchat_examples/group_chat_example.pyexamples/multi_agent/groupchat/groupchat_examples/groupchat_example.pyexamples/multi_agent/groupchat/groupchat_examples/mortgage_tax_panel_example.pyexamples/multi_agent/groupchat/kimi_k3_groupchat.pyexamples/multi_agent/groupchat/medical_panel_example.pyexamples/multi_agent/groupchat/philosopher_groupchat.pyexamples/multi_agent/groupchat/quantum_physics_swarm.pyexamples/multi_agent/groupchat/simple_groupchat_reshoring_swarm.pyexamples/multi_agent/groupchat/stream_example.pyexamples/multi_agent/groupchat/test_groupchat_feat.pyexamples/multi_agent/heavy_swarm_examples/heavy_swarm.pyexamples/multi_agent/heavy_swarm_examples/heavy_swarm_16_agents.pyexamples/multi_agent/heavy_swarm_examples/heavy_swarm_4_agents.pyexamples/multi_agent/heavy_swarm_examples/heavy_swarm_example.pyexamples/multi_agent/heavy_swarm_examples/heavy_swarm_example_one.pyexamples/multi_agent/heavy_swarm_examples/heavy_swarm_example_research.pyexamples/multi_agent/heavy_swarm_examples/heavy_swarm_example_research_swarm.pyexamples/multi_agent/heavy_swarm_examples/heavy_swarm_grok_basic.pyexamples/multi_agent/heavy_swarm_examples/heavy_swarm_grok_heavy.pyexamples/multi_agent/heavy_swarm_examples/heavy_swarm_grok_medical.pyexamples/multi_agent/heavy_swarm_examples/heavy_swarm_grok_no_dashboard.pyexamples/multi_agent/heavy_swarm_examples/heavy_swarm_grok_question_preview.pyexamples/multi_agent/heavy_swarm_examples/heavy_swarm_grok_router.pyexamples/multi_agent/heavy_swarm_examples/heavy_swarm_no_dashboard.pyexamples/multi_agent/heavy_swarm_examples/heavy_swarm_with_image.pyexamples/multi_agent/heavy_swarm_examples/medical_heavy_swarm_example.pyexamples/multi_agent/hierarchical_swarm/display_hierarchy_example.pyexamples/multi_agent/hierarchical_swarm/example_hierarchical.pyexamples/multi_agent/hierarchical_swarm/hiearchical_examples/advanced_hierarchical_swarm_examples.pyexamples/multi_agent/hierarchical_swarm/hiearchical_examples/hiearchical_swarm_test.pyexamples/multi_agent/hierarchical_swarm/hiearchical_examples/hierarchical_swarm_example.pyexamples/multi_agent/hierarchical_swarm/hiearchical_swarm_example.pyexamples/multi_agent/hierarchical_swarm/hiearchical_swarm_new_features_example.pyexamples/multi_agent/hierarchical_swarm/hiearchical_swarm_ui/debug_dashboard.pyexamples/multi_agent/hierarchical_swarm/hierarchical_swarm_autosave_example.pyexamples/multi_agent/hierarchical_swarm/hierarchical_swarm_basic_demo.pyexamples/multi_agent/hierarchical_swarm/hierarchical_swarm_batch_demo.pyexamples/multi_agent/hierarchical_swarm/hierarchical_swarm_comparison_demo.pyexamples/multi_agent/hierarchical_swarm/hierarchical_swarm_example.pyexamples/multi_agent/hierarchical_swarm/hierarchical_swarm_plan_panel_example.pyexamples/multi_agent/hierarchical_swarm/hierarchical_swarm_streaming_demo.pyexamples/multi_agent/hierarchical_swarm/hierarchical_swarm_streaming_example.pyexamples/multi_agent/hierarchical_swarm/hs_interactive.pyexamples/multi_agent/hierarchical_swarm/hs_stock_team.pyexamples/multi_agent/hierarchical_swarm/hybrid_hiearchical_swarm.pyexamples/multi_agent/hierarchical_swarm/sector_analysis_hiearchical_swarm.pyexamples/multi_agent/hierarchical_swarm/simple_hierarchical_swarm_recovery.pyexamples/multi_agent/ma_blocks_examples/find_agent_by_name_example.pyexamples/multi_agent/majority_voting/_doda_majority_voting_example_new.pyexamples/multi_agent/majority_voting/majority_voting_example.pyexamples/multi_agent/majority_voting/majority_voting_example_new.pyexamples/multi_agent/majority_voting/snake_game_code_voting.pyexamples/multi_agent/mar/model_router_example.pyexamples/multi_agent/mar/multi_agent_router_example.pyexamples/multi_agent/mar/multi_agent_router_minimal.pyexamples/multi_agent/mar/multi_agent_router_specialist_routing.pyexamples/multi_agent/mar/refactor_smoke_example.pyexamples/multi_agent/moa_examples/mixture_of_agents_example.pyexamples/multi_agent/moa_examples/test_moa_new.pyexamples/multi_agent/one_to_one_examples/one_to_one_class_example.pyexamples/multi_agent/one_to_one_examples/one_to_one_function_example.pyexamples/multi_agent/one_to_three_examples/one_to_three_class_example.pyexamples/multi_agent/one_to_three_examples/one_to_three_function_example.pyexamples/multi_agent/orchestration_examples/ai_ethics_debate.pyexamples/multi_agent/orchestration_examples/cybersecurity_incident_negotiation.pyexamples/multi_agent/orchestration_examples/healthcare_panel_discussion.pyexamples/multi_agent/orchestration_examples/insurance_claim_review.pyexamples/multi_agent/orchestration_examples/investment_council_meeting.pyexamples/multi_agent/orchestration_examples/medical_malpractice_trial.pyexamples/multi_agent/orchestration_examples/merger_mediation_session.pyexamples/multi_agent/orchestration_examples/nvidia_amd_executive_negotiation.pyexamples/multi_agent/orchestration_examples/pharma_research_brainstorm.pyexamples/multi_agent/orchestration_examples/philosophy_discussion_example.pyexamples/multi_agent/orchestration_examples/startup_mentorship_program.pyexamples/multi_agent/paper_implementations/long_agent.pyexamples/multi_agent/phased_fan_out_workflow/bug_hunt.pyexamples/multi_agent/phased_fan_out_workflow/contract_review.pyexamples/multi_agent/planner_generator_evaluator/pge_example.pyexamples/multi_agent/planner_generator_evaluator/pge_with_tools_example.pyexamples/multi_agent/planner_worker_swarm/planner_worker_swarm_example.pyexamples/multi_agent/round_robin_examples/engineering_design_review.pyexamples/multi_agent/round_robin_examples/investment_committee_etf.pyexamples/multi_agent/round_robin_examples/medical_treatment_review.pyexamples/multi_agent/round_robin_examples/round_robin_example.pyexamples/multi_agent/sequential_workflow/drift_detection_commodities.pyexamples/multi_agent/sequential_workflow/example_sequential.pyexamples/multi_agent/sequential_workflow/research_analyse_write.pyexamples/multi_agent/sequential_workflow/sequential_streaming_simple.pyexamples/multi_agent/sequential_workflow/sequential_wofkflow.pyexamples/multi_agent/sequential_workflow/sequential_worflow_test.pyexamples/multi_agent/sequential_workflow/sequential_workflow.pyexamples/multi_agent/sequential_workflow/sequential_workflow_autosave_example.pyexamples/multi_agent/sequential_workflow/sequential_workflow_drift_detection.pyexamples/multi_agent/sequential_workflow/sequential_workflow_example.pyexamples/multi_agent/sequential_workflow/sequential_workflow_streaming.pyexamples/multi_agent/sequential_workflow/sonnet_4_5_sequential.pyexamples/multi_agent/simulations/agent_map/agent_map_simulation.pyexamples/multi_agent/simulations/agent_map/hospital_simulation_demo.pyexamples/multi_agent/simulations/agent_map/v0/demo_simulation.pyexamples/multi_agent/simulations/agent_map/v0/example_usage.pyexamples/multi_agent/simulations/agent_map/v0/simple_hospital_demo.pyexamples/multi_agent/simulations/agent_map/v0/test_group_conversations.pyexamples/multi_agent/simulations/euroswarm_parliament/__init__.pyexamples/multi_agent/simulations/euroswarm_parliament/euroswarm_parliament_example.pyexamples/multi_agent/simulations/euroswarm_parliament/wikipedia_personality_scraper.pyexamples/multi_agent/simulations/example_bell_labs.pyexamples/multi_agent/simulations/map_generation/game_map.pyexamples/multi_agent/skill_orchestra_examples/skill_orchestra.pyexamples/multi_agent/skill_orchestra_examples/skill_orchestra_example.pyexamples/multi_agent/social_algorithms_examples/adaptive_workflow_algorithm_example.pyexamples/multi_agent/social_algorithms_examples/auction_market_algorithm_example.pyexamples/multi_agent/social_algorithms_examples/collaborative_brainstorming_example.pyexamples/multi_agent/social_algorithms_examples/competitive_evaluation_example.pyexamples/multi_agent/social_algorithms_examples/consensus_building_algorithm_example.pyexamples/multi_agent/social_algorithms_examples/hierarchical_decision_making_example.pyexamples/multi_agent/social_algorithms_examples/iterative_refinement_algorithm_example.pyexamples/multi_agent/social_algorithms_examples/multi_stage_pipeline_algorithm_example.pyexamples/multi_agent/social_algorithms_examples/negotiation_algorithm_example.pyexamples/multi_agent/social_algorithms_examples/peer_review_example.pyexamples/multi_agent/social_algorithms_examples/refactor_smoke_example.pyexamples/multi_agent/social_algorithms_examples/research_analysis_synthesis_example.pyexamples/multi_agent/social_algorithms_examples/social_algorithms_example.pyexamples/multi_agent/social_algorithms_examples/swarm_intelligence_algorithm_example.pyexamples/multi_agent/spreadsheet_examples/crypto_tax_swarm/crypto_tax_spreadsheet.pyexamples/multi_agent/spreadsheet_examples/financial_analysis/swarm_csv.pyexamples/multi_agent/spreadsheet_examples/spreadsheet_example.pyexamples/multi_agent/spreadsheet_examples/spreadsheet_swarm_usage.pyexamples/multi_agent/swarm_router/groupchat_swarm_router_example.pyexamples/multi_agent/swarm_router/heavy_swarm_router_example.pyexamples/multi_agent/swarm_router/market_analysis_swarm_router_concurrent.pyexamples/multi_agent/swarm_router/sr_moa_example.pyexamples/multi_agent/swarm_router/swarm_router.pyexamples/multi_agent/swarm_router/swarm_router_benchmark.pyexamples/multi_agent/swarm_router/swarm_router_concurrent_example.pyexamples/multi_agent/swarm_router/swarm_router_example.pyexamples/multi_agent/swarm_router/swarm_router_fallback_example.pyexamples/multi_agent/swarm_router/swarm_router_mv.pyexamples/multi_agent/swarm_router/swarm_router_test.pyexamples/multi_agent/swarm_router/swarm_router_usage.pyexamples/multi_agent/swarms_api_examples/hedge_fund_swarm.pyexamples/multi_agent/swarms_api_examples/medical_swarm.pyexamples/multi_agent/swarms_api_examples/swarms_api_client.pyexamples/multi_agent/swarms_api_examples/swarms_api_example.pyexamples/multi_agent/swarms_api_examples/tools_examples.pyexamples/multi_agent/utils/agent_communication_examples.pyexamples/multi_agent/utils/aggregate_example.pyexamples/multi_agent/utils/batch_agent_example.pyexamples/multi_agent/utils/meme_agents/bob_the_agent.pyexamples/multi_agent/utils/one_to_one_broadcast_one_to_three.pyexamples/multi_agent/utils/test_agent_concurrent.pyexamples/multi_agent/utils/unique_swarms_examples.pyexamples/reasoning_agents/agent_judge_examples/example1_basic_evaluation.pyexamples/reasoning_agents/agent_judge_examples/example2_technical_evaluation.pyexamples/reasoning_agents/agent_judge_examples/example3_creative_evaluation.pyexamples/reasoning_agents/moa_seq_example.pyexamples/reasoning_agents/reasoning_agent_router_examples/agent_judge_example.pyexamples/reasoning_agents/reasoning_agent_router_examples/gkp_agent_example.pyexamples/reasoning_agents/reasoning_agent_router_examples/ire_example.pyexamples/reasoning_agents/reasoning_agent_router_examples/reasoning_duo_example.pyexamples/reasoning_agents/reasoning_agent_router_examples/reflexion_agent_example.pyexamples/reasoning_agents/reasoning_agent_router_examples/self_consistency_example.pyexamples/reasoning_agents/tree_of_thoughts_examples/mathematics/calculus_optimization.pyexamples/reasoning_agents/tree_of_thoughts_examples/mathematics/irrationality_proof.pyexamples/reasoning_agents/tree_of_thoughts_examples/mathematics/number_theory_counting.pyexamples/reasoning_agents/tree_of_thoughts_examples/physics/fermi_estimation.pyexamples/reasoning_agents/tree_of_thoughts_examples/physics/loop_the_loop.pyexamples/reasoning_agents/tree_of_thoughts_examples/physics/projectile_motion.pyexamples/reasoning_agents/tree_of_thoughts_examples/reasoning/bridge_and_torch.pyexamples/reasoning_agents/tree_of_thoughts_examples/reasoning/constraint_scheduling.pyexamples/reasoning_agents/tree_of_thoughts_examples/reasoning/knights_and_knaves.pyexamples/single_agent/capabilities/autonomy/autonomous_agents/auto_agent.pyexamples/single_agent/capabilities/autonomy/autonomous_agents/auto_agent_quant_etf.pyexamples/single_agent/capabilities/autonomy/autonomous_agents/autonomous_agent.pyexamples/single_agent/capabilities/autonomy/autonomous_agents/example_autonomous_looper_run_bash.pyexamples/single_agent/capabilities/autonomy/autonomous_agents/marketplace_and_auto_agent.pyexamples/single_agent/capabilities/autonomy/autonomous_agents/medical_research_auto_loop.pyexamples/single_agent/capabilities/autonomy/autonomous_agents/sub_agent_test.pyexamples/single_agent/capabilities/autonomy/handoffs/autonomous_agent_with_handoffs_example.pyexamples/single_agent/capabilities/autonomy/handoffs/duo_agent.pyexamples/single_agent/capabilities/autonomy/handoffs/handoff_example.pyexamples/single_agent/capabilities/autonomy/handoffs/handoffs_example.pyexamples/single_agent/capabilities/messages/messages_example.pyexamples/single_agent/capabilities/prompt_caching/1_basic_caching.pyexamples/single_agent/capabilities/prompt_caching/2_cache_config_ttl.pyexamples/single_agent/capabilities/prompt_caching/3_cache_config_tools.pyexamples/single_agent/capabilities/prompt_caching/4_cache_config_system_only.pyexamples/single_agent/capabilities/prompt_caching/5_cache_config_openai.pyexamples/single_agent/capabilities/prompt_caching/6_cache_config_all_options.pyexamples/single_agent/capabilities/prompt_caching/cache_config_example.pyexamples/single_agent/capabilities/prompt_caching/prompt_caching_example.pyexamples/single_agent/capabilities/rag/full_agent_rag_example.pyexamples/single_agent/capabilities/rag/pinecone_example.pyexamples/single_agent/capabilities/rag/qdrant_agent.pyexamples/single_agent/capabilities/rag/qdrant_rag_example.pyexamples/single_agent/capabilities/rag/simple_example.pyexamples/single_agent/capabilities/skills/agent_with_custom_skill.pyexamples/single_agent/capabilities/skills/agent_with_dynamic_skills.pyexamples/single_agent/capabilities/skills/agent_with_multiple_skills.pyexamples/single_agent/capabilities/skills/agent_with_skills.pyexamples/single_agent/capabilities/skills/multiple_skill_dirs/after.pyexamples/single_agent/capabilities/skills/multiple_skill_dirs/before.pyexamples/single_agent/capabilities/streaming/agent_stream_token.pyexamples/single_agent/capabilities/streaming/agent_streaming.pyexamples/single_agent/capabilities/streaming/auto_loop_streaming_example.pyexamples/single_agent/capabilities/streaming/example_streaming_tools.pyexamples/single_agent/capabilities/streaming/streaming_example.pyexamples/single_agent/capabilities/tools/agent_mcp.pyexamples/single_agent/capabilities/tools/agent_with_exa.pyexamples/single_agent/capabilities/tools/exa_search_agent.pyexamples/single_agent/capabilities/tools/example_async_vs_multithread.pyexamples/single_agent/capabilities/tools/litellm_tool_example.pyexamples/single_agent/capabilities/tools/multi_tool_usage_agent.pyexamples/single_agent/capabilities/tools/new_tools_examples.pyexamples/single_agent/capabilities/tools/omni_modal_agent.pyexamples/single_agent/capabilities/tools/solana_tool/solana_tool.pyexamples/single_agent/capabilities/tools/solana_tool/solana_tool_test.pyexamples/single_agent/capabilities/tools/structured_outputs/example_meaning_of_life_agents.pyexamples/single_agent/capabilities/tools/structured_outputs/structured_outputs_example.pyexamples/single_agent/capabilities/tools/swarms_of_browser_agents.pyexamples/single_agent/capabilities/tools/swarms_tools_example.pyexamples/single_agent/capabilities/tools/together_deepseek_agent.pyexamples/single_agent/capabilities/tools/tools_examples/dex_screener.pyexamples/single_agent/capabilities/tools/tools_examples/financial_news_agent.pyexamples/single_agent/capabilities/tools/tools_examples/simple_tool_example.pyexamples/single_agent/capabilities/tools/tools_examples/swarms_tool_example_simple.pyexamples/single_agent/capabilities/vision/anthropic_vision_test.pyexamples/single_agent/capabilities/vision/base_64_images/test_base64_image.pyexamples/single_agent/capabilities/vision/image_batch_example.pyexamples/single_agent/capabilities/vision/image_batch_processor.pyexamples/single_agent/capabilities/vision/multimodal_example.pyexamples/single_agent/capabilities/vision/multiple_image_processing.pyexamples/single_agent/capabilities/vision/vision_test.pyexamples/single_agent/capabilities/vision/vision_tools.pyexamples/single_agent/demos/insurance_agent.pyexamples/single_agent/demos/persistent_legal_agent.pyexamples/single_agent/getting_started/interactive.pyexamples/single_agent/getting_started/onboarding/onboard-basic.pyexamples/single_agent/getting_started/simple_agent.pyexamples/single_agent/integrations/marketplace/marketplace_prompt_example.pyexamples/single_agent/integrations/marketplace/medical_agent_add_to_marketplace.pyexamples/single_agent/integrations/marketplace/quant_trader_agent.pyexamples/single_agent/integrations/marketplace/zia_agent.pyexamples/single_agent/reasoning/agent_judge_evaluation_criteria_example.pyexamples/single_agent/reasoning/agent_judge_example.pyexamples/single_agent/reasoning/consistency_agent.pyexamples/single_agent/reasoning/consistency_example.pyexamples/single_agent/reasoning/gpk_agent.pyexamples/single_agent/reasoning/iterative_agent.pyexamples/single_agent/reasoning/reasoning_agent_router.pyexamples/single_agent/reasoning/reasoning_agent_router_now.pyexamples/single_agent/reasoning/reasoning_duo.pyexamples/single_agent/reasoning/reasoning_duo_example.pyexamples/single_agent/reasoning/reasoning_duo_test.pyexamples/single_agent/utils/agent_usage.pyexamples/single_agent/utils/async_agent.pyexamples/single_agent/utils/autosaving_examples/autosave_basic_example.pyexamples/single_agent/utils/autosaving_examples/autosave_config_access_example.pyexamples/single_agent/utils/autosaving_examples/autosave_directory_structure_example.pyexamples/single_agent/utils/autosaving_examples/autosave_recovery_example.pyexamples/single_agent/utils/custom_agent_base_url.pyexamples/single_agent/utils/dynamic_context_window.pyexamples/single_agent/utils/fallback_test.pyexamples/single_agent/utils/grok_4_agent.pyexamples/single_agent/utils/list_agent_output_types.pyexamples/single_agent/utils/markdown_agent.pyexamples/single_agent/utils/transform_prompts/transforms_agent_example.pyexamples/single_agent/utils/transform_prompts/transforms_examples.pyexamples/tools/agent_as_tools.pyexamples/tools/base_tool_examples/base_tool_examples.pyexamples/tools/base_tool_examples/conver_funcs_to_schema.pyexamples/tools/base_tool_examples/exa_search_deep_research.pyexamples/tools/base_tool_examples/example_usage.pyexamples/tools/browser_use/browser_use_as_tool.pyexamples/tools/browser_use/browser_use_demo.pyexamples/tools/claude/claude_as_a_tool.pyexamples/tools/dynamic_tools/dynamic_tool_loading.pyexamples/tools/exa_search/exa_search_agent.pyexamples/tools/exa_search/exa_search_agent_quant.pyexamples/tools/exa_search/exa_search_test.pyexamples/tools/firecrawl/firecrawl_agents_example.pyexamples/tools/multi_tool_use/many_tool_use_demo.pyexamples/tools/multi_tool_use/multi_tool_anthropic.pyexamples/tools/social_media/social_media_tools.pyexamples/tools/stagehand/1_stagehand_wrapper_agent.pyexamples/tools/stagehand/2_stagehand_tools_agent.pyexamples/tools/stagehand/3_stagehand_mcp_agent.pyexamples/tools/stagehand/4_stagehand_multi_agent_workflow.pyexamples/utils/agent_loader/agent_loader_demo.pyexamples/utils/agent_loader/claude_code_compatible.pyexamples/utils/agent_loader/multi_agents_loader_demo.pyexamples/utils/class_to_base_model.pyexamples/utils/communication_examples/duckdb_agent.pyexamples/utils/communication_examples/pulsar_conversation.pyexamples/utils/communication_examples/redis_conversation.pyexamples/utils/communication_examples/sqlite_conversation.pyexamples/utils/conversation_cache_examples/conversation_cache_interactive.pyexamples/utils/conversation_cache_examples/sequential_cache_test.pyexamples/utils/fetch_prompt.pyexamples/utils/litellm_connect_issue.pyexamples/utils/litellm_network_error_handling.pyexamples/utils/misc/agent_map_test.pyexamples/utils/misc/conversation_simple.pyexamples/utils/misc/conversation_test.pyexamples/utils/misc/conversation_test_truncate.pyexamples/utils/misc/csvagent_example.pyexamples/utils/misc/dict_to_table.pyexamples/utils/misc/swarm_matcher_example.pyexamples/utils/misc/test_load_conversation.pyexamples/utils/misc/visualizer_test.pyexamples/utils/skills_load.pyexamples/utils/swarms_api/agent_overview.pyexamples/utils/swarms_api/batch_example.pyexamples/utils/swarms_api/client_example.pyexamples/utils/swarms_api/hospital_team.pyexamples/utils/swarms_api/icd_ten_analysis.pyexamples/utils/swarms_api/legal_team.pyexamples/utils/swarms_api/rate_limits.pyscripts/examples.pyscripts/github_commits.pyscripts/tests/run_all_tests.pyscripts/tests/test_rename_recursive.pyscripts/tests/test_upload_tests_to_issues.pyswarms/__init__.pyswarms/agents/__init__.pyswarms/agents/agent_judge.pyswarms/agents/agent_marketplace_handler.pyswarms/agents/ape_agent.pyswarms/agents/auto_chat_agent.pyswarms/agents/auto_generate_swarm_config.pyswarms/agents/autonomous_loop.pyswarms/agents/consistency_agent.pyswarms/agents/context_compressor.pyswarms/agents/flexion_agent.pyswarms/agents/gkp_agent.pyswarms/agents/heavy_swarm_agents.pyswarms/agents/i_agent.pyswarms/agents/llm_manager.pyswarms/agents/reasoning_agent_router.pyswarms/agents/reasoning_duo.pyswarms/agents/skills_manager.pyswarms/agents/tool_manager.pyswarms/agents/tree_of_thoughts.pyswarms/cli/__init__.pyswarms/cli/main.pyswarms/cli/models.pyswarms/cli/tips.pyswarms/cli/utils.pyswarms/env.pyswarms/prompts/__init__.pyswarms/prompts/accountant_swarm_prompts.pyswarms/prompts/advisor_swarm_prompts.pyswarms/prompts/ag_prompt.pyswarms/prompts/aga.pyswarms/prompts/agent_acknowledgement_prompt.pyswarms/prompts/agent_conversation_aggregator.pyswarms/prompts/agent_judge_prompt.pyswarms/prompts/agent_orchestration_prompt.pyswarms/prompts/agent_prompts.pyswarms/prompts/agent_self_builder_prompt.pyswarms/prompts/agent_system_prompts.pyswarms/prompts/ai_research_team.pyswarms/prompts/aot_prompt.pyswarms/prompts/auto_agent_builder_prompt.pyswarms/prompts/autobloggen.pyswarms/prompts/autonomous_agent_prompt.pyswarms/prompts/autoswarm.pyswarms/prompts/code_interpreter.pyswarms/prompts/code_spawner.pyswarms/prompts/collaborative_prompts.pyswarms/prompts/debate_with_judge_prompts.pyswarms/prompts/documentation.pyswarms/prompts/education.pyswarms/prompts/finance_agent_prompt.pyswarms/prompts/finance_agent_sys_prompt.pyswarms/prompts/groupchat_prompt.pyswarms/prompts/growth_agent_prompt.pyswarms/prompts/handoffs_prompt.pyswarms/prompts/heavy_swarm_prompts.pyswarms/prompts/hierarchical_swarm_prompts.pyswarms/prompts/idea2img.pyswarms/prompts/legal_agent_prompt.pyswarms/prompts/llm_council_prompts.pyswarms/prompts/logistics.pyswarms/prompts/max_loop_prompt.pyswarms/prompts/meta_system_prompt.pyswarms/prompts/moa_prompt.pyswarms/prompts/multi_agent_collab_prompt.pyswarms/prompts/multi_modal_prompts.pyswarms/prompts/multi_modal_visual_prompts.pyswarms/prompts/operations_agent_prompt.pyswarms/prompts/paper_idea_agent.pyswarms/prompts/personal_stylist.pyswarms/prompts/phased_fan_out_workflow_prompts.pyswarms/prompts/planner_generator_evaluator_prompts.pyswarms/prompts/planner_worker_prompts.pyswarms/prompts/product_agent_prompt.pyswarms/prompts/programming.pyswarms/prompts/project_manager.pyswarms/prompts/prompt.pyswarms/prompts/prompt_generator.pyswarms/prompts/prompt_generator_optimizer.pyswarms/prompts/python.pyswarms/prompts/react.pyswarms/prompts/react_base_prompt.pyswarms/prompts/reasoning_prompt.pyswarms/prompts/refiner_agent_prompt.pyswarms/prompts/reflexion_prompts.pyswarms/prompts/safety_prompt.pyswarms/prompts/sales.pyswarms/prompts/sales_prompts.pyswarms/prompts/security_team.pyswarms/prompts/self_operating_prompt.pyswarms/prompts/sop_generator_agent_prompt.pyswarms/prompts/summaries_prompts.pyswarms/prompts/support_agent_prompt.pyswarms/prompts/swarm_manager_agent.pyswarms/prompts/task_assignment_prompt.pyswarms/prompts/tests.pyswarms/prompts/tools.pyswarms/prompts/tree_of_thoughts_prompts.pyswarms/prompts/urban_planning.pyswarms/prompts/visual_cot.pyswarms/prompts/worker_prompt.pyswarms/prompts/xray_swarm_prompt.pyswarms/schemas/__init__.pyswarms/schemas/agent_errors.pyswarms/schemas/agent_mcp_errors.pyswarms/schemas/hs_schemas.pyswarms/schemas/mcp_schemas.pyswarms/schemas/planner_worker_schemas.pyswarms/structs/__init__.pyswarms/structs/advisor_swarm.pyswarms/structs/agent.pyswarms/structs/agent_loader.pyswarms/structs/agent_rearrange.pyswarms/structs/agent_registry.pyswarms/structs/agent_roles.pyswarms/structs/agent_router.pyswarms/structs/agentmail_channel.pyswarms/structs/async_subagent.pyswarms/structs/auction_swarm.pyswarms/structs/auto_agent_builder.pyswarms/structs/auto_swarm_builder.pyswarms/structs/autonomous_loop_utils.pyswarms/structs/batch_agent_execution.pyswarms/structs/batched_grid_workflow.pyswarms/structs/broadcast.pyswarms/structs/check_models.pyswarms/structs/comms_channel.pyswarms/structs/concurrent_workflow.pyswarms/structs/context_utils.pyswarms/structs/conversation.pyswarms/structs/council_as_judge.pyswarms/structs/cron_job.pyswarms/structs/debate_with_judge.pyswarms/structs/decision_model.pyswarms/structs/deep_discussion.pyswarms/structs/dynamic_skills_loader.pyswarms/structs/execution_utils.pyswarms/structs/file_channel.pyswarms/structs/graph_workflow.pyswarms/structs/groupchat.pyswarms/structs/heavy_swarm.pyswarms/structs/hiearchical_swarm.pyswarms/structs/hierarchical_order_parser.pyswarms/structs/http_channel.pyswarms/structs/hybrid_hiearchical_peer_swarm.pyswarms/structs/llm_council.pyswarms/structs/ma_blocks.pyswarms/structs/ma_utils.pyswarms/structs/majority_voting.pyswarms/structs/mcp_deployer.pyswarms/structs/mixture_of_agents.pyswarms/structs/model_router.pyswarms/structs/multi_agent_debates.pyswarms/structs/multi_agent_exec.pyswarms/structs/multi_agent_router.pyswarms/structs/omni_agent_types.pyswarms/structs/one_to_one.pyswarms/structs/one_to_three.pyswarms/structs/phased_fan_out_workflow.pyswarms/structs/planner_generator_evaluator.pyswarms/structs/planner_worker_swarm.pyswarms/structs/queue_channel.pyswarms/structs/round_robin.pyswarms/structs/safe_loading.pyswarms/structs/self_moa_seq.pyswarms/structs/sequential_workflow.pyswarms/structs/serialization.pyswarms/structs/smtp_channel.pyswarms/structs/social_algorithms.pyswarms/structs/spreadsheet_swarm.pyswarms/structs/sqlite_channel.pyswarms/structs/swarm_id.pyswarms/structs/swarm_router.pyswarms/structs/swarming_architectures.pyswarms/structs/transforms.pyswarms/structs/tree_swarm.pyswarms/telemetry/__init__.pyswarms/telemetry/bootup.pyswarms/telemetry/compression.pyswarms/telemetry/main.pyswarms/telemetry/otel.pyswarms/tools/__init__.pyswarms/tools/base_tool.pyswarms/tools/dynamic_tool_loader.pyswarms/tools/handoffs_tool.pyswarms/tools/handoffs_tool_schema.pyswarms/tools/mcp_manager.pyswarms/tools/py_func_to_openai_func_str.pyswarms/tools/pydantic_to_json.pyswarms/tools/tool_parse_exec.pyswarms/tools/tool_registry.pyswarms/tools/tool_type.pyswarms/tools/tool_utils.pyswarms/utils/__init__.pyswarms/utils/any_to_str.pyswarms/utils/class_to_pydantic.pyswarms/utils/disable_logging.pyswarms/utils/docstring_parser.pyswarms/utils/file_processing.pyswarms/utils/formatter.pyswarms/utils/generate_id.pyswarms/utils/generate_keys.pyswarms/utils/get_cpu_cores.pyswarms/utils/get_reasoning_efforts.pyswarms/utils/heavy_swarm_dashboard.pyswarms/utils/history_output_formatter.pyswarms/utils/image_file_b64.pyswarms/utils/index.pyswarms/utils/litellm_tokenizer.pyswarms/utils/litellm_wrapper.pyswarms/utils/llm_backend.pyswarms/utils/loguru_logger.pyswarms/utils/output_types.pyswarms/utils/str_to_dict.pyswarms/utils/workspace_manager.pyswarms/utils/workspace_utils.pytests/agents/test_agent_judge.pytests/agents/test_agent_marketplace_handler.pytests/agents/test_autonomous_loop.pytests/agents/test_autoswarm_writer.pytests/agents/test_consistency_agent.pytests/agents/test_context_compressor.pytests/agents/test_flexion_agent.pytests/agents/test_gkp_agent.pytests/agents/test_llm_manager.pytests/agents/test_reasoning_duo.pytests/agents/test_skills_manager.pytests/agents/test_tree_of_thoughts.pytests/benchmark_graph_workflow.pytests/prompts/test_agent_system_prompts.pytests/prompts/test_autonomous_agent_prompt.pytests/structs/test_advisor_swarm.pytests/structs/test_agent.pytests/structs/test_agent_loader.pytests/structs/test_agent_rearrange.pytests/structs/test_agent_registry.pytests/structs/test_agent_router.pytests/structs/test_agentmail_channel.pytests/structs/test_async_subagent.pytests/structs/test_auction_swarm.pytests/structs/test_auto_agent_builder.pytests/structs/test_auto_swarms_builder.pytests/structs/test_batch_agent_execution.pytests/structs/test_batched_grid_workflow.pytests/structs/test_broadcast.pytests/structs/test_check_models.pytests/structs/test_comms_channel.pytests/structs/test_component_ids.pytests/structs/test_concurrent_workflow.pytests/structs/test_conversation.pytests/structs/test_council_as_judge.pytests/structs/test_cron_job.pytests/structs/test_decision_model.pytests/structs/test_execution_utils.pytests/structs/test_forest_swarm.pytests/structs/test_graph_workflow.pytests/structs/test_groupchat.pytests/structs/test_heavy_swarm.pytests/structs/test_hierarchical_order_parser.pytests/structs/test_hierarchical_swarm.pytests/structs/test_http_channel.pytests/structs/test_hybrid_hiearchical_peer_swarm.pytests/structs/test_i_agent.pytests/structs/test_llm_council.pytests/structs/test_majority_voting.pytests/structs/test_mcp_deployer.pytests/structs/test_moa.pytests/structs/test_model_router.pytests/structs/test_multi_agent_debate.pytests/structs/test_multi_agent_exec.pytests/structs/test_multi_agent_router.pytests/structs/test_one_on_one_debate.pytests/structs/test_one_to_one.pytests/structs/test_one_to_three.pytests/structs/test_phased_fan_out_workflow.pytests/structs/test_queue_channel.pytests/structs/test_reasoning_agent_router.pytests/structs/test_round_robin_swarm.pytests/structs/test_safe_loading.pytests/structs/test_self_moa_seq.pytests/structs/test_sequential_workflow.pytests/structs/test_smtp_channel.pytests/structs/test_social_algorithms.pytests/structs/test_spreadsheet.pytests/structs/test_sqlite_channel.pytests/structs/test_swarm_architectures.pytests/structs/test_swarm_router.pytests/structs/test_swarming_architectures.pytests/structs/test_transforms.pytests/telemetry/test_bootup.pytests/telemetry/test_compression.pytests/telemetry/test_telemetry.pytests/test___init__.pytests/test_cli.pytests/test_main_features.pytests/test_prompt_caching.pytests/test_streaming_timing.pytests/tools/mcp_test_server.pytests/tools/test_base_tool.pytests/tools/test_dynamic_tool_loader.pytests/tools/test_mcp_manager.pytests/tools/test_output_str_fix.pytests/tools/test_parse_tools.pytests/utils/test_any_to_str.pytests/utils/test_docstring_parser.pytests/utils/test_formatter.pytests/utils/test_history_output_formatter.pytests/utils/test_image_file_b64.pytests/utils/test_litellm_output_tokens.pytests/utils/test_litellm_temperature.pytests/utils/test_litellm_usage.pytests/utils/test_litellm_wrapper.pytests/utils/test_llm_backend.pytests/utils/test_loguru_logger.pytests/utils/test_ssrf_url_guard.pytests/utils/test_workspace_manager.py
Files
.dockerignoreasset61 bytes.env.exampleasset1,377 bytes.github/CODEOWNERSasset2,221 bytes.github/FUNDING.ymlasset640 bytes.github/ISSUE_TEMPLATE/bug_report.mddoc548 bytes.github/ISSUE_TEMPLATE/feature_request.mddoc603 bytes.github/PULL_REQUEST_TEMPLATE.mddoc1,415 bytes.github/action.ymlasset1,107 bytes.github/copilot-instructions.mddoc577 bytes.github/dependabot.ymlasset367 bytes.github/labeler.ymlasset851 bytes.github/workflows/RELEASE.ymlasset1,274 bytes.github/workflows/block-payout-spam.ymlasset2,725 bytes.github/workflows/dependency-review.ymlasset1,731 bytes.github/workflows/label-ai-generated.ymlasset3,942 bytes.github/workflows/label.ymlasset546 bytes.github/workflows/lint.ymlasset800 bytes.github/workflows/python-package.ymlasset1,566 bytes.github/workflows/stale.ymlasset1,948 bytes.github/workflows/test-main-features.ymlasset4,628 bytes.github/workflows/tests.ymlasset579 bytes.github/workflows/welcome.ymlasset583 bytes.gitignoreasset7,630 bytesAGENTS.mddoc2,474 bytesCITATION.cffasset338 bytesCLAUDE.mddoc40,363 bytesCODE_OF_CONDUCT.mddoc5,218 bytesCONTRIBUTING.mddoc8,750 bytesDockerfileruns1,080 bytesLICENSEasset11,363 bytesREADME.mddoc44,563 bytesREADME_zh.mddoc41,954 bytesSECURITY.mddoc3,880 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesSKILL.mdcore22,649 bytesexample.pyruns1,451 bytesexamples/README.mddoc38,344 bytesexamples/changelogs/880_update_changelog_examples/01_marketplace_prompt_fetching.pyruns519 bytesexamples/changelogs/880_update_changelog_examples/02_round_robin_swarm_routing.pyruns906 bytesexamples/changelogs/880_update_changelog_examples/03_graph_workflow_rustworkx.pyruns1,270 bytesexamples/changelogs/880_update_changelog_examples/04_agent_rearrange.pyruns1,034 bytesexamples/changelogs/880_update_changelog_examples/05_nested_swarms.pyruns1,037 bytesexamples/changelogs/880_update_changelog_examples/06_spreadsheet_swarm.pyruns1,257 bytesexamples/changelogs/880_update_changelog_examples/07_model_router.pyruns643 bytesexamples/changelogs/880_update_changelog_examples/08_self_moa_seq.pyruns568 bytesexamples/changelogs/880_update_changelog_examples/09_single_voice_agent.pyruns692 bytesexamples/changelogs/880_update_changelog_examples/10_multi_agent_voice_debate.pyruns1,443 bytesexamples/changelogs/880_update_changelog_examples/11_hierarchical_voice_swarm.pyruns2,164 bytesexamples/changelogs/880_update_changelog_examples/12_debate_with_judge.pyruns413 bytesexamples/changelogs/880_update_changelog_examples/13_council_as_judge.pyruns667 bytesexamples/changelogs/880_update_changelog_examples/14_swarm_router_round_robin.pyruns949 bytesexamples/changelogs/880_update_changelog_examples/15_graph_workflow_batch_agents.pyruns1,555 bytesexamples/changelogs/880_update_changelog_examples/README.mddoc12,327 bytesexamples/changelogs/880_update_changelog_examples/autosaving_example.pyruns469 bytesexamples/changelogs/v11_update/advisor_swarm_basic.pyruns399 bytesexamples/changelogs/v11_update/advisor_swarm_custom_agents.pyruns641 bytesexamples/changelogs/v11_update/agent_rearrange_batch_run.pyruns438 bytesexamples/changelogs/v11_update/agent_rearrange_repeated_flow.pyruns540 bytesexamples/changelogs/v11_update/conversation_cache_example.pyruns395 bytesexamples/changelogs/v11_update/env_loading_example.pyruns119 bytesexamples/changelogs/v11_update/graph_workflow_checkpoint.pyruns364 bytesexamples/changelogs/v11_update/graph_workflow_serialization.pyruns513 bytesexamples/changelogs/v11_update/heavy_swarm_16_agents.pyruns293 bytesexamples/changelogs/v11_update/heavy_swarm_grok_basic.pyruns254 bytesexamples/changelogs/v11_update/heavy_swarm_grok_router.pyruns206 bytesexamples/changelogs/v11_update/hierarchical_swarm_example.pyruns664 bytesexamples/changelogs/v11_update/planner_generator_evaluator_basic.pyruns465 bytesexamples/changelogs/v11_update/planner_generator_evaluator_with_tools.pyruns323 bytesexamples/changelogs/v11_update/planner_worker_swarm_basic.pyruns448 bytesexamples/changelogs/v11_update/planner_worker_task_schema.pyruns437 bytesexamples/changelogs/v11_update/sequential_workflow_drift_detection.pyruns650 bytesexamples/changelogs/v11_update/v11.mddoc14,801 bytesexamples/changelogs/v11_update/v11_blog.mddoc23,517 bytesexamples/changelogs/v11_update/v11_changelog.mddoc34,886 bytesexamples/changelogs/v12_update/01_persistent_memory.pyruns1,291 bytesexamples/changelogs/v12_update/02_context_compression.pyruns1,337 bytesexamples/changelogs/v12_update/03_grep_tool_autonomous_loop.pyruns1,066 bytesexamples/changelogs/v12_update/04_conversation_memory_compact.pyruns2,228 bytesexamples/changelogs/v12_update/05_graph_workflow_callbacks.pyruns2,019 bytesexamples/changelogs/v12_update/06_arun_stream.pyruns2,049 bytesexamples/changelogs/v12_update/07_interactive_mode.pyruns583 bytesexamples/changelogs/v12_update/article.mddoc11,862 bytesexamples/changelogs/v12_update/byzantine_consensus.pyruns13,005 bytesexamples/changelogs/v12_update/changelog_v12.mddoc8,850 bytesexamples/changelogs/v12_update/changelog_v12_organized.mddoc10,826 bytesexamples/changelogs/v13/CHANGELOG.mddoc19,176 bytesexamples/changelogs/v13/README.mddoc1,726 bytesexamples/changelogs/v13/agent_lookup_helpers_example.pyruns1,304 bytesexamples/changelogs/v13/agent_rearrange_flow_example.pyruns1,048 bytesexamples/changelogs/v13/agent_tools_default_example.pyruns534 bytesexamples/changelogs/v13/cli_examples.shruns277 bytesexamples/changelogs/v13/graph_workflow_composition_example.pyruns1,247 bytesexamples/changelogs/v13/groupchat_self_selecting_example.pyruns1,015 bytesexamples/changelogs/v13/heavy_swarm_variant_example.pyruns320 bytesexamples/changelogs/v13/round_robin_rotation_example.pyruns682 bytesexamples/changelogs/v13/sequential_workflow_streaming_example.pyruns1,176 bytesexamples/changelogs/v13/swarm_router_groupchat_example.pyruns934 bytesexamples/changelogs/v14-zena/01_opentelemetry_tracing.pyruns811 bytesexamples/changelogs/v14-zena/02_instrument_custom_harness.pyruns1,184 bytesexamples/changelogs/v14-zena/03_mcp_manager.pyruns1,497 bytesexamples/changelogs/v14-zena/04_auto_agent_builder.pyruns1,430 bytesexamples/changelogs/v14-zena/05_auction_swarm.pyruns1,121 bytesexamples/changelogs/v14-zena/06_groupchat_turn_based.pyruns1,239 bytesexamples/changelogs/v14-zena/07_hierarchical_swarm_recovery.pyruns1,319 bytesexamples/changelogs/v14-zena/09_class_to_pydantic.pyruns1,146 bytesexamples/changelogs/v14-zena/10_concurrent_workflow_on_error.pyruns781 bytesexamples/changelogs/v14-zena/11_graph_workflow.pyruns961 bytesexamples/changelogs/v14-zena/12_thread_pool_sizing.pyruns904 bytesexamples/changelogs/v14-zena/13_agent_loader_csv.pyruns431 bytesexamples/changelogs/v14-zena/README.mddoc2,894 bytesexamples/changelogs/v9_examples/autonomous_looper.pyruns491 bytesexamples/changelogs/v9_examples/example_autonomous_looper_tools.pyruns2,843 bytesexamples/changelogs/v9_examples/example_sub_agents.pyruns989 bytesexamples/channel_examples/README.mddoc2,352 bytesexamples/channel_examples/agent_channel.pyruns1,017 bytesexamples/channel_examples/agent_rearrange_channel.pyruns746 bytesexamples/channel_examples/agentmail_channel_example.pyruns961 bytesexamples/channel_examples/concurrent_workflow_channel.pyruns646 bytesexamples/channel_examples/graph_workflow_channel.pyruns1,077 bytesexamples/channel_examples/groupchat_channel.pyruns813 bytesexamples/channel_examples/hierarchical_swarm_channel.pyruns751 bytesexamples/channel_examples/http_channel_example.pyruns1,001 bytesexamples/channel_examples/http_channel_server.pyruns1,233 bytesexamples/channel_examples/majority_voting_channel.pyruns486 bytesexamples/channel_examples/mixture_of_agents_channel.pyruns933 bytesexamples/channel_examples/planner_worker_swarm_channel.pyruns789 bytesexamples/channel_examples/queue_channel_example.pyruns1,225 bytesexamples/channel_examples/resume_channel.pyruns616 bytesexamples/channel_examples/sequential_workflow_channel.pyruns855 bytesexamples/channel_examples/smtp_channel_example.pyruns1,113 bytesexamples/channel_examples/sqlite_channel.pyruns1,144 bytesexamples/channel_examples/sqlite_channel_example.pyruns1,149 bytesexamples/channel_examples/swarm_router_channel.pyruns704 bytesexamples/cli/01_setup_check.shruns108 bytesexamples/cli/02_onboarding.shruns110 bytesexamples/cli/03_get_api_key.shruns102 bytesexamples/cli/04_check_login.shruns100 bytesexamples/cli/05_create_agent.shruns316 bytesexamples/cli/06_run_agents_yaml.shruns147 bytesexamples/cli/07_load_markdown.shruns140 bytesexamples/cli/08_llm_council.shruns184 bytesexamples/cli/09_heavy_swarm.shruns183 bytesexamples/cli/10_autoswarm.shruns155 bytesexamples/cli/11_features.shruns100 bytesexamples/cli/12_help.shruns98 bytesexamples/cli/13_auto_upgrade.shruns109 bytesexamples/cli/14_book_call.shruns95 bytesexamples/cli/README.mddoc4,643 bytesexamples/cli/research_agent_example.shruns674 bytesexamples/cli/run_all_examples.shruns144 bytesexamples/decision_models/calibrated_ensemble_judge.pyruns6,528 bytesexamples/decision_models/debate_referee_early_stop.pyruns4,297 bytesexamples/decision_models/decision_model_agent_router.pyruns2,647 bytesexamples/decision_models/decision_screening_funnel.pyruns11,493 bytesexamples/decision_models/get_decision_models_example.pyruns1,235 bytesexamples/decision_models/guarded_group_chat.pyruns5,850 bytesexamples/decision_models/openai_decisions.pyruns2,323 bytesexamples/decision_models/simple_openai.pyruns1,224 bytesexamples/decision_models/system_one_director_swarm.pyruns6,440 bytesexamples/decision_models/typesafe_ticket_triage.pyruns1,991 bytesexamples/guides/840_update/README.mddoc661 bytesexamples/guides/840_update/agent_rearrange_concurrent_example.pyruns4,095 bytesexamples/guides/840_update/auto_swarm_builder_example.pyruns562 bytesexamples/guides/840_update/fallback_example.pyruns568 bytesexamples/guides/850_workshop/README.mddoc631 bytesexamples/guides/850_workshop/moa_seq_example.pyruns484 bytesexamples/guides/850_workshop/peer_review_example.pyruns2,669 bytesexamples/guides/850_workshop/test_agent_concurrent.pyruns1,004 bytesexamples/guides/README.mddoc7,838 bytesexamples/guides/agentsh_implementation/README.mddoc9,922 bytesexamples/guides/agentsh_implementation/agentsh.pyruns50,930 bytesexamples/guides/changelog_890/01_dynamic_skills_loader.pyruns1,230 bytesexamples/guides/changelog_890/02_autonomous_agent_loop.pyruns3,085 bytesexamples/guides/changelog_890/03_agent_handoffs.pyruns1,227 bytesexamples/guides/changelog_890/04_api_key_validation.pyruns1,165 bytesexamples/guides/changelog_890/05_max_loops_parameter.pyruns1,286 bytesexamples/guides/changelog_890/06_multi_tool_agent_tutorial.pyruns2,685 bytesexamples/guides/changelog_890/07_hierarchical_voice_agent.pyruns2,350 bytesexamples/guides/changelog_890/08_agent_rearrange_patterns.pyruns1,475 bytesexamples/guides/changelog_890/README.mddoc5,350 bytesexamples/guides/demos/README.mddoc4,167 bytesexamples/guides/demos/agent_with_fluidapi.pyruns3,175 bytesexamples/guides/demos/apps/hiring_swarm.pyruns13,177 bytesexamples/guides/demos/apps/smart_database_swarm.pyruns36,541 bytesexamples/guides/demos/chart_swarm.pyruns11,093 bytesexamples/guides/demos/crypto/dao_swarm.pyruns11,392 bytesexamples/guides/demos/crypto/ethchain_agent.pyruns10,392 bytesexamples/guides/demos/crypto/htx_swarm.pyruns9,745 bytesexamples/guides/demos/crypto/swarms_coin_agent.pyruns6,522 bytesexamples/guides/demos/crypto/swarms_coin_multimarket.pyruns12,936 bytesexamples/guides/demos/cuda_swarm.pyruns15,297 bytesexamples/guides/demos/finance/sentiment_news_analysis.pyruns7,562 bytesexamples/guides/demos/hackathon_feb16/fraud.pyruns10,837 bytesexamples/guides/demos/hackathon_feb16/sarasowti.pyruns8,950 bytesexamples/guides/demos/insurance/insurance_swarm.pyruns10,989 bytesexamples/guides/demos/legal/legal_swarm.pyruns15,621 bytesexamples/guides/demos/medical/health_privacy_swarm.pyruns9,325 bytesexamples/guides/demos/medical/health_privacy_swarm_two.pyruns9,827 bytesexamples/guides/demos/medical/medical_analysis_agent_rearrange.mddoc12,995 bytesexamples/guides/demos/medical/medical_coder_agent.pyruns7,464 bytesexamples/guides/demos/medical/medical_coding_report.mddoc17,051 bytesexamples/guides/demos/medical/medical_diagnosis_report.mddoc16,378 bytesexamples/guides/demos/medical/new_medical_rearrange.pyruns5,810 bytesexamples/guides/demos/medical/ollama_demo.pyruns7,505 bytesexamples/guides/demos/medical/rearrange_video_examples/reports/medical_analysis_agent_rearrange.mddoc12,417 bytesexamples/guides/demos/medical/rearrange_video_examples/reports/vc_document_analysis.mddoc19,538 bytesexamples/guides/demos/medical/rearrange_video_examples/term_sheet_swarm.pyruns7,105 bytesexamples/guides/demos/news_aggregator_summarizer.pyruns3,121 bytesexamples/guides/demos/privacy_building.pyruns9,026 bytesexamples/guides/demos/real_estate/README_realtor.mddoc1,107 bytesexamples/guides/demos/real_estate/morgtate_swarm.pyruns22,085 bytesexamples/guides/demos/real_estate/real_estate_agent.pyruns10,103 bytesexamples/guides/demos/real_estate/realtor_agent.pyruns4,688 bytesexamples/guides/demos/science/materials_science_agents.pyruns12,416 bytesexamples/guides/demos/science/open_scientist.pyruns22,762 bytesexamples/guides/demos/science/paper_idea_agent.pyruns2,454 bytesexamples/guides/demos/science/paper_idea_profile.pyruns3,803 bytesexamples/guides/demos/spike/agent_rearrange_test.pyruns8,005 bytesexamples/guides/demos/spike/function_caller_example.pyruns1,476 bytesexamples/guides/demos/spike/memory.pyruns4,208 bytesexamples/guides/demos/spike/spike.zipasset7,375 bytesexamples/guides/demos/spike/test.pyruns7,818 bytesexamples/guides/demos/synthetic_data/profession_sim/convert_json_to_csv.pyruns555 bytesexamples/guides/demos/synthetic_data/profession_sim/data.csvasset267,048 bytesexamples/guides/demos/synthetic_data/profession_sim/format_prompt.pyruns2,071 bytesexamples/guides/demos/synthetic_data/profession_sim/profession_persona_generator.pyruns43,248 bytesexamples/guides/demos/synthetic_data/profession_sim/profession_personas.csvasset557,511 bytesexamples/guides/demos/synthetic_data/profession_sim/profession_personas.progress.backup.jsonasset461,927 bytesexamples/guides/demos/synthetic_data/profession_sim/profession_personas.progress.jsonasset569,360 bytesexamples/guides/demos/synthetic_data/profession_sim/profession_personas_new_10.csvasset162,358 bytesexamples/guides/demos/synthetic_data/profession_sim/profession_personas_new_10.progress.backup.jsonasset29,598 bytesexamples/guides/demos/synthetic_data/profession_sim/profession_personas_new_10.progress.backup_new.jsonasset158,027 bytesexamples/guides/demos/synthetic_data/profession_sim/profession_personas_new_10.progress.jsonasset29,598 bytesexamples/guides/demos/synthetic_data/profession_sim/profession_personas_new_10.progress_neee.jsonasset167,221 bytesexamples/guides/demos/synthetic_data/profession_sim/prompt.txtdoc8,990 bytesexamples/guides/demos/synthetic_data/profession_sim/prompt_formatted.mddoc8,919 bytesexamples/guides/deployment/README.mddoc1,281 bytesexamples/guides/deployment/cron_job_examples/README.mddoc2,375 bytesexamples/guides/deployment/cron_job_examples/callback_cron_example.pyruns10,577 bytesexamples/guides/deployment/cron_job_examples/cron_job_example.pyruns9,284 bytesexamples/guides/deployment/cron_job_examples/cron_job_figma_stock_swarms_tools_example.pyruns3,057 bytesexamples/guides/deployment/cron_job_examples/crypto_concurrent_cron_example.pyruns13,102 bytesexamples/guides/deployment/cron_job_examples/figma_stock_example.pyruns2,436 bytesexamples/guides/deployment/cron_job_examples/multi_agent_schedules_cron.pyruns2,244 bytesexamples/guides/deployment/cron_job_examples/non_blocking_cron.pyruns2,145 bytesexamples/guides/deployment/cron_job_examples/one_agent_many_tasks_cron.pyruns1,124 bytesexamples/guides/deployment/cron_job_examples/resilient_cron.pyruns2,993 bytesexamples/guides/deployment/cron_job_examples/simple_callback_example.pyruns2,232 bytesexamples/guides/deployment/cron_job_examples/simple_concurrent_crypto_cron.pyruns5,148 bytesexamples/guides/deployment/cron_job_examples/single_agent_cron.pyruns1,009 bytesexamples/guides/deployment/cron_job_examples/solana_price_tracker.pyruns9,055 bytesexamples/guides/deployment/fastapi/README.mddoc2,971 bytesexamples/guides/deployment/fastapi/fastapi_agent_api_example.pyruns10,525 bytesexamples/guides/deployment/fastapi/requirements.txtdoc391 bytesexamples/guides/fairy_swarm/fairy_swarm.pyruns65,517 bytesexamples/guides/fairy_swarm/fairy_swarm_examples/README.mddoc1,120 bytesexamples/guides/fairy_swarm/fairy_swarm_examples/analytical_research.pyruns628 bytesexamples/guides/fairy_swarm/fairy_swarm_examples/basic_fairy_swarm.pyruns710 bytesexamples/guides/fairy_swarm/fairy_swarm_examples/custom_fairy.pyruns1,601 bytesexamples/guides/fairy_swarm/fairy_swarm_examples/custom_tools.pyruns1,453 bytesexamples/guides/fairy_swarm/fairy_swarm_examples/multi_page_wireframe.pyruns654 bytesexamples/guides/fairy_swarm/fairy_swarm_examples/selected_fairies.pyruns628 bytesexamples/guides/fairy_swarm/fairy_swarm_examples/standalone_tools.pyruns949 bytesexamples/guides/generation_length_blog/README.mddoc543 bytesexamples/guides/generation_length_blog/longform_generator.pyruns9,045 bytesexamples/guides/generation_length_blog/universal_api.pyruns1,207 bytesexamples/guides/geo_guesser_agent/README.mddoc991 bytesexamples/guides/geo_guesser_agent/geo_guesser_agent.pyruns885 bytesexamples/guides/geo_guesser_agent/miami.jpgasset154,531 bytesexamples/guides/graphworkflow_guide/GETTING_STARTED.mddoc6,719 bytesexamples/guides/graphworkflow_guide/README.mddoc9,520 bytesexamples/guides/graphworkflow_guide/comprehensive_demo.pyruns27,903 bytesexamples/guides/graphworkflow_guide/graph_workflow_technical_guide.mddoc37,753 bytesexamples/guides/graphworkflow_guide/quick_start_guide.pyruns14,747 bytesexamples/guides/hackathon_judge_agent/README.mddoc484 bytesexamples/guides/hackathon_judge_agent/hackathon_judger_agent.pyruns4,473 bytesexamples/guides/hackathon_judge_agent/projects.csvasset16,658 bytesexamples/guides/hackathons/README.mddoc929 bytesexamples/guides/hackathons/hackathon_sep_27/api_client.pyruns224 bytesexamples/guides/hackathons/hackathon_sep_27/diet_coach_agent.pyruns6,290 bytesexamples/guides/hackathons/hackathon_sep_27/nutritional_content_analysis_swarm.pyruns8,176 bytesexamples/guides/hackathons/hackathon_sep_27/nutritonal_content_analysis_swarm.shruns6,962 bytesexamples/guides/hackathons/hackathon_sep_27/pizza.jpgasset3,213,540 bytesexamples/guides/hiearchical_marketing_team.pyruns17,781 bytesexamples/guides/mem0/mem0_and_swarms.pyruns18,061 bytesexamples/guides/nano_banana_jarvis_agent/README.mddoc735 bytesexamples/guides/nano_banana_jarvis_agent/annotated_images/06cf227e-c233-4534-b450-14f9cee49c25.pngasset2,402,054 bytesexamples/guides/nano_banana_jarvis_agent/annotated_images/11440145-4b76-4f4a-8e3d-78963a2e4fd4.pngasset2,342,831 bytesexamples/guides/nano_banana_jarvis_agent/annotated_images/1c76d016-00e7-404b-b6f9-2e019e7f6ba1.pngasset2,322,913 bytesexamples/guides/nano_banana_jarvis_agent/annotated_images/1c80f356-709b-4860-bf8d-82ff896c0a23.pngasset2,340,642 bytesexamples/guides/nano_banana_jarvis_agent/annotated_images/2bd5f354-9466-4903-84f9-ebc9779ed0cd.pngasset2,323,237 bytesexamples/guides/nano_banana_jarvis_agent/annotated_images/3703ae44-5976-47e7-984d-4a17f6fe7924.pngasset2,484,332 bytesexamples/guides/nano_banana_jarvis_agent/annotated_images/39ffbfcc-856f-4ad3-b89b-66a0e3d92f1b.pngasset2,128,470 bytesexamples/guides/nano_banana_jarvis_agent/annotated_images/3a449068-fd60-40ac-a224-46748db6b961.pngasset2,345,909 bytesexamples/guides/nano_banana_jarvis_agent/annotated_images/3cd19628-d789-4216-ad0c-fc946d5e28a9.pngasset2,552,244 bytesexamples/guides/nano_banana_jarvis_agent/annotated_images/452da8e3-93f2-4210-a49d-6e6dd83fdff5.pngasset2,073,029 bytesexamples/guides/nano_banana_jarvis_agent/annotated_images/507a50ca-cae9-4ec0-b107-c126a35ebad1.pngasset2,358,351 bytesexamples/guides/nano_banana_jarvis_agent/annotated_images/71220613-f581-443b-a9c0-9afa66d15aad.pngasset2,070,746 bytesexamples/guides/nano_banana_jarvis_agent/annotated_images/7b99dd3e-e6a7-4f30-9c30-af71f57e9bae.pngasset2,404,837 bytesexamples/guides/nano_banana_jarvis_agent/annotated_images/b61104dd-b3ba-42da-adab-f3acb2102562.pngasset2,349,585 bytesexamples/guides/nano_banana_jarvis_agent/annotated_images/c19802f5-b1bd-4ef7-9d23-8432f1fd1394.pngasset3,180 bytesexamples/guides/nano_banana_jarvis_agent/annotated_images/c4249581-6c78-46d4-b7a1-385095eadf46.pngasset2,499,256 bytesexamples/guides/nano_banana_jarvis_agent/annotated_images/c9ba5268-cd08-4308-8341-d9de9a5b72a6.pngasset2,478,695 bytesexamples/guides/nano_banana_jarvis_agent/annotated_images/e75a287c-66ad-4b1f-89ba-313b8fe88e94.jpgasset142 bytesexamples/guides/nano_banana_jarvis_agent/building.jpgasset94,650 bytesexamples/guides/nano_banana_jarvis_agent/hk.jpgasset84,500 bytesexamples/guides/nano_banana_jarvis_agent/image.jpgasset71,319 bytesexamples/guides/nano_banana_jarvis_agent/img_gen_nano_banana.pyruns853 bytesexamples/guides/nano_banana_jarvis_agent/jarvis_agent.pyruns711 bytesexamples/guides/nano_banana_jarvis_agent/miami.jpgasset154,531 bytesexamples/guides/smart_database/README.mddoc8,630 bytesexamples/guides/voice_agents/voice_agents_examples/README.mddoc2,057 bytesexamples/guides/voice_agents/voice_agents_examples/agent_speech.pyruns601 bytesexamples/guides/voice_agents/voice_agents_examples/agent_with_speech.pyruns795 bytesexamples/guides/voice_agents/voice_agents_examples/debate_with_speech.pyruns5,237 bytesexamples/guides/voice_agents/voice_agents_examples/google_calendar_agent.pyruns14,049 bytesexamples/guides/voice_agents/voice_agents_examples/hiearchical_speech_swarm.pyruns3,122 bytesexamples/guides/voice_agents/voice_agents_examples/run_auto_agent_with_speech.pyruns1,024 bytesexamples/guides/web_scraper_agents/README.mddoc565 bytesexamples/guides/web_scraper_agents/batched_scraper_agent.pyruns920 bytesexamples/guides/web_scraper_agents/web_scraper_agent.pyruns599 bytesexamples/guides/workshops/README.mddoc827 bytesexamples/guides/workshops/workshop_sep_20/agent_tools_dict_example.pyruns399 bytesexamples/guides/workshops/workshop_sep_20/batched_grid_simple_example.pyruns1,253 bytesexamples/guides/workshops/workshop_sep_20/geo_guesser_agent.pyruns889 bytesexamples/guides/workshops/workshop_sep_20/hk.jpgasset84,500 bytesexamples/guides/workshops/workshop_sep_20/jarvis_agent.pyruns780 bytesexamples/guides/workshops/workshop_sep_20/miami.jpgasset154,531 bytesexamples/guides/workshops/workshop_sep_20/mountains.jpgasset1,243,046 bytesexamples/guides/x402_examples/README.mddoc2,823 bytesexamples/guides/x402_examples/agent_integration/x402_agent_buying.pyruns1,604 bytesexamples/guides/x402_examples/agent_integration/x402_discovery_query.pyruns7,343 bytesexamples/guides/x402_examples/env.exampleasset505 bytesexamples/guides/x402_examples/memecoin_agent_x402.pyruns8,319 bytesexamples/guides/x402_examples/research_agent_x402_example.pyruns2,179 bytesexamples/mcp/README.mddoc1,912 bytesexamples/mcp/agents/01_deepwiki_repo_qa.pyruns1,900 bytesexamples/mcp/agents/02_gitmcp_repo_docs.pyruns1,317 bytesexamples/mcp/agents/03_microsoft_learn_docs.pyruns1,202 bytesexamples/mcp/agents/04_multi_server_agent.pyruns1,454 bytesexamples/mcp/agents/05_exa_web_search.pyruns2,451 bytesexamples/mcp/agents/07_huggingface_model_search.pyruns2,524 bytesexamples/mcp/agents/10_firecrawl_web_scraping.pyruns2,823 bytesexamples/mcp/agents/12_semgrep_security_scan.pyruns3,399 bytesexamples/mcp/agents/13_mcp_sequential_workflow.pyruns4,401 bytesexamples/mcp/agents/FREE_MCP_SERVERS.mddoc6,727 bytesexamples/mcp/agents/README.mddoc2,792 bytesexamples/mcp/agents/autonomous_agent_dynamic_tools.pyruns2,211 bytesexamples/mcp/agents/deepwiki_minimal.pyruns2,241 bytesexamples/mcp/agents/finance_agent_mcp.pyruns693 bytesexamples/mcp/agents/mcp_connection_object.pyruns630 bytesexamples/mcp/agents/mcp_with_local_tools.pyruns1,384 bytesexamples/mcp/agents/multi_mcp_urls.pyruns1,776 bytesexamples/mcp/agents/multi_mcp_walkthrough.pyruns5,047 bytesexamples/mcp/agents/tools_list_dictionary.pyruns1,884 bytesexamples/mcp/client/01_list_tools.pyruns1,385 bytesexamples/mcp/client/02_call_tool.pyruns1,097 bytesexamples/mcp/client/03_execute_llm_tool_calls.pyruns1,762 bytesexamples/mcp/client/04_multi_server.pyruns2,147 bytesexamples/mcp/client/05_auth_and_config.pyruns3,084 bytesexamples/mcp/client/06_remote_agents.pyruns1,974 bytesexamples/mcp/client/README.mddoc2,475 bytesexamples/mcp/mcp_deployer/README.mddoc3,675 bytesexamples/mcp/mcp_deployer/background_server_and_client_agent.pyruns1,281 bytesexamples/mcp/mcp_deployer/custom_auth_per_tenant.pyruns989 bytesexamples/mcp/mcp_deployer/env_keys_and_extra_tools.pyruns871 bytesexamples/mcp/mcp_deployer/multiple_agents_one_server.pyruns1,425 bytesexamples/mcp/mcp_deployer/owner_key_or_tenant_auth.pyruns889 bytesexamples/mcp/mcp_deployer/plain_function_json_response.pyruns1,018 bytesexamples/mcp/mcp_deployer/sequential_workflow_as_tool.pyruns871 bytesexamples/mcp/mcp_deployer/single_agent_api_key.pyruns508 bytesexamples/mcp/mcp_deployer/sse_transport.pyruns462 bytesexamples/mcp/mcp_deployer/stdio_transport.pyruns373 bytesexamples/mcp/mcp_deployer/token_verifier_with_scopes.pyruns1,107 bytesexamples/mcp/servers/README.mddoc1,591 bytesexamples/mcp/servers/agent_as_tool_server.pyruns989 bytesexamples/mcp/servers/crypto_price_server.pyruns3,788 bytesexamples/mcp/servers/okx_crypto_server.pyruns3,881 bytesexamples/mcp/servers/streamable_http_server.pyruns798 bytesexamples/models/README.mddoc3,692 bytesexamples/models/anthropic/claude_4.pyruns668 bytesexamples/models/anthropic/claude_4_example.pyruns698 bytesexamples/models/anthropic/fable_agent.pyruns1,884 bytesexamples/models/anthropic/fable_example.pyruns726 bytesexamples/models/anthropic/swarms_claude_example.pyruns1,144 bytesexamples/models/azure/azure_agent.pyruns1,750 bytesexamples/models/azure/azure_agent_api_verison.pyruns1,774 bytesexamples/models/azure/azure_model_support.pyruns103 bytesexamples/models/cerebras/cerebras_example.pyruns372 bytesexamples/models/custom_llm/base_llm.pyruns798 bytesexamples/models/deepseek/deepseek_r1.pyruns220 bytesexamples/models/deepseek/fast_r1_groq.pyruns256 bytesexamples/models/deepseek/groq_deepseek_agent.pyruns256 bytesexamples/models/gpt_astra/gpt_astra.pyruns1,464 bytesexamples/models/gpt_astra/gpt_astra_usage.pyruns544 bytesexamples/models/gpt_astra/swarms_api_mixture_of_agents.pyruns2,758 bytesexamples/models/gpt_astra/swarms_api_single_agent.pyruns1,083 bytesexamples/models/gpt_oss/gpt_os_agent.pyruns1,170 bytesexamples/models/gpt_oss/groq_gpt_oss_models.pyruns1,761 bytesexamples/models/gpt_oss/multi_agent_gpt_oss_example.pyruns3,964 bytesexamples/models/llama4/litellm_example.pyruns203 bytesexamples/models/llama4/llama_4.pyruns1,453 bytesexamples/models/llama4/simple_agent.pyruns746 bytesexamples/models/lumo/lumo_example.pyruns1,713 bytesexamples/models/mistral/mistral_example.pyruns663 bytesexamples/models/moonshot/kimi_k3_local.pyruns1,595 bytesexamples/models/moonshot/kimi_k3_or.pyruns1,604 bytesexamples/models/ollama/kimi_k3_local_agent.pyruns968 bytesexamples/models/ollama/simple_example_ollama.pyruns517 bytesexamples/models/openai/4o_mini_demo.pyruns7,714 bytesexamples/models/openai/5.4_openai.pyruns1,479 bytesexamples/models/openai/concurrent_gpt5.pyruns4,392 bytesexamples/models/openai/example_o3.pyruns591 bytesexamples/models/openai/gpt_5.6_sol.pyruns655 bytesexamples/models/openai/gpt_5_example.pyruns718 bytesexamples/models/openai/o3_agent.pyruns479 bytesexamples/models/openai/reasoning_duo_batched.pyruns598 bytesexamples/models/openai/test_async_litellm.pyruns306 bytesexamples/models/openrouter/glm_or.pyruns758 bytesexamples/models/openrouter/groupchat_or.pyruns948 bytesexamples/models/openrouter/hy3_or.pyruns762 bytesexamples/models/openrouter/k3_kimi.pyruns2,331 bytesexamples/models/openrouter/k3_kimi_example.pyruns1,137 bytesexamples/models/openrouter/kimi_k3_single_agent.pyruns919 bytesexamples/models/openrouter/minimax.pyruns764 bytesexamples/models/qwen/qwen_3_base.pyruns2,143 bytesexamples/models/vllm/vllm_example.pyruns1,455 bytesexamples/models/vllm/vllm_wrapper.pyruns5,046 bytesexamples/multi_agent/README.mddoc9,859 bytesexamples/multi_agent/advisor_swarm_examples/advisor_swarm_example.pyruns723 bytesexamples/multi_agent/agent_grpo_examples/agent_grpo_math_example.pyruns2,642 bytesexamples/multi_agent/agent_grpo_examples/agent_grpo_physics_example.pyruns3,353 bytesexamples/multi_agent/agent_rearrange_examples/01_fan_out.pyruns2,538 bytesexamples/multi_agent/agent_rearrange_examples/02_fan_in.pyruns2,383 bytesexamples/multi_agent/agent_rearrange_examples/03_multi_stage.pyruns2,237 bytesexamples/multi_agent/agent_rearrange_examples/04_multi_provider_ensemble.pyruns2,623 bytesexamples/multi_agent/agent_rearrange_examples/05_new_features_showcase.pyruns1,269 bytesexamples/multi_agent/agent_rearrange_examples/README.mddoc542 bytesexamples/multi_agent/agent_rearrange_examples/batch_run_concurrent_example.pyruns4,441 bytesexamples/multi_agent/agent_rearrange_examples/diamond_flow_real_agents.pyruns3,533 bytesexamples/multi_agent/agent_rearrange_examples/nested_swarms_demo.pyruns11,684 bytesexamples/multi_agent/agent_rearrange_examples/rearrange_test.pyruns4,095 bytesexamples/multi_agent/agent_rearrange_examples/refactor_smoke_example.pyruns1,602 bytesexamples/multi_agent/agent_router_examples/README.mddoc471 bytesexamples/multi_agent/agent_router_examples/agent_router_example.pyruns1,888 bytesexamples/multi_agent/agent_router_examples/refactor_smoke_example.pyruns1,279 bytesexamples/multi_agent/aggregate_examples/aggregate_typed_turns_example.pyruns2,110 bytesexamples/multi_agent/alternate_debates/README.mddoc3,202 bytesexamples/multi_agent/alternate_debates/brainstorming_session.pyruns6,708 bytesexamples/multi_agent/alternate_debates/council_meeting.pyruns6,670 bytesexamples/multi_agent/alternate_debates/interview_series.pyruns5,338 bytesexamples/multi_agent/alternate_debates/mediation_session.pyruns5,846 bytesexamples/multi_agent/alternate_debates/mentorship_session.pyruns5,603 bytesexamples/multi_agent/alternate_debates/negotiation_session.pyruns6,869 bytesexamples/multi_agent/alternate_debates/peer_review_process.pyruns5,201 bytesexamples/multi_agent/alternate_debates/trial_simulation.pyruns8,545 bytesexamples/multi_agent/asb/README.mddoc854 bytesexamples/multi_agent/asb/asb_research.pyruns362 bytesexamples/multi_agent/asb/auto_agent.pyruns7,602 bytesexamples/multi_agent/asb/auto_swarm_builder_example.pyruns607 bytesexamples/multi_agent/asb/auto_swarm_builder_spec_only_example.pyruns286 bytesexamples/multi_agent/asb/auto_swarm_builder_test.pyruns660 bytesexamples/multi_agent/asb/auto_swarm_router.pyruns3,199 bytesexamples/multi_agent/asb/content_creation_asb.pyruns498 bytesexamples/multi_agent/auction_swarm_examples/README.mddoc4,124 bytesexamples/multi_agent/auction_swarm_examples/basic_auction.pyruns1,702 bytesexamples/multi_agent/auction_swarm_examples/batch_auction.pyruns1,700 bytesexamples/multi_agent/auction_swarm_examples/custom_scoring_auction.pyruns2,227 bytesexamples/multi_agent/auto_agent_builder_examples/README.mddoc5,669 bytesexamples/multi_agent/auto_agent_builder_examples/auto_agent_builder_example.pyruns1,395 bytesexamples/multi_agent/auto_agent_builder_examples/auto_agent_builder_simple.pyruns475 bytesexamples/multi_agent/auto_agent_builder_examples/concurrent_workflow.pyruns732 bytesexamples/multi_agent/auto_agent_builder_examples/exact_agent_count.pyruns632 bytesexamples/multi_agent/auto_agent_builder_examples/save_and_reuse_roster.pyruns1,476 bytesexamples/multi_agent/auto_agent_builder_examples/swarm_router_handoff.pyruns760 bytesexamples/multi_agent/batched_grid_workflow/README.mddoc1,913 bytesexamples/multi_agent/batched_grid_workflow/batched_grid_advanced_example.pyruns8,774 bytesexamples/multi_agent/batched_grid_workflow/batched_grid_simple_example.pyruns1,112 bytesexamples/multi_agent/batched_grid_workflow/batched_grid_swarm_router.pyruns1,162 bytesexamples/multi_agent/batched_grid_workflow/batched_grid_workflow_example.pyruns6,745 bytesexamples/multi_agent/broadcast_examples/README.mddoc1,073 bytesexamples/multi_agent/broadcast_examples/broadcast_class_example.pyruns937 bytesexamples/multi_agent/broadcast_examples/broadcast_function_example.pyruns912 bytesexamples/multi_agent/caching_examples/README.mddoc560 bytesexamples/multi_agent/caching_examples/example_multi_agent_caching.pyruns11,501 bytesexamples/multi_agent/caching_examples/quick_start_agent_caching.pyruns4,523 bytesexamples/multi_agent/concurrent_examples/README.mddoc1,271 bytesexamples/multi_agent/concurrent_examples/asi.pyruns926 bytesexamples/multi_agent/concurrent_examples/concurrent_example.pyruns2,842 bytesexamples/multi_agent/concurrent_examples/concurrent_example_dashboard.pyruns2,040 bytesexamples/multi_agent/concurrent_examples/concurrent_mix.pyruns3,491 bytesexamples/multi_agent/concurrent_examples/concurrent_swarm_example.pyruns919 bytesexamples/multi_agent/concurrent_examples/concurrent_workflow_autosave_example.pyruns1,761 bytesexamples/multi_agent/concurrent_examples/concurrent_workflow_random_example.pyruns1,674 bytesexamples/multi_agent/concurrent_examples/example_concurrent.pyruns1,663 bytesexamples/multi_agent/concurrent_examples/streaming_callback/example_streaming_workflow.pyruns1,670 bytesexamples/multi_agent/concurrent_examples/streaming_callback/parallel_search_agents.pyruns2,769 bytesexamples/multi_agent/concurrent_examples/streaming_concurrent_workflow.pyruns1,928 bytesexamples/multi_agent/council/judges/README.mddoc611 bytesexamples/multi_agent/council/judges/council_judge_basic.pyruns665 bytesexamples/multi_agent/council/judges/council_judge_complex_example.pyruns4,838 bytesexamples/multi_agent/council/judges/council_judge_custom_example.pyruns5,856 bytesexamples/multi_agent/council/judges/council_judge_evaluation.pyruns12,705 bytesexamples/multi_agent/council/judges/council_judge_example.pyruns1,683 bytesexamples/multi_agent/council/judges/council_of_judges_eval.pyruns616 bytesexamples/multi_agent/council/llm_council/README.mddoc4,117 bytesexamples/multi_agent/council/llm_council/business_strategy_council.pyruns947 bytesexamples/multi_agent/council/llm_council/etf_stock_analysis_council.pyruns824 bytesexamples/multi_agent/council/llm_council/finance_analysis_council.pyruns797 bytesexamples/multi_agent/council/llm_council/legal_analysis_council.pyruns963 bytesexamples/multi_agent/council/llm_council/llm_council_example.pyruns294 bytesexamples/multi_agent/council/llm_council/marketing_strategy_council.pyruns764 bytesexamples/multi_agent/council/llm_council/medical_diagnosis_council.pyruns918 bytesexamples/multi_agent/council/llm_council/medical_treatment_council.pyruns918 bytesexamples/multi_agent/council/llm_council/research_analysis_council.pyruns1,069 bytesexamples/multi_agent/council/llm_council/technology_assessment_council.pyruns1,002 bytesexamples/multi_agent/debate_examples/README.mddoc2,879 bytesexamples/multi_agent/debate_examples/business_strategy_debate_example.pyruns3,503 bytesexamples/multi_agent/debate_examples/debate_with_judge_example.pyruns373 bytesexamples/multi_agent/debate_examples/policy_debate_example.pyruns3,173 bytesexamples/multi_agent/debate_examples/technical_architecture_debate_example.pyruns2,524 bytesexamples/multi_agent/election_swarm_examples/README.mddoc617 bytesexamples/multi_agent/election_swarm_examples/apple_board_election_example.pyruns12,219 bytesexamples/multi_agent/election_swarm_examples/election_example.pyruns0 bytesexamples/multi_agent/exec_utilities/README.mddoc561 bytesexamples/multi_agent/forest_swarm_examples/README.mddoc856 bytesexamples/multi_agent/forest_swarm_examples/forest_swarm_example.pyruns10,983 bytesexamples/multi_agent/forest_swarm_examples/fund_manager_forest.pyruns6,450 bytesexamples/multi_agent/forest_swarm_examples/medical_forest_swarm.pyruns6,876 bytesexamples/multi_agent/forest_swarm_examples/tree_example.pyruns1,238 bytesexamples/multi_agent/forest_swarm_examples/tree_swarm_test.pyruns1,127 bytesexamples/multi_agent/graphworkflow_examples/README.mddoc984 bytesexamples/multi_agent/graphworkflow_examples/advanced_graph_workflow.pyruns13,611 bytesexamples/multi_agent/graphworkflow_examples/example_images/Graph-Workflow-01_visualization_ddbd7109-c7b1-40f6-83f0-f90771c3beac.pngasset11,258 bytesexamples/multi_agent/graphworkflow_examples/example_images/graph_workflow_example.pngasset11,258 bytesexamples/multi_agent/graphworkflow_examples/example_images/test_graphviz_visualization.pngasset37,255 bytesexamples/multi_agent/graphworkflow_examples/graph/graph_workflow_basic.pyruns1,397 bytesexamples/multi_agent/graphworkflow_examples/graph/graph_workflow_example.pyruns1,125 bytesexamples/multi_agent/graphworkflow_examples/graph_workflow_basic.pyruns1,195 bytesexamples/multi_agent/graphworkflow_examples/graph_workflow_basic_new.pyruns1,251 bytesexamples/multi_agent/graphworkflow_examples/graph_workflow_checkpointing.pyruns4,895 bytesexamples/multi_agent/graphworkflow_examples/graph_workflow_composition.pyruns4,374 bytesexamples/multi_agent/graphworkflow_examples/graph_workflow_example.pyruns1,460 bytesexamples/multi_agent/graphworkflow_examples/graph_workflow_fanout_fanin.pyruns1,780 bytesexamples/multi_agent/graphworkflow_examples/graph_workflow_serialization.pyruns3,938 bytesexamples/multi_agent/graphworkflow_examples/graph_workflow_streaming.pyruns3,962 bytesexamples/multi_agent/graphworkflow_examples/graph_workflow_validate.pyruns4,258 bytesexamples/multi_agent/graphworkflow_examples/graph_workflow_validation.pyruns2,052 bytesexamples/multi_agent/graphworkflow_examples/rustworkx_examples/01_basic_usage.pyruns1,278 bytesexamples/multi_agent/graphworkflow_examples/rustworkx_examples/02_backend_comparison.pyruns1,301 bytesexamples/multi_agent/graphworkflow_examples/rustworkx_examples/03_fan_out_fan_in_patterns.pyruns1,776 bytesexamples/multi_agent/graphworkflow_examples/rustworkx_examples/04_complex_workflow.pyruns2,435 bytesexamples/multi_agent/graphworkflow_examples/rustworkx_examples/05_performance_benchmark.pyruns2,531 bytesexamples/multi_agent/graphworkflow_examples/rustworkx_examples/06_error_handling.pyruns1,273 bytesexamples/multi_agent/graphworkflow_examples/rustworkx_examples/07_large_scale_workflow.pyruns1,430 bytesexamples/multi_agent/graphworkflow_examples/rustworkx_examples/08_parallel_chain_example.pyruns1,809 bytesexamples/multi_agent/graphworkflow_examples/rustworkx_examples/09_workflow_validation.pyruns2,013 bytesexamples/multi_agent/graphworkflow_examples/rustworkx_examples/10_real_world_scenario.pyruns3,121 bytesexamples/multi_agent/graphworkflow_examples/rustworkx_examples/Fan-Out-Fan-In-Workflow_visualization_1329d9aa-4cba-4eb5-a42c-5e4ccd165e4d.pngasset28,198 bytesexamples/multi_agent/graphworkflow_examples/rustworkx_examples/README.mddoc4,237 bytesexamples/multi_agent/graphworkflow_examples/test_parallel_processing_example.pyruns17,360 bytesexamples/multi_agent/groupchat/README.mddoc1,686 bytesexamples/multi_agent/groupchat/dynamic_groupchat_example.pyruns1,088 bytesexamples/multi_agent/groupchat/dynamic_groupchat_example_simple.pyruns965 bytesexamples/multi_agent/groupchat/enhanced_collaboration_example.pyruns6,547 bytesexamples/multi_agent/groupchat/groupchat_examples/crypto_tax.pyruns1,703 bytesexamples/multi_agent/groupchat/groupchat_examples/crypto_tax_swarm.pyruns4,116 bytesexamples/multi_agent/groupchat/groupchat_examples/group_chat_example.pyruns1,446 bytesexamples/multi_agent/groupchat/groupchat_examples/groupchat_example.pyruns1,836 bytesexamples/multi_agent/groupchat/groupchat_examples/mortgage_tax_panel_example.pyruns5,732 bytesexamples/multi_agent/groupchat/kimi_k3_groupchat.pyruns1,611 bytesexamples/multi_agent/groupchat/medical_panel_example.pyruns6,072 bytesexamples/multi_agent/groupchat/philosopher_groupchat.pyruns3,369 bytesexamples/multi_agent/groupchat/quantum_physics_swarm.pyruns8,584 bytesexamples/multi_agent/groupchat/simple_groupchat_reshoring_swarm.pyruns3,869 bytesexamples/multi_agent/groupchat/stream_example.pyruns498 bytesexamples/multi_agent/groupchat/test_groupchat_feat.pyruns801 bytesexamples/multi_agent/heavy_swarm_examples/README.mddoc850 bytesexamples/multi_agent/heavy_swarm_examples/heavy_swarm.pyruns742 bytesexamples/multi_agent/heavy_swarm_examples/heavy_swarm_16_agents.pyruns787 bytesexamples/multi_agent/heavy_swarm_examples/heavy_swarm_4_agents.pyruns801 bytesexamples/multi_agent/heavy_swarm_examples/heavy_swarm_example.pyruns807 bytesexamples/multi_agent/heavy_swarm_examples/heavy_swarm_example_one.pyruns632 bytesexamples/multi_agent/heavy_swarm_examples/heavy_swarm_example_research.pyruns414 bytesexamples/multi_agent/heavy_swarm_examples/heavy_swarm_example_research_swarm.pyruns381 bytesexamples/multi_agent/heavy_swarm_examples/heavy_swarm_grok_basic.pyruns736 bytesexamples/multi_agent/heavy_swarm_examples/heavy_swarm_grok_heavy.pyruns540 bytesexamples/multi_agent/heavy_swarm_examples/heavy_swarm_grok_medical.pyruns858 bytesexamples/multi_agent/heavy_swarm_examples/heavy_swarm_grok_no_dashboard.pyruns506 bytesexamples/multi_agent/heavy_swarm_examples/heavy_swarm_grok_question_preview.pyruns865 bytesexamples/multi_agent/heavy_swarm_examples/heavy_swarm_grok_router.pyruns650 bytesexamples/multi_agent/heavy_swarm_examples/heavy_swarm_no_dashboard.pyruns739 bytesexamples/multi_agent/heavy_swarm_examples/heavy_swarm_with_image.pyruns995 bytesexamples/multi_agent/heavy_swarm_examples/medical_heavy_swarm_example.pyruns1,501 bytesexamples/multi_agent/heavy_swarm_examples/revenue_by_region.pngasset21,436 bytesexamples/multi_agent/hierarchical_swarm/README.mddoc1,815 bytesexamples/multi_agent/hierarchical_swarm/display_hierarchy_example.pyruns1,290 bytesexamples/multi_agent/hierarchical_swarm/example_hierarchical.pyruns1,902 bytesexamples/multi_agent/hierarchical_swarm/hiearchical_examples/advanced_hierarchical_swarm_examples.pyruns17,118 bytesexamples/multi_agent/hierarchical_swarm/hiearchical_examples/hiearchical_swarm_test.pyruns12,014 bytesexamples/multi_agent/hierarchical_swarm/hiearchical_examples/hierarchical_swarm_example.pyruns6,787 bytesexamples/multi_agent/hierarchical_swarm/hiearchical_swarm_example.pyruns1,310 bytesexamples/multi_agent/hierarchical_swarm/hiearchical_swarm_new_features_example.pyruns1,203 bytesexamples/multi_agent/hierarchical_swarm/hiearchical_swarm_ui/debug_dashboard.pyruns1,718 bytesexamples/multi_agent/hierarchical_swarm/hierarchical_swarm_autosave_example.pyruns1,281 bytesexamples/multi_agent/hierarchical_swarm/hierarchical_swarm_basic_demo.pyruns1,399 bytesexamples/multi_agent/hierarchical_swarm/hierarchical_swarm_batch_demo.pyruns2,992 bytesexamples/multi_agent/hierarchical_swarm/hierarchical_swarm_comparison_demo.pyruns3,773 bytesexamples/multi_agent/hierarchical_swarm/hierarchical_swarm_example.pyruns6,102 bytesexamples/multi_agent/hierarchical_swarm/hierarchical_swarm_plan_panel_example.pyruns1,038 bytesexamples/multi_agent/hierarchical_swarm/hierarchical_swarm_streaming_demo.pyruns5,115 bytesexamples/multi_agent/hierarchical_swarm/hierarchical_swarm_streaming_example.pyruns9,122 bytesexamples/multi_agent/hierarchical_swarm/hs_interactive.pyruns628 bytesexamples/multi_agent/hierarchical_swarm/hs_stock_team.pyruns10,548 bytesexamples/multi_agent/hierarchical_swarm/hybrid_hiearchical_swarm.pyruns3,762 bytesexamples/multi_agent/hierarchical_swarm/sector_analysis_hiearchical_swarm.pyruns2,215 bytesexamples/multi_agent/hierarchical_swarm/simple_hierarchical_swarm_recovery.pyruns1,876 bytesexamples/multi_agent/ma_blocks_examples/find_agent_by_name_example.pyruns1,290 bytesexamples/multi_agent/majority_voting/README.mddoc697 bytesexamples/multi_agent/majority_voting/_doda_majority_voting_example_new.pyruns7,162 bytesexamples/multi_agent/majority_voting/majority_voting_example.pyruns1,107 bytesexamples/multi_agent/majority_voting/majority_voting_example_new.pyruns6,469 bytesexamples/multi_agent/majority_voting/snake_game_code_voting.pyruns5,148 bytesexamples/multi_agent/mar/README.mddoc895 bytesexamples/multi_agent/mar/model_router_example.pyruns279 bytesexamples/multi_agent/mar/multi_agent_router_example.pyruns1,448 bytesexamples/multi_agent/mar/multi_agent_router_minimal.pyruns605 bytesexamples/multi_agent/mar/multi_agent_router_specialist_routing.pyruns2,452 bytesexamples/multi_agent/mar/refactor_smoke_example.pyruns1,315 bytesexamples/multi_agent/moa_examples/README.mddoc556 bytesexamples/multi_agent/moa_examples/mixture_of_agents_example.pyruns2,269 bytesexamples/multi_agent/moa_examples/test_moa_new.pyruns1,623 bytesexamples/multi_agent/one_to_one_examples/README.mddoc1,120 bytesexamples/multi_agent/one_to_one_examples/one_to_one_class_example.pyruns751 bytesexamples/multi_agent/one_to_one_examples/one_to_one_function_example.pyruns626 bytesexamples/multi_agent/one_to_three_examples/README.mddoc1,122 bytesexamples/multi_agent/one_to_three_examples/one_to_three_class_example.pyruns979 bytesexamples/multi_agent/one_to_three_examples/one_to_three_function_example.pyruns784 bytesexamples/multi_agent/orchestration_examples/README.mddoc1,541 bytesexamples/multi_agent/orchestration_examples/ai_ethics_debate.pyruns2,811 bytesexamples/multi_agent/orchestration_examples/cybersecurity_incident_negotiation.pyruns4,180 bytesexamples/multi_agent/orchestration_examples/healthcare_panel_discussion.pyruns2,799 bytesexamples/multi_agent/orchestration_examples/insurance_claim_review.pyruns3,252 bytesexamples/multi_agent/orchestration_examples/investment_council_meeting.pyruns3,768 bytesexamples/multi_agent/orchestration_examples/medical_malpractice_trial.pyruns3,924 bytesexamples/multi_agent/orchestration_examples/merger_mediation_session.pyruns4,318 bytesexamples/multi_agent/orchestration_examples/nvidia_amd_executive_negotiation.pyruns7,559 bytesexamples/multi_agent/orchestration_examples/pharma_research_brainstorm.pyruns3,878 bytesexamples/multi_agent/orchestration_examples/philosophy_discussion_example.pyruns2,145 bytesexamples/multi_agent/orchestration_examples/startup_mentorship_program.pyruns2,714 bytesexamples/multi_agent/paper_implementations/README.mddoc435 bytesexamples/multi_agent/paper_implementations/long_agent.pyruns15,041 bytesexamples/multi_agent/phased_fan_out_workflow/bug_hunt.pyruns834 bytesexamples/multi_agent/phased_fan_out_workflow/contract_review.pyruns2,141 bytesexamples/multi_agent/planner_generator_evaluator/pge_example.pyruns1,040 bytesexamples/multi_agent/planner_generator_evaluator/pge_with_tools_example.pyruns2,561 bytesexamples/multi_agent/planner_worker_swarm/planner_worker_swarm_example.pyruns2,532 bytesexamples/multi_agent/round_robin_examples/engineering_design_review.pyruns2,733 bytesexamples/multi_agent/round_robin_examples/investment_committee_etf.pyruns2,519 bytesexamples/multi_agent/round_robin_examples/medical_treatment_review.pyruns2,318 bytesexamples/multi_agent/round_robin_examples/round_robin_example.pyruns1,688 bytesexamples/multi_agent/sequential_workflow/README.mddoc1,118 bytesexamples/multi_agent/sequential_workflow/drift_detection_commodities.pyruns2,561 bytesexamples/multi_agent/sequential_workflow/example_sequential.pyruns1,707 bytesexamples/multi_agent/sequential_workflow/research_analyse_write.pyruns1,289 bytesexamples/multi_agent/sequential_workflow/sequential_streaming_simple.pyruns908 bytesexamples/multi_agent/sequential_workflow/sequential_wofkflow.pyruns735 bytesexamples/multi_agent/sequential_workflow/sequential_worflow_test.pyruns2,594 bytesexamples/multi_agent/sequential_workflow/sequential_workflow.pyruns4,377 bytesexamples/multi_agent/sequential_workflow/sequential_workflow_autosave_example.pyruns1,782 bytesexamples/multi_agent/sequential_workflow/sequential_workflow_drift_detection.pyruns1,672 bytesexamples/multi_agent/sequential_workflow/sequential_workflow_example.pyruns1,724 bytesexamples/multi_agent/sequential_workflow/sequential_workflow_streaming.pyruns3,712 bytesexamples/multi_agent/sequential_workflow/sonnet_4_5_sequential.pyruns889 bytesexamples/multi_agent/simulations/agent_map/agent_map_simulation.pyruns58,602 bytesexamples/multi_agent/simulations/agent_map/hospital_simulation_demo.pyruns3,024 bytesexamples/multi_agent/simulations/agent_map/v0/README_simulation.mddoc9,014 bytesexamples/multi_agent/simulations/agent_map/v0/demo_simulation.pyruns10,763 bytesexamples/multi_agent/simulations/agent_map/v0/example_usage.pyruns2,351 bytesexamples/multi_agent/simulations/agent_map/v0/simple_hospital_demo.pyruns7,207 bytesexamples/multi_agent/simulations/agent_map/v0/test_group_conversations.pyruns6,298 bytesexamples/multi_agent/simulations/euroswarm_parliament/README.mddoc13,407 bytesexamples/multi_agent/simulations/euroswarm_parliament/__init__.pyruns1,812 bytesexamples/multi_agent/simulations/euroswarm_parliament/euroswarm_parliament_example.pyruns1,813 bytesexamples/multi_agent/simulations/euroswarm_parliament/wikipedia_personality_scraper.pyruns22,104 bytesexamples/multi_agent/simulations/example_bell_labs.pyruns1,061 bytesexamples/multi_agent/simulations/map_generation/game_map.pyruns21,759 bytesexamples/multi_agent/simulations/map_generation/map.pngasset965,560 bytesexamples/multi_agent/simulations/map_generation/map_two.pngasset1,095,093 bytesexamples/multi_agent/skill_orchestra_examples/skill_orchestra.pyruns31,999 bytesexamples/multi_agent/skill_orchestra_examples/skill_orchestra_example.pyruns2,520 bytesexamples/multi_agent/social_algorithms_examples/README.mddoc1,773 bytesexamples/multi_agent/social_algorithms_examples/adaptive_workflow_algorithm_example.pyruns18,982 bytesexamples/multi_agent/social_algorithms_examples/auction_market_algorithm_example.pyruns7,142 bytesexamples/multi_agent/social_algorithms_examples/collaborative_brainstorming_example.pyruns2,975 bytesexamples/multi_agent/social_algorithms_examples/competitive_evaluation_example.pyruns2,592 bytesexamples/multi_agent/social_algorithms_examples/consensus_building_algorithm_example.pyruns11,532 bytesexamples/multi_agent/social_algorithms_examples/hierarchical_decision_making_example.pyruns2,841 bytesexamples/multi_agent/social_algorithms_examples/iterative_refinement_algorithm_example.pyruns10,271 bytesexamples/multi_agent/social_algorithms_examples/multi_stage_pipeline_algorithm_example.pyruns13,748 bytesexamples/multi_agent/social_algorithms_examples/negotiation_algorithm_example.pyruns13,952 bytesexamples/multi_agent/social_algorithms_examples/peer_review_example.pyruns2,537 bytesexamples/multi_agent/social_algorithms_examples/refactor_smoke_example.pyruns1,825 bytesexamples/multi_agent/social_algorithms_examples/research_analysis_synthesis_example.pyruns2,541 bytesexamples/multi_agent/social_algorithms_examples/social_algorithms_example.pyruns3,456 bytesexamples/multi_agent/social_algorithms_examples/swarm_intelligence_algorithm_example.pyruns14,470 bytesexamples/multi_agent/spreadsheet_examples/README.mddoc1,579 bytesexamples/multi_agent/spreadsheet_examples/agent_config_example.csvasset992 bytesexamples/multi_agent/spreadsheet_examples/crypto_tax_swarm/crypto_tax_spreadsheet.pyruns885 bytesexamples/multi_agent/spreadsheet_examples/crypto_tax_swarm/crypto_tax_swarm_spreadsheet.csvasset2,277 bytesexamples/multi_agent/spreadsheet_examples/financial_analysis/swarm.csvasset2,237 bytesexamples/multi_agent/spreadsheet_examples/financial_analysis/swarm_csv.pyruns857 bytesexamples/multi_agent/spreadsheet_examples/spreadsheet_example.pyruns1,363 bytesexamples/multi_agent/spreadsheet_examples/spreadsheet_swarm_run_id_02575aa12829486c91967c24b927100b.csvasset8,332 bytesexamples/multi_agent/spreadsheet_examples/spreadsheet_swarm_run_id_69f4c23f5a97477ab2b8114521c33fd4.csvasset11,803 bytesexamples/multi_agent/spreadsheet_examples/spreadsheet_swarm_run_id_b93a2946b074493f8fa34a47377b2625.csvasset11,379 bytesexamples/multi_agent/spreadsheet_examples/spreadsheet_swarm_usage.pyruns5,016 bytesexamples/multi_agent/spreadsheet_examples/swarm_outputs/Spreedsheet-Swarm-Financial-Analysis-Swarm/Financial-Analysis-Swarm/spreedsheet-swarm-69f4c23f5a97477ab2b8114521c33fd4-metadata.jsonasset12,515 bytesexamples/multi_agent/spreadsheet_examples/swarm_outputs/Spreedsheet-Swarm-Financial-Analysis-Swarm/Financial-Analysis-Swarm/spreedsheet-swarm-b93a2946b074493f8fa34a47377b2625-metadata.jsonasset12,081 bytesexamples/multi_agent/swarm_router/README.mddoc1,413 bytesexamples/multi_agent/swarm_router/groupchat_swarm_router_example.pyruns1,776 bytesexamples/multi_agent/swarm_router/heavy_swarm_router_example.pyruns406 bytesexamples/multi_agent/swarm_router/market_analysis_swarm_router_concurrent.pyruns2,149 bytesexamples/multi_agent/swarm_router/sr_moa_example.pyruns2,436 bytesexamples/multi_agent/swarm_router/swarm_router.pyruns804 bytesexamples/multi_agent/swarm_router/swarm_router_benchmark.pyruns7,229 bytesexamples/multi_agent/swarm_router/swarm_router_concurrent_example.pyruns757 bytesexamples/multi_agent/swarm_router/swarm_router_example.pyruns6,010 bytesexamples/multi_agent/swarm_router/swarm_router_fallback_example.pyruns1,705 bytesexamples/multi_agent/swarm_router/swarm_router_mv.pyruns1,029 bytesexamples/multi_agent/swarm_router/swarm_router_test.pyruns2,391 bytesexamples/multi_agent/swarm_router/swarm_router_usage.pyruns3,439 bytesexamples/multi_agent/swarms_api_examples/README.mddoc520 bytesexamples/multi_agent/swarms_api_examples/hedge_fund_swarm.pyruns3,778 bytesexamples/multi_agent/swarms_api_examples/medical_swarm.pyruns5,090 bytesexamples/multi_agent/swarms_api_examples/swarms_api_client.pyruns1,535 bytesexamples/multi_agent/swarms_api_examples/swarms_api_example.pyruns5,815 bytesexamples/multi_agent/swarms_api_examples/tools_examples.pyruns7,912 bytesexamples/multi_agent/utils/README.mddoc481 bytesexamples/multi_agent/utils/agent_communication_examples.pyruns9,828 bytesexamples/multi_agent/utils/aggregate_example.pyruns1,318 bytesexamples/multi_agent/utils/batch_agent_example.pyruns2,622 bytesexamples/multi_agent/utils/meme_agents/bob_the_agent.pyruns1,876 bytesexamples/multi_agent/utils/one_to_one_broadcast_one_to_three.pyruns1,766 bytesexamples/multi_agent/utils/test_agent_concurrent.pyruns1,067 bytesexamples/multi_agent/utils/unique_swarms_examples.pyruns6,771 bytesexamples/reasoning_agents/README.mddoc2,353 bytesexamples/reasoning_agents/agent_judge_examples/example1_basic_evaluation.pyruns457 bytesexamples/reasoning_agents/agent_judge_examples/example2_technical_evaluation.pyruns733 bytesexamples/reasoning_agents/agent_judge_examples/example3_creative_evaluation.pyruns789 bytesexamples/reasoning_agents/moa_seq_example.pyruns446 bytesexamples/reasoning_agents/reasoning_agent_router_examples/agent_judge_example.pyruns239 bytesexamples/reasoning_agents/reasoning_agent_router_examples/gkp_agent_example.pyruns241 bytesexamples/reasoning_agents/reasoning_agent_router_examples/ire_example.pyruns249 bytesexamples/reasoning_agents/reasoning_agent_router_examples/reasoning_duo_example.pyruns216 bytesexamples/reasoning_agents/reasoning_agent_router_examples/reflexion_agent_example.pyruns253 bytesexamples/reasoning_agents/reasoning_agent_router_examples/self_consistency_example.pyruns256 bytesexamples/reasoning_agents/tree_of_thoughts_examples/README.mddoc3,863 bytesexamples/reasoning_agents/tree_of_thoughts_examples/mathematics/calculus_optimization.pyruns1,562 bytesexamples/reasoning_agents/tree_of_thoughts_examples/mathematics/irrationality_proof.pyruns1,490 bytesexamples/reasoning_agents/tree_of_thoughts_examples/mathematics/number_theory_counting.pyruns1,414 bytesexamples/reasoning_agents/tree_of_thoughts_examples/physics/fermi_estimation.pyruns1,600 bytesexamples/reasoning_agents/tree_of_thoughts_examples/physics/loop_the_loop.pyruns1,694 bytesexamples/reasoning_agents/tree_of_thoughts_examples/physics/projectile_motion.pyruns1,567 bytesexamples/reasoning_agents/tree_of_thoughts_examples/reasoning/bridge_and_torch.pyruns1,767 bytesexamples/reasoning_agents/tree_of_thoughts_examples/reasoning/constraint_scheduling.pyruns1,799 bytesexamples/reasoning_agents/tree_of_thoughts_examples/reasoning/knights_and_knaves.pyruns1,563 bytesexamples/single_agent/README.mddoc9,609 bytesexamples/single_agent/capabilities/autonomy/autonomous_agents/auto_agent.pyruns384 bytesexamples/single_agent/capabilities/autonomy/autonomous_agents/auto_agent_quant_etf.pyruns1,456 bytesexamples/single_agent/capabilities/autonomy/autonomous_agents/autonomous_agent.pyruns4,673 bytesexamples/single_agent/capabilities/autonomy/autonomous_agents/example_autonomous_looper_run_bash.pyruns1,115 bytesexamples/single_agent/capabilities/autonomy/autonomous_agents/marketplace_and_auto_agent.pyruns4,653 bytesexamples/single_agent/capabilities/autonomy/autonomous_agents/medical_research_auto_loop.pyruns1,760 bytesexamples/single_agent/capabilities/autonomy/autonomous_agents/sub_agent_test.pyruns637 bytesexamples/single_agent/capabilities/autonomy/handoffs/autonomous_agent_with_handoffs_example.pyruns7,601 bytesexamples/single_agent/capabilities/autonomy/handoffs/duo_agent.pyruns1,480 bytesexamples/single_agent/capabilities/autonomy/handoffs/handoff_example.pyruns2,011 bytesexamples/single_agent/capabilities/autonomy/handoffs/handoffs_example.pyruns1,873 bytesexamples/single_agent/capabilities/messages/messages_example.pyruns1,551 bytesexamples/single_agent/capabilities/prompt_caching/1_basic_caching.pyruns1,006 bytesexamples/single_agent/capabilities/prompt_caching/2_cache_config_ttl.pyruns890 bytesexamples/single_agent/capabilities/prompt_caching/3_cache_config_tools.pyruns1,253 bytesexamples/single_agent/capabilities/prompt_caching/4_cache_config_system_only.pyruns958 bytesexamples/single_agent/capabilities/prompt_caching/5_cache_config_openai.pyruns1,090 bytesexamples/single_agent/capabilities/prompt_caching/6_cache_config_all_options.pyruns1,333 bytesexamples/single_agent/capabilities/prompt_caching/cache_config_example.pyruns2,788 bytesexamples/single_agent/capabilities/prompt_caching/prompt_caching_example.pyruns3,169 bytesexamples/single_agent/capabilities/rag/README.mddoc6,733 bytesexamples/single_agent/capabilities/rag/full_agent_rag_example.pyruns10,618 bytesexamples/single_agent/capabilities/rag/pinecone_example.pyruns2,097 bytesexamples/single_agent/capabilities/rag/qdrant_agent.pyruns5,525 bytesexamples/single_agent/capabilities/rag/qdrant_rag_example.pyruns3,160 bytesexamples/single_agent/capabilities/rag/simple_example.pyruns6,110 bytesexamples/single_agent/capabilities/skills/agent_with_custom_skill.pyruns1,829 bytesexamples/single_agent/capabilities/skills/agent_with_dynamic_skills.pyruns1,310 bytesexamples/single_agent/capabilities/skills/agent_with_multiple_skills.pyruns1,356 bytesexamples/single_agent/capabilities/skills/agent_with_skills.pyruns930 bytesexamples/single_agent/capabilities/skills/multiple_skill_dirs/after.pyruns998 bytesexamples/single_agent/capabilities/skills/multiple_skill_dirs/before.pyruns1,107 bytesexamples/single_agent/capabilities/streaming/agent_stream_token.pyruns186 bytesexamples/single_agent/capabilities/streaming/agent_streaming.pyruns3,211 bytesexamples/single_agent/capabilities/streaming/auto_loop_streaming_example.pyruns932 bytesexamples/single_agent/capabilities/streaming/example_streaming_tools.pyruns3,840 bytesexamples/single_agent/capabilities/streaming/streaming_example.pyruns3,894 bytesexamples/single_agent/capabilities/tools/README.mddoc2,179 bytesexamples/single_agent/capabilities/tools/agent_mcp.pyruns663 bytesexamples/single_agent/capabilities/tools/agent_with_exa.pyruns3,990 bytesexamples/single_agent/capabilities/tools/exa_search_agent.pyruns237 bytesexamples/single_agent/capabilities/tools/example_async_vs_multithread.pyruns1,731 bytesexamples/single_agent/capabilities/tools/litellm_tool_example.pyruns1,313 bytesexamples/single_agent/capabilities/tools/multi_tool_usage_agent.pyruns12,984 bytesexamples/single_agent/capabilities/tools/new_tools_examples.pyruns6,209 bytesexamples/single_agent/capabilities/tools/omni_modal_agent.pyruns11,325 bytesexamples/single_agent/capabilities/tools/solana_tool/solana_tool.pyruns8,793 bytesexamples/single_agent/capabilities/tools/solana_tool/solana_tool_test.pyruns9,250 bytesexamples/single_agent/capabilities/tools/structured_outputs/example_meaning_of_life_agents.pyruns6,097 bytesexamples/single_agent/capabilities/tools/structured_outputs/structured_outputs_example.pyruns1,719 bytesexamples/single_agent/capabilities/tools/swarms_of_browser_agents.pyruns769 bytesexamples/single_agent/capabilities/tools/swarms_tools_example.pyruns385 bytesexamples/single_agent/capabilities/tools/together_deepseek_agent.pyruns3,153 bytesexamples/single_agent/capabilities/tools/tools_examples/dex_screener.pyruns1,034 bytesexamples/single_agent/capabilities/tools/tools_examples/financial_news_agent.pyruns948 bytesexamples/single_agent/capabilities/tools/tools_examples/simple_tool_example.pyruns503 bytesexamples/single_agent/capabilities/tools/tools_examples/swarms_tool_example_simple.pyruns986 bytesexamples/single_agent/capabilities/vision/README.mddoc837 bytesexamples/single_agent/capabilities/vision/anthropic_vision_test.pyruns765 bytesexamples/single_agent/capabilities/vision/base_64_images/image.jpgasset2,383,916 bytesexamples/single_agent/capabilities/vision/base_64_images/test_base64_image.pyruns391 bytesexamples/single_agent/capabilities/vision/burning_image.jpgasset43,016 bytesexamples/single_agent/capabilities/vision/image.jpgasset237,149 bytesexamples/single_agent/capabilities/vision/image_batch_example.pyruns716 bytesexamples/single_agent/capabilities/vision/image_batch_processor.pyruns8,077 bytesexamples/single_agent/capabilities/vision/multimodal_example.pyruns3,495 bytesexamples/single_agent/capabilities/vision/multiple_image_processing.pyruns792 bytesexamples/single_agent/capabilities/vision/vision_test.pyruns675 bytesexamples/single_agent/capabilities/vision/vision_tools.pyruns2,392 bytesexamples/single_agent/demos/README.mddoc517 bytesexamples/single_agent/demos/insurance_agent.pyruns6,771 bytesexamples/single_agent/demos/persistent_legal_agent.pyruns3,273 bytesexamples/single_agent/getting_started/interactive.pyruns437 bytesexamples/single_agent/getting_started/onboarding/README.mddoc494 bytesexamples/single_agent/getting_started/onboarding/agents.yamlasset1,760 bytesexamples/single_agent/getting_started/onboarding/onboard-basic.pyruns622 bytesexamples/single_agent/getting_started/simple_agent.pyruns387 bytesexamples/single_agent/integrations/external_agents/README.mddoc492 bytesexamples/single_agent/integrations/marketplace/marketplace_prompt_example.pyruns522 bytesexamples/single_agent/integrations/marketplace/medical_agent_add_to_marketplace.pyruns2,839 bytesexamples/single_agent/integrations/marketplace/quant_trader_agent.pyruns458 bytesexamples/single_agent/integrations/marketplace/zia_agent.pyruns277 bytesexamples/single_agent/reasoning/README.mddoc1,327 bytesexamples/single_agent/reasoning/agent_judge_evaluation_criteria_example.pyruns3,838 bytesexamples/single_agent/reasoning/agent_judge_example.pyruns1,430 bytesexamples/single_agent/reasoning/consistency_agent.pyruns404 bytesexamples/single_agent/reasoning/consistency_example.pyruns954 bytesexamples/single_agent/reasoning/gpk_agent.pyruns524 bytesexamples/single_agent/reasoning/iterative_agent.pyruns166 bytesexamples/single_agent/reasoning/reasoning_agent_router.pyruns1,025 bytesexamples/single_agent/reasoning/reasoning_agent_router_now.pyruns1,040 bytesexamples/single_agent/reasoning/reasoning_duo.pyruns5,281 bytesexamples/single_agent/reasoning/reasoning_duo_example.pyruns848 bytesexamples/single_agent/reasoning/reasoning_duo_test.pyruns1,049 bytesexamples/single_agent/utils/README.mddoc1,440 bytesexamples/single_agent/utils/agent_usage.pyruns2,938 bytesexamples/single_agent/utils/async_agent.pyruns1,247 bytesexamples/single_agent/utils/autosaving_examples/autosave_basic_example.pyruns1,225 bytesexamples/single_agent/utils/autosaving_examples/autosave_config_access_example.pyruns1,581 bytesexamples/single_agent/utils/autosaving_examples/autosave_directory_structure_example.pyruns1,453 bytesexamples/single_agent/utils/autosaving_examples/autosave_recovery_example.pyruns1,506 bytesexamples/single_agent/utils/custom_agent_base_url.pyruns874 bytesexamples/single_agent/utils/dynamic_context_window.pyruns842 bytesexamples/single_agent/utils/fallback_test.pyruns598 bytesexamples/single_agent/utils/grok_4_agent.pyruns613 bytesexamples/single_agent/utils/list_agent_output_types.pyruns170 bytesexamples/single_agent/utils/markdown_agent.pyruns173 bytesexamples/single_agent/utils/transform_prompts/transforms_agent_example.pyruns1,728 bytesexamples/single_agent/utils/transform_prompts/transforms_examples.pyruns17,825 bytesexamples/tools/README.mddoc1,801 bytesexamples/tools/agent_as_tools.pyruns15,398 bytesexamples/tools/base_tool_examples/README.mddoc670 bytesexamples/tools/base_tool_examples/base_tool_examples.pyruns1,865 bytesexamples/tools/base_tool_examples/conver_funcs_to_schema.pyruns5,633 bytesexamples/tools/base_tool_examples/exa_search_deep_research.pyruns123 bytesexamples/tools/base_tool_examples/example_usage.pyruns3,195 bytesexamples/tools/browser_use/browser_use_as_tool.pyruns2,795 bytesexamples/tools/browser_use/browser_use_demo.pyruns1,900 bytesexamples/tools/claude/claude_as_a_tool.pyruns7,376 bytesexamples/tools/dynamic_tools/dynamic_tool_loading.pyruns2,774 bytesexamples/tools/exa_search/exa_search_agent.pyruns260 bytesexamples/tools/exa_search/exa_search_agent_quant.pyruns534 bytesexamples/tools/exa_search/exa_search_test.pyruns100 bytesexamples/tools/firecrawl/firecrawl_agents_example.pyruns942 bytesexamples/tools/multi_tool_use/README.mddoc535 bytesexamples/tools/multi_tool_use/many_tool_use_demo.pyruns14,766 bytesexamples/tools/multi_tool_use/multi_tool_anthropic.pyruns6,184 bytesexamples/tools/social_media/social_media_tools.pyruns15,152 bytesexamples/tools/stagehand/1_stagehand_wrapper_agent.pyruns8,861 bytesexamples/tools/stagehand/2_stagehand_tools_agent.pyruns13,224 bytesexamples/tools/stagehand/3_stagehand_mcp_agent.pyruns8,680 bytesexamples/tools/stagehand/4_stagehand_multi_agent_workflow.pyruns11,771 bytesexamples/tools/stagehand/README.mddoc7,157 bytesexamples/tools/stagehand/requirements.txtdoc235 bytesexamples/utils/README.mddoc1,834 bytesexamples/utils/agent_loader/README.mddoc731 bytesexamples/utils/agent_loader/agent_loader_demo.pyruns1,084 bytesexamples/utils/agent_loader/claude_code_compatible.pyruns314 bytesexamples/utils/agent_loader/finance_advisor.mddoc887 bytesexamples/utils/agent_loader/multi_agents_loader_demo.pyruns522 bytesexamples/utils/class_to_base_model.pyruns1,972 bytesexamples/utils/communication_examples/README.mddoc753 bytesexamples/utils/communication_examples/duckdb_agent.pyruns693 bytesexamples/utils/communication_examples/pulsar_conversation.pyruns708 bytesexamples/utils/communication_examples/redis_conversation.pyruns1,341 bytesexamples/utils/communication_examples/sqlite_conversation.pyruns1,001 bytesexamples/utils/conversation_cache_examples/conversation_cache_interactive.pyruns1,447 bytesexamples/utils/conversation_cache_examples/sequential_cache_test.pyruns4,077 bytesexamples/utils/fetch_prompt.pyruns285 bytesexamples/utils/litellm_connect_issue.pyruns278 bytesexamples/utils/litellm_network_error_handling.pyruns4,490 bytesexamples/utils/misc/README.mddoc1,054 bytesexamples/utils/misc/agent_map_test.pyruns1,747 bytesexamples/utils/misc/conversation_simple.pyruns671 bytesexamples/utils/misc/conversation_test.pyruns495 bytesexamples/utils/misc/conversation_test_truncate.pyruns4,572 bytesexamples/utils/misc/csvagent_example.pyruns1,406 bytesexamples/utils/misc/dict_to_table.pyruns1,675 bytesexamples/utils/misc/swarm_matcher_example.pyruns609 bytesexamples/utils/misc/test_load_conversation.pyruns2,652 bytesexamples/utils/misc/visualizer_test.pyruns1,799 bytesexamples/utils/skills_load.pyruns298 bytesexamples/utils/swarms_api/README.mddoc780 bytesexamples/utils/swarms_api/agent_overview.pyruns1,356 bytesexamples/utils/swarms_api/batch_example.pyruns1,617 bytesexamples/utils/swarms_api/client_example.pyruns455 bytesexamples/utils/swarms_api/hospital_team.pyruns4,146 bytesexamples/utils/swarms_api/icd_ten_analysis.pyruns2,285 bytesexamples/utils/swarms_api/legal_team.pyruns6,532 bytesexamples/utils/swarms_api/rate_limits.pyruns245 bytesexamples/utils/telemetry/README.mddoc357 bytesimages/new_logo.pngasset36,473 bytesimages/swarms_logo_svg.svgasset3,309 bytespyproject.tomlasset3,222 bytesrequirements.txtdoc229 bytesscripts/examples.pyruns814 bytesscripts/github_commits.pyruns5,965 bytesscripts/tests/run_all_tests.pyruns3,981 bytesscripts/tests/test_rename_recursive.pyruns3,583 bytesscripts/tests/test_upload_tests_to_issues.pyruns1,667 bytesswarms/__init__.pyruns1,469 bytesswarms/agents/__init__.pyruns1,154 bytesswarms/agents/agent_judge.pyruns15,128 bytesswarms/agents/agent_marketplace_handler.pyruns12,987 bytesswarms/agents/ape_agent.pyruns1,046 bytesswarms/agents/auto_chat_agent.pyruns1,386 bytesswarms/agents/auto_generate_swarm_config.pyruns14,738 bytesswarms/agents/autonomous_loop.pyruns84,210 bytesswarms/agents/consistency_agent.pyruns18,349 bytesswarms/agents/context_compressor.pyruns8,468 bytesswarms/agents/flexion_agent.pyruns17,880 bytesswarms/agents/gkp_agent.pyruns21,212 bytesswarms/agents/heavy_swarm_agents.pyruns7,540 bytesswarms/agents/i_agent.pyruns11,754 bytesswarms/agents/llm_manager.pyruns36,365 bytesswarms/agents/reasoning_agent_router.pyruns11,772 bytesswarms/agents/reasoning_duo.pyruns6,822 bytesswarms/agents/skills_manager.pyruns9,587 bytesswarms/agents/tool_manager.pyruns34,492 bytesswarms/agents/tree_of_thoughts.pyruns42,947 bytesswarms/cli/__init__.pyruns0 bytesswarms/cli/main.pyruns80,520 bytesswarms/cli/models.pyruns8,411 bytesswarms/cli/tips.pyruns11,071 bytesswarms/cli/utils.pyruns15,741 bytesswarms/env.pyruns401 bytesswarms/prompts/__init__.pyruns1,173 bytesswarms/prompts/accountant_swarm_prompts.pyruns11,320 bytesswarms/prompts/advisor_swarm_prompts.pyruns2,200 bytesswarms/prompts/ag_prompt.pyruns2,152 bytesswarms/prompts/aga.pyruns9,129 bytesswarms/prompts/agent_acknowledgement_prompt.pyruns13,522 bytesswarms/prompts/agent_conversation_aggregator.pyruns2,162 bytesswarms/prompts/agent_judge_prompt.pyruns2,235 bytesswarms/prompts/agent_orchestration_prompt.pyruns4,006 bytesswarms/prompts/agent_prompts.pyruns6,886 bytesswarms/prompts/agent_self_builder_prompt.pyruns6,167 bytesswarms/prompts/agent_system_prompts.pyruns8,263 bytesswarms/prompts/ai_research_team.pyruns5,233 bytesswarms/prompts/aot_prompt.pyruns1,148 bytesswarms/prompts/auto_agent_builder_prompt.pyruns8,767 bytesswarms/prompts/autobloggen.pyruns13,981 bytesswarms/prompts/autonomous_agent_prompt.pyruns13,147 bytesswarms/prompts/autoswarm.pyruns5,646 bytesswarms/prompts/code_interpreter.pyruns2,235 bytesswarms/prompts/code_spawner.pyruns4,006 bytesswarms/prompts/collaborative_prompts.pyruns10,250 bytesswarms/prompts/debate_with_judge_prompts.pyruns5,710 bytesswarms/prompts/documentation.pyruns7,157 bytesswarms/prompts/education.pyruns1,767 bytesswarms/prompts/finance_agent_prompt.pyruns4,180 bytesswarms/prompts/finance_agent_sys_prompt.pyruns6,132 bytesswarms/prompts/groupchat_prompt.pyruns5,460 bytesswarms/prompts/growth_agent_prompt.pyruns4,117 bytesswarms/prompts/handoffs_prompt.pyruns2,770 bytesswarms/prompts/heavy_swarm_prompts.pyruns54,793 bytesswarms/prompts/hierarchical_swarm_prompts.pyruns23,088 bytesswarms/prompts/idea2img.pyruns717 bytesswarms/prompts/legal_agent_prompt.pyruns3,347 bytesswarms/prompts/llm_council_prompts.pyruns8,544 bytesswarms/prompts/logistics.pyruns4,785 bytesswarms/prompts/max_loop_prompt.pyruns1,762 bytesswarms/prompts/meta_system_prompt.pyruns3,374 bytesswarms/prompts/moa_prompt.pyruns2,470 bytesswarms/prompts/multi_agent_collab_prompt.pyruns14,061 bytesswarms/prompts/multi_modal_prompts.pyruns3,511 bytesswarms/prompts/multi_modal_visual_prompts.pyruns3,215 bytesswarms/prompts/operations_agent_prompt.pyruns3,454 bytesswarms/prompts/paper_idea_agent.pyruns1,082 bytesswarms/prompts/personal_stylist.pyruns2,149 bytesswarms/prompts/phased_fan_out_workflow_prompts.pyruns9,226 bytesswarms/prompts/planner_generator_evaluator_prompts.pyruns6,847 bytesswarms/prompts/planner_worker_prompts.pyruns3,640 bytesswarms/prompts/product_agent_prompt.pyruns8,333 bytesswarms/prompts/programming.pyruns10,144 bytesswarms/prompts/project_manager.pyruns2,127 bytesswarms/prompts/prompt.pyruns7,836 bytesswarms/prompts/prompt_generator.pyruns4,412 bytesswarms/prompts/prompt_generator_optimizer.pyruns3,625 bytesswarms/prompts/python.pyruns13,215 bytesswarms/prompts/react.pyruns2,960 bytesswarms/prompts/react_base_prompt.pyruns1,928 bytesswarms/prompts/reasoning_prompt.pyruns2,472 bytesswarms/prompts/refiner_agent_prompt.pyruns0 bytesswarms/prompts/reflexion_prompts.pyruns3,902 bytesswarms/prompts/safety_prompt.pyruns2,913 bytesswarms/prompts/sales.pyruns5,126 bytesswarms/prompts/sales_prompts.pyruns5,013 bytesswarms/prompts/security_team.pyruns2,635 bytesswarms/prompts/self_operating_prompt.pyruns3,264 bytesswarms/prompts/sop_generator_agent_prompt.pyruns4,070 bytesswarms/prompts/summaries_prompts.pyruns4,640 bytesswarms/prompts/support_agent_prompt.pyruns3,984 bytesswarms/prompts/swarm_manager_agent.pyruns4,280 bytesswarms/prompts/task_assignment_prompt.pyruns728 bytesswarms/prompts/tests.pyruns4,271 bytesswarms/prompts/tools.pyruns3,702 bytesswarms/prompts/tree_of_thoughts_prompts.pyruns2,765 bytesswarms/prompts/urban_planning.pyruns2,369 bytesswarms/prompts/visual_cot.pyruns3,946 bytesswarms/prompts/worker_prompt.pyruns5,554 bytesswarms/prompts/xray_swarm_prompt.pyruns4,694 bytesswarms/py.typedasset0 bytesswarms/schemas/__init__.pyruns990 bytesswarms/schemas/agent_errors.pyruns977 bytesswarms/schemas/agent_mcp_errors.pyruns149 bytesswarms/schemas/hs_schemas.pyruns4,835 bytesswarms/schemas/mcp_schemas.pyruns6,596 bytesswarms/schemas/planner_worker_schemas.pyruns5,159 bytesswarms/structs/__init__.pyruns5,414 bytesswarms/structs/advisor_swarm.pyruns10,506 bytesswarms/structs/agent.pyruns114,416 bytesswarms/structs/agent_loader.pyruns24,933 bytesswarms/structs/agent_rearrange.pyruns53,249 bytesswarms/structs/agent_registry.pyruns11,229 bytesswarms/structs/agent_roles.pyruns582 bytesswarms/structs/agent_router.pyruns9,245 bytesswarms/structs/agentmail_channel.pyruns6,132 bytesswarms/structs/async_subagent.pyruns7,687 bytesswarms/structs/auction_swarm.pyruns16,827 bytesswarms/structs/auto_agent_builder.pyruns17,929 bytesswarms/structs/auto_swarm_builder.pyruns36,290 bytesswarms/structs/autonomous_loop_utils.pyruns61,918 bytesswarms/structs/batch_agent_execution.pyruns2,901 bytesswarms/structs/batched_grid_workflow.pyruns4,442 bytesswarms/structs/broadcast.pyruns4,025 bytesswarms/structs/check_models.pyruns6,600 bytesswarms/structs/comms_channel.pyruns1,930 bytesswarms/structs/concurrent_workflow.pyruns27,402 bytesswarms/structs/context_utils.pyruns9,841 bytesswarms/structs/conversation.pyruns65,273 bytesswarms/structs/council_as_judge.pyruns20,408 bytesswarms/structs/cron_job.pyruns28,846 bytesswarms/structs/debate_with_judge.pyruns16,437 bytesswarms/structs/decision_model.pyruns25,445 bytesswarms/structs/deep_discussion.pyruns2,264 bytesswarms/structs/dynamic_skills_loader.pyruns8,194 bytesswarms/structs/execution_utils.pyruns5,793 bytesswarms/structs/file_channel.pyruns2,838 bytesswarms/structs/graph_workflow.pyruns142,504 bytesswarms/structs/groupchat.pyruns22,272 bytesswarms/structs/heavy_swarm.pyruns67,228 bytesswarms/structs/hiearchical_swarm.pyruns38,980 bytesswarms/structs/hierarchical_order_parser.pyruns5,168 bytesswarms/structs/http_channel.pyruns2,305 bytesswarms/structs/hybrid_hiearchical_peer_swarm.pyruns8,839 bytesswarms/structs/llm_council.pyruns10,862 bytesswarms/structs/ma_blocks.pyruns5,739 bytesswarms/structs/ma_utils.pyruns6,508 bytesswarms/structs/majority_voting.pyruns15,370 bytesswarms/structs/mcp_deployer.pyruns28,216 bytesswarms/structs/mixture_of_agents.pyruns15,398 bytesswarms/structs/model_router.pyruns13,510 bytesswarms/structs/multi_agent_debates.pyruns6,826 bytesswarms/structs/multi_agent_exec.pyruns19,413 bytesswarms/structs/multi_agent_router.pyruns19,599 bytesswarms/structs/omni_agent_types.pyruns230 bytesswarms/structs/one_to_one.pyruns3,724 bytesswarms/structs/one_to_three.pyruns3,815 bytesswarms/structs/phased_fan_out_workflow.pyruns26,935 bytesswarms/structs/planner_generator_evaluator.pyruns36,176 bytesswarms/structs/planner_worker_swarm.pyruns35,079 bytesswarms/structs/queue_channel.pyruns2,493 bytesswarms/structs/round_robin.pyruns11,778 bytesswarms/structs/safe_loading.pyruns7,800 bytesswarms/structs/self_moa_seq.pyruns13,172 bytesswarms/structs/sequential_workflow.pyruns21,298 bytesswarms/structs/serialization.pyruns5,061 bytesswarms/structs/smtp_channel.pyruns9,614 bytesswarms/structs/social_algorithms.pyruns15,467 bytesswarms/structs/spreadsheet_swarm.pyruns14,865 bytesswarms/structs/sqlite_channel.pyruns5,481 bytesswarms/structs/swarm_id.pyruns158 bytesswarms/structs/swarm_router.pyruns46,539 bytesswarms/structs/swarming_architectures.pyruns8,254 bytesswarms/structs/transforms.pyruns17,044 bytesswarms/structs/tree_swarm.pyruns17,820 bytesswarms/telemetry/__init__.pyruns427 bytesswarms/telemetry/bootup.pyruns1,032 bytesswarms/telemetry/compression.pyruns3,607 bytesswarms/telemetry/main.pyruns2,653 bytesswarms/telemetry/otel.pyruns36,328 bytesswarms/tools/__init__.pyruns1,142 bytesswarms/tools/base_tool.pyruns62,079 bytesswarms/tools/dynamic_tool_loader.pyruns14,320 bytesswarms/tools/handoffs_tool.pyruns6,655 bytesswarms/tools/handoffs_tool_schema.pyruns2,851 bytesswarms/tools/mcp_manager.pyruns55,561 bytesswarms/tools/py_func_to_openai_func_str.pyruns16,652 bytesswarms/tools/pydantic_to_json.pyruns4,599 bytesswarms/tools/tool_parse_exec.pyruns4,042 bytesswarms/tools/tool_registry.pyruns6,189 bytesswarms/tools/tool_type.pyruns177 bytesswarms/tools/tool_utils.pyruns1,795 bytesswarms/utils/__init__.pyruns1,063 bytesswarms/utils/any_to_str.pyruns2,080 bytesswarms/utils/class_to_pydantic.pyruns8,994 bytesswarms/utils/disable_logging.pyruns1,580 bytesswarms/utils/docstring_parser.pyruns3,316 bytesswarms/utils/file_processing.pyruns4,178 bytesswarms/utils/formatter.pyruns34,495 bytesswarms/utils/generate_id.pyruns280 bytesswarms/utils/generate_keys.pyruns997 bytesswarms/utils/get_cpu_cores.pyruns663 bytesswarms/utils/get_reasoning_efforts.pyruns1,008 bytesswarms/utils/heavy_swarm_dashboard.pyruns10,833 bytesswarms/utils/history_output_formatter.pyruns2,570 bytesswarms/utils/image_file_b64.pyruns11,499 bytesswarms/utils/index.pyruns5,080 bytesswarms/utils/litellm_tokenizer.pyruns2,606 bytesswarms/utils/litellm_wrapper.pyruns63,278 bytesswarms/utils/llm_backend.pyruns3,884 bytesswarms/utils/loguru_logger.pyruns5,313 bytesswarms/utils/output_types.pyruns311 bytesswarms/utils/str_to_dict.pyruns874 bytesswarms/utils/workspace_manager.pyruns16,223 bytesswarms/utils/workspace_utils.pyruns1,118 bytestests/README.mddoc6,426 bytestests/agents/test_agent_judge.pyruns2,587 bytestests/agents/test_agent_marketplace_handler.pyruns32,241 bytestests/agents/test_autonomous_loop.pyruns52,187 bytestests/agents/test_autoswarm_writer.pyruns28,373 bytestests/agents/test_consistency_agent.pyruns968 bytestests/agents/test_context_compressor.pyruns20,637 bytestests/agents/test_flexion_agent.pyruns1,828 bytestests/agents/test_gkp_agent.pyruns2,419 bytestests/agents/test_llm_manager.pyruns35,811 bytestests/agents/test_reasoning_duo.pyruns3,710 bytestests/agents/test_skills_manager.pyruns23,060 bytestests/agents/test_tree_of_thoughts.pyruns14,058 bytestests/benchmark_graph_workflow.pyruns9,027 bytestests/prompts/test_agent_system_prompts.pyruns1,020 bytestests/prompts/test_autonomous_agent_prompt.pyruns903 bytestests/requirements.txtdoc126 bytestests/structs/test_advisor_swarm.pyruns893 bytestests/structs/test_agent.pyruns86,459 bytestests/structs/test_agent_loader.pyruns26,493 bytestests/structs/test_agent_rearrange.pyruns54,310 bytestests/structs/test_agent_registry.pyruns25,563 bytestests/structs/test_agent_router.pyruns12,398 bytestests/structs/test_agentmail_channel.pyruns3,703 bytestests/structs/test_async_subagent.pyruns42,085 bytestests/structs/test_auction_swarm.pyruns983 bytestests/structs/test_auto_agent_builder.pyruns1,966 bytestests/structs/test_auto_swarms_builder.pyruns27,069 bytestests/structs/test_batch_agent_execution.pyruns4,333 bytestests/structs/test_batched_grid_workflow.pyruns14,741 bytestests/structs/test_broadcast.pyruns2,109 bytestests/structs/test_check_models.pyruns4,396 bytestests/structs/test_comms_channel.pyruns3,217 bytestests/structs/test_component_ids.pyruns9,677 bytestests/structs/test_concurrent_workflow.pyruns20,932 bytestests/structs/test_conversation.pyruns53,467 bytestests/structs/test_council_as_judge.pyruns1,689 bytestests/structs/test_cron_job.pyruns21,294 bytestests/structs/test_decision_model.pyruns44,672 bytestests/structs/test_execution_utils.pyruns11,315 bytestests/structs/test_forest_swarm.pyruns20,531 bytestests/structs/test_graph_workflow.pyruns57,220 bytestests/structs/test_groupchat.pyruns18,183 bytestests/structs/test_heavy_swarm.pyruns36,807 bytestests/structs/test_hierarchical_order_parser.pyruns6,058 bytestests/structs/test_hierarchical_swarm.pyruns38,714 bytestests/structs/test_http_channel.pyruns4,875 bytestests/structs/test_hybrid_hiearchical_peer_swarm.pyruns1,196 bytestests/structs/test_i_agent.pyruns3,506 bytestests/structs/test_llm_council.pyruns10,175 bytestests/structs/test_majority_voting.pyruns16,102 bytestests/structs/test_mcp_deployer.pyruns13,409 bytestests/structs/test_moa.pyruns18,775 bytestests/structs/test_model_router.pyruns2,307 bytestests/structs/test_multi_agent_debate.pyruns7,359 bytestests/structs/test_multi_agent_exec.pyruns1,149 bytestests/structs/test_multi_agent_router.pyruns17,667 bytestests/structs/test_one_on_one_debate.pyruns21,037 bytestests/structs/test_one_to_one.pyruns2,275 bytestests/structs/test_one_to_three.pyruns1,649 bytestests/structs/test_phased_fan_out_workflow.pyruns17,314 bytestests/structs/test_queue_channel.pyruns2,487 bytestests/structs/test_reasoning_agent_router.pyruns16,065 bytestests/structs/test_round_robin_swarm.pyruns4,083 bytestests/structs/test_safe_loading.pyruns2,394 bytestests/structs/test_self_moa_seq.pyruns24,511 bytestests/structs/test_sequential_workflow.pyruns24,780 bytestests/structs/test_smtp_channel.pyruns8,840 bytestests/structs/test_social_algorithms.pyruns15,140 bytestests/structs/test_spreadsheet.pyruns30,463 bytestests/structs/test_sqlite_channel.pyruns5,014 bytestests/structs/test_swarm_architectures.pyruns3,402 bytestests/structs/test_swarm_router.pyruns39,412 bytestests/structs/test_swarming_architectures.pyruns3,943 bytestests/structs/test_transforms.pyruns2,353 bytestests/telemetry/test_bootup.pyruns3,277 bytestests/telemetry/test_compression.pyruns3,947 bytestests/telemetry/test_telemetry.pyruns136,477 bytestests/test___init__.pyruns1,995 bytestests/test_cli.pyruns25,967 bytestests/test_main_features.pyruns25,619 bytestests/test_prompt_caching.pyruns14,051 bytestests/test_streaming_timing.pyruns18,538 bytestests/tools/mcp_test_server.pyruns2,625 bytestests/tools/test_base_tool.pyruns10,487 bytestests/tools/test_dynamic_tool_loader.pyruns40,917 bytestests/tools/test_mcp_manager.pyruns42,471 bytestests/tools/test_output_str_fix.pyruns6,693 bytestests/tools/test_parse_tools.pyruns2,890 bytestests/utils/test_any_to_str.pyruns4,910 bytestests/utils/test_docstring_parser.pyruns13,158 bytestests/utils/test_formatter.pyruns4,328 bytestests/utils/test_history_output_formatter.pyruns3,062 bytestests/utils/test_image_file_b64.pyruns318 bytestests/utils/test_litellm_output_tokens.pyruns4,799 bytestests/utils/test_litellm_temperature.pyruns1,381 bytestests/utils/test_litellm_usage.pyruns11,163 bytestests/utils/test_litellm_wrapper.pyruns20,790 bytestests/utils/test_llm_backend.pyruns8,314 bytestests/utils/test_loguru_logger.pyruns9,452 bytestests/utils/test_ssrf_url_guard.pyruns8,030 bytestests/utils/test_workspace_manager.pyruns11,580 bytes
Read SKILL.md
# Swarms
Swarms is a multi-agent orchestration framework. Everything is built from one primitive — `Agent` — which multi-agent structures compose. This document is verified against **swarms v14.0.0**.
## Live documentation
This skill can lag the library. When a signature here disagrees with the installed version, check the current docs:
- Docs MCP server, no key: `https://docs.swarms.world/mcp` (`claude mcp add --transport http swarms-docs https://docs.swarms.world/mcp`)
- Marketplace MCP server, Swarms API key for calls: `https://swarms.world/mcp`
- Plain-text docs: [llms.txt](https://docs.swarms.world/llms.txt) (index), [llms-full.txt](https://docs.swarms.world/llms-full.txt) (every page)
## Golden rules
View the complete source on GitHubcode-review
When your agent uses it
Perform comprehensive code reviews focusing on best practices, security vulnerabilities, performance optimization, and maintainability
What it loads into context
Frontmatter
25 tokensAlways available to the agent
SKILL.md
571 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Review Checklist
- Review Format
- Guidelines
- Example Reviews
Files
SKILL.mdcore2,767 bytes
Read SKILL.md
# Code Review Skill
When reviewing code, follow this systematic approach to ensure thorough evaluation:
## Review Checklist
### 1. Code Quality
- **Readability**: Is the code easy to understand?
- **Naming**: Are variables, functions, and classes well-named?
- **Structure**: Is the code properly organized and modular?
- **Comments**: Are complex sections adequately documented?
- **Complexity**: Are there overly complex functions that should be simplified?
### 2. Security AnalysisView the complete source on GitHubdata-visualization
When your agent uses it
Create effective data visualizations using best practices for clarity, accuracy, and visual communication of insights
What it loads into context
Frontmatter
27 tokensAlways available to the agent
SKILL.md
716 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Core Principles
- Visualization Workflow
- Common Mistakes to Avoid
- Tools and Libraries
- Example Use Cases
Files
SKILL.mdcore3,232 bytes
Read SKILL.md
# Data Visualization Skill
When creating data visualizations, follow these principles to ensure clear and effective communication:
## Core Principles
### 1. Choose the Right Chart Type
- **Line Charts**: Trends over time, continuous data
- **Bar Charts**: Comparing categories, discrete data
- **Scatter Plots**: Relationships between variables, correlations
- **Pie Charts**: Parts of a whole (use sparingly, max 5-6 segments)
- **Heatmaps**: Patterns in large datasets, correlations
- **Box Plots**: Distribution statistics, outlier detection
View the complete source on GitHubfinancial-analysis
When your agent uses it
Perform comprehensive financial analysis including DCF modeling, ratio analysis, and financial statement evaluation for companies and investment opportunities
What it loads into context
Frontmatter
28 tokensAlways available to the agent
SKILL.md
440 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Core Methodology
- Guidelines
- Key Outputs
- Example Use Cases
Files
SKILL.mdcore2,224 bytes
Read SKILL.md
# Financial Analysis Skill
When performing financial analysis, follow these systematic steps to ensure thorough and accurate evaluation:
## Core Methodology
### 1. Data Collection and Verification
- Gather historical financial statements (income statement, balance sheet, cash flow)
- Verify data sources for accuracy and completeness
- Identify any anomalies or missing data points
### 2. Financial Ratio Analysis
Calculate and analyze key financial ratios:
- **Profitability**: EBITDA margin, net profit margin, ROE, ROAView the complete source on GitHubcommit-messages
When your agent uses it
Write git commit messages and pull request titles in the WARP format used by the swarms repo
What it loads into context
Frontmatter
27 tokensAlways available to the agent
SKILL.md
145 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
Files
SKILL.mdcore573 bytes
Read SKILL.md
# Commit Messages
Use `[TYPE][Function/FileName][Short Description]`:
- **TYPE** in capitals: `FEAT`, `FIX`, `DOCS`, `REFACTOR`, `TEST` or `CHORE`.
- **Function/FileName**: the function, class, module or file the change is about.
- **Short Description**: one imperative line.
Examples:
```
[FIX][Agent._run][Raise AgentLLMError after retry exhaustion]
[FEAT][SkillsManager][Load skills from several directories at construction]
```View the complete source on GitHubcode-review
When your agent uses it
Review Python code for bugs, missing tests and security issues using the team's shared standards
What it loads into context
Frontmatter
23 tokensAlways available to the agent
SKILL.md
130 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
Files
SKILL.mdcore566 bytes
Read SKILL.md
# Team Code Review
Check every change against the team's standards:
1. **Correctness**: does the code do what the PR says? Look for off-by-one errors, unhandled `None` and swallowed exceptions.
2. **Tests**: every bug fix comes with a test that fails without the fix.
3. **Security**: no SQL built from strings, no `eval`, no secrets in code or logs.
Report findings as a list, most severe first, each with the file and line.View the complete source on GitHubSkills included
- swarms
- code-review
- data-visualization
- financial-analysis
- commit-messages
- code-review
Repository facts
- License
- Apache-2.0
- Created
- May 11, 2023
- Last pushed
- Nov 6, 2026
- Forks
- 1,066
- Open issues
- 186
- Project activity
- Active
Rank over the last 12 weeks
Now #202 · best #156 · down 20 in 30 days
- #196 on Oct 29
- #197 on Oct 30
- #198 from Oct 31 to Nov 2
- #202 on Nov 3
- #201 on Nov 4
- #202 since Nov 5
65 earlier periods
- #148 on Aug 2
- #152 on Aug 6
- #150 on Aug 8
- #149 on Aug 9
- #153 on Aug 10
- #156 on Aug 11
- #155 on Aug 12
- #157 from Aug 13 to Aug 14
- #156 from Aug 15 to Aug 16
- #157 on Aug 17
- #158 from Aug 18 to Aug 19
- #157 from Aug 20 to Aug 21
- #159 from Aug 23 to Aug 24
- #158 from Aug 25 to Aug 26
- #159 on Aug 27
- #158 on Aug 28
- #159 on Aug 29
- #157 on Aug 30
- #158 on Aug 31
- #161 on Sep 1
- #158 on Sep 2
- #163 on Sep 3
- #162 on Sep 4
- #165 on Sep 5
- #162 on Sep 6
- #164 from Sep 7 to Sep 8
- #166 from Sep 9 to Sep 10
- #163 on Sep 11
- #167 from Sep 12 to Sep 13
- #166 on Sep 14
- #167 on Sep 15
- #166 from Sep 16 to Sep 17
- #168 on Sep 18
- #167 on Sep 19
- #170 on Sep 20
- #169 on Sep 21
- #170 on Sep 22
- #171 on Sep 23
- #172 from Sep 24 to Sep 25
- #173 on Sep 26
- #175 on Sep 27
- #176 from Sep 28 to Sep 29
- #172 on Sep 30
- #178 on Oct 2
- #175 from Oct 3 to Oct 4
- #180 from Oct 5 to Oct 6
- #183 on Oct 7
- #182 on Oct 8
- #185 on Oct 9
- #183 on Oct 10
- #186 on Oct 11
- #188 on Oct 12
- #190 on Oct 13
- #189 from Oct 14 to Oct 15
- #188 on Oct 16
- #190 on Oct 17
- #192 on Oct 18
- #191 on Oct 19
- #190 on Oct 20
- #192 on Oct 21
- #191 on Oct 22
- #190 on Oct 23
- #191 on Oct 24
- #193 on Oct 25
- #195 on Oct 28
Before you install
Network or broad shellAutomated signals, not a guarantee
Checked Nov 5, 2026
Not fully analyzed: some files were too long, unreadable or missing. This never lowers the level.
Show 232 notes
SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedSKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedSKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedSKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedSKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedSKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedSKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedSKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedSKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedSKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedSKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedSKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedSKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedSKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedSKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedSKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedSKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedSKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedSKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedSKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzed
- No broad tool permissions
- 14 dangerous shell commandsin 8 files: examples/changelogs/v11_update/v11_changelog.md:647 .github/workflows/test-main-features.yml:44 Dockerfile:29 and 5 more
- 1,632 network referencesin 176 files: tests/tools/test_mcp_manager.py:8 README.md:1 tests/structs/test_decision_model.py:33 and 173 more
- 4 obfuscation signalsin 2 files: swarms/utils/image_file_b64.py:148 tests/utils/test_ssrf_url_guard.py:145
- 3 instruction override signalsin 1 file: swarms/prompts/xray_swarm_prompt.py:7
- 1,056 executable scriptsin 1,056 files: Dockerfile:1 example.py:1 examples/changelogs/880_update_changelog_examples/01_marketplace_prompt_fetching.py:1 and 1,053 more
- 731 references to secretsin 185 files: tests/agents/test_agent_marketplace_handler.py:27 tests/test_cli.py:249 tests/tools/test_mcp_manager.py:44 and 182 more
- No requests to vote in Hot
Show all 3,440 signals by file
.env.example
- Access to secretsline 4
[Credential-related source omitted] - Access to secretsline 18
[Credential-related source omitted] - Access to secretsline 21
[Credential-related source omitted] - Access to secretsline 24
[Credential-related source omitted] - Access to secretsline 29
[Credential-related source omitted] - Access to secretsline 32
[Credential-related source omitted] - Access to secretsline 35
[Credential-related source omitted] - Access to secretsline 40
[Credential-related source omitted] - Access to secretsline 41
[Credential-related source omitted] - Access to secretsline 42
[Credential-related source omitted] - Access to secretsline 44
[Credential-related source omitted] - Access to secretsline 47
[Credential-related source omitted] - Access to secretsline 58
[Credential-related source omitted] - Access to secretsline 65
[Credential-related source omitted]
.github/PULL_REQUEST_TEMPLATE.md
- Network accessline 12
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/kyegomez/swarms/blob/master/CONTRIBUTING.md - Network accessline 13
https://github.com/kyegomez/swarms/blob/master/CONTRIBUTING.md - Network accessline 29
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/kyegomez/swarms
.github/copilot-instructions.md
- Network accessline 5
- Read [`AGENTS.md`](../AGENTS.md) for the quickstart and rules, and [`CLAUDE.md`](../CLAUDE.md) for the full guide to `Agent` and every multi-agent structure. - Import from the top level: `from swarms import Agent`. - For current APIs, use - Network accessline 6
- Import from the top level: `from swarms import Agent`. - For current APIs, use the docs MCP server at `https://docs.swarms.world/mcp` or the plain-text docs at https://docs.swarms.world/llms.txt. - Commit and PR titles use `[TYPE][Functio - Network accessline 7
- For current APIs, use the docs MCP server at `https://docs.swarms.world/mcp` or the plain-text docs at https://docs.swarms.world/llms.txt.
.github/dependabot.yml
- Network accessline 1
--- # https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates - Network accessline 2
# https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates
.github/workflows/dependency-review.yml
- Network accessline 6
# packages will be blocked from merging. # # Source repository: https://github.com/actions/dependency-review-action - Network accessline 7
# # Source repository: https://github.com/actions/dependency-review-action # Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-re - Network accessline 8
# Source repository: https://github.com/actions/dependency-review-action - Network accessline 9
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement - Network accessline 18
# contents: write # # https://docs.github.com/en/enterprise-cloud@latest/code-security/supply-chain-security/understanding-your-software-supply-chain/using-the-dependency-submission-api - Network accessline 19
# # https://docs.github.com/en/enterprise-cloud@latest/code-security/supply-chain-security/understanding-your-software-supply-chain/using-the-dependency-submission-api permissions: - Network accessline 20
# https://docs.github.com/en/enterprise-cloud@latest/code-security/supply-chain-security/understanding-your-software-supply-chain/using-the-dependency-submission-api - Network accessline 32
- name: 'Dependency Review' uses: actions/dependency-review-action@v4 # Commonly enabled options, see https://github.com/actions/dependency-review-action#configuration-options for all available options. - Network accessline 33
uses: actions/dependency-review-action@v4 # Commonly enabled options, see https://github.com/actions/dependency-review-action#configuration-options for all available options. with: - Network accessline 34
# Commonly enabled options, see https://github.com/actions/dependency-review-action#configuration-options for all available options.
.github/workflows/label.yml
.github/workflows/python-package.yml
- Network accessline 1
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python - Network accessline 2
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python - Network accessline 4
# [ ] TODO [pep 458](https://blog.pypi.org/posts/2024-11-14-pypi-now-supports-digital-attestations/)
.github/workflows/stale.yml
.github/workflows/test-main-features.yml
- Network accessline 42
- name: Install Poetry run: | curl -sSL https://install.python-poetry.org | python3 - - Network accessline 43
run: | curl -sSL https://install.python-poetry.org | python3 - echo "$HOME/.local/bin" >> $GITHUB_PATH - Dangerous shell operationline 44
curl -sSL https://install.python-poetry.org | python3 - - Network accessline 44
curl -sSL https://install.python-poetry.org | python3 - - Access to secretsline 58
[Credential-related source omitted] - Access to secretsline 59
[Credential-related source omitted] - Access to secretsline 60
[Credential-related source omitted] - Access to secretsline 61
[Credential-related source omitted] - Access to secretsline 62
[Credential-related source omitted] - Access to secretsline 63
[Credential-related source omitted] - Access to secretsline 64
[Credential-related source omitted] - Network accessline 130
- name: Install Poetry run: | curl -sSL https://install.python-poetry.org | python3 - - Network accessline 131
run: | curl -sSL https://install.python-poetry.org | python3 - echo "$HOME/.local/bin" >> $GITHUB_PATH - Dangerous shell operationline 132
curl -sSL https://install.python-poetry.org | python3 - - Network accessline 132
curl -sSL https://install.python-poetry.org | python3 -
.github/workflows/tests.yml
.gitignore
- Access to secretsline 4
[Credential-related source omitted] - Network accessline 183
# This is especially recommended for binary packages to ensure reproducibility, and is more # commonly ignored for libraries. # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control - Network accessline 184
# commonly ignored for libraries. # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control #poetry.lock - Network accessline 185
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control - Network accessline 191
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it # in version control. # https://pdm.fming.dev/#use-with-ide - Network accessline 192
# in version control. # https://pdm.fming.dev/#use-with-ide .pdm.toml - Network accessline 193
# https://pdm.fming.dev/#use-with-ide - Access to secretsline 207
[Credential-related source omitted] - Network accessline 239
# PyCharm # JetBrains specific template is maintained in a separate JetBrains.gitignore that can # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore - Network accessline 240
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore # and can be added to the global gitignore or merged into this - Network accessline 241
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore - Network accessline 321
# This is especially recommended for binary packages to ensure reproducibility, and is more # commonly ignored for libraries. # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control - Network accessline 322
# commonly ignored for libraries. # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control #poetry.lock - Network accessline 323
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control - Network accessline 329
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it # in version control. # https://pdm.fming.dev/#use-with-ide - Network accessline 330
# in version control. # https://pdm.fming.dev/#use-with-ide .pdm.toml - Network accessline 331
# https://pdm.fming.dev/#use-with-ide - Access to secretsline 345
[Credential-related source omitted] - Network accessline 377
# PyCharm # JetBrains specific template is maintained in a separate JetBrains.gitignore that can # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore - Network accessline 378
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore # and can be added to the global gitignore or merged into this - Network accessline 379
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
AGENTS.md
- Access to secretsline 9
[Credential-related source omitted] - Network accessline 22
- **[`SKILL.md`](./SKILL.md)**: a condensed version packaged as an agent skill. - **[`examples/`](./examples)**: hundreds of runnable examples. One is probably close to what you need. - **Docs MCP server**: `https://docs.swarms.world/mcp`, - Network accessline 23
- **[`examples/`](./examples)**: hundreds of runnable examples. One is probably close to what you need. - **Docs MCP server**: `https://docs.swarms.world/mcp`, no key. Search the current docs instead of relying on training data; names chang - Network accessline 24
- **Docs MCP server**: `https://docs.swarms.world/mcp`, no key. Search the current docs instead of relying on training data; names changed across v12 to v16. - Network accessline 25
[Credential-related source omitted] - Network accessline 26
- **Plain-text docs**: [llms.txt](https://docs.swarms.world/llms.txt) and [llms-full.txt](https://docs.swarms.world/llms-full.txt). - Network accessline 40
- Removing unused code (a method, parameter, attribute or line) needs no new unit test. Delete the tests that only exercised it and run the module's existing tests. - Not every change needs a unit test. When you add one, keep it small and f - Network accessline 42
- User-visible changes need a matching PR in [swarms-framework-docs](https://github.com/The-Swarm-Corporation/swarms-framework-docs).
CITATION.cff
CLAUDE.md
- Network accessline 11
| Server | URL | Key | What it does | |---|---|---|---| | Docs | `https://docs.swarms.world/mcp` | none | Searches and reads the current documentation | - Network accessline 12
|---|---|---|---| | Docs | `https://docs.swarms.world/mcp` | none | Searches and reads the current documentation | | Marketplace | `https://swarms.world/mcp` | Swarms API key for calls | Searches, reads and publishes agents, prompts and too - Network accessline 13
| Docs | `https://docs.swarms.world/mcp` | none | Searches and reads the current documentation | - Network accessline 14
| Marketplace | `https://swarms.world/mcp` | Swarms API key for calls | Searches, reads and publishes agents, prompts and tools on [swarms.world](https://swarms.world) | - Network accessline 16
The whole documentation is also available as plain text at [docs.swarms.world/llms.txt](https://docs.swarms.world/llms.txt) (an index) and [docs.swarms.world/llms-full.txt](https://docs.swarms.world/llms-full.txt) (every page). - Network accessline 21
claude mcp add --transport http swarms-docs https://docs.swarms.world/mcp - Network accessline 22
[Credential-related source omitted] - Access to secretsline 22
[Credential-related source omitted] - Access to secretsline 23
[Credential-related source omitted] - Network accessline 29
{ "mcpServers": { "swarms-docs": { "url": "https://docs.swarms.world/mcp" }, - Network accessline 30
"mcpServers": { "swarms-docs": { "url": "https://docs.swarms.world/mcp" }, "swarms-marketplace": { - Network accessline 31
"swarms-docs": { "url": "https://docs.swarms.world/mcp" }, - Network accessline 32
[Credential-related source omitted] - Network accessline 33
"url": "https://swarms.world/mcp", - Access to secretsline 34
[Credential-related source omitted] - Access to secretsline 51
[Credential-related source omitted] - Access to secretsline 52
[Credential-related source omitted] - Access to secretsline 53
[Credential-related source omitted] - Network accessline 889
agent_name="MCPAgent", model_name="gpt-5.4", mcp_url="http://localhost:8000/sse", # SSE endpoint - Network accessline 890
model_name="gpt-5.4", mcp_url="http://localhost:8000/sse", # SSE endpoint max_loops="auto", - Network accessline 891
mcp_url="http://localhost:8000/sse", # SSE endpoint - Network accessline 898
model_name="gpt-5.4", mcp_urls=[ "http://localhost:8000/sse", - Network accessline 899
mcp_urls=[ "http://localhost:8000/sse", "http://localhost:8001/sse", - Network accessline 900
"http://localhost:8000/sse", - Network accessline 901
"http://localhost:8001/sse", - Network accessline 914
tools = get_mcp_tools_sync(server_url="http://localhost:8000/sse") - Network accessline 916
import asyncio tools = asyncio.run(aget_mcp_tools(server_url="http://localhost:8000/sse")) - Network accessline 917
tools = asyncio.run(aget_mcp_tools(server_url="http://localhost:8000/sse")) - Network accessline 1120
Full specification: the [WARP Git Message Skill](https://swarms.world/prompt/32d1e7b4-34da-4035-bc05-d18f8e71a2f1) on the Swarms marketplace. Load it before writing a commit message, PR or issue for this repo. - Network accessline 1135
🤖 Generated with [Claude Code](https://claude.com/claude-code) (Claude Opus 5.5) - Network accessline 1145
The docs site lives in a separate repo, [The-Swarm-Corporation/swarms-framework-docs](https://github.com/The-Swarm-Corporation/swarms-framework-docs). Every change to the framework that users can see must come with a matching docs update th
CODE_OF_CONDUCT.md
- Network accessline 117
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0, available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. - Network accessline 119
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. - Network accessline 121
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity). - Network accessline 122
enforcement ladder](https://github.com/mozilla/diversity). - Network accessline 124
[homepage]: https://www.contributor-covenant.org - Network accessline 126
For answers to common questions about this code of conduct, see the FAQ at https://www.contributor-covenant.org/faq. Translations are available at - Network accessline 127
https://www.contributor-covenant.org/faq. Translations are available at - Network accessline 128
https://www.contributor-covenant.org/translations.
CONTRIBUTING.md
- Network accessline 3
<div align="left"> <a href="https://swarms.world"> - Network accessline 4
<a href="https://swarms.world"> - Network accessline 5
<img src="https://github.com/kyegomez/swarms/blob/master/images/new_logo.png" style="margin: 15px; max-width: 500px" width="50%" alt="Swarms Logo"> - Network accessline 24
- [Good First Issues](https://github.com/kyegomez/swarms/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22) · [Contributing Board](https://github.com/users/kyegomez/projects/1) - Network accessline 31
git clone https://github.com/kyegomez/swarms.git - Access to secretsline 39
[Credential-related source omitted] - Access to secretsline 40
[Credential-related source omitted] - Access to secretsline 41
[Credential-related source omitted] - Network accessline 45
[Environment setup docs →](https://docs.swarms.world/environment-setup) - Network accessline 53
Search existing issues first. If it's new, open a [Bug Report](https://github.com/kyegomez/swarms/issues/new?template=bug_report.md) or [Feature Request](https://github.com/kyegomez/swarms/issues/new?template=feature_request.md) with a conc - Network accessline 75
The full specification, with the type list, validation rules and examples, is the [WARP Git Message Skill](https://swarms.world/prompt/32d1e7b4-34da-4035-bc05-d18f8e71a2f1) on the Swarms marketplace. Agents can load it directly; humans can - Network accessline 136
- **Type annotations** on every function and method. - **Docstrings** on every public class, function, and method ([Google style](http://google.github.io/styleguide/pyguide.html#38-comments-and-docstrings) or [NumPy](https://numpydoc.readth - Network accessline 137
- **Docstrings** on every public class, function, and method ([Google style](http://google.github.io/styleguide/pyguide.html#38-comments-and-docstrings) or [NumPy](https://numpydoc.readthedocs.io/en/latest/format.html)): description, `Args` - Network accessline 172
| | | |---|---| | Docs | [docs.swarms.world](https://docs.swarms.world) · [Quickstart](https://docs.swarms.world/quickstart) · [Agent API](https://docs.swarms.world/api/agent) | - Network accessline 173
|---|---| | Docs | [docs.swarms.world](https://docs.swarms.world) · [Quickstart](https://docs.swarms.world/quickstart) · [Agent API](https://docs.swarms.world/api/agent) | | Examples | [examples/](https://github.com/kyegomez/swarms/tree/mas - Network accessline 174
| Docs | [docs.swarms.world](https://docs.swarms.world) · [Quickstart](https://docs.swarms.world/quickstart) · [Agent API](https://docs.swarms.world/api/agent) | - Network accessline 175
| Examples | [examples/](https://github.com/kyegomez/swarms/tree/master/examples) — [single_agent](https://github.com/kyegomez/swarms/tree/master/examples/single_agent), [multi_agent](https://github.com/kyegomez/swarms/tree/master/examples/ - Network accessline 176
| Architectures | [SequentialWorkflow](https://docs.swarms.world/api/sequential-workflow) · [AgentRearrange](https://docs.swarms.world/api/agent-rearrange) · [MixtureOfAgents](https://docs.swarms.world/api/mixture-of-agents) · [GraphWorkflo - Network accessline 177
| Community | [Discord](https://discord.gg/EamjgSaEQf) · [Twitter](https://twitter.com/kyegomez) · [LinkedIn](https://www.linkedin.com/company/the-swarm-corporation) · [YouTube](https://www.youtube.com/channel/UC9yXyitkbU_WSy7bd_41SqQ) · [E - Network accessline 178
| Onboarding | [Book a session with the maintainer](https://cal.com/swarms/swarms-onboarding-session) |
Dockerfile
- Executable scriptline 1
Executable file - Dangerous shell operationline 29
RUN apk upgrade --no-cache && apk add --no-cache bash && rm -rf /usr/local/lib/python*/site-packages/pip* /usr/local/bin/pip* - Dangerous shell operationline 31
&& rm -rf /usr/local/lib/python*/site-packages/pip* /usr/local/bin/pip* \
LICENSE
README.md
- Network accessline 1
<div align="left"> <a href="https://swarms.world"> - Network accessline 2
<a href="https://swarms.world"> - Network accessline 3
<img src="https://github.com/kyegomez/swarms/blob/master/images/new_logo.png" style="margin: 15px; max-width: 350px" width="70%" alt="Logo"> - Network accessline 8
<p align="left"> <!-- Main Navigation Links --> <a href="https://swarms.ai">Swarms Website</a> - Network accessline 9
<!-- Main Navigation Links --> <a href="https://swarms.ai">Swarms Website</a> <span> • </span> - Network accessline 10
<a href="https://swarms.ai">Swarms Website</a> - Network accessline 11
<span> • </span> <a href="https://docs.swarms.world">Documentation</a> <span> • </span> - Network accessline 12
<a href="https://docs.swarms.world">Documentation</a> - Network accessline 13
<span> • </span> <a href="https://swarms.world">Swarms Marketplace</a> <span> • </span> - Network accessline 14
<a href="https://swarms.world">Swarms Marketplace</a> - Network accessline 20
<p align="left"> <a href="https://pypi.org/project/swarms/" target="_blank"> - Network accessline 21
<a href="https://pypi.org/project/swarms/" target="_blank"> - Network accessline 22
<picture> <source srcset="https://img.shields.io/pypi/v/swarms?style=for-the-badge&color=3670A0" media="(prefers-color-scheme: dark)"> <img alt="Version" src="https://img.shields.io/pypi/v/swarms?style=for-the-badge&color=3670A0 - Network accessline 23
<source srcset="https://img.shields.io/pypi/v/swarms?style=for-the-badge&color=3670A0" media="(prefers-color-scheme: dark)"> - Network accessline 24
<img alt="Version" src="https://img.shields.io/pypi/v/swarms?style=for-the-badge&color=3670A0"> - Network accessline 25
</picture> </a> <a href="https://pypi.org/project/swarms/" target="_blank"> - Network accessline 26
</a> <a href="https://pypi.org/project/swarms/" target="_blank"> <picture> - Network accessline 27
<a href="https://pypi.org/project/swarms/" target="_blank"> - Network accessline 28
<picture> <source srcset="https://img.shields.io/pypi/dm/swarms?style=for-the-badge&color=3670A0" media="(prefers-color-scheme: dark)"> <img alt="Downloads" src="https://img.shields.io/pypi/dm/swarms?style=for-the-badge&color=36 - Network accessline 29
<source srcset="https://img.shields.io/pypi/dm/swarms?style=for-the-badge&color=3670A0" media="(prefers-color-scheme: dark)"> - Network accessline 30
<img alt="Downloads" src="https://img.shields.io/pypi/dm/swarms?style=for-the-badge&color=3670A0"> - Network accessline 31
</picture> </a> <a href="https://twitter.com/swarms_corp/"> - Network accessline 32
</a> <a href="https://twitter.com/swarms_corp/"> <picture> - Network accessline 33
<a href="https://twitter.com/swarms_corp/"> - Network accessline 34
<picture> <source srcset="https://img.shields.io/badge/Twitter-Follow-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white" media="(prefers-color-scheme: dark)"> <img src="https://img.shields.io/badge/Twitter-Follow-1DA1F2?st - Network accessline 35
<source srcset="https://img.shields.io/badge/Twitter-Follow-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white" media="(prefers-color-scheme: dark)"> - Network accessline 36
<img src="https://img.shields.io/badge/Twitter-Follow-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white" alt="Twitter"> - Network accessline 37
</picture> </a> <a href="https://discord.gg/EamjgSaEQf"> - Network accessline 38
</a> <a href="https://discord.gg/EamjgSaEQf"> <picture> - Network accessline 39
<a href="https://discord.gg/EamjgSaEQf"> - Network accessline 40
<picture> <source srcset="https://img.shields.io/badge/Discord-Join-5865F2?style=for-the-badge&logo=discord&logoColor=white" media="(prefers-color-scheme: dark)"> <img src="https://img.shields.io/badge/Discord-Join-5865F2?style= - Network accessline 41
<source srcset="https://img.shields.io/badge/Discord-Join-5865F2?style=for-the-badge&logo=discord&logoColor=white" media="(prefers-color-scheme: dark)"> - Network accessline 42
<img src="https://img.shields.io/badge/Discord-Join-5865F2?style=for-the-badge&logo=discord&logoColor=white" alt="Discord"> - Network accessline 60
# uv (recommended): https://github.com/astral-sh/uv - Network accessline 70
# Clone the repository $ git clone https://github.com/kyegomez/swarms.git - Network accessline 71
$ git clone https://github.com/kyegomez/swarms.git - Network accessline 80
- [RouteHub](https://github.com/The-Swarm-Corporation/RouteHub) for faster model calls through a drop-in LLM gateway. No code changes needed. To switch back to litellm, set `SWARMS_LLM_BACKEND=litellm`. - Network accessline 81
- [rustworkx](https://github.com/Qiskit/rustworkx), a graph library written in Rust, for faster `GraphWorkflow` graphs. Turn it on with `GraphWorkflow(backend="rustworkx")`. - Network accessline 90
The official image, [`swarmscorp/swarms`](https://hub.docker.com/r/swarmscorp/swarms) on Docker Hub, has swarms and its CLI installed on Python 3.13, for `linux/amd64` and `linux/arm64`. - Access to secretsline 97
[Credential-related source omitted] - Access to secretsline 100
[Credential-related source omitted] - Network accessline 109
[Learn more about the environment configuration here](https://docs.swarms.world/environment-setup) - Access to secretsline 112
[Credential-related source omitted] - Access to secretsline 114
[Credential-related source omitted] - Access to secretsline 115
[Credential-related source omitted] - Network accessline 122
An **Agent** is the fundamental building block of a swarm: an autonomous entity powered by an LLM + Tools + Memory. [Learn more Here](https://docs.swarms.world/api/agent) - Network accessline 179
The [Model Context Protocol (MCP)](https://modelcontextprotocol.io) lets agents easily access external tools and data by pointing to an MCP server URL, which automatically provides tools to the agent as needed. Agents become MCP-enabled by - Network accessline 185
agent_name="MCP-Agent", model_name="claude-sonnet-5", mcp_url="https://mcp.deepwiki.com/mcp", - Network accessline 186
model_name="claude-sonnet-5", mcp_url="https://mcp.deepwiki.com/mcp", max_loops=1, - Network accessline 187
mcp_url="https://mcp.deepwiki.com/mcp", - Network accessline 215
# Serves http://127.0.0.1:8000/mcp as the tool "researcher". - Network accessline 226
[Credential-related source omitted] - Network accessline 227
[Credential-related source omitted] - Network accessline 228
[Credential-related source omitted] - Access to secretsline 228
[Credential-related source omitted] - Access to secretsline 238
[Credential-related source omitted] - Network accessline 247
A **Swarm** consists of multiple agents working together. This simple example creates a two-agent workflow for researching and writing a blog post. [Learn More About SequentialWorkflow](https://docs.swarms.world/api/sequential-workflow) - Network accessline 281
| **Architecture** | **Description** | **Best For** | |---|---|---| | **[SequentialWorkflow](https://docs.swarms.world/api/sequential-workflow)** | Agents execute tasks in a linear chain; the output of one agent becomes the input for the ne - Network accessline 282
|---|---|---| | **[SequentialWorkflow](https://docs.swarms.world/api/sequential-workflow)** | Agents execute tasks in a linear chain; the output of one agent becomes the input for the next. | Step-by-step processes such as data transformati - Network accessline 283
| **[SequentialWorkflow](https://docs.swarms.world/api/sequential-workflow)** | Agents execute tasks in a linear chain; the output of one agent becomes the input for the next. | Step-by-step processes such as data transformation pipelines a - Network accessline 284
| **[ConcurrentWorkflow](https://docs.swarms.world/api/concurrent-workflow)** | Agents run tasks simultaneously for maximum efficiency. | High-throughput tasks such as batch processing and parallel data analysis. | - Network accessline 285
| **[AgentRearrange](https://docs.swarms.world/api/agent-rearrange)** | Dynamically maps complex relationships (e.g., `a -> b, c`) between agents. | Flexible and adaptive workflows, task distribution, and dynamic routing. | - Network accessline 286
| **[GraphWorkflow](https://docs.swarms.world/api/graph-workflow)** | Orchestrates agents as nodes in a Directed Acyclic Graph (DAG). | Complex projects with intricate dependencies, such as software builds. | - Network accessline 287
| **[MixtureOfAgents (MoA)](https://docs.swarms.world/api/mixture-of-agents)** | Utilizes multiple expert agents in parallel and synthesizes their outputs. | Complex problem-solving and achieving state-of-the-art performance through collabo - Network accessline 288
| **[GroupChat](https://docs.swarms.world/api/group-chat)** | Agents collaborate and make decisions through a conversational interface. | Real-time collaborative decision-making, negotiations, and brainstorming. | - Network accessline 289
| **[ForestSwarm](https://docs.swarms.world/api/forest-swarm)** | Dynamically selects the most suitable agent or tree of agents for a given task. | Task routing, optimizing for expertise, and complex decision-making trees. | - Network accessline 290
| **[HierarchicalSwarm](https://docs.swarms.world/api/hierarchical-swarm)** | Orchestrates agents with a director who creates plans and distributes tasks to specialized worker agents. | Complex project management, team coordination, and hie - Network accessline 291
| **[HeavySwarm](https://docs.swarms.world/api/heavy-swarm)** | Implements a five-phase workflow with specialized agents (Research, Analysis, Alternatives, Verification) for comprehensive task analysis. | Complex research and analysis tasks - Network accessline 292
| **[SwarmRouter](https://docs.swarms.world/api/swarm-router)** | A universal orchestrator that provides a single interface to run any type of swarm with dynamic selection. | Simplifying complex workflows, switching between swarm strategies - Network accessline 294
Learn more about all of the 60+ Multi-Agent Structures we have available [here](https://docs.swarms.world) - Network accessline 377
Inspired by `einsum`, `AgentRearrange` lets you define complex, non-linear relationships between agents using a simple string-based syntax. [Learn more](https://docs.swarms.world/api/agent-rearrange). This architecture is perfect for orches - Network accessline 407
This makes `GraphWorkflow` the right choice when your workflow has fan-out / fan-in or diamond patterns, conditional dependencies, or any structure that doesn't fit a strict line or a flat parallel batch. Per-node callbacks let you hook int - Network accessline 441
The `SwarmRouter` simplifies building complex workflows by providing a single interface to run any type of swarm. Instead of importing and managing different swarm classes, you can dynamically select the one you need just by changing the `s - Network accessline 494
The `AutoSwarmBuilder` automatically generates specialized agents and their workflows based on your task description. Simply describe what you need, and it will create a complete multi-agent system with detailed prompts and optimal agent co - Network accessline 526
The `MixtureOfAgents` architecture processes tasks by feeding them to multiple "expert" agents in parallel. Their diverse outputs are then synthesized by an aggregator agent to produce a final, high-quality result. [Learn more here](https:/ - Network accessline 649
`HeavySwarm` implements a sophisticated 5-phase workflow inspired by X.AI's Grok heavy implementation. It uses specialized agents (Research, Analysis, Alternatives, Verification) to provide comprehensive task analysis through intelligent qu - Network accessline 684
**Social Algorithms** provide a flexible framework for defining custom communication patterns between agents. You can upload any arbitrary social algorithm as a callable that defines the sequence of communication, enabling agents to talk to - Network accessline 740
The full documentation lives at **[docs.swarms.world](https://docs.swarms.world)**. Below are the resources most useful when building with Swarms, both for humans and for AI coding assistants. - Network accessline 742
| Resource | Link | What it's for | |---|---|---| | **Main documentation** | [docs.swarms.world](https://docs.swarms.world) | Guides, API reference, tutorials | - Network accessline 743
|---|---|---| | **Main documentation** | [docs.swarms.world](https://docs.swarms.world) | Guides, API reference, tutorials | | **`llms.txt` (LLM-ingestible docs)** | [docs.swarms.world/llms.txt](https://docs.swarms.world/llms.txt) | A singl - Network accessline 744
| **Main documentation** | [docs.swarms.world](https://docs.swarms.world) | Guides, API reference, tutorials | | **`llms.txt` (LLM-ingestible docs)** | [docs.swarms.world/llms.txt](https://docs.swarms.world/llms.txt) | A single, machine-rea - Network accessline 745
| **`llms.txt` (LLM-ingestible docs)** | [docs.swarms.world/llms.txt](https://docs.swarms.world/llms.txt) | A single, machine-readable index of the entire documentation, formatted for LLMs and AI IDEs (Cursor, Claude Code, etc.) to consume - Network accessline 746
| **Docs MCP server** | `https://docs.swarms.world/mcp` | A [Model Context Protocol](https://modelcontextprotocol.io) server that lets an assistant search and read the current docs. See [Using Swarms with AI Coding Assistants](#using-swarms - Network accessline 747
| **MCP integration guide** | [docs.swarms.world/integrations/mcp](https://docs.swarms.world/integrations/mcp) | How to connect a Swarms `Agent` to any MCP server, auto-discover its tools, and call them from a swarm | - Network accessline 748
| **API reference** | [docs.swarms.world/api](https://docs.swarms.world/api) | Per-class reference for `Agent`, `SequentialWorkflow`, `ConcurrentWorkflow`, `AgentRearrange`, `GraphWorkflow`, `SwarmRouter`, and every multi-agent architecture - Network accessline 749
| **Environment setup** | [docs.swarms.world/environment-setup](https://docs.swarms.world/environment-setup) | API keys, model providers, and configuration options | - Network accessline 751
> **Tip for AI coding assistants:** point your tool (Claude Code, Cursor, Windsurf, Continue, etc.) at `https://docs.swarms.world/llms.txt`. It will pull the entire docs index in one shot and write idiomatic Swarms code without per-question - Network accessline 763
| Server | URL | Key | What it does | |---|---|---|---| | Docs | `https://docs.swarms.world/mcp` | none | Searches and reads the current documentation | - Network accessline 764
|---|---|---|---| | Docs | `https://docs.swarms.world/mcp` | none | Searches and reads the current documentation | | Marketplace | `https://swarms.world/mcp` | Swarms API key for calls | Searches, reads and publishes agents, prompts and too - Network accessline 765
| Docs | `https://docs.swarms.world/mcp` | none | Searches and reads the current documentation | - Network accessline 766
| Marketplace | `https://swarms.world/mcp` | Swarms API key for calls | Searches, reads and publishes agents, prompts and tools on [swarms.world](https://swarms.world) | - Network accessline 768
The whole documentation is also available as plain text at [docs.swarms.world/llms.txt](https://docs.swarms.world/llms.txt) (an index) and [docs.swarms.world/llms-full.txt](https://docs.swarms.world/llms-full.txt) (every page). - Network accessline 773
claude mcp add --transport http swarms-docs https://docs.swarms.world/mcp - Network accessline 774
[Credential-related source omitted] - Access to secretsline 774
[Credential-related source omitted] - Access to secretsline 775
[Credential-related source omitted] - Network accessline 781
{ "mcpServers": { "swarms-docs": { "url": "https://docs.swarms.world/mcp" }, - Network accessline 782
"mcpServers": { "swarms-docs": { "url": "https://docs.swarms.world/mcp" }, "swarms-marketplace": { - Network accessline 783
"swarms-docs": { "url": "https://docs.swarms.world/mcp" }, - Network accessline 784
[Credential-related source omitted] - Network accessline 785
"url": "https://swarms.world/mcp", - Access to secretsline 786
[Credential-related source omitted] - Network accessline 796
Swarms delivers a comprehensive, enterprise-grade multi-agent infrastructure platform designed for production-scale deployments and seamless integration with existing systems. [Learn more about the swarms feature set here](https://docs.swar - Network accessline 811
| Protocol | Description | Documentation | |----------|-------------|---------------| | **[MCP (Model Context Protocol)](https://docs.swarms.world/integrations/mcp)** | Standardized protocol for AI agents to interact with external tools and - Network accessline 812
|----------|-------------|---------------| | **[MCP (Model Context Protocol)](https://docs.swarms.world/integrations/mcp)** | Standardized protocol for AI agents to interact with external tools and services through MCP servers. Enables dyna - Network accessline 813
| **[MCP (Model Context Protocol)](https://docs.swarms.world/integrations/mcp)** | Standardized protocol for AI agents to interact with external tools and services through MCP servers. Enables dynamic tool discovery and execution. | [MCP In - Network accessline 814
| **[X402](https://docs.swarms.world/examples/integrations/x402-payment)** | Cryptocurrency payment protocol for API endpoints. Enables monetization of agents with pay-per-use models. | [X402 Quickstart](https://docs.swarms.world/examples/i - Network accessline 815
| **[Swarms Marketplace](https://swarms.world)** | Platform for discovering and sharing production-ready prompts, agents, and tools. Enables automatic prompt loading from the marketplace and publishing your own prompts directly from code. | - Network accessline 816
| **[Open Responses](https://www.openresponses.org/)** | Open-source specification and ecosystem for multi-provider, interoperable LLM interfaces based on the OpenAI Responses API. Provides a unified schema and tooling for calling language - Network accessline 817
| **[Agent Skills](https://docs.swarms.world/agents/agent-skills)** | Lightweight, markdown-based format for defining modular, reusable agent capabilities introduced by Anthropic. Enables specialization of agents without modifying code by l - Network accessline 832
Learn more about how you can make a meaningful impact in our [Contributor's Guide](https://docs.swarms.world/community/contributing). - Network accessline 838
1. **Find an Issue to Tackle:** The best way to begin is by visiting our [**contributing project board**](https://github.com/users/kyegomez/projects/1). Look for issues tagged with `good first issue`; these are specifically selected for new - Network accessline 840
2. **Report a Bug or Request a Feature:** Have a new idea or found something that isn't working right? We'd love to hear from you. Please [**file a Bug Report or Feature Request**](https://github.com/kyegomez/swarms/issues) on our GitHub Is - Network accessline 842
3. **Understand Our Workflow and Standards:** Before submitting your work, please review our complete [**Contribution Guidelines**](https://github.com/kyegomez/swarms/blob/master/CONTRIBUTING.md). To help maintain code quality, we also enco - Network accessline 844
4. **Join the Discussion:** To participate in roadmap discussions and connect with other developers, join our community on [**Discord**](https://discord.gg/EamjgSaEQf). - Network accessline 846
5. **Use WARP for Every Commit, PR and Issue:** All contributors, people and AI agents alike, must write commit messages, PR titles and issue titles in the WARP (Warp Speed Protocol) shorthand: `[TYPE][Function/FileName][Short Description]` - Network accessline 852
<a href="https://github.com/kyegomez/swarms/graphs/contributors"> - Network accessline 853
<img src="https://contrib.rocks/image?repo=kyegomez/swarms" /> - Network accessline 861
- **Check Open roles:** [swarms.ai/hiring](https://swarms.ai/hiring) - Network accessline 868
Join thousands of agent builders and AI engineers in the **[Swarms Discord](https://discord.gg/EamjgSaEQf)** for technical support, project showcases, collaboration, and the latest swarms ecosystem updates. - Network accessline 870
[Join the Swarms Discord →](https://discord.gg/EamjgSaEQf) - Network accessline 878
| Platform | Description | Link | |----------|-------------|------| | Documentation | Official documentation and guides | [docs.swarms.world](https://docs.swarms.world) | - Network accessline 879
|----------|-------------|------| | Documentation | Official documentation and guides | [docs.swarms.world](https://docs.swarms.world) | | Blog | Latest updates and technical articles | [Medium](https://medium.com/@kyeg) | - Network accessline 880
| Documentation | Official documentation and guides | [docs.swarms.world](https://docs.swarms.world) | - Network accessline 881
| Blog | Latest updates and technical articles | [Medium](https://medium.com/@kyeg) | - Network accessline 882
| Discord | Live chat and community support | [Join Discord](https://discord.gg/EamjgSaEQf) | - Network accessline 883
| Twitter | Latest news and announcements | [@swarms_corp](https://twitter.com/swarms_corp) | - Network accessline 884
| LinkedIn | Professional network and updates | [The Swarm Corporation](https://www.linkedin.com/company/the-swarm-corporation) | - Network accessline 885
| YouTube | Tutorials and demos | [Swarms Channel](https://www.youtube.com/channel/UC9yXyitkbU_WSy7bd_41SqQ) | - Network accessline 886
| Events | Join our community events | [Sign up here](https://lu.ma/swarms_calendar) | - Network accessline 887
| Onboarding Session | Get onboarded with Kye Gomez, creator and lead maintainer of Swarms | [Book Session](https://cal.com/swarms/swarms-onboarding-session) | - Network accessline 898
title = {{Swarms: Production-Grade Multi-Agent Infrastructure Platform}}, year = {2022}, howpublished = {\url{https://github.com/kyegomez/swarms}}, - Network accessline 899
year = {2022}, howpublished = {\url{https://github.com/kyegomez/swarms}}, note = {Documentation available at \url{https://docs.swarms.world}}, - Network accessline 900
howpublished = {\url{https://github.com/kyegomez/swarms}}, - Network accessline 901
note = {Documentation available at \url{https://docs.swarms.world}},
README_zh.md
- Network accessline 1
<div align="left"> <a href="https://swarms.world"> - Network accessline 2
<a href="https://swarms.world"> - Network accessline 3
<img src="https://github.com/kyegomez/swarms/blob/master/images/new_logo.png" style="margin: 15px; max-width: 350px" width="70%" alt="Logo"> - Network accessline 8
<p align="left"> <!-- Main Navigation Links --> <a href="https://swarms.ai">Swarms 官网</a> - Network accessline 9
<!-- Main Navigation Links --> <a href="https://swarms.ai">Swarms 官网</a> <span> • </span> - Network accessline 10
<a href="https://swarms.ai">Swarms 官网</a> - Network accessline 11
<span> • </span> <a href="https://docs.swarms.world">文档</a> <span> • </span> - Network accessline 12
<a href="https://docs.swarms.world">文档</a> - Network accessline 13
<span> • </span> <a href="https://swarms.world">Swarms 市场</a> <span> • </span> - Network accessline 14
<a href="https://swarms.world">Swarms 市场</a> - Network accessline 20
<p align="left"> <a href="https://pypi.org/project/swarms/" target="_blank"> - Network accessline 21
<a href="https://pypi.org/project/swarms/" target="_blank"> - Network accessline 22
<picture> <source srcset="https://img.shields.io/pypi/v/swarms?style=for-the-badge&color=3670A0" media="(prefers-color-scheme: dark)"> <img alt="Version" src="https://img.shields.io/pypi/v/swarms?style=for-the-badge&color=3670A0 - Network accessline 23
<source srcset="https://img.shields.io/pypi/v/swarms?style=for-the-badge&color=3670A0" media="(prefers-color-scheme: dark)"> - Network accessline 24
<img alt="Version" src="https://img.shields.io/pypi/v/swarms?style=for-the-badge&color=3670A0"> - Network accessline 25
</picture> </a> <a href="https://pypi.org/project/swarms/" target="_blank"> - Network accessline 26
</a> <a href="https://pypi.org/project/swarms/" target="_blank"> <picture> - Network accessline 27
<a href="https://pypi.org/project/swarms/" target="_blank"> - Network accessline 28
<picture> <source srcset="https://img.shields.io/pypi/dm/swarms?style=for-the-badge&color=3670A0" media="(prefers-color-scheme: dark)"> <img alt="Downloads" src="https://img.shields.io/pypi/dm/swarms?style=for-the-badge&color=36 - Network accessline 29
<source srcset="https://img.shields.io/pypi/dm/swarms?style=for-the-badge&color=3670A0" media="(prefers-color-scheme: dark)"> - Network accessline 30
<img alt="Downloads" src="https://img.shields.io/pypi/dm/swarms?style=for-the-badge&color=3670A0"> - Network accessline 31
</picture> </a> <a href="https://twitter.com/swarms_corp/"> - Network accessline 32
</a> <a href="https://twitter.com/swarms_corp/"> <picture> - Network accessline 33
<a href="https://twitter.com/swarms_corp/"> - Network accessline 34
<picture> <source srcset="https://img.shields.io/badge/Twitter-Follow-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white" media="(prefers-color-scheme: dark)"> <img src="https://img.shields.io/badge/Twitter-Follow-1DA1F2?st - Network accessline 35
<source srcset="https://img.shields.io/badge/Twitter-Follow-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white" media="(prefers-color-scheme: dark)"> - Network accessline 36
<img src="https://img.shields.io/badge/Twitter-Follow-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white" alt="Twitter"> - Network accessline 37
</picture> </a> <a href="https://discord.gg/EamjgSaEQf"> - Network accessline 38
</a> <a href="https://discord.gg/EamjgSaEQf"> <picture> - Network accessline 39
<a href="https://discord.gg/EamjgSaEQf"> - Network accessline 40
<picture> <source srcset="https://img.shields.io/badge/Discord-Join-5865F2?style=for-the-badge&logo=discord&logoColor=white" media="(prefers-color-scheme: dark)"> <img src="https://img.shields.io/badge/Discord-Join-5865F2?style= - Network accessline 41
<source srcset="https://img.shields.io/badge/Discord-Join-5865F2?style=for-the-badge&logo=discord&logoColor=white" media="(prefers-color-scheme: dark)"> - Network accessline 42
<img src="https://img.shields.io/badge/Discord-Join-5865F2?style=for-the-badge&logo=discord&logoColor=white" alt="Discord"> - Network accessline 65
[uv](https://github.com/astral-sh/uv) 是一个用 Rust 编写的高速 Python 包安装器与依赖解析器。 - Network accessline 80
# Clone the repository $ git clone https://github.com/kyegomez/swarms.git - Network accessline 81
$ git clone https://github.com/kyegomez/swarms.git - Network accessline 90
[点击这里了解更多环境配置信息](https://docs.swarms.world/environment-setup) - Access to secretsline 93
[Credential-related source omitted] - Access to secretsline 95
[Credential-related source omitted] - Access to secretsline 96
[Credential-related source omitted] - Network accessline 102
**Agent(智能体)** 是 swarm 的基本构建单元,是一个由 LLM + 工具 + 记忆驱动的自主实体。[点击这里了解更多](https://docs.swarms.world/api/agent) - Network accessline 159
[模型上下文协议(MCP)](https://modelcontextprotocol.io) 让智能体只需指向一个 MCP 服务器 URL,即可轻松访问外部工具和数据,所需工具会自动提供给智能体。通过设置 `mcp_url` 或 `mcp_urls`,智能体即可启用 MCP,并且无需手动配置就能使用一个或多个服务器上的工具。像 [DeepWiki](https://mcp.deepwiki.com/mcp) 这样免费、公开的 MCP 服务器开箱即用,可立即为智能体提供实用工 - Network accessline 165
agent_name="MCP-Agent", model_name="claude-sonnet-5", mcp_url="https://mcp.deepwiki.com/mcp", - Network accessline 166
model_name="claude-sonnet-5", mcp_url="https://mcp.deepwiki.com/mcp", max_loops=1, - Network accessline 167
mcp_url="https://mcp.deepwiki.com/mcp", - Network accessline 195
# Serves http://127.0.0.1:8000/mcp as the tool "researcher". - Network accessline 206
[Credential-related source omitted] - Network accessline 207
[Credential-related source omitted] - Network accessline 208
[Credential-related source omitted] - Access to secretsline 208
[Credential-related source omitted] - Access to secretsline 218
[Credential-related source omitted] - Network accessline 227
一个 **Swarm** 由多个协同工作的智能体组成。下面这个简单示例创建了一个双智能体工作流,用于研究并撰写一篇博客文章。[了解更多关于 SequentialWorkflow 的信息](https://docs.swarms.world/api/sequential-workflow) - Network accessline 261
| **架构** | **说明** | **适用场景** | |---|---|---| | **[SequentialWorkflow](https://docs.swarms.world/api/sequential-workflow)** | 智能体按线性链条执行任务;前一个智能体的输出作为下一个智能体的输入。 | 数据转换流水线、报告生成等按步骤进行的流程。 | - Network accessline 262
|---|---|---| | **[SequentialWorkflow](https://docs.swarms.world/api/sequential-workflow)** | 智能体按线性链条执行任务;前一个智能体的输出作为下一个智能体的输入。 | 数据转换流水线、报告生成等按步骤进行的流程。 | | **[ConcurrentWorkflow](https://docs.swarms.world/api/concurrent-workflow)** | 智能体同 - Network accessline 263
| **[SequentialWorkflow](https://docs.swarms.world/api/sequential-workflow)** | 智能体按线性链条执行任务;前一个智能体的输出作为下一个智能体的输入。 | 数据转换流水线、报告生成等按步骤进行的流程。 | - Network accessline 264
| **[ConcurrentWorkflow](https://docs.swarms.world/api/concurrent-workflow)** | 智能体同时运行任务,以获得最高效率。 | 批处理、并行数据分析等高吞吐量任务。 | - Network accessline 265
| **[AgentRearrange](https://docs.swarms.world/api/agent-rearrange)** | 动态映射智能体之间的复杂关系(例如 `a -> b, c`)。 | 灵活、自适应的工作流,任务分发和动态路由。 | - Network accessline 266
| **[GraphWorkflow](https://docs.swarms.world/api/graph-workflow)** | 将智能体编排为有向无环图(DAG)中的节点。 | 依赖关系复杂的项目,例如软件构建。 | - Network accessline 267
| **[MixtureOfAgents (MoA)](https://docs.swarms.world/api/mixture-of-agents)** | 并行调用多个专家智能体,并综合它们的输出。 | 复杂问题求解,通过协作达到最先进的效果。 | - Network accessline 268
| **[GroupChat](https://docs.swarms.world/api/group-chat)** | 智能体通过对话界面协作并做出决策。 | 实时协作决策、谈判和头脑风暴。 | - Network accessline 269
| **[ForestSwarm](https://docs.swarms.world/api/forest-swarm)** | 为给定任务动态选择最合适的智能体或智能体树。 | 任务路由、按专长优化,以及复杂的决策树。 | - Network accessline 270
| **[HierarchicalSwarm](https://docs.swarms.world/api/hierarchical-swarm)** | 由一个主管(director)制定计划并将任务分发给专门的工作智能体。 | 复杂的项目管理、团队协调,以及带反馈循环的分层决策。 | - Network accessline 271
| **[HeavySwarm](https://docs.swarms.world/api/heavy-swarm)** | 通过专门的智能体(研究、分析、备选方案、验证)实现五阶段工作流,进行全面的任务分析。 | 复杂的研究与分析任务、金融分析、战略规划和综合报告。 | - Network accessline 272
| **[SwarmRouter](https://docs.swarms.world/api/swarm-router)** | 通用编排器,提供单一接口以动态选择并运行任意类型的 swarm。 | 简化复杂工作流、在 swarm 策略之间切换,以及统一的多智能体管理。 | - Network accessline 274
我们提供了 60 多种多智能体结构,[点击这里](https://docs.swarms.world)了解全部内容。 - Network accessline 357
受 `einsum` 启发,`AgentRearrange` 让你可以用简单的字符串语法定义智能体之间复杂的非线性关系。[了解更多](https://docs.swarms.world/api/agent-rearrange)。这种架构非常适合编排动态工作流,智能体可以并行、串行,或以你选择的任意组合方式工作。 - Network accessline 387
当你的工作流包含扇出/扇入模式、条件依赖,或任何无法用一条直线或一个扁平并行批次表达的结构时,`GraphWorkflow` 是正确的选择。[了解更多关于 GraphWorkflow 的信息](https://docs.swarms.world/api/graph-workflow) - Network accessline 426
`SwarmRouter` 提供单一接口来运行任意类型的 swarm,从而简化复杂工作流的构建。你不必导入和管理不同的 swarm 类,只需修改 `swarm_type` 参数即可动态选择所需的类型。[阅读完整文档](https://docs.swarms.world/api/swarm-router) - Network accessline 482
`AutoSwarmBuilder` 会根据你的任务描述自动生成专门的智能体及其工作流。只需描述你的需求,它就会创建一个完整的多智能体系统,包含详细的提示词和最优的智能体配置。[了解更多关于 AutoSwarmBuilder 的信息](https://docs.swarms.world/api/auto-swarm-builder) - Network accessline 524
`MixtureOfAgents` 架构将任务并行交给多个"专家"智能体处理,然后由一个聚合智能体综合它们各不相同的输出,得到最终的高质量结果。[点击这里了解更多](https://docs.swarms.world/examples/mixture-of-agents-example) - Network accessline 697
这种架构非常适合金融分析、战略规划、研究报告,以及任何需要深入、多维度分析的任务。[了解更多关于 HeavySwarm 的信息](https://docs.swarms.world/api/heavy-swarm) - Network accessline 703
**社交算法** 提供了一个灵活的框架,用于定义智能体之间的自定义通信模式。你可以将任意社交算法作为可调用对象上传,由它定义通信顺序,让智能体以精巧的方式相互交流。[了解更多关于社交算法的信息](https://docs.swarms.world/api/social-algorithms) - Network accessline 761
完整文档位于 **[docs.swarms.world](https://docs.swarms.world)**。下面是使用 Swarms 进行开发时最有用的资源,既适合人类阅读,也适合 AI 编程助手使用。 - Network accessline 763
| 资源 | 链接 | 用途 | |---|---|---| | **主文档** | [docs.swarms.world](https://docs.swarms.world) | 指南、API 参考、教程 | - Network accessline 764
|---|---|---| | **主文档** | [docs.swarms.world](https://docs.swarms.world) | 指南、API 参考、教程 | | **`llms.txt`(可供 LLM 摄取的文档)** | [docs.swarms.world/llms.txt](https://docs.swarms.world/llms.txt) | 整套文档的单一机器可读索引,专为 LLM 和 AI IDE(Cursor、Claude Code 等 - Network accessline 765
| **主文档** | [docs.swarms.world](https://docs.swarms.world) | 指南、API 参考、教程 | - Network accessline 766
| **`llms.txt`(可供 LLM 摄取的文档)** | [docs.swarms.world/llms.txt](https://docs.swarms.world/llms.txt) | 整套文档的单一机器可读索引,专为 LLM 和 AI IDE(Cursor、Claude Code 等)一次性获取而格式化 | - Network accessline 767
| **MCP 集成指南** | [docs.swarms.world/mcp](https://docs.swarms.world/mcp) | 如何将 Swarms `Agent` 连接到任意 [模型上下文协议](https://modelcontextprotocol.io) 服务器、自动发现其工具,并在 swarm 中调用 | - Network accessline 768
| **API 参考** | [docs.swarms.world/api](https://docs.swarms.world/api) | `Agent`、`SequentialWorkflow`、`ConcurrentWorkflow`、`AgentRearrange`、`GraphWorkflow`、`SwarmRouter` 以及每一种多智能体架构的逐类参考 | - Network accessline 769
| **环境设置** | [docs.swarms.world/environment-setup](https://docs.swarms.world/environment-setup) | API 密钥、模型提供商和配置选项 | - Network accessline 771
> **给 AI 编程助手的提示:** 将你的工具(Claude Code、Cursor、Windsurf、Continue 等)指向 `https://docs.swarms.world/llms.txt`。它会一次性拉取整个文档索引,无需逐个问题查询即可写出地道的 Swarms 代码。 - Network accessline 785
Swarms 提供了一个全面的企业级多智能体基础设施平台,专为生产规模部署和与现有系统的无缝集成而设计。[点击这里了解更多 swarms 功能](https://docs.swarms.world/community/features) - Network accessline 800
| 协议 | 说明 | 文档 | |----------|-------------|---------------| | **[MCP(模型上下文协议)](https://docs.swarms.world/integrations/mcp)** | 供 AI 智能体通过 MCP 服务器与外部工具和服务交互的标准化协议。支持动态工具发现与执行。 | [MCP 集成指南](https://docs.swarms.world/integrations/mcp) | - Network accessline 801
|----------|-------------|---------------| | **[MCP(模型上下文协议)](https://docs.swarms.world/integrations/mcp)** | 供 AI 智能体通过 MCP 服务器与外部工具和服务交互的标准化协议。支持动态工具发现与执行。 | [MCP 集成指南](https://docs.swarms.world/integrations/mcp) | | **[X402](https://docs - Network accessline 802
| **[MCP(模型上下文协议)](https://docs.swarms.world/integrations/mcp)** | 供 AI 智能体通过 MCP 服务器与外部工具和服务交互的标准化协议。支持动态工具发现与执行。 | [MCP 集成指南](https://docs.swarms.world/integrations/mcp) | - Network accessline 803
| **[X402](https://docs.swarms.world/examples/integrations/x402-payment)** | 面向 API 端点的加密货币支付协议。支持以按次付费模式将智能体商业化。 | [X402 快速入门](https://docs.swarms.world/examples/integrations/x402-payment) | - Network accessline 804
| **[Swarms 市场](https://swarms.world)** | 用于发现和分享可直接投入生产的提示词、智能体和工具的平台。支持从市场自动加载提示词,也支持直接从代码发布你自己的提示词。 | [市场教程](https://docs.swarms.world/integrations/marketplace) | - Network accessline 805
| **[Open Responses](https://www.openresponses.org/)** | 基于 OpenAI Responses API 的多提供商、可互操作 LLM 接口的开源规范与生态。提供统一的 schema 和工具,用于调用语言模型、流式返回结果和组合智能体工作流,与具体提供商无关。 | [Open Responses 官网](https://www.openresponses.org/) | - Network accessline 806
| **[Agent Skills](https://docs.swarms.world/agents/agent-skills)** | 由 Anthropic 提出的轻量级、基于 markdown 的格式,用于定义模块化、可复用的智能体能力。通过从简单的 SKILL.md 文件加载技能定义,无需修改代码即可让智能体专业化。 | [Agent Skills 文档](https://docs.swarms.world/agents/agent-skills) | - Network accessline 821
在我们的[贡献者指南](https://docs.swarms.world/community/contributing)中了解如何产生有意义的影响。 - Network accessline 827
1. **找一个要解决的 Issue:** 最好的起点是访问我们的[**贡献项目看板**](https://github.com/users/kyegomez/projects/1)。留意带有 `good first issue` 标签的 issue,它们是专门为新贡献者挑选的。 - Network accessline 829
2. **报告 Bug 或提出功能需求:** 有新想法,或发现了不正常的地方?我们很乐意听取你的意见。请在 GitHub Issues 页面[**提交 Bug 报告或功能需求**](https://github.com/kyegomez/swarms/issues)。 - Network accessline 831
3. **了解我们的工作流和规范:** 在提交你的工作之前,请阅读完整的[**贡献指南**](https://github.com/kyegomez/swarms/blob/master/CONTRIBUTING.md)。为了保持代码质量,我们也建议你阅读[**代码整洁**](https://docs.swarms.world/community/contributing-to-docs)指南。 - Network accessline 833
4. **加入讨论:** 想参与路线图讨论并与其他开发者交流,请加入我们的 [**Discord**](https://discord.gg/EamjgSaEQf) 社区。 - Network accessline 835
5. **所有提交、PR 和 Issue 都必须使用 WARP:** 无论是人还是 AI 智能体,所有贡献者的提交信息、PR 标题和 Issue 标题都必须采用 WARP(Warp Speed Protocol)速记格式:`[TYPE][Function/FileName][Short Description]`,例如 `[FIX][Agent._run][Raise AgentLLMError after retry exhaustion]`。完整规范见 [**WARP G - Network accessline 841
<a href="https://github.com/kyegomez/swarms/graphs/contributors"> - Network accessline 842
<img src="https://contrib.rocks/image?repo=kyegomez/swarms" /> - Network accessline 850
- **在招职位:** [swarms.ai/hiring](https://swarms.ai/hiring) - Network accessline 856
加入 **[Swarms Discord](https://discord.gg/EamjgSaEQf)**,与数千名智能体开发者和 AI 工程师一起获取技术支持、展示项目、开展协作,并了解 swarms 生态的最新动态。 - Network accessline 858
[加入 Swarms Discord →](https://discord.gg/EamjgSaEQf) - Network accessline 866
| 平台 | 说明 | 链接 | |----------|-------------|------| | 文档 | 官方文档与指南 | [docs.swarms.world](https://docs.swarms.world) | - Network accessline 867
|----------|-------------|------| | 文档 | 官方文档与指南 | [docs.swarms.world](https://docs.swarms.world) | | 博客 | 最新动态与技术文章 | [Medium](https://medium.com/@kyeg) | - Network accessline 868
| 文档 | 官方文档与指南 | [docs.swarms.world](https://docs.swarms.world) | - Network accessline 869
| 博客 | 最新动态与技术文章 | [Medium](https://medium.com/@kyeg) | - Network accessline 870
| Discord | 实时聊天与社区支持 | [加入 Discord](https://discord.gg/EamjgSaEQf) | - Network accessline 871
| Twitter | 最新消息与公告 | [@swarms_corp](https://twitter.com/swarms_corp) | - Network accessline 872
| LinkedIn | 职业网络与动态 | [The Swarm Corporation](https://www.linkedin.com/company/the-swarm-corporation) | - Network accessline 873
| YouTube | 教程与演示 | [Swarms 频道](https://www.youtube.com/channel/UC9yXyitkbU_WSy7bd_41SqQ) | - Network accessline 874
| 活动 | 参加我们的社区活动 | [在此报名](https://lu.ma/swarms_calendar) | - Network accessline 875
| 入门指导 | 由 Swarms 创始人兼首席维护者 Kye Gomez 带你入门 | [预约指导](https://cal.com/swarms/swarms-onboarding-session) | - Network accessline 886
title = {{Swarms: Production-Grade Multi-Agent Infrastructure Platform}}, year = {2022}, howpublished = {\url{https://github.com/kyegomez/swarms}}, - Network accessline 887
year = {2022}, howpublished = {\url{https://github.com/kyegomez/swarms}}, note = {Documentation available at \url{https://docs.swarms.world}}, - Network accessline 888
howpublished = {\url{https://github.com/kyegomez/swarms}}, - Network accessline 889
note = {Documentation available at \url{https://docs.swarms.world}},
SKILL.md
- Network accessline 14
- Docs MCP server, no key: `https://docs.swarms.world/mcp` (`claude mcp add --transport http swarms-docs https://docs.swarms.world/mcp`) - Network accessline 15
- Marketplace MCP server, Swarms API key for calls: `https://swarms.world/mcp` - Network accessline 16
- Plain-text docs: [llms.txt](https://docs.swarms.world/llms.txt) (index), [llms-full.txt](https://docs.swarms.world/llms-full.txt) (every page) - Network accessline 33
Set the key for whichever provider you use — any [LiteLLM](https://docs.litellm.ai/docs/providers) model string works: - Access to secretsline 36
[Credential-related source omitted] - Access to secretsline 37
[Credential-related source omitted] - Access to secretsline 38
[Credential-related source omitted] - Network accessline 163
agent_name="MCPAgent", model_name="gpt-5.4", mcp_url="http://localhost:8000/sse", - Network accessline 164
model_name="gpt-5.4", mcp_url="http://localhost:8000/sse", # or: mcp_urls=["http://localhost:8000/sse", "http://localhost:8001/sse"] - Network accessline 165
mcp_url="http://localhost:8000/sse", - Network accessline 166
# or: mcp_urls=["http://localhost:8000/sse", "http://localhost:8001/sse"] - Network accessline 176
mgr = MCPManager(mcp_url="http://localhost:8000/sse") - Network accessline 642
- Docs: [docs.swarms.world](https://docs.swarms.world) · [Agent API](https://docs.swarms.world/api/agent)
example.py
- Executable scriptline 1
Executable file
examples/README.md
- Network accessline 366
| [O3](models/openai/o3_agent.py) | O3 model integration | | [Qwen](models/qwen/qwen_3_base.py) | Qwen model integration | | [Ollama](https://docs.swarms.world) | Local Ollama and other providers via LiteLLM—see docs and [models/](models/) - Network accessline 368
| [Ollama](https://docs.swarms.world) | Local Ollama and other providers via LiteLLM—see docs and [models/](models/) | - Network accessline 403
| Category | Example | Description | Link | |----------|---------|-------------|------| | **Basic Examples** | Basic Agent | Simple agent setup and usage | [Basic Agent](https://docs.swarms.world/examples/basic-agent) | - Network accessline 404
|----------|---------|-------------|------| | **Basic Examples** | Basic Agent | Simple agent setup and usage | [Basic Agent](https://docs.swarms.world/examples/basic-agent) | | **Basic Examples** | Agent with Tools | Using agents with vari - Network accessline 405
| **Basic Examples** | Basic Agent | Simple agent setup and usage | [Basic Agent](https://docs.swarms.world/examples/basic-agent) | - Network accessline 406
| **Basic Examples** | Agent with Tools | Using agents with various tools | [Agent with Tools](https://docs.swarms.world/examples/agent-with-tools) | - Network accessline 407
| **Basic Examples** | Agent with Structured Outputs | Working with structured data outputs | [Structured Outputs](https://docs.swarms.world/agents/structured-outputs) | - Network accessline 408
| **Basic Examples** | Agent with MCP Integration | Model Context Protocol integration | [MCP Integration](https://docs.swarms.world/integrations/mcp) | - Network accessline 409
| **Basic Examples** | Vision Processing | Agents with image processing capabilities | [Vision Processing](https://docs.swarms.world/examples/vision-agent) | - Network accessline 410
| **Basic Examples** | Multiple Images | Working with multiple images | [Multiple Images](https://docs.swarms.world/examples/vision-agent) | - Network accessline 411
| **Basic Examples** | Vision and Tools | Combining vision with tool usage | [Vision and Tools](https://docs.swarms.world/examples/vision-agent) | - Network accessline 412
| **Basic Examples** | Agent Streaming | Real-time agent output streaming | [Agent Streaming](https://docs.swarms.world/examples/agents/agent-streaming) | - Network accessline 413
| **Basic Examples** | Agent Output Types | Different output formats and types | [Output Types](https://docs.swarms.world/agents/structured-outputs) | - Network accessline 414
| **Basic Examples** | Gradio Chat Interface | Building interactive chat interfaces | [Gradio UI](https://docs.swarms.world/examples/basic-agent) | - Network accessline 415
| **Model Providers** | Model Providers Overview | Complete guide to supported models | [Model Providers](https://docs.swarms.world/integrations/model-providers) | - Network accessline 416
| **Model Providers** | OpenAI | OpenAI model integration | [OpenAI Examples](https://docs.swarms.world/integrations/model-providers) | - Network accessline 417
| **Model Providers** | Anthropic | Claude model integration | [Anthropic Examples](https://docs.swarms.world/integrations/model-providers) | - Network accessline 418
| **Model Providers** | Groq | Groq model integration | [Groq Examples](https://docs.swarms.world/integrations/model-providers) | - Network accessline 419
| **Model Providers** | Cohere | Cohere model integration | [Cohere Examples](https://docs.swarms.world/integrations/model-providers) | - Network accessline 420
| **Model Providers** | DeepSeek | DeepSeek model integration | [DeepSeek Examples](https://docs.swarms.world/integrations/model-providers) | - Network accessline 421
| **Model Providers** | Ollama | Local Ollama model integration | [Ollama Examples](https://docs.swarms.world/integrations/model-providers) | - Network accessline 422
| **Model Providers** | OpenRouter | OpenRouter model integration | [OpenRouter Examples](https://docs.swarms.world/integrations/model-providers) | - Network accessline 423
| **Model Providers** | XAI | XAI model integration | [XAI Examples](https://docs.swarms.world/integrations/model-providers) | - Network accessline 424
| **Model Providers** | Llama4 | Llama4 model integration | [Llama4 Examples](https://docs.swarms.world/integrations/model-providers) | - Network accessline 425
| **Multi-Agent Architecture** | HierarchicalSwarm | Hierarchical agent orchestration | [HierarchicalSwarm Examples](https://docs.swarms.world/examples/hierarchical-swarm-example) | - Network accessline 426
| **Multi-Agent Architecture** | Hybrid Hierarchical-Cluster Swarm | Advanced hierarchical patterns | [HHCS Examples](https://docs.swarms.world/api/hhcs) | - Network accessline 427
| **Multi-Agent Architecture** | GroupChat | Multi-agent conversations | [GroupChat Examples](https://docs.swarms.world/examples/group-chat-example) | - Network accessline 428
| **Multi-Agent Architecture** | Sequential Workflow | Step-by-step agent workflows | [Sequential Examples](https://docs.swarms.world/examples/sequential-workflow-example) | - Network accessline 429
| **Multi-Agent Architecture** | SwarmRouter | Universal swarm orchestration | [SwarmRouter Examples](https://docs.swarms.world/architectures/swarm-router) | - Network accessline 430
| **Multi-Agent Architecture** | MultiAgentRouter | Minimal router example | [MultiAgentRouter Examples](https://docs.swarms.world/api/multi-agent-router) | - Network accessline 431
| **Multi-Agent Architecture** | ConcurrentWorkflow | Parallel agent execution | [Concurrent Examples](https://docs.swarms.world/examples/concurrent-workflow-example) | - Network accessline 432
| **Multi-Agent Architecture** | Mixture of Agents | Expert agent collaboration | [MoA Examples](https://docs.swarms.world/examples/mixture-of-agents-example) | - Network accessline 433
| **Multi-Agent Architecture** | Unique Swarms | Specialized swarm patterns | [Unique Swarms](https://docs.swarms.world/architectures/overview) | - Network accessline 434
| **Multi-Agent Architecture** | Agents as Tools | Using agents as tools in workflows | [Agents as Tools](https://docs.swarms.world/architectures/overview) | - Network accessline 435
| **Multi-Agent Architecture** | Aggregate Responses | Combining multiple agent outputs | [Aggregate Examples](https://docs.swarms.world/architectures/mixture-of-agents) | - Network accessline 436
| **Multi-Agent Architecture** | Interactive GroupChat | Real-time agent interactions | [Interactive GroupChat](https://docs.swarms.world/examples/group-chat-example) | - Network accessline 437
| **Applications** | Advanced Research System | Multi-agent research system inspired by Anthropic's research methodology | [AdvancedResearch](https://github.com/The-Swarm-Corporation/AdvancedResearch) | - Network accessline 438
| **Applications** | Hospital Simulation | Healthcare simulation system using multi-agent architecture | [HospitalSim](https://github.com/The-Swarm-Corporation/HospitalSim) | - Network accessline 439
| **Applications** | Browser Agents | Web automation with agents | [Browser Agents](https://docs.swarms.world/examples/integrations/browser-use) | - Network accessline 440
| **Applications** | Finance Analysis | Financial applications | [Finance Examples](https://docs.swarms.world/examples/use-cases/financial-analysis) | - Network accessline 441
| **Cookbook & Templates** | Examples Overview | Complete examples directory | [Examples Index](https://docs.swarms.world/examples/) | - Network accessline 442
| **Cookbook & Templates** | Cookbook Index | Curated example collection | [Cookbook](https://docs.swarms.world/examples/overviews/cookbook) | - Network accessline 443
| **Cookbook & Templates** | Paper Implementations | Research paper implementations | [Paper Implementations](https://docs.swarms.world/examples/overviews/paper-implementations) | - Network accessline 444
| **Cookbook & Templates** | Templates & Applications | Reusable templates | [Templates](https://docs.swarms.world/examples/overviews/templates) |
examples/changelogs/880_update_changelog_examples/01_marketplace_prompt_fetching.py
- Executable scriptline 1
Executable file
examples/changelogs/880_update_changelog_examples/02_round_robin_swarm_routing.py
- Executable scriptline 1
Executable file
examples/changelogs/880_update_changelog_examples/03_graph_workflow_rustworkx.py
- Executable scriptline 1
Executable file
examples/changelogs/880_update_changelog_examples/04_agent_rearrange.py
- Executable scriptline 1
Executable file
examples/changelogs/880_update_changelog_examples/05_nested_swarms.py
- Executable scriptline 1
Executable file
examples/changelogs/880_update_changelog_examples/06_spreadsheet_swarm.py
- Executable scriptline 1
Executable file
examples/changelogs/880_update_changelog_examples/07_model_router.py
- Executable scriptline 1
Executable file
examples/changelogs/880_update_changelog_examples/08_self_moa_seq.py
- Executable scriptline 1
Executable file
examples/changelogs/880_update_changelog_examples/09_single_voice_agent.py
- Executable scriptline 1
Executable file
examples/changelogs/880_update_changelog_examples/10_multi_agent_voice_debate.py
- Executable scriptline 1
Executable file
examples/changelogs/880_update_changelog_examples/11_hierarchical_voice_swarm.py
- Executable scriptline 1
Executable file
examples/changelogs/880_update_changelog_examples/12_debate_with_judge.py
- Executable scriptline 1
Executable file
examples/changelogs/880_update_changelog_examples/13_council_as_judge.py
- Executable scriptline 1
Executable file
examples/changelogs/880_update_changelog_examples/14_swarm_router_round_robin.py
- Executable scriptline 1
Executable file
examples/changelogs/880_update_changelog_examples/15_graph_workflow_batch_agents.py
- Executable scriptline 1
Executable file
examples/changelogs/880_update_changelog_examples/README.md
- Access to secretsline 59
[Credential-related source omitted] - Access to secretsline 62
[Credential-related source omitted] - Access to secretsline 65
[Credential-related source omitted] - Access to secretsline 66
[Credential-related source omitted] - Access to secretsline 72
[Credential-related source omitted] - Access to secretsline 73
[Credential-related source omitted] - Access to secretsline 74
[Credential-related source omitted] - Access to secretsline 75
[Credential-related source omitted] - Access to secretsline 114
[Credential-related source omitted] - Access to secretsline 305
[Credential-related source omitted] - Access to secretsline 324
[Credential-related source omitted] - Access to secretsline 343
[Credential-related source omitted] - Network accessline 417
- [Swarms Documentation](https://docs.swarms.world) - Network accessline 418
- [Swarms GitHub Repository](https://github.com/kyegomez/swarms) - Network accessline 419
- [Swarms Marketplace](https://swarms.world/marketplace)
examples/changelogs/880_update_changelog_examples/autosaving_example.py
- Executable scriptline 1
Executable file
examples/changelogs/v11_update/advisor_swarm_basic.py
- Executable scriptline 1
Executable file
examples/changelogs/v11_update/advisor_swarm_custom_agents.py
- Executable scriptline 1
Executable file
examples/changelogs/v11_update/agent_rearrange_batch_run.py
- Executable scriptline 1
Executable file
examples/changelogs/v11_update/agent_rearrange_repeated_flow.py
- Executable scriptline 1
Executable file
examples/changelogs/v11_update/conversation_cache_example.py
- Executable scriptline 1
Executable file
examples/changelogs/v11_update/env_loading_example.py
examples/changelogs/v11_update/graph_workflow_checkpoint.py
- Executable scriptline 1
Executable file
examples/changelogs/v11_update/graph_workflow_serialization.py
- Executable scriptline 1
Executable file
examples/changelogs/v11_update/heavy_swarm_16_agents.py
- Executable scriptline 1
Executable file
examples/changelogs/v11_update/heavy_swarm_grok_basic.py
- Executable scriptline 1
Executable file
examples/changelogs/v11_update/heavy_swarm_grok_router.py
- Executable scriptline 1
Executable file
examples/changelogs/v11_update/hierarchical_swarm_example.py
- Executable scriptline 1
Executable file
examples/changelogs/v11_update/planner_generator_evaluator_basic.py
- Executable scriptline 1
Executable file
examples/changelogs/v11_update/planner_generator_evaluator_with_tools.py
- Executable scriptline 1
Executable file
examples/changelogs/v11_update/planner_worker_swarm_basic.py
- Executable scriptline 1
Executable file
examples/changelogs/v11_update/planner_worker_task_schema.py
- Executable scriptline 1
Executable file
examples/changelogs/v11_update/sequential_workflow_drift_detection.py
- Executable scriptline 1
Executable file
examples/changelogs/v11_update/v11_blog.md
- Network accessline 341
**What it was:** When agents were given URL-fetching tools, nothing prevented them from requesting internal network addresses — `http://192.168.x.x`, `http://10.x.x.x`, `http://localhost`, `http://169.254.169.254` (AWS metadata endpoint), a
examples/changelogs/v11_update/v11_changelog.md
- Dangerous shell operationline 647
# - base64 decode piped to shell (base64 -d ... | bash) - Dangerous shell operationline 650
# - sudo / su / pkexec (privilege escalation) - Network accessline 651
# - /etc/passwd, /etc/shadow, /etc/sudoers reads # - environment variable dumps (printenv, env |, set |) # - network exfiltration (nc -e, ncat -e, wget --post, curl -d) - Network accessline 652
# - environment variable dumps (printenv, env |, set |) # - network exfiltration (nc -e, ncat -e, wget --post, curl -d) # - history manipulation (history -c, unset histfile) - Dangerous shell operationline 653
# - network exfiltration (nc -e, ncat -e, wget --post, curl -d) - Network accessline 653
# - network exfiltration (nc -e, ncat -e, wget --post, curl -d) - Access to secretsline 764
[Credential-related source omitted]
examples/changelogs/v12_update/01_persistent_memory.py
- Executable scriptline 1
Executable file
examples/changelogs/v12_update/02_context_compression.py
- Executable scriptline 1
Executable file
examples/changelogs/v12_update/03_grep_tool_autonomous_loop.py
- Executable scriptline 1
Executable file
examples/changelogs/v12_update/04_conversation_memory_compact.py
- Executable scriptline 1
Executable file
examples/changelogs/v12_update/05_graph_workflow_callbacks.py
- Executable scriptline 1
Executable file
examples/changelogs/v12_update/06_arun_stream.py
- Executable scriptline 1
Executable file
examples/changelogs/v12_update/07_interactive_mode.py
- Executable scriptline 1
Executable file
examples/changelogs/v12_update/article.md
- Network accessline 3
> Apache 2.0 · [github.com/kyegomez/swarms](https://github.com/kyegomez/swarms)
examples/changelogs/v12_update/byzantine_consensus.py
- Executable scriptline 1
Executable file
examples/changelogs/v12_update/changelog_v12.md
- Network accessline 3
> Apache 2.0 · [github.com/kyegomez/swarms](https://github.com/kyegomez/swarms)
examples/changelogs/v12_update/changelog_v12_organized.md
- Network accessline 3
> Apache 2.0 · [github.com/kyegomez/swarms](https://github.com/kyegomez/swarms)
examples/changelogs/v13/README.md
- Access to secretsline 8
[Credential-related source omitted]
examples/changelogs/v13/agent_lookup_helpers_example.py
- Executable scriptline 1
Executable file
examples/changelogs/v13/agent_rearrange_flow_example.py
- Executable scriptline 1
Executable file
examples/changelogs/v13/agent_tools_default_example.py
- Executable scriptline 1
Executable file
examples/changelogs/v13/cli_examples.sh
- Executable scriptline 1
#!/usr/bin/env bash
examples/changelogs/v13/graph_workflow_composition_example.py
- Executable scriptline 1
Executable file
examples/changelogs/v13/groupchat_self_selecting_example.py
- Executable scriptline 1
Executable file
examples/changelogs/v13/heavy_swarm_variant_example.py
- Executable scriptline 1
Executable file
examples/changelogs/v13/round_robin_rotation_example.py
- Executable scriptline 1
Executable file
examples/changelogs/v13/sequential_workflow_streaming_example.py
- Executable scriptline 1
Executable file
examples/changelogs/v13/swarm_router_groupchat_example.py
- Executable scriptline 1
Executable file
examples/changelogs/v14-zena/01_opentelemetry_tracing.py
examples/changelogs/v14-zena/02_instrument_custom_harness.py
- Executable scriptline 1
Executable file
examples/changelogs/v14-zena/03_mcp_manager.py
- Executable scriptline 1
Executable file - Network accessline 14
agent_name="MCP-Agent", model_name="gpt-5.4", mcp_url="http://localhost:8000/mcp", - Network accessline 15
model_name="gpt-5.4", mcp_url="http://localhost:8000/mcp", max_loops=1, - Network accessline 16
mcp_url="http://localhost:8000/mcp", - Network accessline 23
model_name="gpt-5.4", mcp_urls=[ "http://localhost:8000/mcp", - Network accessline 24
mcp_urls=[ "http://localhost:8000/mcp", "https://tools.internal.example.com/mcp", - Network accessline 25
"http://localhost:8000/mcp", - Network accessline 26
"https://tools.internal.example.com/mcp", - Network accessline 38
# agent_name="OAuth-MCP-Agent", # model_name="gpt-5.4", # mcp_url="https://api.partner.example.com/mcp", - Network accessline 39
# model_name="gpt-5.4", # mcp_url="https://api.partner.example.com/mcp", # mcp_oauth=MCPOAuthConfig( - Network accessline 40
# mcp_url="https://api.partner.example.com/mcp", - Access to secretsline 43
[Credential-related source omitted]
examples/changelogs/v14-zena/04_auto_agent_builder.py
- Executable scriptline 1
Executable file
examples/changelogs/v14-zena/05_auction_swarm.py
- Executable scriptline 1
Executable file
examples/changelogs/v14-zena/06_groupchat_turn_based.py
- Executable scriptline 1
Executable file
examples/changelogs/v14-zena/07_hierarchical_swarm_recovery.py
- Executable scriptline 1
Executable file
examples/changelogs/v14-zena/09_class_to_pydantic.py
- Executable scriptline 1
Executable file
examples/changelogs/v14-zena/10_concurrent_workflow_on_error.py
- Executable scriptline 1
Executable file
examples/changelogs/v14-zena/11_graph_workflow.py
- Executable scriptline 1
Executable file
examples/changelogs/v14-zena/12_thread_pool_sizing.py
- Executable scriptline 1
Executable file
examples/changelogs/v14-zena/13_agent_loader_csv.py
- Executable scriptline 1
Executable file
examples/changelogs/v14-zena/README.md
- Access to secretsline 11
[Credential-related source omitted]
examples/changelogs/v9_examples/autonomous_looper.py
- Executable scriptline 1
Executable file
examples/changelogs/v9_examples/example_autonomous_looper_tools.py
- Executable scriptline 1
Executable file
examples/changelogs/v9_examples/example_sub_agents.py
examples/channel_examples/agent_channel.py
- Executable scriptline 1
Executable file
examples/channel_examples/agent_rearrange_channel.py
- Executable scriptline 1
Executable file
examples/channel_examples/agentmail_channel_example.py
examples/channel_examples/concurrent_workflow_channel.py
- Executable scriptline 1
Executable file
examples/channel_examples/graph_workflow_channel.py
- Executable scriptline 1
Executable file
examples/channel_examples/groupchat_channel.py
- Executable scriptline 1
Executable file
examples/channel_examples/hierarchical_swarm_channel.py
- Executable scriptline 1
Executable file
examples/channel_examples/http_channel_example.py
examples/channel_examples/http_channel_server.py
examples/channel_examples/majority_voting_channel.py
- Executable scriptline 1
Executable file
examples/channel_examples/mixture_of_agents_channel.py
- Executable scriptline 1
Executable file
examples/channel_examples/planner_worker_swarm_channel.py
- Executable scriptline 1
Executable file
examples/channel_examples/queue_channel_example.py
- Executable scriptline 1
Executable file
examples/channel_examples/resume_channel.py
- Executable scriptline 1
Executable file
examples/channel_examples/sequential_workflow_channel.py
- Executable scriptline 1
Executable file
examples/channel_examples/smtp_channel_example.py
- Executable scriptline 1
Executable file
examples/channel_examples/sqlite_channel.py
- Executable scriptline 1
Executable file
examples/channel_examples/sqlite_channel_example.py
- Executable scriptline 1
Executable file
examples/channel_examples/swarm_router_channel.py
- Executable scriptline 1
Executable file
examples/cli/01_setup_check.sh
- Executable scriptline 1
#!/bin/bash
examples/cli/02_onboarding.sh
- Executable scriptline 1
#!/bin/bash
examples/cli/03_get_api_key.sh
- Executable scriptline 1
#!/bin/bash
examples/cli/04_check_login.sh
- Executable scriptline 1
#!/bin/bash
examples/cli/05_create_agent.sh
- Executable scriptline 1
#!/bin/bash
examples/cli/06_run_agents_yaml.sh
- Executable scriptline 1
#!/bin/bash
examples/cli/07_load_markdown.sh
- Executable scriptline 1
#!/bin/bash
examples/cli/08_llm_council.sh
- Executable scriptline 1
#!/bin/bash
examples/cli/09_heavy_swarm.sh
- Executable scriptline 1
#!/bin/bash
examples/cli/10_autoswarm.sh
- Executable scriptline 1
#!/bin/bash
examples/cli/11_features.sh
- Executable scriptline 1
#!/bin/bash
examples/cli/12_help.sh
- Executable scriptline 1
#!/bin/bash
examples/cli/13_auto_upgrade.sh
- Executable scriptline 1
#!/bin/bash
examples/cli/14_book_call.sh
- Executable scriptline 1
#!/bin/bash
examples/cli/README.md
examples/cli/research_agent_example.sh
- Executable scriptline 1
#!/bin/bash
examples/cli/run_all_examples.sh
- Executable scriptline 1
#!/bin/bash
examples/decision_models/calibrated_ensemble_judge.py
- Executable scriptline 1
Executable file
examples/decision_models/debate_referee_early_stop.py
- Executable scriptline 1
Executable file
examples/decision_models/decision_model_agent_router.py
- Executable scriptline 1
Executable file
examples/decision_models/decision_screening_funnel.py
- Executable scriptline 1
Executable file
examples/decision_models/get_decision_models_example.py
- Executable scriptline 1
Executable file
examples/decision_models/guarded_group_chat.py
- Executable scriptline 1
Executable file
examples/decision_models/openai_decisions.py
examples/decision_models/simple_openai.py
examples/decision_models/system_one_director_swarm.py
- Executable scriptline 1
Executable file
examples/decision_models/typesafe_ticket_triage.py
examples/guides/840_update/agent_rearrange_concurrent_example.py
- Executable scriptline 1
Executable file
examples/guides/840_update/auto_swarm_builder_example.py
- Executable scriptline 1
Executable file
examples/guides/840_update/fallback_example.py
- Executable scriptline 1
Executable file
examples/guides/850_workshop/moa_seq_example.py
- Executable scriptline 1
Executable file
examples/guides/850_workshop/peer_review_example.py
- Executable scriptline 1
Executable file
examples/guides/850_workshop/test_agent_concurrent.py
- Executable scriptline 1
Executable file
examples/guides/agentsh_implementation/README.md
- Network accessline 3
A single-file implementation of **Agensh: Scaling Organizational Intelligence to 1,024 Agents** (Zhan, Song, Dong, Huang, Lian, Xia, Wei — Microsoft Research, [arXiv:2609.26781](https://arxiv.org/abs/2609.26781)), built on the Swarms `Agent - Access to secretsline 24
[Credential-related source omitted]
examples/guides/agentsh_implementation/agentsh.py
- Executable scriptline 1
Executable file
examples/guides/changelog_890/01_dynamic_skills_loader.py
- Executable scriptline 1
Executable file
examples/guides/changelog_890/02_autonomous_agent_loop.py
- Executable scriptline 1
Executable file
examples/guides/changelog_890/03_agent_handoffs.py
- Executable scriptline 1
Executable file
examples/guides/changelog_890/04_api_key_validation.py
examples/guides/changelog_890/05_max_loops_parameter.py
- Executable scriptline 1
Executable file
examples/guides/changelog_890/06_multi_tool_agent_tutorial.py
- Executable scriptline 1
Executable file
examples/guides/changelog_890/07_hierarchical_voice_agent.py
- Executable scriptline 1
Executable file
examples/guides/changelog_890/08_agent_rearrange_patterns.py
- Executable scriptline 1
Executable file
examples/guides/changelog_890/README.md
- Access to secretsline 37
[Credential-related source omitted] - Access to secretsline 40
[Credential-related source omitted] - Network accessline 150
- [Swarms Documentation](https://docs.swarms.world) - Network accessline 151
- [Swarms GitHub Repository](https://github.com/kyegomez/swarms) - Network accessline 152
- [Swarms Marketplace](https://swarms.world/marketplace)
examples/guides/demos/agent_with_fluidapi.py
- Executable scriptline 1
Executable file
examples/guides/demos/apps/hiring_swarm.py
- Executable scriptline 1
Executable file
examples/guides/demos/apps/smart_database_swarm.py
- Executable scriptline 1
Executable file
examples/guides/demos/chart_swarm.py
examples/guides/demos/crypto/dao_swarm.py
- Executable scriptline 1
Executable file
examples/guides/demos/crypto/ethchain_agent.py
- Executable scriptline 1
Executable file - Network accessline 55
self.w3 = Web3( Web3.HTTPProvider( "https://mainnet.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161" - Network accessline 56
Web3.HTTPProvider( "https://mainnet.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161" ) - Network accessline 57
"https://mainnet.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161" - Access to secretsline 71
[Credential-related source omitted] - Access to secretsline 72
[Credential-related source omitted] - Network accessline 100
try: response = requests.get( - Network accessline 101
response = requests.get( - Network accessline 102
"https://api.coingecko.com/api/v3/simple/price",
examples/guides/demos/crypto/htx_swarm.py
- Executable scriptline 1
Executable file - Network accessline 121
def fetch_htx_data(coin_name: str): base_url = "https://api.huobi.pro" - Network accessline 122
base_url = "https://api.huobi.pro" - Network accessline 130
try: ticker_response = requests.get( - Network accessline 131
ticker_response = requests.get( - Network accessline 149
order_book_response = requests.get( - Network accessline 167
trades_response = requests.get( - Network accessline 186
kline_response = requests.get(
examples/guides/demos/crypto/swarms_coin_agent.py
- Executable scriptline 1
Executable file - Network accessline 93
def fetch_swarms_data(): url = "https://api.coingecko.com/api/v3/simple/price" - Network accessline 94
url = "https://api.coingecko.com/api/v3/simple/price" - Network accessline 100
"include_24hr_change": "true", } response = requests.get(url, params=params) - Network accessline 101
} response = requests.get(url, params=params) response.raise_for_status() - Network accessline 102
response = requests.get(url, params=params)
examples/guides/demos/crypto/swarms_coin_multimarket.py
- Executable scriptline 1
Executable file - Network accessline 117
def __init__(self): self.base_urls = { "coingecko": "https://api.coingecko.com/api/v3", - Network accessline 118
self.base_urls = { "coingecko": "https://api.coingecko.com/api/v3", "dexscreener": "https://api.dexscreener.com/latest/dex", - Network accessline 119
"coingecko": "https://api.coingecko.com/api/v3", - Network accessline 120
"dexscreener": "https://api.dexscreener.com/latest/dex", - Network accessline 121
"birdeye": "https://public-api.birdeye.so/public", # Using Birdeye instead of Jupiter - Network accessline 126
async with aiohttp.ClientSession() as session:
examples/guides/demos/cuda_swarm.py
- Executable scriptline 1
Executable file
examples/guides/demos/finance/sentiment_news_analysis.py
- Executable scriptline 1
Executable file - Network accessline 135
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36" } response = requests.get(url, headers=headers, timeout=10) - Network accessline 136
} response = requests.get(url, headers=headers, timeout=10) response.raise_for_status() - Network accessline 137
response = requests.get(url, headers=headers, timeout=10) - Network accessline 230
if __name__ == "__main__": url = "https://finance.yahoo.com/" - Network accessline 231
url = "https://finance.yahoo.com/"
examples/guides/demos/hackathon_feb16/fraud.py
- Executable scriptline 1
Executable file
examples/guides/demos/hackathon_feb16/sarasowti.py
- Executable scriptline 1
Executable file
examples/guides/demos/insurance/insurance_swarm.py
- Executable scriptline 1
Executable file
examples/guides/demos/legal/legal_swarm.py
examples/guides/demos/medical/health_privacy_swarm.py
- Executable scriptline 1
Executable file
examples/guides/demos/medical/health_privacy_swarm_two.py
- Executable scriptline 1
Executable file
examples/guides/demos/medical/medical_coder_agent.py
- Executable scriptline 1
Executable file
examples/guides/demos/medical/new_medical_rearrange.py
- Executable scriptline 1
Executable file
examples/guides/demos/medical/ollama_demo.py
- Executable scriptline 1
Executable file
examples/guides/demos/medical/rearrange_video_examples/term_sheet_swarm.py
- Executable scriptline 1
Executable file
examples/guides/demos/news_aggregator_summarizer.py
- Executable scriptline 1
Executable file - Network accessline 17
try: ids = httpx.get( - Network accessline 18
ids = httpx.get( - Network accessline 19
"https://hacker-news.firebaseio.com/v0/topstories.json", - Network accessline 25
for story_id in ids[:limit]: try: item = httpx.get( - Network accessline 26
try: item = httpx.get( f"https://hacker-news.firebaseio.com/v0/item/{story_id}.json", - Network accessline 27
item = httpx.get( - Network accessline 28
f"https://hacker-news.firebaseio.com/v0/item/{story_id}.json", - Network accessline 70
try: res = httpx.get(url, timeout=10) - Network accessline 71
res = httpx.get(url, timeout=10)
examples/guides/demos/privacy_building.py
- Executable scriptline 1
Executable file
examples/guides/demos/real_estate/README_realtor.md
examples/guides/demos/real_estate/morgtate_swarm.py
- Executable scriptline 1
Executable file
examples/guides/demos/real_estate/real_estate_agent.py
- Executable scriptline 1
Executable file - Access to secretsline 61
[Credential-related source omitted] - Access to secretsline 65
[Credential-related source omitted] - Network accessline 67
[Credential-related source omitted] - Access to secretsline 67
[Credential-related source omitted] - Network accessline 68
self.base_url = "https://api.propertyradar.com/v1" self.session = requests.Session() self.session.headers.update( - Network accessline 69
self.session = requests.Session() - Access to secretsline 72
[Credential-related source omitted] - Access to secretsline 174
[Credential-related source omitted] - Access to secretsline 175
[Credential-related source omitted] - Access to secretsline 183
[Credential-related source omitted] - Access to secretsline 184
[Credential-related source omitted] - Access to secretsline 189
[Credential-related source omitted] - Access to secretsline 197
[Credential-related source omitted] - Access to secretsline 294
[Credential-related source omitted] - Access to secretsline 295
[Credential-related source omitted]
examples/guides/demos/real_estate/realtor_agent.py
- Network accessline 1
import http.client - Executable scriptline 1
Executable file - Network accessline 23
Raises: http.client.HTTPException: If the API request fails - Network accessline 24
http.client.HTTPException: If the API request fails - Network accessline 27
conn = http.client.HTTPSConnection( - Access to secretsline 32
[Credential-related source omitted]
examples/guides/demos/science/materials_science_agents.py
- Executable scriptline 1
Executable file
examples/guides/demos/science/open_scientist.py
examples/guides/demos/science/paper_idea_agent.py
- Executable scriptline 1
Executable file
examples/guides/demos/science/paper_idea_profile.py
- Executable scriptline 1
Executable file
examples/guides/demos/spike/agent_rearrange_test.py
examples/guides/demos/spike/function_caller_example.py
examples/guides/demos/spike/memory.py
- Executable scriptline 1
Executable file
examples/guides/demos/spike/test.py
examples/guides/demos/synthetic_data/profession_sim/convert_json_to_csv.py
- Executable scriptline 1
Executable file
examples/guides/demos/synthetic_data/profession_sim/format_prompt.py
- Executable scriptline 1
#!/usr/bin/env python3
examples/guides/demos/synthetic_data/profession_sim/profession_persona_generator.py
- Executable scriptline 1
Executable file
examples/guides/deployment/cron_job_examples/callback_cron_example.py
- Executable scriptline 1
Executable file
examples/guides/deployment/cron_job_examples/cron_job_example.py
- Executable scriptline 1
Executable file
examples/guides/deployment/cron_job_examples/cron_job_figma_stock_swarms_tools_example.py
- Executable scriptline 1
Executable file
examples/guides/deployment/cron_job_examples/crypto_concurrent_cron_example.py
- Executable scriptline 1
Executable file
examples/guides/deployment/cron_job_examples/figma_stock_example.py
- Executable scriptline 1
Executable file
examples/guides/deployment/cron_job_examples/multi_agent_schedules_cron.py
- Executable scriptline 1
Executable file
examples/guides/deployment/cron_job_examples/non_blocking_cron.py
- Executable scriptline 1
Executable file
examples/guides/deployment/cron_job_examples/one_agent_many_tasks_cron.py
- Executable scriptline 1
Executable file
examples/guides/deployment/cron_job_examples/resilient_cron.py
- Executable scriptline 1
Executable file
examples/guides/deployment/cron_job_examples/simple_callback_example.py
- Executable scriptline 1
Executable file
examples/guides/deployment/cron_job_examples/simple_concurrent_crypto_cron.py
examples/guides/deployment/cron_job_examples/single_agent_cron.py
- Executable scriptline 1
Executable file
examples/guides/deployment/cron_job_examples/solana_price_tracker.py
examples/guides/deployment/fastapi/README.md
- Network accessline 42
3. **Access the API**: - API: http://localhost:8000 - Network accessline 43
- API: http://localhost:8000 - Network accessline 44
- Documentation: http://localhost:8000/docs - Network accessline 45
- Health check: http://localhost:8000/health - Network accessline 49
curl -X POST "http://localhost:8000/agent/run" \
examples/guides/deployment/fastapi/fastapi_agent_api_example.py
- Executable scriptline 1
Executable file - Network accessline 338
print("Starting Swarms Agent API...") print( "API Documentation will be available at: http://localhost:8000/docs" - Network accessline 339
print( "API Documentation will be available at: http://localhost:8000/docs" ) - Network accessline 340
"API Documentation will be available at: http://localhost:8000/docs" - Network accessline 341
) print("Alternative docs at: http://localhost:8000/redoc") print("Health check at: http://localhost:8000/health") - Network accessline 342
print("Alternative docs at: http://localhost:8000/redoc") - Network accessline 343
print("Health check at: http://localhost:8000/health") - Network accessline 344
print("Available agents at: http://localhost:8000/agents") - Network accessline 345
print("Examples at: http://localhost:8000/examples")
examples/guides/fairy_swarm/fairy_swarm.py
examples/guides/fairy_swarm/fairy_swarm_examples/README.md
- Access to secretsline 21
[Credential-related source omitted]
examples/guides/fairy_swarm/fairy_swarm_examples/analytical_research.py
- Executable scriptline 1
Executable file
examples/guides/fairy_swarm/fairy_swarm_examples/basic_fairy_swarm.py
- Executable scriptline 1
Executable file
examples/guides/fairy_swarm/fairy_swarm_examples/custom_fairy.py
- Executable scriptline 1
Executable file
examples/guides/fairy_swarm/fairy_swarm_examples/custom_tools.py
- Executable scriptline 1
Executable file
examples/guides/fairy_swarm/fairy_swarm_examples/multi_page_wireframe.py
- Executable scriptline 1
Executable file
examples/guides/fairy_swarm/fairy_swarm_examples/selected_fairies.py
- Executable scriptline 1
Executable file
examples/guides/fairy_swarm/fairy_swarm_examples/standalone_tools.py
- Executable scriptline 1
Executable file
examples/guides/generation_length_blog/longform_generator.py
- Executable scriptline 1
Executable file
examples/guides/generation_length_blog/universal_api.py
- Executable scriptline 1
Executable file
examples/guides/geo_guesser_agent/README.md
- Access to secretsline 16
[Credential-related source omitted]
examples/guides/geo_guesser_agent/geo_guesser_agent.py
- Executable scriptline 1
Executable file
examples/guides/graphworkflow_guide/comprehensive_demo.py
- Executable scriptline 1
#!/usr/bin/env python3
examples/guides/graphworkflow_guide/quick_start_guide.py
- Executable scriptline 1
#!/usr/bin/env python3
examples/guides/hackathon_judge_agent/hackathon_judger_agent.py
- Executable scriptline 1
Executable file
examples/guides/hackathon_judge_agent/projects.csv
- Network accessline 8
(20%)","Manual Total Score",Manual Scoring Feedback 1,Yuki Sato,Japan,Keio University Blockchain Club,Daiko,Daiko AI tells you when to sell and why based on market data and risk profile.,Daiko AI tells you when to sell and why based on mark - Network accessline 9
Total Score",Manual Scoring Feedback 1,Yuki Sato,Japan,Keio University Blockchain Club,Daiko,Daiko AI tells you when to sell and why based on market data and risk profile.,Daiko AI tells you when to sell and why based on market data and ris - Network accessline 10
1,Yuki Sato,Japan,Keio University Blockchain Club,Daiko,Daiko AI tells you when to sell and why based on market data and risk profile.,Daiko AI tells you when to sell and why based on market data and risk profile.,https://www.youtube.com/wa - Network accessline 35
Mint Affection Tokens to your user account Real-time Affection Score Inquiry All transactions can be viewed in Solana Explorer",https://github.com/TreapGoGo/neko-sol,,https://github.com/TreapGoGo/neko-sol,,"Swarms AI API, Solana AI Tools",, - Network accessline 36
Real-time Affection Score Inquiry All transactions can be viewed in Solana Explorer",https://github.com/TreapGoGo/neko-sol,,https://github.com/TreapGoGo/neko-sol,,"Swarms AI API, Solana AI Tools",,,,,0, 3,Gladx,Hong Kong,0xWHU/ 武汉大学 Web3 俱乐 - Network accessline 37
All transactions can be viewed in Solana Explorer",https://github.com/TreapGoGo/neko-sol,,https://github.com/TreapGoGo/neko-sol,,"Swarms AI API, Solana AI Tools",,,,,0, - Network accessline 57
🚀 Lightweight - Pure front-end implementation, no back-end server required",https://github.com/TreapGoGo/sol-dream,,https://github.com/TreapGoGo/sol-dream,,"Solana AI Tools, Swarms AI API",,,,,0, - Network accessline 58
4,Rafael Oliveira,Brazil,Other,AurumGrid,"Aurumgrid AUI – Artificial Universal Intelligence ","Aurumgrid AUI – Artificial Universal Intelligence ",https://github.com/Aurumgrid/aurumgrid-aui,https://github.com/Aurumgrid/aurumgrid-aui,https:/ - Network accessline 59
","Aurumgrid AUI – Artificial Universal Intelligence ",https://github.com/Aurumgrid/aurumgrid-aui,https://github.com/Aurumgrid/aurumgrid-aui,https://github.com/Aurumgrid/aurumgrid-aui,https://x.com/RafaelO9416467/status/1978837487494516820, - Network accessline 60
",https://github.com/Aurumgrid/aurumgrid-aui,https://github.com/Aurumgrid/aurumgrid-aui,https://github.com/Aurumgrid/aurumgrid-aui,https://x.com/RafaelO9416467/status/1978837487494516820,"Solana AI Tools, Aethir GPU Compute, Swarms AI API", - Network accessline 61
5,Michael Afolabi,Nigeria,Superteam NG,Wojat,"Wojat is a comprehensive, AI-powered memecoin hunting platform that combines real-time data collection, social media analysis, and AI-driven insights to help traders discover the next big memeco - Network accessline 62
6,Brooks Shui,Taiwan,Nankai University Blockchain Association / 南开大学区块链协会,SPR Platform,"🦹🏻<U+200D>♀<U+FE0F>🔮SPR1.0: The ATH-Powered VLM estimation platform (🔗https://reflexresearches.com/) - Network accessline 78
The video recognition module further breaks through the limitations of static recognition by analyzing dynamic footage of smartphone boot-up demonstrations and functional operations to determine if there are issues such as color cast, light - Network accessline 94
The video recognition module further breaks through the limitations of static recognition by analyzing dynamic footage of smartphone boot-up demonstrations and functional operations to determine if there are issues such as color cast, light - Network accessline 127
- Telegram Bot to move chatting beyond the website - Public API - Solana Program & Token (Currently on Testnet)",https://drive.google.com/file/d/1odChCG-RZeiH7i1OjR88dUitb2h1pkJY/view?usp=sharing,https://elowen.ai,https://github.com/elowen- - Network accessline 128
- Public API - Solana Program & Token (Currently on Testnet)",https://drive.google.com/file/d/1odChCG-RZeiH7i1OjR88dUitb2h1pkJY/view?usp=sharing,https://elowen.ai,https://github.com/elowen-ai,https://x.com/OzanAndac_/status/1981922432689619 - Network accessline 129
- Solana Program & Token (Currently on Testnet)",https://drive.google.com/file/d/1odChCG-RZeiH7i1OjR88dUitb2h1pkJY/view?usp=sharing,https://elowen.ai,https://github.com/elowen-ai,https://x.com/OzanAndac_/status/1981922432689619368,Solana AI - Network accessline 130
8,Shivam Agarwal,India,Other,SolGame,"A lightweight pixel **multicharacter**, Play To Earn dungeon game built on the Solana Devnet Blockchain, built with Phaser, powered by Metaplex NFT Marketplace Protocol. Our motivation is to enable user - Network accessline 131
9,Fawzan Pima,Ghana,SG Union,Sol Terminal," An mcp server for solana that allows ai agents to gain context of solana capabilities like sending solana , checking sol balance , manage sol accounts and wallets getting sol address al without n - Network accessline 132
10,Riadh M belarbi,United Kingdom of Great Britain and Northern Ireland,Imperial Blockchain,toky.fun,"Toky.fun is an all in one platform ecosystem allowing users to launch projects and grow them with no code, using AI agents and leveraging - Network accessline 135
Demo link at: https://x.com/MYadidya/status/1983074064211308648 - Network accessline 137
Youtube link: https://youtu.be/fJrnTWOWPRM","Nebula Protocol is the world's first decentralized Earth observation platform where autonomous AI agents with their own Solana wallets monitor our planet 24/7 and record findings immutably on-cha - Network accessline 139
Demo link at: https://x.com/MYadidya/status/1983074064211308648 - Network accessline 140
or Youtube link: https://youtu.be/fJrnTWOWPRM",https://nebv2article.netlify.app/,https://nebulav2.netlify.app/,https://github.com/YadidyaM/Nebula-2.0---Decentralized-Earth-Observation-Platform,https://x.com/MYadidya/status/19830740642113086 - Network accessline 141
Youtube link: https://youtu.be/fJrnTWOWPRM",https://nebv2article.netlify.app/,https://nebulav2.netlify.app/,https://github.com/YadidyaM/Nebula-2.0---Decentralized-Earth-Observation-Platform,https://x.com/MYadidya/status/1983074064211308648, - Network accessline 142
12,Togo,Japan,N/A,TinyPay,"TinyPay is a crypto-native payment application built on Solana, enabling seamless real-world transactions with digital assets — even without an internet connection. We’re building the bridge between digital assets - Network accessline 143
We’re building the bridge between digital assets and everyday spending, making crypto payments as effortless as cash or cards.","TinyPay is a crypto-native payment application built on Solana, enabling seamless real-world transactions with - Network accessline 144
We’re building the bridge between digital assets and everyday spending, making crypto payments as effortless as cash or cards.",https://docs.google.com/presentation/d/1kXA47K0ovv51GvYYEm2yWVHrwJYQLrtKMqMoS5wUhMk/edit?usp=sharing,https://www - Network accessline 149
",https://youtu.be/nn3zgyBGgdQ?si=xYHt87szURiqvVZz,https://youtu.be/nn3zgyBGgdQ?si=xYHt87szURiqvVZz,https://github.com/foxholeAI/foxholeAI,https://x.com/alan_ywang/status/1984315036429664509,"Solana AI Tools, Aethir GPU Compute, Swarms AI A
examples/guides/hackathons/hackathon_sep_27/api_client.py
examples/guides/hackathons/hackathon_sep_27/diet_coach_agent.py
- Executable scriptline 1
Executable file
examples/guides/hackathons/hackathon_sep_27/nutritional_content_analysis_swarm.py
- Executable scriptline 1
Executable file - Access to secretsline 7
[Credential-related source omitted] - Access to secretsline 13
[Credential-related source omitted] - Access to secretsline 55
[Credential-related source omitted] - Access to secretsline 61
[Credential-related source omitted] - Network accessline 70
url = "https://swarms-api-285321057562.us-east1.run.app/v1/swarm/completions" - Access to secretsline 73
[Credential-related source omitted] - Network accessline 77
response = requests.post(url, headers=headers, json=swarm_config) - Access to secretsline 83
[Credential-related source omitted] - Access to secretsline 85
[Credential-related source omitted] - Access to secretsline 88
[Credential-related source omitted]
examples/guides/hackathons/hackathon_sep_27/nutritonal_content_analysis_swarm.sh
- Executable scriptline 1
#!/bin/bash - Access to secretsline 3
[Credential-related source omitted] - Access to secretsline 4
[Credential-related source omitted] - Access to secretsline 5
[Credential-related source omitted] - Network accessline 10
[Credential-related source omitted] - Access to secretsline 10
[Credential-related source omitted] - Access to secretsline 11
[Credential-related source omitted]
examples/guides/hiearchical_marketing_team.py
- Executable scriptline 1
Executable file
examples/guides/mem0/mem0_and_swarms.py
examples/guides/nano_banana_jarvis_agent/img_gen_nano_banana.py
- Executable scriptline 1
Executable file
examples/guides/nano_banana_jarvis_agent/jarvis_agent.py
- Executable scriptline 1
Executable file
examples/guides/voice_agents/voice_agents_examples/README.md
- Network accessline 7
- Install the [voice-agents](https://pypi.org/project/voice-agents/) package: `pip install voice-agents` - Network accessline 37
- [Examples index](https://docs.swarms.world/examples/overviews/examples-index) — full list of runnable examples - Network accessline 38
- [Streaming agents](https://docs.swarms.world/examples/agents/agent-streaming) — token-streaming patterns used by the voice callback
examples/guides/voice_agents/voice_agents_examples/agent_speech.py
- Executable scriptline 1
Executable file
examples/guides/voice_agents/voice_agents_examples/agent_with_speech.py
- Executable scriptline 1
Executable file
examples/guides/voice_agents/voice_agents_examples/debate_with_speech.py
- Executable scriptline 1
Executable file
examples/guides/voice_agents/voice_agents_examples/google_calendar_agent.py
- Executable scriptline 1
Executable file - Network accessline 10
Method 1: OAuth2 Flow (Recommended for user calendars) ------------------------------------------------------- 1. Go to Google Cloud Console: https://console.cloud.google.com/ - Network accessline 11
------------------------------------------------------- 1. Go to Google Cloud Console: https://console.cloud.google.com/ 2. Create a new project or select an existing one - Network accessline 12
1. Go to Google Cloud Console: https://console.cloud.google.com/ - Network accessline 37
SCOPES = ['https://www.googleapis.com/auth/calendar'] - Access to secretsline 41
[Credential-related source omitted] - Access to secretsline 61
[Credential-related source omitted] - Network accessline 78
SCOPES = ['https://www.googleapis.com/auth/calendar'] - Access to secretsline 84
[Credential-related source omitted] - Access to secretsline 85
[Credential-related source omitted] - Network accessline 88
Method 3: Using gcloud CLI (Quick testing) ------------------------------------------ 1. Install Google Cloud SDK: https://cloud.google.com/sdk/docs/install - Network accessline 89
------------------------------------------ 1. Install Google Cloud SDK: https://cloud.google.com/sdk/docs/install 2. Authenticate: gcloud auth application-default login - Network accessline 90
1. Install Google Cloud SDK: https://cloud.google.com/sdk/docs/install - Access to secretsline 94
[Credential-related source omitted] - Network accessline 96
Note: Access tokens expire. For production, implement token refresh logic. For more details: https://developers.google.com/calendar/api/guides/auth - Network accessline 97
For more details: https://developers.google.com/calendar/api/guides/auth - Access to secretsline 116
[Credential-related source omitted] - Access to secretsline 131
[Credential-related source omitted] - Access to secretsline 132
[Credential-related source omitted] - Access to secretsline 148
[Credential-related source omitted] - Access to secretsline 149
[Credential-related source omitted] - Access to secretsline 151
[Credential-related source omitted] - Access to secretsline 153
[Credential-related source omitted] - Network accessline 184
url = f"https://www.googleapis.com/calendar/v3/calendars/{calendar_id}/events" - Access to secretsline 187
[Credential-related source omitted] - Network accessline 191
try: with httpx.Client(timeout=30.0) as client: - Network accessline 192
with httpx.Client(timeout=30.0) as client: - Access to secretsline 217
[Credential-related source omitted] - Access to secretsline 231
[Credential-related source omitted] - Access to secretsline 232
[Credential-related source omitted] - Access to secretsline 246
[Credential-related source omitted] - Access to secretsline 247
[Credential-related source omitted] - Access to secretsline 249
[Credential-related source omitted] - Access to secretsline 251
[Credential-related source omitted] - Network accessline 257
url = f"https://www.googleapis.com/calendar/v3/calendars/{calendar_id}/events" - Access to secretsline 260
[Credential-related source omitted] - Network accessline 277
try: with httpx.Client(timeout=30.0) as client: - Network accessline 278
with httpx.Client(timeout=30.0) as client: - Access to secretsline 298
[Credential-related source omitted] - Access to secretsline 304
[Credential-related source omitted] - Access to secretsline 305
[Credential-related source omitted] - Access to secretsline 315
[Credential-related source omitted] - Access to secretsline 316
[Credential-related source omitted] - Access to secretsline 318
[Credential-related source omitted] - Access to secretsline 320
[Credential-related source omitted] - Network accessline 323
url = ( "https://www.googleapis.com/calendar/v3/users/me/calendarList" - Network accessline 324
"https://www.googleapis.com/calendar/v3/users/me/calendarList" - Access to secretsline 328
[Credential-related source omitted] - Network accessline 332
try: with httpx.Client(timeout=30.0) as client: - Network accessline 333
with httpx.Client(timeout=30.0) as client:
examples/guides/voice_agents/voice_agents_examples/hiearchical_speech_swarm.py
- Executable scriptline 1
Executable file
examples/guides/voice_agents/voice_agents_examples/run_auto_agent_with_speech.py
- Executable scriptline 1
Executable file
examples/guides/web_scraper_agents/batched_scraper_agent.py
- Executable scriptline 1
Executable file
examples/guides/web_scraper_agents/web_scraper_agent.py
- Executable scriptline 1
Executable file
examples/guides/workshops/workshop_sep_20/agent_tools_dict_example.py
examples/guides/workshops/workshop_sep_20/batched_grid_simple_example.py
- Executable scriptline 1
Executable file
examples/guides/workshops/workshop_sep_20/geo_guesser_agent.py
- Executable scriptline 1
Executable file
examples/guides/workshops/workshop_sep_20/jarvis_agent.py
- Executable scriptline 1
Executable file
examples/guides/x402_examples/README.md
- Access to secretsline 22
[Credential-related source omitted] - Access to secretsline 23
[Credential-related source omitted] - Network accessline 42
The server will start at `http://localhost:8000` - Network accessline 48
curl http://localhost:8000/ - Network accessline 53
curl http://localhost:8000/research?query="What are the latest breakthroughs in quantum computing?" - Network accessline 71
For testnet (current setup): - Network: `base-sepolia` - Uses free facilitator: `https://x402.org/facilitator` - Network accessline 72
- Network: `base-sepolia` - Uses free facilitator: `https://x402.org/facilitator` - Test USDC only - Network accessline 73
- Uses free facilitator: `https://x402.org/facilitator` - Network accessline 76
For mainnet: 1. Get CDP API credentials from [cdp.coinbase.com](https://cdp.coinbase.com) - Network accessline 77
1. Get CDP API credentials from [cdp.coinbase.com](https://cdp.coinbase.com) - Access to secretsline 84
[Credential-related source omitted] - Network accessline 100
- [X402 Documentation](https://docs.cdp.coinbase.com/x402) - Network accessline 101
- [Swarms Documentation](https://docs.swarms.world) - Network accessline 102
- [X402 GitHub Examples](https://github.com/coinbase/x402/tree/main/examples)
examples/guides/x402_examples/agent_integration/x402_agent_buying.py
- Executable scriptline 1
Executable file - Network accessline 31
response = await buy_x402_service( affordable_service, base_url="https://api.cdp.coinbase.com", - Network accessline 32
affordable_service, base_url="https://api.cdp.coinbase.com", endpoint="/x402/v1/bazaar/services/service123" - Network accessline 33
base_url="https://api.cdp.coinbase.com", - Access to secretsline 39
[Credential-related source omitted]
examples/guides/x402_examples/agent_integration/x402_discovery_query.py
- Executable scriptline 1
Executable file - Network accessline 9
max_price: Optional[int] = None, offset: int = 0, base_url: str = "https://api.cdp.coinbase.com", - Network accessline 10
offset: int = 0, base_url: str = "https://api.cdp.coinbase.com", ) -> Dict[str, Any]: - Network accessline 11
base_url: str = "https://api.cdp.coinbase.com", - Network accessline 53
async with httpx.AsyncClient(timeout=30.0) as client:
examples/guides/x402_examples/env.example
examples/guides/x402_examples/memecoin_agent_x402.py
- Executable scriptline 1
Executable file
examples/guides/x402_examples/research_agent_x402_example.py
- Executable scriptline 1
Executable file
examples/mcp/README.md
- Network accessline 3
[MCP](https://modelcontextprotocol.io) lets an agent pull in tools from an external - Access to secretsline 14
[Credential-related source omitted] - Network accessline 22
agent_name="DeepWiki-Agent", model_name="gpt-4o-mini", mcp_url="https://mcp.deepwiki.com/mcp", # free, no API key - Network accessline 23
model_name="gpt-4o-mini", mcp_url="https://mcp.deepwiki.com/mcp", # free, no API key max_loops=1, - Network accessline 24
mcp_url="https://mcp.deepwiki.com/mcp", # free, no API key - Access to secretsline 44
[Credential-related source omitted] - Network accessline 47
Examples that point at `http://localhost:8000/mcp` need a local server first — run one
examples/mcp/agents/01_deepwiki_repo_qa.py
- Executable scriptline 1
Executable file - Network accessline 9
Server : https://mcp.deepwiki.com/mcp - Network accessline 13
The Agent auto-detects the transport from the URL scheme (an ``https://`` - Access to secretsline 18
[Credential-related source omitted] - Network accessline 41
system_prompt=DEEPWIKI_SYSTEM_PROMPT, model_name=MODEL, mcp_url="https://mcp.deepwiki.com/mcp", - Network accessline 42
model_name=MODEL, mcp_url="https://mcp.deepwiki.com/mcp", max_loops=1, - Network accessline 43
mcp_url="https://mcp.deepwiki.com/mcp",
examples/mcp/agents/02_gitmcp_repo_docs.py
- Executable scriptline 1
Executable file - Network accessline 8
Server : https://gitmcp.io/<owner>/<repo> - Access to secretsline 16
[Credential-related source omitted] - Network accessline 32
), model_name=MODEL, mcp_url=f"https://gitmcp.io/{OWNER}/{REPO}", - Network accessline 33
model_name=MODEL, mcp_url=f"https://gitmcp.io/{OWNER}/{REPO}", max_loops=1, - Network accessline 34
mcp_url=f"https://gitmcp.io/{OWNER}/{REPO}",
examples/mcp/agents/03_microsoft_learn_docs.py
- Executable scriptline 1
Executable file - Network accessline 8
Server : https://learn.microsoft.com/api/mcp - Access to secretsline 16
[Credential-related source omitted] - Network accessline 29
), model_name=MODEL, mcp_url="https://learn.microsoft.com/api/mcp", - Network accessline 30
model_name=MODEL, mcp_url="https://learn.microsoft.com/api/mcp", max_loops=1, - Network accessline 31
mcp_url="https://learn.microsoft.com/api/mcp",
examples/mcp/agents/04_multi_server_agent.py
- Executable scriptline 1
Executable file - Network accessline 9
Servers : https://mcp.deepwiki.com/mcp - Network accessline 10
https://learn.microsoft.com/api/mcp - Access to secretsline 16
[Credential-related source omitted] - Network accessline 30
model_name=MODEL, mcp_urls=[ "https://mcp.deepwiki.com/mcp", # GitHub repo Q&A - Network accessline 31
mcp_urls=[ "https://mcp.deepwiki.com/mcp", # GitHub repo Q&A "https://learn.microsoft.com/api/mcp", # Microsoft docs - Network accessline 32
"https://mcp.deepwiki.com/mcp", # GitHub repo Q&A - Network accessline 33
"https://learn.microsoft.com/api/mcp", # Microsoft docs
examples/mcp/agents/05_exa_web_search.py
- Executable scriptline 1
Executable file - Network accessline 8
Server : https://mcp.exa.ai/mcp - Network accessline 9
Auth : Exa API key (free at https://dashboard.exa.ai/api-keys) - Access to secretsline 13
[Credential-related source omitted] - Access to secretsline 15
[Credential-related source omitted] - Network accessline 17
[Credential-related source omitted] - Network accessline 18
[Credential-related source omitted] - Access to secretsline 18
[Credential-related source omitted] - Network accessline 19
[Credential-related source omitted] - Access to secretsline 19
[Credential-related source omitted] - Access to secretsline 30
[Credential-related source omitted] - Network accessline 50
[Credential-related source omitted] - Access to secretsline 50
[Credential-related source omitted]
examples/mcp/agents/07_huggingface_model_search.py
- Executable scriptline 1
Executable file - Network accessline 8
Server : https://huggingface.co/mcp - Network accessline 18
[Credential-related source omitted] - Access to secretsline 18
[Credential-related source omitted] - Network accessline 19
[Credential-related source omitted] - Access to secretsline 19
[Credential-related source omitted] - Network accessline 20
# https://huggingface.co/settings/tokens - Access to secretsline 30
[Credential-related source omitted] - Network accessline 49
system_prompt=HF_SYSTEM_PROMPT, model_name=MODEL, mcp_url="https://huggingface.co/mcp", - Network accessline 51
mcp_url="https://huggingface.co/mcp", - Access to secretsline 53
[Credential-related source omitted]
examples/mcp/agents/10_firecrawl_web_scraping.py
- Executable scriptline 1
Executable file - Network accessline 8
[Credential-related source omitted] - Access to secretsline 8
[Credential-related source omitted] - Access to secretsline 17
[Credential-related source omitted] - Network accessline 25
Get a key (free tier): https://www.firecrawl.dev/ - Access to secretsline 28
[Credential-related source omitted] - Access to secretsline 29
[Credential-related source omitted] - Access to secretsline 40
[Credential-related source omitted] - Access to secretsline 53
[Credential-related source omitted] - Network accessline 54
sys.exit( "FIRECRAWL_API_KEY is not set.\n" "Get a free-tier key at https://www.firecrawl.dev/ and export it." - Network accessline 55
[Credential-related source omitted] - Access to secretsline 55
[Credential-related source omitted] - Network accessline 56
"Get a free-tier key at https://www.firecrawl.dev/ and export it." - Network accessline 65
[Credential-related source omitted] - Access to secretsline 65
[Credential-related source omitted] - Network accessline 69
if __name__ == "__main__": result = agent.run( "Scrape https://modelcontextprotocol.io/introduction and explain, in " - Network accessline 70
result = agent.run( "Scrape https://modelcontextprotocol.io/introduction and explain, in " "the docs' own terms, what problem MCP solves and what the three " - Network accessline 71
"Scrape https://modelcontextprotocol.io/introduction and explain, in "
examples/mcp/agents/12_semgrep_security_scan.py
- Executable scriptline 1
Executable file - Network accessline 9
Server : https://mcp.semgrep.ai/mcp - Network accessline 13
Note: this endpoint accepted anonymous traffic historically and now returns 401 without a token. Verified 2026-08-12. Get a free token at https://semgrep.dev/login -> Settings -> Tokens. - Network accessline 15
https://semgrep.dev/login -> Settings -> Tokens. - Network accessline 22
[Credential-related source omitted] - Network accessline 23
[Credential-related source omitted] - Access to secretsline 23
[Credential-related source omitted] - Network accessline 24
[Credential-related source omitted] - Access to secretsline 24
[Credential-related source omitted] - Network accessline 78
system_prompt=SECURITY_SYSTEM_PROMPT, model_name=MODEL, mcp_url="https://mcp.semgrep.ai/mcp", - Network accessline 79
[Credential-related source omitted] - Network accessline 80
mcp_url="https://mcp.semgrep.ai/mcp", - Access to secretsline 81
[Credential-related source omitted] - Access to secretsline 86
[Credential-related source omitted] - Network accessline 87
sys.exit( "SEMGREP_APP_TOKEN is not set.\n" "Create a free token at https://semgrep.dev " - Network accessline 88
"SEMGREP_APP_TOKEN is not set.\n" "Create a free token at https://semgrep.dev " "(Settings -> Tokens) and export it before running." - Network accessline 89
"Create a free token at https://semgrep.dev "
examples/mcp/agents/13_mcp_sequential_workflow.py
- Executable scriptline 1
Executable file - Network accessline 9
Researcher : DeepWiki (https://mcp.deepwiki.com/mcp) — repo Q&A - Network accessline 10
Librarian : Context7 (https://mcp.context7.com/mcp) — current library docs - Access to secretsline 31
[Credential-related source omitted] - Network accessline 50
), model_name=MODEL, mcp_url="https://mcp.deepwiki.com/mcp", - Network accessline 51
model_name=MODEL, mcp_url="https://mcp.deepwiki.com/mcp", max_loops=2, - Network accessline 52
mcp_url="https://mcp.deepwiki.com/mcp", - Network accessline 68
), model_name=MODEL, mcp_url="https://mcp.context7.com/mcp", - Network accessline 69
model_name=MODEL, mcp_url="https://mcp.context7.com/mcp", max_loops=3, - Network accessline 70
mcp_url="https://mcp.context7.com/mcp",
examples/mcp/agents/FREE_MCP_SERVERS.md
- Network accessline 3
A catalog of real, public [MCP](https://modelcontextprotocol.io) servers you can - Network accessline 25
agent_name="MCP-Agent", model_name="gpt-4o-mini", # any LiteLLM model with tool use mcp_url="https://mcp.deepwiki.com/mcp", # one server - Network accessline 26
model_name="gpt-4o-mini", # any LiteLLM model with tool use mcp_url="https://mcp.deepwiki.com/mcp", # one server max_loops=1, - Network accessline 27
mcp_url="https://mcp.deepwiki.com/mcp", # one server - Network accessline 37
model_name="gpt-4o-mini", mcp_urls=[ "https://mcp.deepwiki.com/mcp", - Network accessline 38
mcp_urls=[ "https://mcp.deepwiki.com/mcp", "https://learn.microsoft.com/api/mcp", - Network accessline 39
"https://mcp.deepwiki.com/mcp", - Network accessline 40
"https://learn.microsoft.com/api/mcp", - Network accessline 46
**Transport** is auto-detected: any `https://` URL uses streamable-HTTP. A few - Network accessline 54
| Server | URL | What it does | |---|---|---| | **DeepWiki** | `https://mcp.deepwiki.com/mcp` | Q&A over any public GitHub repo's docs | - Network accessline 55
|---|---|---| | **DeepWiki** | `https://mcp.deepwiki.com/mcp` | Q&A over any public GitHub repo's docs | | **GitMCP** | `https://gitmcp.io/<owner>/<repo>` | Turns a single repo into a docs/code MCP server | - Network accessline 56
| **DeepWiki** | `https://mcp.deepwiki.com/mcp` | Q&A over any public GitHub repo's docs | - Network accessline 57
| **GitMCP** | `https://gitmcp.io/<owner>/<repo>` | Turns a single repo into a docs/code MCP server | - Network accessline 58
| **Microsoft Learn** | `https://learn.microsoft.com/api/mcp` | Official Microsoft / Azure / .NET documentation | - Network accessline 59
| **AWS Knowledge** | `https://knowledge-mcp.global.api.aws` | Official AWS docs, API references, what's-new | - Network accessline 60
| **Cloudflare Docs** | `https://docs.mcp.cloudflare.com/mcp` | Cloudflare product documentation | - Network accessline 61
| **Hugging Face** | `https://huggingface.co/mcp` | Search models / datasets / Spaces (optional HF token unlocks more) | - Network accessline 62
| **Context7** | `https://mcp.context7.com/mcp` | Up-to-date docs for thousands of libraries (rate-limited without a free key) | - Network accessline 66
agent = Agent( model_name="gpt-4o-mini", mcp_url="https://gitmcp.io/kyegomez/swarms", - Network accessline 67
model_name="gpt-4o-mini", mcp_url="https://gitmcp.io/kyegomez/swarms", max_loops=1, - Network accessline 68
mcp_url="https://gitmcp.io/kyegomez/swarms", - Network accessline 79
| Server | Endpoint / auth | What it does | |---|---|---| | **Exa** | `https://mcp.exa.ai/mcp?exaApiKey=…` (query param) | Web search + content retrieval | - Network accessline 80
|---|---|---| | **Exa** | `https://mcp.exa.ai/mcp?exaApiKey=…` (query param) | Web search + content retrieval | | **Semgrep** | `https://mcp.semgrep.ai/mcp` + Bearer token | Static-analysis security scanning (was open, now 401 without a tok - Network accessline 81
| **Exa** | `https://mcp.exa.ai/mcp?exaApiKey=…` (query param) | Web search + content retrieval | - Network accessline 82
| **Semgrep** | `https://mcp.semgrep.ai/mcp` + Bearer token | Static-analysis security scanning (was open, now 401 without a token) | - Network accessline 83
| **Globalping** | `https://mcp.globalping.dev/sse` + Bearer token | ping / traceroute / DNS / MTR from a global probe network (was open, now 401) | - Network accessline 84
| **Tavily** | `https://mcp.tavily.com/mcp/?tavilyApiKey=…` (query param) | Web search built for agents | - Access to secretsline 85
[Credential-related source omitted] - Network accessline 93
import os key = os.environ["EXA_API_KEY"] # free at https://dashboard.exa.ai/api-keys - Network accessline 94
[Credential-related source omitted] - Access to secretsline 94
[Credential-related source omitted] - Network accessline 95
agent = Agent( model_name="gpt-4o-mini", mcp_url=f"https://mcp.exa.ai/mcp?exaApiKey={key}", - Network accessline 96
model_name="gpt-4o-mini", mcp_url=f"https://mcp.exa.ai/mcp?exaApiKey={key}", max_loops=1, - Network accessline 97
mcp_url=f"https://mcp.exa.ai/mcp?exaApiKey={key}", - Network accessline 106
agent = Agent( model_name="gpt-4o-mini", mcp_url="https://example-server.com/mcp", - Network accessline 107
[Credential-related source omitted] - Network accessline 108
mcp_url="https://example-server.com/mcp", - Access to secretsline 109
[Credential-related source omitted] - Network accessline 116
agent = Agent( model_name="gpt-4o-mini", mcp_url="https://example-server.com/mcp", - Network accessline 117
[Credential-related source omitted] - Network accessline 118
mcp_url="https://example-server.com/mcp", - Access to secretsline 119
[Credential-related source omitted] - Access to secretsline 128
[Credential-related source omitted] - Network accessline 130
`GitHub` (`https://api.githubcopilot.com/mcp/`), `Notion`, `Linear`, `Asana`, - Network accessline 135
agent = Agent( model_name="gpt-4o-mini", mcp_url="https://api.githubcopilot.com/mcp/", - Network accessline 136
[Credential-related source omitted] - Network accessline 137
mcp_url="https://api.githubcopilot.com/mcp/", - Access to secretsline 138
[Credential-related source omitted] - Network accessline 148
- **PulseMCP** — https://www.pulsemcp.com - Network accessline 149
- **Glama** — https://glama.ai/mcp/servers - Network accessline 150
- **Smithery** — https://smithery.ai - Network accessline 151
- **mcp.run** — https://www.mcp.run - Access to secretsline 188
[Credential-related source omitted]
examples/mcp/agents/README.md
examples/mcp/agents/autonomous_agent_dynamic_tools.py
examples/mcp/agents/deepwiki_minimal.py
- Executable scriptline 1
Executable file - Network accessline 4
agent_name="MCP-Agent", model_name="claude-sonnet-5", mcp_url="https://mcp.deepwiki.com/mcp", - Network accessline 5
model_name="claude-sonnet-5", mcp_url="https://mcp.deepwiki.com/mcp", max_loops=1, - Network accessline 6
mcp_url="https://mcp.deepwiki.com/mcp", - Network accessline 28
# agent_name="MCP-Agent", # model_name="gpt-5.4", # mcp_url="https://api.githubcopilot.com/mcp/", - Network accessline 29
[Credential-related source omitted] - Network accessline 30
# mcp_url="https://api.githubcopilot.com/mcp/", - Access to secretsline 31
[Credential-related source omitted] - Network accessline 40
# model_name="gpt-5.4", # mcp_config=MCPConnection( # url="https://api.example.com/mcp", - Network accessline 41
[Credential-related source omitted] - Network accessline 42
# url="https://api.example.com/mcp", - Access to secretsline 43
[Credential-related source omitted] - Network accessline 55
# agent_name="MCP-Agent", # model_name="gpt-5.4", # mcp_url="https://api.example.com/mcp", - Network accessline 56
# model_name="gpt-5.4", # mcp_url="https://api.example.com/mcp", # mcp_oauth=MCPOAuthConfig(scopes=["mcp:tools", "offline_access"]), - Network accessline 57
# mcp_url="https://api.example.com/mcp", - Access to secretsline 66
[Credential-related source omitted] - Network accessline 74
# model_name="gpt-5.4", # mcp_urls=[ # "https://mcp.deepwiki.com/mcp", - Network accessline 75
# mcp_urls=[ # "https://mcp.deepwiki.com/mcp", # "https://api.example.com/mcp", - Network accessline 76
# "https://mcp.deepwiki.com/mcp", - Network accessline 77
# "https://api.example.com/mcp",
examples/mcp/agents/finance_agent_mcp.py
- Executable scriptline 1
Executable file - Network accessline 9
system_prompt=FINANCIAL_AGENT_SYS_PROMPT, # System prompt for financial tasks max_loops=1, mcp_url="http://localhost:8001/mcp", # URL for the OKX crypto price MCP server - Network accessline 10
max_loops=1, mcp_url="http://localhost:8001/mcp", # URL for the OKX crypto price MCP server model_name="gpt-5.4", - Network accessline 11
mcp_url="http://localhost:8001/mcp", # URL for the OKX crypto price MCP server
examples/mcp/agents/mcp_connection_object.py
examples/mcp/agents/mcp_with_local_tools.py
examples/mcp/agents/multi_mcp_urls.py
- Executable scriptline 1
Executable file - Network accessline 40
output_type="all", mcp_urls=[ "http://localhost:8000/mcp", - Network accessline 41
mcp_urls=[ "http://localhost:8000/mcp", "http://localhost:8001/mcp", - Network accessline 42
"http://localhost:8000/mcp", - Network accessline 43
"http://localhost:8001/mcp",
examples/mcp/agents/multi_mcp_walkthrough.py
- Executable scriptline 1
Executable file - Network accessline 18
max_loops=3, mcp_urls=[ "http://localhost:8001/mcp", # OKX Crypto Server - Network accessline 19
mcp_urls=[ "http://localhost:8001/mcp", # OKX Crypto Server "http://localhost:8000/mcp", # Agent Tools Server - Network accessline 20
"http://localhost:8001/mcp", # OKX Crypto Server - Network accessline 21
"http://localhost:8000/mcp", # Agent Tools Server - Network accessline 98
system_prompt=custom_prompt, mcp_urls=[ "http://localhost:8001/mcp", # OKX Crypto - Network accessline 99
mcp_urls=[ "http://localhost:8001/mcp", # OKX Crypto "http://localhost:8000/mcp", # Agent Tools - Network accessline 100
"http://localhost:8001/mcp", # OKX Crypto - Network accessline 101
"http://localhost:8000/mcp", # Agent Tools - Network accessline 123
system_prompt="You are a resilient agent that handles errors gracefully.", mcp_urls=[ "http://localhost:8001/mcp", # OKX Crypto (should be running) - Network accessline 124
mcp_urls=[ "http://localhost:8001/mcp", # OKX Crypto (should be running) "http://localhost:8002/mcp", # Non-existent server (will fail) - Network accessline 125
"http://localhost:8001/mcp", # OKX Crypto (should be running) - Network accessline 126
"http://localhost:8002/mcp", # Non-existent server (will fail) - Network accessline 127
"http://localhost:8000/mcp", # Agent Tools (should be running)
examples/mcp/agents/tools_list_dictionary.py
examples/mcp/client/01_list_tools.py
examples/mcp/client/02_call_tool.py
examples/mcp/client/03_execute_llm_tool_calls.py
examples/mcp/client/04_multi_server.py
examples/mcp/client/05_auth_and_config.py
- Executable scriptline 1
Executable file - Network accessline 22
manager = MCPManager( mcp_url="https://api.example.com/mcp", - Network accessline 23
mcp_url="https://api.example.com/mcp", - Access to secretsline 24
[Credential-related source omitted] - Network accessline 32
manager = MCPManager( mcp_url="https://api.example.com/mcp", - Network accessline 33
mcp_url="https://api.example.com/mcp", - Network accessline 41
connection = MCPConnection( url="https://api.example.com/mcp", - Network accessline 42
url="https://api.example.com/mcp", - Network accessline 56
connection = MCPConnection( url="https://api.example.com/mcp", - Network accessline 57
url="https://api.example.com/mcp", - Access to secretsline 58
[Credential-related source omitted] - Network accessline 65
connection = MCPConnection( url="https://api.example.com/mcp", - Network accessline 66
url="https://api.example.com/mcp", - Network accessline 69
[Credential-related source omitted] - Network accessline 70
[Credential-related source omitted] - Access to secretsline 70
[Credential-related source omitted] - Network accessline 71
token_url="https://api.example.com/oauth/token", - Network accessline 82
manager = MCPManager( mcp_urls=[ "http://localhost:8000/mcp", # local, no auth - Network accessline 83
mcp_urls=[ "http://localhost:8000/mcp", # local, no auth MCPConnection( - Network accessline 84
"http://localhost:8000/mcp", # local, no auth - Network accessline 85
[Credential-related source omitted] - Network accessline 86
url="https://api.example.com/mcp", - Access to secretsline 87
[Credential-related source omitted]
examples/mcp/client/06_remote_agents.py
examples/mcp/client/README.md
examples/mcp/mcp_deployer/README.md
examples/mcp/mcp_deployer/background_server_and_client_agent.py
examples/mcp/mcp_deployer/custom_auth_per_tenant.py
examples/mcp/mcp_deployer/env_keys_and_extra_tools.py
- Executable scriptline 1
Executable file
examples/mcp/mcp_deployer/multiple_agents_one_server.py
- Executable scriptline 1
Executable file
examples/mcp/mcp_deployer/owner_key_or_tenant_auth.py
examples/mcp/mcp_deployer/plain_function_json_response.py
examples/mcp/mcp_deployer/sequential_workflow_as_tool.py
- Executable scriptline 1
Executable file
examples/mcp/mcp_deployer/single_agent_api_key.py
- Executable scriptline 1
Executable file
examples/mcp/mcp_deployer/sse_transport.py
- Executable scriptline 1
Executable file
examples/mcp/mcp_deployer/stdio_transport.py
- Executable scriptline 1
Executable file
examples/mcp/mcp_deployer/token_verifier_with_scopes.py
- Executable scriptline 1
Executable file
examples/mcp/servers/README.md
- Network accessline 27
agent_name="Crypto-Agent", model_name="gpt-4o-mini", mcp_url="http://localhost:8000/mcp", - Network accessline 28
model_name="gpt-4o-mini", mcp_url="http://localhost:8000/mcp", max_loops=1, - Network accessline 29
mcp_url="http://localhost:8000/mcp", - Network accessline 35
Most examples under [`../agents/`](../agents/) and [`../client/`](../client/) that use `http://localhost:8000/mcp` expect `crypto_price_server.py` to be running. - Network accessline 36
`http://localhost:8000/mcp` expect `crypto_price_server.py` to be running.
examples/mcp/servers/agent_as_tool_server.py
- Executable scriptline 1
Executable file
examples/mcp/servers/crypto_price_server.py
- Executable scriptline 1
Executable file - Network accessline 30
url = f"https://api.coingecko.com/api/v3/simple/price?ids={coin_id}&vs_currencies=usd&include_24hr_change=true" - Network accessline 33
response = requests.get(url) - Network accessline 80
url = f"https://api.htx.com/market/detail/merged?symbol={symbol}" - Network accessline 83
response = requests.get(url)
examples/mcp/servers/okx_crypto_server.py
- Executable scriptline 1
Executable file - Network accessline 37
url = f"https://www.okx.com/api/v5/market/ticker?instId={symbol}" - Network accessline 40
response = requests.get(url) - Network accessline 93
url = f"https://www.okx.com/api/v5/market/ticker?instId={symbol}" - Network accessline 96
response = requests.get(url)
examples/mcp/servers/streamable_http_server.py
- Executable scriptline 1
Executable file
examples/models/README.md
- Access to secretsline 5
[Credential-related source omitted]
examples/models/anthropic/claude_4.py
- Executable scriptline 1
Executable file
examples/models/anthropic/claude_4_example.py
- Executable scriptline 1
Executable file
examples/models/anthropic/fable_agent.py
- Executable scriptline 1
Executable file
examples/models/anthropic/fable_example.py
- Executable scriptline 1
Executable file
examples/models/anthropic/swarms_claude_example.py
- Executable scriptline 1
Executable file
examples/models/azure/azure_agent.py
- Executable scriptline 1
Executable file
examples/models/azure/azure_agent_api_verison.py
- Executable scriptline 1
Executable file
examples/models/azure/azure_model_support.py
- Executable scriptline 1
Executable file
examples/models/cerebras/cerebras_example.py
- Executable scriptline 1
Executable file
examples/models/custom_llm/base_llm.py
- Executable scriptline 1
Executable file
examples/models/deepseek/deepseek_r1.py
- Executable scriptline 1
Executable file
examples/models/deepseek/fast_r1_groq.py
- Executable scriptline 1
Executable file
examples/models/deepseek/groq_deepseek_agent.py
- Executable scriptline 1
Executable file
examples/models/gpt_astra/gpt_astra.py
- Executable scriptline 1
Executable file
examples/models/gpt_astra/gpt_astra_usage.py
- Executable scriptline 1
Executable file
examples/models/gpt_astra/swarms_api_mixture_of_agents.py
- Executable scriptline 1
Executable file - Network accessline 9
[Credential-related source omitted] - Access to secretsline 9
[Credential-related source omitted] - Network accessline 10
BASE_URL = "https://api.swarms.world" - Access to secretsline 12
[Credential-related source omitted] - Network accessline 73
response = requests.post(
examples/models/gpt_astra/swarms_api_single_agent.py
- Executable scriptline 1
Executable file - Network accessline 9
[Credential-related source omitted] - Access to secretsline 9
[Credential-related source omitted] - Network accessline 10
BASE_URL = "https://api.swarms.world" - Access to secretsline 12
[Credential-related source omitted] - Network accessline 32
response = requests.post(
examples/models/gpt_oss/gpt_os_agent.py
- Executable scriptline 1
Executable file
examples/models/gpt_oss/groq_gpt_oss_models.py
- Executable scriptline 1
Executable file
examples/models/gpt_oss/multi_agent_gpt_oss_example.py
- Executable scriptline 1
Executable file
examples/models/llama4/litellm_example.py
- Executable scriptline 1
Executable file
examples/models/llama4/llama_4.py
- Executable scriptline 1
Executable file
examples/models/llama4/simple_agent.py
- Executable scriptline 1
Executable file
examples/models/lumo/lumo_example.py
- Executable scriptline 1
Executable file
examples/models/mistral/mistral_example.py
- Executable scriptline 1
Executable file
examples/models/moonshot/kimi_k3_local.py
- Executable scriptline 1
Executable file
examples/models/moonshot/kimi_k3_or.py
- Executable scriptline 1
Executable file
examples/models/ollama/kimi_k3_local_agent.py
- Executable scriptline 1
Executable file
examples/models/ollama/simple_example_ollama.py
- Executable scriptline 1
Executable file
examples/models/openai/4o_mini_demo.py
- Executable scriptline 1
Executable file
examples/models/openai/5.4_openai.py
examples/models/openai/concurrent_gpt5.py
- Executable scriptline 1
Executable file
examples/models/openai/example_o3.py
- Executable scriptline 1
Executable file
examples/models/openai/gpt_5.6_sol.py
- Executable scriptline 1
Executable file
examples/models/openai/gpt_5_example.py
examples/models/openai/o3_agent.py
- Executable scriptline 1
Executable file
examples/models/openai/reasoning_duo_batched.py
- Executable scriptline 1
Executable file
examples/models/openai/test_async_litellm.py
- Executable scriptline 1
Executable file
examples/models/openrouter/glm_or.py
- Executable scriptline 1
Executable file
examples/models/openrouter/groupchat_or.py
- Executable scriptline 1
Executable file
examples/models/openrouter/hy3_or.py
- Executable scriptline 1
Executable file
examples/models/openrouter/k3_kimi.py
examples/models/openrouter/k3_kimi_example.py
- Executable scriptline 1
Executable file
examples/models/openrouter/kimi_k3_single_agent.py
examples/models/openrouter/minimax.py
- Executable scriptline 1
Executable file
examples/models/qwen/qwen_3_base.py
- Executable scriptline 1
Executable file
examples/models/vllm/vllm_example.py
- Executable scriptline 1
Executable file
examples/models/vllm/vllm_wrapper.py
- Executable scriptline 1
Executable file
examples/multi_agent/advisor_swarm_examples/advisor_swarm_example.py
examples/multi_agent/agent_grpo_examples/agent_grpo_math_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/agent_grpo_examples/agent_grpo_physics_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/agent_rearrange_examples/01_fan_out.py
- Executable scriptline 1
Executable file
examples/multi_agent/agent_rearrange_examples/02_fan_in.py
- Executable scriptline 1
Executable file
examples/multi_agent/agent_rearrange_examples/03_multi_stage.py
- Executable scriptline 1
Executable file
examples/multi_agent/agent_rearrange_examples/04_multi_provider_ensemble.py
examples/multi_agent/agent_rearrange_examples/05_new_features_showcase.py
- Executable scriptline 1
Executable file
examples/multi_agent/agent_rearrange_examples/batch_run_concurrent_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/agent_rearrange_examples/diamond_flow_real_agents.py
examples/multi_agent/agent_rearrange_examples/nested_swarms_demo.py
examples/multi_agent/agent_rearrange_examples/rearrange_test.py
- Executable scriptline 1
Executable file
examples/multi_agent/agent_rearrange_examples/refactor_smoke_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/agent_router_examples/agent_router_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/agent_router_examples/refactor_smoke_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/aggregate_examples/aggregate_typed_turns_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/alternate_debates/brainstorming_session.py
- Executable scriptline 1
Executable file
examples/multi_agent/alternate_debates/council_meeting.py
- Executable scriptline 1
Executable file
examples/multi_agent/alternate_debates/interview_series.py
- Executable scriptline 1
Executable file
examples/multi_agent/alternate_debates/mediation_session.py
- Executable scriptline 1
Executable file
examples/multi_agent/alternate_debates/mentorship_session.py
- Executable scriptline 1
Executable file
examples/multi_agent/alternate_debates/negotiation_session.py
- Executable scriptline 1
Executable file
examples/multi_agent/alternate_debates/peer_review_process.py
- Executable scriptline 1
Executable file
examples/multi_agent/alternate_debates/trial_simulation.py
- Executable scriptline 1
Executable file
examples/multi_agent/asb/asb_research.py
- Executable scriptline 1
Executable file
examples/multi_agent/asb/auto_agent.py
- Executable scriptline 1
Executable file
examples/multi_agent/asb/auto_swarm_builder_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/asb/auto_swarm_builder_spec_only_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/asb/auto_swarm_builder_test.py
- Executable scriptline 1
Executable file
examples/multi_agent/asb/auto_swarm_router.py
examples/multi_agent/asb/content_creation_asb.py
- Executable scriptline 1
Executable file
examples/multi_agent/auction_swarm_examples/README.md
- Access to secretsline 76
[Credential-related source omitted]
examples/multi_agent/auction_swarm_examples/basic_auction.py
- Executable scriptline 1
Executable file
examples/multi_agent/auction_swarm_examples/batch_auction.py
- Executable scriptline 1
Executable file
examples/multi_agent/auction_swarm_examples/custom_scoring_auction.py
- Executable scriptline 1
Executable file
examples/multi_agent/auto_agent_builder_examples/README.md
- Access to secretsline 107
[Credential-related source omitted]
examples/multi_agent/auto_agent_builder_examples/auto_agent_builder_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/auto_agent_builder_examples/auto_agent_builder_simple.py
- Executable scriptline 1
Executable file
examples/multi_agent/auto_agent_builder_examples/concurrent_workflow.py
- Executable scriptline 1
Executable file
examples/multi_agent/auto_agent_builder_examples/exact_agent_count.py
- Executable scriptline 1
Executable file
examples/multi_agent/auto_agent_builder_examples/save_and_reuse_roster.py
- Executable scriptline 1
Executable file
examples/multi_agent/auto_agent_builder_examples/swarm_router_handoff.py
- Executable scriptline 1
Executable file
examples/multi_agent/batched_grid_workflow/batched_grid_advanced_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/batched_grid_workflow/batched_grid_simple_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/batched_grid_workflow/batched_grid_swarm_router.py
- Executable scriptline 1
Executable file
examples/multi_agent/batched_grid_workflow/batched_grid_workflow_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/broadcast_examples/README.md
- Access to secretsline 21
[Credential-related source omitted]
examples/multi_agent/broadcast_examples/broadcast_class_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/broadcast_examples/broadcast_function_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/caching_examples/example_multi_agent_caching.py
- Executable scriptline 1
Executable file
examples/multi_agent/caching_examples/quick_start_agent_caching.py
- Executable scriptline 1
Executable file
examples/multi_agent/concurrent_examples/asi.py
- Executable scriptline 1
Executable file
examples/multi_agent/concurrent_examples/concurrent_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/concurrent_examples/concurrent_example_dashboard.py
- Executable scriptline 1
Executable file
examples/multi_agent/concurrent_examples/concurrent_mix.py
- Executable scriptline 1
Executable file
examples/multi_agent/concurrent_examples/concurrent_swarm_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/concurrent_examples/concurrent_workflow_autosave_example.py
- Executable scriptline 1
#!/usr/bin/env python3
examples/multi_agent/concurrent_examples/concurrent_workflow_random_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/concurrent_examples/example_concurrent.py
- Executable scriptline 1
Executable file
examples/multi_agent/concurrent_examples/streaming_callback/example_streaming_workflow.py
- Executable scriptline 1
Executable file
examples/multi_agent/concurrent_examples/streaming_callback/parallel_search_agents.py
- Executable scriptline 1
Executable file
examples/multi_agent/concurrent_examples/streaming_concurrent_workflow.py
- Executable scriptline 1
Executable file
examples/multi_agent/council/judges/council_judge_basic.py
- Executable scriptline 1
Executable file
examples/multi_agent/council/judges/council_judge_complex_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/council/judges/council_judge_custom_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/council/judges/council_judge_evaluation.py
- Executable scriptline 1
Executable file
examples/multi_agent/council/judges/council_judge_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/council/judges/council_of_judges_eval.py
- Executable scriptline 1
Executable file
examples/multi_agent/council/llm_council/business_strategy_council.py
- Executable scriptline 1
Executable file
examples/multi_agent/council/llm_council/etf_stock_analysis_council.py
- Executable scriptline 1
Executable file
examples/multi_agent/council/llm_council/finance_analysis_council.py
- Executable scriptline 1
Executable file
examples/multi_agent/council/llm_council/legal_analysis_council.py
- Executable scriptline 1
Executable file
examples/multi_agent/council/llm_council/llm_council_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/council/llm_council/marketing_strategy_council.py
- Executable scriptline 1
Executable file
examples/multi_agent/council/llm_council/medical_diagnosis_council.py
- Executable scriptline 1
Executable file
examples/multi_agent/council/llm_council/medical_treatment_council.py
- Executable scriptline 1
Executable file
examples/multi_agent/council/llm_council/research_analysis_council.py
- Executable scriptline 1
Executable file
examples/multi_agent/council/llm_council/technology_assessment_council.py
- Executable scriptline 1
Executable file
examples/multi_agent/debate_examples/business_strategy_debate_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/debate_examples/debate_with_judge_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/debate_examples/policy_debate_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/debate_examples/technical_architecture_debate_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/election_swarm_examples/apple_board_election_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/election_swarm_examples/election_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/forest_swarm_examples/forest_swarm_example.py
- Executable scriptline 1
#!/usr/bin/env python3
examples/multi_agent/forest_swarm_examples/fund_manager_forest.py
- Executable scriptline 1
Executable file
examples/multi_agent/forest_swarm_examples/medical_forest_swarm.py
- Executable scriptline 1
Executable file
examples/multi_agent/forest_swarm_examples/tree_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/forest_swarm_examples/tree_swarm_test.py
- Executable scriptline 1
Executable file
examples/multi_agent/graphworkflow_examples/advanced_graph_workflow.py
- Executable scriptline 1
Executable file
examples/multi_agent/graphworkflow_examples/graph/graph_workflow_basic.py
- Executable scriptline 1
Executable file
examples/multi_agent/graphworkflow_examples/graph/graph_workflow_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/graphworkflow_examples/graph_workflow_basic.py
- Executable scriptline 1
Executable file
examples/multi_agent/graphworkflow_examples/graph_workflow_basic_new.py
- Executable scriptline 1
Executable file
examples/multi_agent/graphworkflow_examples/graph_workflow_checkpointing.py
- Executable scriptline 1
Executable file
examples/multi_agent/graphworkflow_examples/graph_workflow_composition.py
examples/multi_agent/graphworkflow_examples/graph_workflow_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/graphworkflow_examples/graph_workflow_fanout_fanin.py
examples/multi_agent/graphworkflow_examples/graph_workflow_serialization.py
- Executable scriptline 1
Executable file
examples/multi_agent/graphworkflow_examples/graph_workflow_streaming.py
- Executable scriptline 1
Executable file
examples/multi_agent/graphworkflow_examples/graph_workflow_validate.py
- Executable scriptline 1
Executable file
examples/multi_agent/graphworkflow_examples/graph_workflow_validation.py
examples/multi_agent/graphworkflow_examples/rustworkx_examples/01_basic_usage.py
- Executable scriptline 1
Executable file
examples/multi_agent/graphworkflow_examples/rustworkx_examples/02_backend_comparison.py
- Executable scriptline 1
Executable file
examples/multi_agent/graphworkflow_examples/rustworkx_examples/03_fan_out_fan_in_patterns.py
- Executable scriptline 1
Executable file
examples/multi_agent/graphworkflow_examples/rustworkx_examples/04_complex_workflow.py
- Executable scriptline 1
Executable file
examples/multi_agent/graphworkflow_examples/rustworkx_examples/05_performance_benchmark.py
- Executable scriptline 1
Executable file
examples/multi_agent/graphworkflow_examples/rustworkx_examples/06_error_handling.py
- Executable scriptline 1
Executable file
examples/multi_agent/graphworkflow_examples/rustworkx_examples/07_large_scale_workflow.py
- Executable scriptline 1
Executable file
examples/multi_agent/graphworkflow_examples/rustworkx_examples/08_parallel_chain_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/graphworkflow_examples/rustworkx_examples/09_workflow_validation.py
- Executable scriptline 1
Executable file
examples/multi_agent/graphworkflow_examples/rustworkx_examples/10_real_world_scenario.py
- Executable scriptline 1
Executable file
examples/multi_agent/graphworkflow_examples/test_parallel_processing_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/groupchat/dynamic_groupchat_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/groupchat/dynamic_groupchat_example_simple.py
- Executable scriptline 1
Executable file
examples/multi_agent/groupchat/enhanced_collaboration_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/groupchat/groupchat_examples/crypto_tax.py
- Executable scriptline 1
Executable file
examples/multi_agent/groupchat/groupchat_examples/crypto_tax_swarm.py
- Executable scriptline 1
Executable file
examples/multi_agent/groupchat/groupchat_examples/group_chat_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/groupchat/groupchat_examples/groupchat_example.py
examples/multi_agent/groupchat/groupchat_examples/mortgage_tax_panel_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/groupchat/kimi_k3_groupchat.py
examples/multi_agent/groupchat/medical_panel_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/groupchat/philosopher_groupchat.py
- Executable scriptline 1
Executable file
examples/multi_agent/groupchat/quantum_physics_swarm.py
- Executable scriptline 1
Executable file
examples/multi_agent/groupchat/simple_groupchat_reshoring_swarm.py
- Executable scriptline 1
Executable file
examples/multi_agent/groupchat/stream_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/groupchat/test_groupchat_feat.py
- Executable scriptline 1
Executable file
examples/multi_agent/heavy_swarm_examples/heavy_swarm.py
- Executable scriptline 1
Executable file
examples/multi_agent/heavy_swarm_examples/heavy_swarm_16_agents.py
- Executable scriptline 1
Executable file
examples/multi_agent/heavy_swarm_examples/heavy_swarm_4_agents.py
- Executable scriptline 1
Executable file
examples/multi_agent/heavy_swarm_examples/heavy_swarm_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/heavy_swarm_examples/heavy_swarm_example_one.py
- Executable scriptline 1
Executable file
examples/multi_agent/heavy_swarm_examples/heavy_swarm_example_research.py
- Executable scriptline 1
Executable file
examples/multi_agent/heavy_swarm_examples/heavy_swarm_example_research_swarm.py
- Executable scriptline 1
Executable file
examples/multi_agent/heavy_swarm_examples/heavy_swarm_grok_basic.py
- Executable scriptline 1
Executable file
examples/multi_agent/heavy_swarm_examples/heavy_swarm_grok_heavy.py
- Executable scriptline 1
Executable file
examples/multi_agent/heavy_swarm_examples/heavy_swarm_grok_medical.py
- Executable scriptline 1
Executable file
examples/multi_agent/heavy_swarm_examples/heavy_swarm_grok_no_dashboard.py
- Executable scriptline 1
Executable file
examples/multi_agent/heavy_swarm_examples/heavy_swarm_grok_question_preview.py
- Executable scriptline 1
Executable file
examples/multi_agent/heavy_swarm_examples/heavy_swarm_grok_router.py
- Executable scriptline 1
Executable file
examples/multi_agent/heavy_swarm_examples/heavy_swarm_no_dashboard.py
- Executable scriptline 1
Executable file
examples/multi_agent/heavy_swarm_examples/heavy_swarm_with_image.py
- Executable scriptline 1
Executable file
examples/multi_agent/heavy_swarm_examples/medical_heavy_swarm_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/hierarchical_swarm/display_hierarchy_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/hierarchical_swarm/example_hierarchical.py
- Executable scriptline 1
Executable file
examples/multi_agent/hierarchical_swarm/hiearchical_examples/advanced_hierarchical_swarm_examples.py
- Executable scriptline 1
Executable file
examples/multi_agent/hierarchical_swarm/hiearchical_examples/hiearchical_swarm_test.py
- Executable scriptline 1
Executable file
examples/multi_agent/hierarchical_swarm/hiearchical_examples/hierarchical_swarm_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/hierarchical_swarm/hiearchical_swarm_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/hierarchical_swarm/hiearchical_swarm_new_features_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/hierarchical_swarm/hiearchical_swarm_ui/debug_dashboard.py
- Executable scriptline 1
Executable file
examples/multi_agent/hierarchical_swarm/hierarchical_swarm_autosave_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/hierarchical_swarm/hierarchical_swarm_basic_demo.py
- Executable scriptline 1
#!/usr/bin/env python3
examples/multi_agent/hierarchical_swarm/hierarchical_swarm_batch_demo.py
- Executable scriptline 1
Executable file
examples/multi_agent/hierarchical_swarm/hierarchical_swarm_comparison_demo.py
- Executable scriptline 1
Executable file
examples/multi_agent/hierarchical_swarm/hierarchical_swarm_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/hierarchical_swarm/hierarchical_swarm_plan_panel_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/hierarchical_swarm/hierarchical_swarm_streaming_demo.py
- Executable scriptline 1
Executable file
examples/multi_agent/hierarchical_swarm/hierarchical_swarm_streaming_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/hierarchical_swarm/hs_interactive.py
- Executable scriptline 1
Executable file
examples/multi_agent/hierarchical_swarm/hs_stock_team.py
- Executable scriptline 1
Executable file
examples/multi_agent/hierarchical_swarm/hybrid_hiearchical_swarm.py
- Executable scriptline 1
Executable file
examples/multi_agent/hierarchical_swarm/sector_analysis_hiearchical_swarm.py
- Executable scriptline 1
Executable file
examples/multi_agent/hierarchical_swarm/simple_hierarchical_swarm_recovery.py
- Executable scriptline 1
Executable file
examples/multi_agent/ma_blocks_examples/find_agent_by_name_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/majority_voting/_doda_majority_voting_example_new.py
- Executable scriptline 1
Executable file
examples/multi_agent/majority_voting/majority_voting_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/majority_voting/majority_voting_example_new.py
- Executable scriptline 1
Executable file
examples/multi_agent/majority_voting/snake_game_code_voting.py
- Executable scriptline 1
Executable file
examples/multi_agent/mar/model_router_example.py
examples/multi_agent/mar/multi_agent_router_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/mar/multi_agent_router_minimal.py
- Executable scriptline 1
Executable file
examples/multi_agent/mar/multi_agent_router_specialist_routing.py
- Executable scriptline 1
Executable file
examples/multi_agent/mar/refactor_smoke_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/moa_examples/mixture_of_agents_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/moa_examples/test_moa_new.py
- Executable scriptline 1
Executable file
examples/multi_agent/one_to_one_examples/README.md
- Access to secretsline 20
[Credential-related source omitted]
examples/multi_agent/one_to_one_examples/one_to_one_class_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/one_to_one_examples/one_to_one_function_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/one_to_three_examples/README.md
- Access to secretsline 20
[Credential-related source omitted]
examples/multi_agent/one_to_three_examples/one_to_three_class_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/one_to_three_examples/one_to_three_function_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/orchestration_examples/ai_ethics_debate.py
- Executable scriptline 1
Executable file
examples/multi_agent/orchestration_examples/cybersecurity_incident_negotiation.py
- Executable scriptline 1
Executable file
examples/multi_agent/orchestration_examples/healthcare_panel_discussion.py
- Executable scriptline 1
Executable file
examples/multi_agent/orchestration_examples/insurance_claim_review.py
- Executable scriptline 1
Executable file
examples/multi_agent/orchestration_examples/investment_council_meeting.py
- Executable scriptline 1
Executable file
examples/multi_agent/orchestration_examples/medical_malpractice_trial.py
- Executable scriptline 1
Executable file
examples/multi_agent/orchestration_examples/merger_mediation_session.py
- Executable scriptline 1
Executable file
examples/multi_agent/orchestration_examples/nvidia_amd_executive_negotiation.py
- Executable scriptline 1
Executable file
examples/multi_agent/orchestration_examples/pharma_research_brainstorm.py
- Executable scriptline 1
Executable file
examples/multi_agent/orchestration_examples/philosophy_discussion_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/orchestration_examples/startup_mentorship_program.py
- Executable scriptline 1
Executable file
examples/multi_agent/paper_implementations/long_agent.py
- Executable scriptline 1
Executable file
examples/multi_agent/phased_fan_out_workflow/bug_hunt.py
- Executable scriptline 1
Executable file
examples/multi_agent/phased_fan_out_workflow/contract_review.py
- Executable scriptline 1
Executable file
examples/multi_agent/planner_generator_evaluator/pge_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/planner_generator_evaluator/pge_with_tools_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/planner_worker_swarm/planner_worker_swarm_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/round_robin_examples/engineering_design_review.py
- Executable scriptline 1
Executable file
examples/multi_agent/round_robin_examples/investment_committee_etf.py
- Executable scriptline 1
Executable file
examples/multi_agent/round_robin_examples/medical_treatment_review.py
- Executable scriptline 1
Executable file
examples/multi_agent/round_robin_examples/round_robin_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/sequential_workflow/drift_detection_commodities.py
- Executable scriptline 1
Executable file
examples/multi_agent/sequential_workflow/example_sequential.py
- Executable scriptline 1
Executable file
examples/multi_agent/sequential_workflow/research_analyse_write.py
examples/multi_agent/sequential_workflow/sequential_streaming_simple.py
- Executable scriptline 1
Executable file
examples/multi_agent/sequential_workflow/sequential_wofkflow.py
- Executable scriptline 1
Executable file
examples/multi_agent/sequential_workflow/sequential_worflow_test.py
- Executable scriptline 1
Executable file
examples/multi_agent/sequential_workflow/sequential_workflow.py
examples/multi_agent/sequential_workflow/sequential_workflow_autosave_example.py
- Executable scriptline 1
#!/usr/bin/env python3
examples/multi_agent/sequential_workflow/sequential_workflow_drift_detection.py
- Executable scriptline 1
Executable file
examples/multi_agent/sequential_workflow/sequential_workflow_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/sequential_workflow/sequential_workflow_streaming.py
examples/multi_agent/sequential_workflow/sonnet_4_5_sequential.py
- Executable scriptline 1
Executable file
examples/multi_agent/simulations/agent_map/agent_map_simulation.py
- Executable scriptline 1
Executable file
examples/multi_agent/simulations/agent_map/hospital_simulation_demo.py
- Executable scriptline 1
#!/usr/bin/env python3
examples/multi_agent/simulations/agent_map/v0/demo_simulation.py
- Executable scriptline 1
Executable file
examples/multi_agent/simulations/agent_map/v0/example_usage.py
- Executable scriptline 1
#!/usr/bin/env python3
examples/multi_agent/simulations/agent_map/v0/simple_hospital_demo.py
- Executable scriptline 1
#!/usr/bin/env python3
examples/multi_agent/simulations/agent_map/v0/test_group_conversations.py
- Executable scriptline 1
#!/usr/bin/env python3
examples/multi_agent/simulations/euroswarm_parliament/__init__.py
- Executable scriptline 1
Executable file
examples/multi_agent/simulations/euroswarm_parliament/euroswarm_parliament_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/simulations/euroswarm_parliament/wikipedia_personality_scraper.py
- Executable scriptline 1
#!/usr/bin/env python3 - Network accessline 92
self.output_dir = output_dir self.verbose = verbose self.session = requests.Session() - Network accessline 93
self.verbose = verbose self.session = requests.Session() self.session.headers.update( - Network accessline 94
self.session = requests.Session() - Network accessline 95
self.session.headers.update( { "User-Agent": "EuroSwarm Parliament Personality Scraper/1.0 (https://github.com/swarms-democracy)" - Network accessline 96
{ "User-Agent": "EuroSwarm Parliament Personality Scraper/1.0 (https://github.com/swarms-democracy)" } - Network accessline 97
"User-Agent": "EuroSwarm Parliament Personality Scraper/1.0 (https://github.com/swarms-democracy)" - Network accessline 175
search_url = "https://en.wikipedia.org/w/api.php" - Network accessline 232
content_url = "https://en.wikipedia.org/w/api.php"
examples/multi_agent/simulations/example_bell_labs.py
- Executable scriptline 1
Executable file
examples/multi_agent/simulations/map_generation/game_map.py
- Executable scriptline 1
Executable file - Network accessline 181
sam_checkpoint_urls = { "vit_b": "https://dl.fbaipublicfiles.com/segment_anything/sam_vit_b_01ec64.pth", - Network accessline 182
"vit_b": "https://dl.fbaipublicfiles.com/segment_anything/sam_vit_b_01ec64.pth", - Network accessline 183
"vit_l": "https://dl.fbaipublicfiles.com/segment_anything/sam_vit_l_0b3195.pth", - Network accessline 184
"vit_h": "https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth", - Network accessline 198
urllib.request.urlretrieve(
examples/multi_agent/skill_orchestra_examples/skill_orchestra.py
examples/multi_agent/skill_orchestra_examples/skill_orchestra_example.py
examples/multi_agent/social_algorithms_examples/adaptive_workflow_algorithm_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/social_algorithms_examples/auction_market_algorithm_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/social_algorithms_examples/collaborative_brainstorming_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/social_algorithms_examples/competitive_evaluation_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/social_algorithms_examples/consensus_building_algorithm_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/social_algorithms_examples/hierarchical_decision_making_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/social_algorithms_examples/iterative_refinement_algorithm_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/social_algorithms_examples/multi_stage_pipeline_algorithm_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/social_algorithms_examples/negotiation_algorithm_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/social_algorithms_examples/peer_review_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/social_algorithms_examples/refactor_smoke_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/social_algorithms_examples/research_analysis_synthesis_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/social_algorithms_examples/social_algorithms_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/social_algorithms_examples/swarm_intelligence_algorithm_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/spreadsheet_examples/crypto_tax_swarm/crypto_tax_spreadsheet.py
- Executable scriptline 1
Executable file
examples/multi_agent/spreadsheet_examples/financial_analysis/swarm_csv.py
- Executable scriptline 1
Executable file
examples/multi_agent/spreadsheet_examples/spreadsheet_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/spreadsheet_examples/spreadsheet_swarm_usage.py
- Executable scriptline 1
Executable file
examples/multi_agent/swarm_router/groupchat_swarm_router_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/swarm_router/heavy_swarm_router_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/swarm_router/market_analysis_swarm_router_concurrent.py
- Executable scriptline 1
Executable file
examples/multi_agent/swarm_router/sr_moa_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/swarm_router/swarm_router.py
- Executable scriptline 1
Executable file
examples/multi_agent/swarm_router/swarm_router_benchmark.py
- Executable scriptline 1
#!/usr/bin/env python3
examples/multi_agent/swarm_router/swarm_router_concurrent_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/swarm_router/swarm_router_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/swarm_router/swarm_router_fallback_example.py
examples/multi_agent/swarm_router/swarm_router_mv.py
- Executable scriptline 1
Executable file
examples/multi_agent/swarm_router/swarm_router_test.py
- Executable scriptline 1
Executable file
examples/multi_agent/swarm_router/swarm_router_usage.py
examples/multi_agent/swarms_api_examples/hedge_fund_swarm.py
- Executable scriptline 1
Executable file - Network accessline 11
[Credential-related source omitted] - Access to secretsline 11
[Credential-related source omitted] - Network accessline 12
BASE_URL = "https://api.swarms.world" - Access to secretsline 14
[Credential-related source omitted] - Network accessline 21
def run_health_check(): response = requests.get(f"{BASE_URL}/health", headers=headers) - Network accessline 22
response = requests.get(f"{BASE_URL}/health", headers=headers) - Network accessline 74
response = requests.post(
examples/multi_agent/swarms_api_examples/medical_swarm.py
- Executable scriptline 1
Executable file - Access to secretsline 8
[Credential-related source omitted] - Network accessline 9
[Credential-related source omitted] - Access to secretsline 9
[Credential-related source omitted] - Network accessline 10
BASE_URL = "https://api.swarms.world" - Access to secretsline 13
[Credential-related source omitted] - Network accessline 84
response = requests.post(
examples/multi_agent/swarms_api_examples/swarms_api_client.py
examples/multi_agent/swarms_api_examples/swarms_api_example.py
- Executable scriptline 1
Executable file - Access to secretsline 8
[Credential-related source omitted] - Network accessline 9
[Credential-related source omitted] - Access to secretsline 9
[Credential-related source omitted] - Network accessline 10
BASE_URL = "https://api.swarms.world" - Access to secretsline 13
[Credential-related source omitted] - Network accessline 87
response = requests.post(
examples/multi_agent/swarms_api_examples/tools_examples.py
- Executable scriptline 1
Executable file - Access to secretsline 8
[Credential-related source omitted] - Network accessline 9
[Credential-related source omitted] - Access to secretsline 9
[Credential-related source omitted] - Network accessline 10
BASE_URL = "https://api.swarms.world" - Access to secretsline 13
[Credential-related source omitted] - Network accessline 119
response = requests.post(
examples/multi_agent/utils/agent_communication_examples.py
examples/multi_agent/utils/aggregate_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/utils/batch_agent_example.py
- Executable scriptline 1
Executable file
examples/multi_agent/utils/meme_agents/bob_the_agent.py
- Executable scriptline 1
Executable file
examples/multi_agent/utils/one_to_one_broadcast_one_to_three.py
- Executable scriptline 1
Executable file
examples/multi_agent/utils/test_agent_concurrent.py
- Executable scriptline 1
Executable file
examples/multi_agent/utils/unique_swarms_examples.py
- Executable scriptline 1
Executable file
examples/reasoning_agents/agent_judge_examples/example1_basic_evaluation.py
- Executable scriptline 1
Executable file
examples/reasoning_agents/agent_judge_examples/example2_technical_evaluation.py
- Executable scriptline 1
Executable file
examples/reasoning_agents/agent_judge_examples/example3_creative_evaluation.py
- Executable scriptline 1
Executable file
examples/reasoning_agents/moa_seq_example.py
- Executable scriptline 1
Executable file
examples/reasoning_agents/reasoning_agent_router_examples/agent_judge_example.py
- Executable scriptline 1
Executable file
examples/reasoning_agents/reasoning_agent_router_examples/gkp_agent_example.py
- Executable scriptline 1
Executable file
examples/reasoning_agents/reasoning_agent_router_examples/ire_example.py
- Executable scriptline 1
Executable file
examples/reasoning_agents/reasoning_agent_router_examples/reasoning_duo_example.py
- Executable scriptline 1
Executable file
examples/reasoning_agents/reasoning_agent_router_examples/reflexion_agent_example.py
- Executable scriptline 1
Executable file
examples/reasoning_agents/reasoning_agent_router_examples/self_consistency_example.py
- Executable scriptline 1
Executable file
examples/reasoning_agents/tree_of_thoughts_examples/README.md
- Network accessline 5
`TreeOfThoughts` implements [Tree of Thoughts (Yao et al., 2023)](https://arxiv.org/abs/2305.10601). Rather than answering in one pass, it grows a tree of partial solutions: it proposes candidate next steps, scores each one from 0 to 1, pru - Access to secretsline 36
[Credential-related source omitted]
examples/reasoning_agents/tree_of_thoughts_examples/mathematics/calculus_optimization.py
- Executable scriptline 1
Executable file
examples/reasoning_agents/tree_of_thoughts_examples/mathematics/irrationality_proof.py
- Executable scriptline 1
Executable file
examples/reasoning_agents/tree_of_thoughts_examples/mathematics/number_theory_counting.py
- Executable scriptline 1
Executable file
examples/reasoning_agents/tree_of_thoughts_examples/physics/fermi_estimation.py
- Executable scriptline 1
Executable file
examples/reasoning_agents/tree_of_thoughts_examples/physics/loop_the_loop.py
- Executable scriptline 1
Executable file
examples/reasoning_agents/tree_of_thoughts_examples/physics/projectile_motion.py
- Executable scriptline 1
Executable file
examples/reasoning_agents/tree_of_thoughts_examples/reasoning/bridge_and_torch.py
- Executable scriptline 1
Executable file
examples/reasoning_agents/tree_of_thoughts_examples/reasoning/constraint_scheduling.py
- Executable scriptline 1
Executable file
examples/reasoning_agents/tree_of_thoughts_examples/reasoning/knights_and_knaves.py
- Executable scriptline 1
Executable file
examples/single_agent/README.md
- Access to secretsline 16
[Credential-related source omitted]
examples/single_agent/capabilities/autonomy/autonomous_agents/auto_agent.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/autonomy/autonomous_agents/auto_agent_quant_etf.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/autonomy/autonomous_agents/autonomous_agent.py
- Executable scriptline 1
Executable file - Access to secretsline 51
[Credential-related source omitted] - Access to secretsline 57
[Credential-related source omitted] - Network accessline 61
# Payload format for Exa API (see https://docs.exa.ai/reference/search) - Network accessline 89
response = httpx.post( - Network accessline 90
"https://api.exa.ai/search",
examples/single_agent/capabilities/autonomy/autonomous_agents/example_autonomous_looper_run_bash.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/autonomy/autonomous_agents/marketplace_and_auto_agent.py
- Executable scriptline 1
Executable file - Access to secretsline 50
[Credential-related source omitted] - Access to secretsline 56
[Credential-related source omitted] - Network accessline 60
# Payload format for Exa API (see https://docs.exa.ai/reference/search) - Network accessline 88
response = httpx.post( - Network accessline 89
"https://api.exa.ai/search",
examples/single_agent/capabilities/autonomy/autonomous_agents/medical_research_auto_loop.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/autonomy/autonomous_agents/sub_agent_test.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/autonomy/handoffs/autonomous_agent_with_handoffs_example.py
- Executable scriptline 1
Executable file - Access to secretsline 63
[Credential-related source omitted] - Access to secretsline 65
[Credential-related source omitted] - Access to secretsline 66
[Credential-related source omitted] - Access to secretsline 72
[Credential-related source omitted] - Network accessline 76
# Payload format for Exa API (see https://docs.exa.ai/reference/search) - Network accessline 102
try: response = httpx.post( - Network accessline 103
response = httpx.post( - Network accessline 104
"https://api.exa.ai/search",
examples/single_agent/capabilities/autonomy/handoffs/duo_agent.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/autonomy/handoffs/handoff_example.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/autonomy/handoffs/handoffs_example.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/messages/messages_example.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/prompt_caching/1_basic_caching.py
examples/single_agent/capabilities/prompt_caching/2_cache_config_ttl.py
examples/single_agent/capabilities/prompt_caching/3_cache_config_tools.py
examples/single_agent/capabilities/prompt_caching/4_cache_config_system_only.py
examples/single_agent/capabilities/prompt_caching/5_cache_config_openai.py
examples/single_agent/capabilities/prompt_caching/6_cache_config_all_options.py
examples/single_agent/capabilities/prompt_caching/cache_config_example.py
examples/single_agent/capabilities/prompt_caching/prompt_caching_example.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/rag/README.md
- Access to secretsline 32
[Credential-related source omitted] - Network accessline 145
# Connect to Qdrant cloud agent = QuantitativeTradingRAGAgent( qdrant_url="https://your-instance.qdrant.io", - Network accessline 146
[Credential-related source omitted] - Network accessline 147
qdrant_url="https://your-instance.qdrant.io", - Access to secretsline 148
[Credential-related source omitted]
examples/single_agent/capabilities/rag/full_agent_rag_example.py
examples/single_agent/capabilities/rag/pinecone_example.py
examples/single_agent/capabilities/rag/qdrant_agent.py
- Executable scriptline 1
Executable file - Access to secretsline 19
[Credential-related source omitted] - Access to secretsline 27
[Credential-related source omitted] - Access to secretsline 33
[Credential-related source omitted] - Access to secretsline 34
[Credential-related source omitted] - Access to secretsline 168
[Credential-related source omitted] - Access to secretsline 169
[Credential-related source omitted] - Access to secretsline 174
[Credential-related source omitted]
examples/single_agent/capabilities/rag/qdrant_rag_example.py
examples/single_agent/capabilities/rag/simple_example.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/skills/agent_with_custom_skill.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/skills/agent_with_dynamic_skills.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/skills/agent_with_multiple_skills.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/skills/agent_with_skills.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/skills/multiple_skill_dirs/after.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/skills/multiple_skill_dirs/before.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/streaming/agent_stream_token.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/streaming/agent_streaming.py
examples/single_agent/capabilities/streaming/auto_loop_streaming_example.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/streaming/example_streaming_tools.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/streaming/streaming_example.py
- Executable scriptline 1
Executable file - Access to secretsline 16
[Credential-related source omitted] - Network accessline 19
Test (the -N flag disables curl buffering so tokens appear as they arrive): - Network accessline 20
curl -N -X POST http://localhost:8000/stream/multi \ -H 'content-type: application/json' \ - Network accessline 24
curl -N -X POST http://localhost:8000/stream/auto \ -H 'content-type: application/json' \ - Network accessline 28
curl -N -X POST http://localhost:8000/stream/sequential \ -H 'content-type: application/json' \
examples/single_agent/capabilities/tools/agent_mcp.py
examples/single_agent/capabilities/tools/agent_with_exa.py
- Executable scriptline 1
Executable file - Access to secretsline 47
[Credential-related source omitted] - Access to secretsline 49
[Credential-related source omitted] - Access to secretsline 51
[Credential-related source omitted] - Access to secretsline 58
[Credential-related source omitted] - Network accessline 62
# Payload format for Exa API (see https://docs.exa.ai/reference/search) - Network accessline 93
response = httpx.post( - Network accessline 94
"https://api.exa.ai/search",
examples/single_agent/capabilities/tools/exa_search_agent.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/tools/example_async_vs_multithread.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/tools/litellm_tool_example.py
examples/single_agent/capabilities/tools/multi_tool_usage_agent.py
examples/single_agent/capabilities/tools/new_tools_examples.py
- Executable scriptline 1
Executable file - Network accessline 25
try: url = "https://api.coingecko.com/api/v3/simple/price" - Network accessline 26
url = "https://api.coingecko.com/api/v3/simple/price" - Network accessline 36
response = requests.get(url, params=params, timeout=10) - Network accessline 76
url = "https://api.coingecko.com/api/v3/coins/markets" - Network accessline 86
response = requests.get(url, params=params, timeout=10) - Network accessline 143
try: url = "https://api.coingecko.com/api/v3/search" - Network accessline 144
url = "https://api.coingecko.com/api/v3/search" - Network accessline 147
response = requests.get(url, params=params, timeout=10)
examples/single_agent/capabilities/tools/omni_modal_agent.py
- Executable scriptline 1
Executable file - Access to secretsline 11
[Credential-related source omitted] - Access to secretsline 50
[Credential-related source omitted] - Network accessline 62
url = "https://api.replicate.com/v1/models/black-forest-labs/flux-schnell/predictions" - Network accessline 66
url = ( "https://api.replicate.com/v1/models/luma/ray/predictions" - Network accessline 67
"https://api.replicate.com/v1/models/luma/ray/predictions" - Network accessline 72
url = "https://api.replicate.com/v1/predictions" - Network accessline 83
response = requests.post(url, headers=headers, json=data)
examples/single_agent/capabilities/tools/solana_tool/solana_tool.py
- Executable scriptline 1
Executable file - Network accessline 21
RPC_ENDPOINTS = [ "https://api.mainnet-beta.solana.com", - Network accessline 22
"https://api.mainnet-beta.solana.com", - Network accessline 23
"https://solana.public-rpc.com", - Network accessline 24
"https://rpc.ankr.com/solana", - Network accessline 47
session = requests.Session()
examples/single_agent/capabilities/tools/solana_tool/solana_tool_test.py
- Executable scriptline 1
Executable file - Network accessline 21
RPC_ENDPOINTS = [ "https://api.mainnet-beta.solana.com", - Network accessline 22
"https://api.mainnet-beta.solana.com", - Network accessline 23
"https://rpc.ankr.com/solana", - Network accessline 24
"https://solana.getblock.io/mainnet", - Network accessline 98
response = requests.post(
examples/single_agent/capabilities/tools/structured_outputs/example_meaning_of_life_agents.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/tools/structured_outputs/structured_outputs_example.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/tools/swarms_of_browser_agents.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/tools/swarms_tools_example.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/tools/together_deepseek_agent.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/tools/tools_examples/dex_screener.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/tools/tools_examples/financial_news_agent.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/tools/tools_examples/simple_tool_example.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/tools/tools_examples/swarms_tool_example_simple.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/vision/anthropic_vision_test.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/vision/base_64_images/test_base64_image.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/vision/image_batch_example.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/vision/image_batch_processor.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/vision/multimodal_example.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/vision/multiple_image_processing.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/vision/vision_test.py
- Executable scriptline 1
Executable file
examples/single_agent/capabilities/vision/vision_tools.py
- Executable scriptline 1
Executable file
examples/single_agent/demos/insurance_agent.py
- Executable scriptline 1
Executable file
examples/single_agent/demos/persistent_legal_agent.py
examples/single_agent/getting_started/interactive.py
- Executable scriptline 1
Executable file
examples/single_agent/getting_started/onboarding/onboard-basic.py
- Executable scriptline 1
Executable file
examples/single_agent/getting_started/simple_agent.py
- Executable scriptline 1
Executable file
examples/single_agent/integrations/marketplace/marketplace_prompt_example.py
- Executable scriptline 1
Executable file
examples/single_agent/integrations/marketplace/medical_agent_add_to_marketplace.py
- Executable scriptline 1
Executable file
examples/single_agent/integrations/marketplace/quant_trader_agent.py
- Executable scriptline 1
Executable file
examples/single_agent/integrations/marketplace/zia_agent.py
- Executable scriptline 1
Executable file
examples/single_agent/reasoning/agent_judge_evaluation_criteria_example.py
- Executable scriptline 1
Executable file
examples/single_agent/reasoning/agent_judge_example.py
- Executable scriptline 1
Executable file
examples/single_agent/reasoning/consistency_agent.py
- Executable scriptline 1
Executable file
examples/single_agent/reasoning/consistency_example.py
- Executable scriptline 1
Executable file
examples/single_agent/reasoning/gpk_agent.py
- Executable scriptline 1
Executable file
examples/single_agent/reasoning/iterative_agent.py
- Executable scriptline 1
Executable file
examples/single_agent/reasoning/reasoning_agent_router.py
- Executable scriptline 1
Executable file
examples/single_agent/reasoning/reasoning_agent_router_now.py
- Executable scriptline 1
Executable file
examples/single_agent/reasoning/reasoning_duo.py
examples/single_agent/reasoning/reasoning_duo_example.py
- Executable scriptline 1
Executable file
examples/single_agent/reasoning/reasoning_duo_test.py
- Executable scriptline 1
Executable file
examples/single_agent/utils/agent_usage.py
examples/single_agent/utils/async_agent.py
- Executable scriptline 1
Executable file
examples/single_agent/utils/autosaving_examples/autosave_basic_example.py
- Executable scriptline 1
Executable file
examples/single_agent/utils/autosaving_examples/autosave_config_access_example.py
- Executable scriptline 1
Executable file
examples/single_agent/utils/autosaving_examples/autosave_directory_structure_example.py
- Executable scriptline 1
Executable file
examples/single_agent/utils/autosaving_examples/autosave_recovery_example.py
- Executable scriptline 1
Executable file
examples/single_agent/utils/custom_agent_base_url.py
- Executable scriptline 1
Executable file - Network accessline 16
dynamic_context_window=True, streaming_on=True, llm_base_url="https://openrouter.ai/api/v1", # Grok API base URL - Network accessline 17
[Credential-related source omitted] - Network accessline 18
llm_base_url="https://openrouter.ai/api/v1", # Grok API base URL - Access to secretsline 19
[Credential-related source omitted] - Access to secretsline 20
[Credential-related source omitted]
examples/single_agent/utils/dynamic_context_window.py
- Executable scriptline 1
Executable file
examples/single_agent/utils/fallback_test.py
- Executable scriptline 1
Executable file
examples/single_agent/utils/grok_4_agent.py
- Executable scriptline 1
Executable file
examples/single_agent/utils/list_agent_output_types.py
- Executable scriptline 1
Executable file
examples/single_agent/utils/markdown_agent.py
- Executable scriptline 1
Executable file
examples/single_agent/utils/transform_prompts/transforms_agent_example.py
- Executable scriptline 1
Executable file
examples/single_agent/utils/transform_prompts/transforms_examples.py
- Executable scriptline 1
Executable file - Network accessline 60
{ "role": "assistant", "content": "Let me show you a practical example of inheritance:\n\n```python\nclass Animal:\n def __init__(self, name):\n self.name = name\n\n def speak(self):\n pass # Abs - Network accessline 61
"role": "assistant", "content": "Let me show you a practical example of inheritance:\n\n```python\nclass Animal:\n def __init__(self, name):\n self.name = name\n\n def speak(self):\n pass # Abstract method\n - Network accessline 62
"content": "Let me show you a practical example of inheritance:\n\n```python\nclass Animal:\n def __init__(self, name):\n self.name = name\n\n def speak(self):\n pass # Abstract method\n\nclass Dog(Animal):\n def spe
examples/tools/agent_as_tools.py
examples/tools/base_tool_examples/base_tool_examples.py
- Executable scriptline 1
Executable file
examples/tools/base_tool_examples/conver_funcs_to_schema.py
- Executable scriptline 1
Executable file - Network accessline 27
try: url = "https://api.coingecko.com/api/v3/simple/price" - Network accessline 28
url = "https://api.coingecko.com/api/v3/simple/price" - Network accessline 38
response = requests.get(url, params=params, timeout=10) - Network accessline 78
url = "https://api.coingecko.com/api/v3/coins/markets" - Network accessline 88
response = requests.get(url, params=params, timeout=10) - Network accessline 145
try: url = "https://api.coingecko.com/api/v3/search" - Network accessline 146
url = "https://api.coingecko.com/api/v3/search" - Network accessline 149
response = requests.get(url, params=params, timeout=10)
examples/tools/base_tool_examples/exa_search_deep_research.py
- Executable scriptline 1
Executable file
examples/tools/base_tool_examples/example_usage.py
- Executable scriptline 1
#!/usr/bin/env python3
examples/tools/browser_use/browser_use_as_tool.py
- Executable scriptline 1
Executable file - Network accessline 77
Example: result = browser_agent_tool( "Please navigate to https://www.coingecko.com and identify the best performing cryptocurrency coin over the past 24 hours." - Network accessline 78
result = browser_agent_tool( "Please navigate to https://www.coingecko.com and identify the best performing cryptocurrency coin over the past 24 hours." ) - Network accessline 79
"Please navigate to https://www.coingecko.com and identify the best performing cryptocurrency coin over the past 24 hours." - Network accessline 92
agent.run( "Please navigate to https://www.coingecko.com and identify the best performing cryptocurrency coin over the past 24 hours." - Network accessline 93
"Please navigate to https://www.coingecko.com and identify the best performing cryptocurrency coin over the past 24 hours."
examples/tools/browser_use/browser_use_demo.py
- Executable scriptline 1
Executable file - Network accessline 56
swarm.run( """Please navigate to https://www.coingecko.com and identify the best performing cryptocurrency coin over the past 24 hours. - Network accessline 57
"""Please navigate to https://www.coingecko.com and identify the best performing cryptocurrency coin over the past 24 hours.
examples/tools/claude/claude_as_a_tool.py
examples/tools/dynamic_tools/dynamic_tool_loading.py
examples/tools/exa_search/exa_search_agent.py
- Executable scriptline 1
Executable file
examples/tools/exa_search/exa_search_agent_quant.py
- Executable scriptline 1
Executable file
examples/tools/exa_search/exa_search_test.py
- Executable scriptline 1
Executable file
examples/tools/firecrawl/firecrawl_agents_example.py
- Executable scriptline 1
Executable file
examples/tools/multi_tool_use/many_tool_use_demo.py
- Executable scriptline 1
Executable file - Network accessline 27
try: url = "https://api.coingecko.com/api/v3/simple/price" - Network accessline 28
url = "https://api.coingecko.com/api/v3/simple/price" - Network accessline 38
response = requests.get(url, params=params, timeout=10) - Network accessline 78
url = "https://api.coingecko.com/api/v3/coins/markets" - Network accessline 88
response = requests.get(url, params=params, timeout=10) - Network accessline 145
try: url = "https://api.coingecko.com/api/v3/search" - Network accessline 146
url = "https://api.coingecko.com/api/v3/search" - Network accessline 149
response = requests.get(url, params=params, timeout=10) - Network accessline 196
try: url = "https://lite-api.jup.ag/swap/v1/quote" - Network accessline 197
url = "https://lite-api.jup.ag/swap/v1/quote" - Network accessline 205
response = requests.get(url, params=params, timeout=10) - Network accessline 232
try: url = "https://api.htx.com/market/detail/merged" - Network accessline 233
url = "https://api.htx.com/market/detail/merged" - Network accessline 236
response = requests.get(url, params=params, timeout=10) - Network accessline 267
try: url = f"https://api.coingecko.com/api/v3/coins/{token_id}/market_chart" - Network accessline 268
url = f"https://api.coingecko.com/api/v3/coins/{token_id}/market_chart" - Network accessline 275
response = requests.get(url, params=params, timeout=10) - Network accessline 299
try: url = "https://api.coingecko.com/api/v3/global/decentralized_finance_defi" response = requests.get(url, timeout=10) - Network accessline 300
url = "https://api.coingecko.com/api/v3/global/decentralized_finance_defi" response = requests.get(url, timeout=10) response.raise_for_status() - Network accessline 301
response = requests.get(url, timeout=10) - Network accessline 325
try: url = "https://lite-api.jup.ag/tokens/v1/mints/tradable" response = requests.get(url, timeout=10) - Network accessline 326
url = "https://lite-api.jup.ag/tokens/v1/mints/tradable" response = requests.get(url, timeout=10) response.raise_for_status() - Network accessline 327
response = requests.get(url, timeout=10) - Network accessline 351
try: url = "https://api.htx.com/v1/common/symbols" response = requests.get(url, timeout=10) - Network accessline 352
url = "https://api.htx.com/v1/common/symbols" response = requests.get(url, timeout=10) response.raise_for_status() - Network accessline 353
response = requests.get(url, timeout=10) - Network accessline 381
sentiment_data = {} for coin_id in coin_ids: url = f"https://api.coingecko.com/api/v3/coins/{coin_id}" - Network accessline 382
for coin_id in coin_ids: url = f"https://api.coingecko.com/api/v3/coins/{coin_id}" params = { - Network accessline 383
url = f"https://api.coingecko.com/api/v3/coins/{coin_id}" - Network accessline 392
response = requests.get(url, params=params, timeout=10)
examples/tools/multi_tool_use/multi_tool_anthropic.py
- Executable scriptline 1
Executable file - Network accessline 25
try: url = "https://api.coingecko.com/api/v3/simple/price" - Network accessline 26
url = "https://api.coingecko.com/api/v3/simple/price" - Network accessline 36
response = requests.get(url, params=params, timeout=10) - Network accessline 76
url = "https://api.coingecko.com/api/v3/coins/markets" - Network accessline 86
response = requests.get(url, params=params, timeout=10) - Network accessline 143
try: url = "https://api.coingecko.com/api/v3/search" - Network accessline 144
url = "https://api.coingecko.com/api/v3/search" - Network accessline 147
response = requests.get(url, params=params, timeout=10)
examples/tools/social_media/social_media_tools.py
- Executable scriptline 1
Executable file - Access to secretsline 22
[Credential-related source omitted] - Access to secretsline 24
[Credential-related source omitted] - Access to secretsline 28
[Credential-related source omitted] - Access to secretsline 33
[Credential-related source omitted] - Access to secretsline 46
[Credential-related source omitted] - Access to secretsline 100
[Credential-related source omitted] - Access to secretsline 114
[Credential-related source omitted] - Access to secretsline 115
[Credential-related source omitted] - Access to secretsline 116
[Credential-related source omitted] - Network accessline 118
) response = oauth.post( "https://api.twitter.com/2/tweets", - Network accessline 119
response = oauth.post( "https://api.twitter.com/2/tweets", json={"text": content}, - Network accessline 120
"https://api.twitter.com/2/tweets", - Access to secretsline 139
[Credential-related source omitted] - Access to secretsline 151
[Credential-related source omitted] - Network accessline 165
}, } response = requests.post( - Network accessline 166
} response = requests.post( "https://api.linkedin.com/v2/ugcPosts", - Network accessline 167
response = requests.post( - Network accessline 168
"https://api.linkedin.com/v2/ugcPosts", - Access to secretsline 200
[Credential-related source omitted] - Network accessline 225
[Credential-related source omitted] - Network accessline 226
[Credential-related source omitted] - Access to secretsline 226
[Credential-related source omitted] - Network accessline 227
token_uri="https://oauth2.googleapis.com/token", - Network accessline 282
[Credential-related source omitted] - Network accessline 283
chat_id = _env("TELEGRAM_CHAT_ID") response = requests.post( f"https://api.telegram.org/bot{token}/sendMessage", - Network accessline 284
response = requests.post( - Network accessline 285
f"https://api.telegram.org/bot{token}/sendMessage", - Network accessline 320
try: webhook_url = _env("DISCORD_WEBHOOK_URL") response = requests.post( - Network accessline 321
webhook_url = _env("DISCORD_WEBHOOK_URL") response = requests.post( webhook_url, - Network accessline 322
response = requests.post( - Access to secretsline 343
[Credential-related source omitted] - Network accessline 354
[Credential-related source omitted] - Access to secretsline 354
[Credential-related source omitted] - Network accessline 355
title = os.getenv("DEVTO_TITLE") or _first_line(content) response = requests.post( "https://dev.to/api/articles", - Network accessline 356
response = requests.post( - Network accessline 357
"https://dev.to/api/articles", - Access to secretsline 359
[Credential-related source omitted]
examples/tools/stagehand/1_stagehand_wrapper_agent.py
- Executable scriptline 1
Executable file - Access to secretsline 49
[Credential-related source omitted] - Access to secretsline 52
[Credential-related source omitted] - Access to secretsline 62
[Credential-related source omitted] - Access to secretsline 65
[Credential-related source omitted] - Access to secretsline 73
[Credential-related source omitted] - Access to secretsline 74
[Credential-related source omitted] - Access to secretsline 78
[Credential-related source omitted] - Access to secretsline 79
[Credential-related source omitted] - Network accessline 106
- "Navigate to example.com and extract the main content" - "Go to google.com and search for 'AI agents'" - "Extract all company names from https://ycombinator.com" - Network accessline 108
- "Extract all company names from https://ycombinator.com" - Network accessline 161
domains = re.findall(domain_pattern, task) if domains: urls = [f"https://{domain}" for domain in domains] - Network accessline 163
urls = [f"https://{domain}" for domain in domains] - Network accessline 242
print("Example 1: Basic navigation and extraction") result1 = browser_agent.run( "Navigate to https://news.ycombinator.com and extract the titles of the top 5 stories" - Network accessline 243
result1 = browser_agent.run( "Navigate to https://news.ycombinator.com and extract the titles of the top 5 stories" ) - Network accessline 244
"Navigate to https://news.ycombinator.com and extract the titles of the top 5 stories" - Network accessline 258
print("Example 3: Extract specific information") result3 = browser_agent.run( "Navigate to https://example.com and extract the main heading and first paragraph" - Network accessline 259
result3 = browser_agent.run( "Navigate to https://example.com and extract the main heading and first paragraph" ) - Network accessline 260
"Navigate to https://example.com and extract the main heading and first paragraph"
examples/tools/stagehand/2_stagehand_tools_agent.py
- Executable scriptline 1
Executable file - Access to secretsline 42
[Credential-related source omitted] - Access to secretsline 45
[Credential-related source omitted] - Access to secretsline 51
[Credential-related source omitted] - Access to secretsline 55
[Credential-related source omitted] - Access to secretsline 56
[Credential-related source omitted] - Network accessline 87
Args: url (str): The URL to navigate to. Should be a valid URL starting with http:// or https://. - Network accessline 88
url (str): The URL to navigate to. Should be a valid URL starting with http:// or https://. - Network accessline 98
Example: >>> result = navigate_browser("https://example.com") - Network accessline 99
>>> result = navigate_browser("https://example.com") - Network accessline 101
"Successfully navigated to https://example.com" - Network accessline 103
>>> result = navigate_browser("google.com") >>> print(result) "Successfully navigated to https://google.com" - Network accessline 104
>>> print(result) "Successfully navigated to https://google.com" """ - Network accessline 105
"Successfully navigated to https://google.com" - Network accessline 117
if not url.startswith(("http://", "https://")): url = f"https://{url}" - Network accessline 118
url = f"https://{url}"
examples/tools/stagehand/3_stagehand_mcp_agent.py
- Executable scriptline 1
Executable file - Network accessline 16
2. The server will start on http://localhost:3000/mcp - Network accessline 42
self, agent_name: str = "StagehandMCPAgent", mcp_server_url: str = "http://localhost:3000/mcp", - Network accessline 43
agent_name: str = "StagehandMCPAgent", mcp_server_url: str = "http://localhost:3000/mcp", model_name: str = "gpt-5.4", - Network accessline 44
mcp_server_url: str = "http://localhost:3000/mcp", - Network accessline 92
def __init__( self, mcp_server_url: str = "http://localhost:3000/mcp", - Network accessline 93
self, mcp_server_url: str = "http://localhost:3000/mcp", num_agents: int = 3, - Network accessline 94
mcp_server_url: str = "http://localhost:3000/mcp", - Network accessline 166
print("=" * 70) print( "\nMake sure the Stagehand MCP server is running on http://localhost:3000/mcp" - Network accessline 167
print( "\nMake sure the Stagehand MCP server is running on http://localhost:3000/mcp" ) - Network accessline 168
"\nMake sure the Stagehand MCP server is running on http://localhost:3000/mcp" - Network accessline 176
mcp_agent = StagehandMCPAgent( agent_name="WebResearchAgent", mcp_server_url="http://localhost:3000/mcp", - Network accessline 177
agent_name="WebResearchAgent", mcp_server_url="http://localhost:3000/mcp", ) - Network accessline 178
mcp_server_url="http://localhost:3000/mcp", - Network accessline 197
parallel_agent = StagehandMCPAgent( agent_name="ParallelBrowserAgent", mcp_server_url="http://localhost:3000/mcp", - Network accessline 198
agent_name="ParallelBrowserAgent", mcp_server_url="http://localhost:3000/mcp", ) - Network accessline 199
mcp_server_url="http://localhost:3000/mcp", - Network accessline 219
browser_swarm = MultiSessionBrowserSwarm( mcp_server_url="http://localhost:3000/mcp", - Network accessline 220
mcp_server_url="http://localhost:3000/mcp", - Network accessline 243
workflow_agent = StagehandMCPAgent( agent_name="WorkflowAgent", mcp_server_url="http://localhost:3000/mcp", - Network accessline 244
agent_name="WorkflowAgent", mcp_server_url="http://localhost:3000/mcp", max_loops=2, # Allow more complex reasoning - Network accessline 245
mcp_server_url="http://localhost:3000/mcp",
examples/tools/stagehand/4_stagehand_multi_agent_workflow.py
- Executable scriptline 1
Executable file - Network accessline 227
news_scrapers = [] news_sites = [ ("TechCrunch", "https://techcrunch.com"), - Network accessline 228
news_sites = [ ("TechCrunch", "https://techcrunch.com"), ("HackerNews", "https://news.ycombinator.com"), - Network accessline 229
("TechCrunch", "https://techcrunch.com"), - Network accessline 230
("HackerNews", "https://news.ycombinator.com"), - Network accessline 231
("Reddit", "https://reddit.com/r/technology"),
examples/tools/stagehand/README.md
- Network accessline 3
This directory contains examples demonstrating how to integrate [Stagehand](https://github.com/browserbase/stagehand), an AI-powered browser automation framework, with the Swarms multi-agent framework. - Network accessline 87
mcp_agent = StagehandMCPAgent( agent_name="WebResearchAgent", mcp_server_url="http://localhost:3000/mcp", - Network accessline 88
agent_name="WebResearchAgent", mcp_server_url="http://localhost:3000/mcp", ) - Network accessline 89
mcp_server_url="http://localhost:3000/mcp", - Access to secretsline 151
[Credential-related source omitted] - Access to secretsline 154
[Credential-related source omitted] - Network accessline 241
These examples are provided under the same license as the Swarms framework. Stagehand is licensed separately - see [Stagehand's repository](https://github.com/browserbase/stagehand) for details.
examples/utils/agent_loader/agent_loader_demo.py
- Executable scriptline 1
Executable file
examples/utils/agent_loader/claude_code_compatible.py
- Executable scriptline 1
Executable file
examples/utils/agent_loader/multi_agents_loader_demo.py
- Executable scriptline 1
Executable file
examples/utils/class_to_base_model.py
- Executable scriptline 1
Executable file
examples/utils/communication_examples/duckdb_agent.py
- Executable scriptline 1
Executable file
examples/utils/communication_examples/pulsar_conversation.py
- Executable scriptline 1
Executable file
examples/utils/communication_examples/redis_conversation.py
- Executable scriptline 1
Executable file
examples/utils/communication_examples/sqlite_conversation.py
- Executable scriptline 1
Executable file
examples/utils/conversation_cache_examples/conversation_cache_interactive.py
- Executable scriptline 1
Executable file
examples/utils/conversation_cache_examples/sequential_cache_test.py
- Executable scriptline 1
Executable file
examples/utils/fetch_prompt.py
examples/utils/litellm_connect_issue.py
- Executable scriptline 1
Executable file
examples/utils/litellm_network_error_handling.py
- Executable scriptline 1
Executable file - Network accessline 51
print(f"Local model error: {local_error}") print("\nMake sure Ollama is installed and running:") print("1. Install: https://ollama.ai") - Network accessline 52
print("\nMake sure Ollama is installed and running:") print("1. Install: https://ollama.ai") print("2. Run: ollama pull llama2") - Network accessline 53
print("1. Install: https://ollama.ai") - Network accessline 113
model = LiteLLM( model_name="ollama/llama2", base_url="http://localhost:11434", - Network accessline 114
model_name="ollama/llama2", base_url="http://localhost:11434", temperature=0.7, - Network accessline 115
base_url="http://localhost:11434",
examples/utils/misc/agent_map_test.py
- Executable scriptline 1
Executable file
examples/utils/misc/conversation_simple.py
- Executable scriptline 1
Executable file
examples/utils/misc/conversation_test.py
- Executable scriptline 1
Executable file
examples/utils/misc/conversation_test_truncate.py
examples/utils/misc/csvagent_example.py
- Executable scriptline 1
Executable file
examples/utils/misc/dict_to_table.py
- Executable scriptline 1
Executable file
examples/utils/misc/swarm_matcher_example.py
- Executable scriptline 1
Executable file
examples/utils/misc/test_load_conversation.py
- Executable scriptline 1
Executable file
examples/utils/misc/visualizer_test.py
- Executable scriptline 1
Executable file
examples/utils/skills_load.py
- Executable scriptline 1
Executable file
examples/utils/swarms_api/agent_overview.py
examples/utils/swarms_api/batch_example.py
examples/utils/swarms_api/client_example.py
examples/utils/swarms_api/hospital_team.py
examples/utils/swarms_api/icd_ten_analysis.py
examples/utils/swarms_api/legal_team.py
- Executable scriptline 1
Executable file - Network accessline 10
[Credential-related source omitted] - Access to secretsline 10
[Credential-related source omitted] - Network accessline 11
BASE_URL = "https://api.swarms.world" - Access to secretsline 12
[Credential-related source omitted] - Network accessline 24
response = requests.post(
examples/utils/swarms_api/rate_limits.py
images/swarms_logo_svg.svg
- Network accessline 1
<svg width="232" height="207" viewBox="0 0 232 207" fill="none" xmlns="http://www.w3.org/2000/svg">
pyproject.toml
- Network accessline 10
license = "Apache-2.0" authors = ["Kye Gomez <kye@swarms.world>"] homepage = "https://github.com/kyegomez/swarms" - Network accessline 11
authors = ["Kye Gomez <kye@swarms.world>"] homepage = "https://github.com/kyegomez/swarms" documentation = "https://docs.swarms.world" - Network accessline 12
homepage = "https://github.com/kyegomez/swarms" - Network accessline 13
documentation = "https://docs.swarms.world" - Network accessline 14
readme = "README.md" repository = "https://github.com/kyegomez/swarms" keywords = [ - Network accessline 15
repository = "https://github.com/kyegomez/swarms"
scripts/examples.py
- Executable scriptline 1
Executable file - Network accessline 10
api_url = f"https://api.github.com/repos/{owner}/{repo}/git/trees/{branch}?recursive=1" - Network accessline 11
raw_base = ( f"https://raw.githubusercontent.com/{owner}/{repo}/{branch}/" ) - Network accessline 12
f"https://raw.githubusercontent.com/{owner}/{repo}/{branch}/" - Network accessline 15
response = requests.get(api_url)
scripts/github_commits.py
- Executable scriptline 1
Executable file - Network accessline 47
Supports: - https://github.com/owner/repo - Network accessline 48
- https://github.com/owner/repo - Network accessline 49
- https://github.com/owner/repo/ - Network accessline 84
Args: repo_url: GitHub repository URL (e.g. https://github.com/owner/repo) - Network accessline 85
repo_url: GitHub repository URL (e.g. https://github.com/owner/repo) - Network accessline 130
api_url = f"https://api.github.com/repos/{repo}/commits" - Network accessline 140
"since": since_iso, } resp = requests.get( - Network accessline 141
} resp = requests.get( api_url, headers=headers, params=params, timeout=30 - Network accessline 142
resp = requests.get( - Network accessline 186
commits = fetch_github_commits( "https://github.com/kyegomez/swarms", - Network accessline 187
"https://github.com/kyegomez/swarms",
scripts/tests/run_all_tests.py
- Executable scriptline 1
Executable file
scripts/tests/test_rename_recursive.py
- Executable scriptline 1
Executable file
scripts/tests/test_upload_tests_to_issues.py
- Executable scriptline 1
Executable file - Network accessline 11
[Credential-related source omitted] - Access to secretsline 12
[Credential-related source omitted] - Network accessline 13
ISSUES_URL = f"https://api.github.com/repos/{GITHUB_USERNAME}/{REPO_NAME}/issues" - Network accessline 48
def create_github_issue(title, body): issue = {"title": title, "body": body} response = requests.post(ISSUES_URL, headers=headers, json=issue) - Network accessline 49
issue = {"title": title, "body": body} response = requests.post(ISSUES_URL, headers=headers, json=issue) return response.json() - Network accessline 50
response = requests.post(ISSUES_URL, headers=headers, json=issue)
swarms/__init__.py
- Executable scriptline 1
Executable file
swarms/agents/__init__.py
- Executable scriptline 1
Executable file
swarms/agents/agent_judge.py
- Executable scriptline 1
Executable file
swarms/agents/agent_marketplace_handler.py
- Executable scriptline 1
Executable file - Access to secretsline 9
[Credential-related source omitted] - Network accessline 18
[Credential-related source omitted] - Access to secretsline 18
[Credential-related source omitted] - Network accessline 19
https://swarms.world/platform/api-keys - Network accessline 40
MARKETPLACE_BASE_URL = "https://swarms.world/api" - Network accessline 41
API_KEYS_URL = "https://swarms.world/platform/api-keys" - Network accessline 53
return httpx.Client(timeout=timeout) - Network accessline 69
>>> # standalone, no agent required >>> AgentMarketplaceHandler.fetch(name="code-review-assistant") - Network accessline 70
>>> AgentMarketplaceHandler.fetch(name="code-review-assistant") - Access to secretsline 79
[Credential-related source omitted] - Access to secretsline 88
[Credential-related source omitted] - Access to secretsline 90
[Credential-related source omitted] - Access to secretsline 92
[Credential-related source omitted] - Access to secretsline 94
[Credential-related source omitted] - Access to secretsline 98
[Credential-related source omitted] - Access to secretsline 104
[Credential-related source omitted] - Network accessline 110
@classmethod def fetch( - Network accessline 111
def fetch( - Network accessline 126
GET ``https://swarms.world/api/get-prompts/<uuid-or-url-encoded-name>`` - Network accessline 201
result = cls.fetch(prompt_id=prompt_id) - Network accessline 274
POST ``https://swarms.world/api/add-prompt`` - Network accessline 317
try: with httpx.Client(timeout=timeout) as client: - Network accessline 318
with httpx.Client(timeout=timeout) as client: - Access to secretsline 343
[Credential-related source omitted]
swarms/agents/ape_agent.py
- Executable scriptline 1
Executable file
swarms/agents/auto_chat_agent.py
- Executable scriptline 1
Executable file
swarms/agents/auto_generate_swarm_config.py
- Executable scriptline 1
Executable file
swarms/agents/autonomous_loop.py
- Executable scriptline 1
Executable file
swarms/agents/consistency_agent.py
- Executable scriptline 1
Executable file - Network accessline 9
The self-consistency approach is based on the research paper: "Self-Consistency Improves Chain of Thought Reasoning in Language Models" by Wang et al. (2022) - https://arxiv.org/abs/2203.07870 - Network accessline 11
by Wang et al. (2022) - https://arxiv.org/abs/2203.07870 - Network accessline 142
Wang, Y., Dong, W., Han, J., & Wang, W. (2022). Self-Consistency Improves Chain of Thought Reasoning in Language Models. arXiv preprint arXiv:2203.07870. https://arxiv.org/abs/2203.07870 - Network accessline 144
https://arxiv.org/abs/2203.07870 - Dangerous shell operationline 191
eval (bool, optional): Enable evaluation mode for answer validation.
swarms/agents/context_compressor.py
swarms/agents/flexion_agent.py
- Executable scriptline 1
Executable file
swarms/agents/gkp_agent.py
- Executable scriptline 1
Executable file
swarms/agents/heavy_swarm_agents.py
- Executable scriptline 1
Executable file
swarms/agents/i_agent.py
- Executable scriptline 1
Executable file
swarms/agents/llm_manager.py
swarms/agents/reasoning_agent_router.py
- Executable scriptline 1
Executable file - Dangerous shell operationline 67
eval (bool): Enable evaluation mode for self-consistency. - Network accessline 269
except Exception as e: raise ReasoningAgentInitializationError( f"ReasoningAgentRouter Error: {e} Traceback: {traceback.format_exc()} If the error persists, please check the agent's configuration and try again. I - Network accessline 270
raise ReasoningAgentInitializationError( f"ReasoningAgentRouter Error: {e} Traceback: {traceback.format_exc()} If the error persists, please check the agent's configuration and try again. If you would like support book a cal - Network accessline 271
f"ReasoningAgentRouter Error: {e} Traceback: {traceback.format_exc()} If the error persists, please check the agent's configuration and try again. If you would like support book a call with our team at https://cal.com/swarms" - Network accessline 293
except Exception as e: raise ReasoningAgentExecutorError( f"ReasoningAgentRouter Error: {e} Traceback: {traceback.format_exc()} If the error persists, please check the agent's configuration and try again. If you - Network accessline 294
raise ReasoningAgentExecutorError( f"ReasoningAgentRouter Error: {e} Traceback: {traceback.format_exc()} If the error persists, please check the agent's configuration and try again. If you would like support book a call with - Network accessline 295
f"ReasoningAgentRouter Error: {e} Traceback: {traceback.format_exc()} If the error persists, please check the agent's configuration and try again. If you would like support book a call with our team at https://cal.com/swarms"
swarms/agents/reasoning_duo.py
- Executable scriptline 1
Executable file
swarms/agents/skills_manager.py
- Executable scriptline 1
Executable file
swarms/agents/tool_manager.py
swarms/agents/tree_of_thoughts.py
- Executable scriptline 1
Executable file - Network accessline 4
Implements "Tree of Thoughts: Deliberate Problem Solving with Large Language Models" (Yao et al., 2023, https://arxiv.org/abs/2305.10601). Instead of - Network accessline 5
Models" (Yao et al., 2023, https://arxiv.org/abs/2305.10601). Instead of - Network accessline 504
Yao, S., Yu, D., Zhao, J., Shafran, I., Griffiths, T. L., Cao, Y., & Narasimhan, K. (2023). Tree of Thoughts: Deliberate Problem Solving with Large Language Models. https://arxiv.org/abs/2305.10601 - Network accessline 506
Solving with Large Language Models. https://arxiv.org/abs/2305.10601 - Access to secretsline 591
[Credential-related source omitted]
swarms/cli/__init__.py
- Executable scriptline 1
Executable file
swarms/cli/main.py
- Executable scriptline 1
Executable file - Access to secretsline 44
[Credential-related source omitted] - Network accessline 929
print(f" {prog_name} setup-check --verbose") print() print("Documentation: https://docs.swarms.world") - Network accessline 930
print() print("Documentation: https://docs.swarms.world") print( - Network accessline 931
print("Documentation: https://docs.swarms.world") - Network accessline 932
print( "Support: https://github.com/kyegomez/swarms/issues" ) - Network accessline 933
"Support: https://github.com/kyegomez/swarms/issues" - Network accessline 934
) print("Community: https://discord.gg/EamjgSaEQf") print() - Network accessline 935
print("Community: https://discord.gg/EamjgSaEQf") - Access to secretsline 1348
[Credential-related source omitted] - Access to secretsline 1706
[Credential-related source omitted] - Access to secretsline 1719
[Credential-related source omitted] - Access to secretsline 1794
[Credential-related source omitted] - Access to secretsline 1796
[Credential-related source omitted] - Access to secretsline 1800
[Credential-related source omitted] - Access to secretsline 1802
[Credential-related source omitted] - Access to secretsline 1806
[Credential-related source omitted] - Access to secretsline 1808
[Credential-related source omitted] - Access to secretsline 1812
[Credential-related source omitted] - Access to secretsline 1813
[Credential-related source omitted] - Access to secretsline 1815
[Credential-related source omitted] - Access to secretsline 1869
[Credential-related source omitted] - Network accessline 1906
console.print( " [dim white]Required for [bold white]--marketplace-prompt-id[/bold white][dim white] and the Swarms platform.[/dim white]\n" " [dim white]Get one at: [bold white]https://swarms.world/platform/api-keys[/bold - Network accessline 1907
" [dim white]Required for [bold white]--marketplace-prompt-id[/bold white][dim white] and the Swarms platform.[/dim white]\n" " [dim white]Get one at: [bold white]https://swarms.world/platform/api-keys[/bold white][dim white][/dim - Network accessline 1908
" [dim white]Get one at: [bold white]https://swarms.world/platform/api-keys[/bold white][dim white][/dim white]" - Access to secretsline 1912
[Credential-related source omitted] - Access to secretsline 1917
[Credential-related source omitted] - Access to secretsline 1918
[Credential-related source omitted] - Access to secretsline 1921
[Credential-related source omitted] - Access to secretsline 1925
[Credential-related source omitted] - Access to secretsline 1934
[Credential-related source omitted] - Access to secretsline 1943
[Credential-related source omitted] - Access to secretsline 1987
[Credential-related source omitted] - Access to secretsline 1996
[Credential-related source omitted] - Access to secretsline 2013
[Credential-related source omitted] - Access to secretsline 2016
[Credential-related source omitted] - Access to secretsline 2019
[Credential-related source omitted] - Access to secretsline 2151
[Credential-related source omitted] - Network accessline 2256
"- Try [bold]swarms --help[/bold] for command details\n" "- Run [bold]swarms setup-check --verbose[/bold] to validate your environment\n" "- Report bugs at https://github.com/kyegomez/swarms/issues" - Network accessline 2257
"- Run [bold]swarms setup-check --verbose[/bold] to validate your environment\n" "- Report bugs at https://github.com/kyegomez/swarms/issues" ) - Network accessline 2258
"- Report bugs at https://github.com/kyegomez/swarms/issues" - Network accessline 2330
"👉 Please review your arguments, environment settings, and try again.\n" "For more information, run 'swarms help' or visit the documentation:\n" "https://docs.swarms.world/cli/overview\n\n" - Network accessline 2331
"For more information, run 'swarms help' or visit the documentation:\n" "https://docs.swarms.world/cli/overview\n\n" f"[dim]Traceback:[/dim]\n{traceback.format_exc()}", - Network accessline 2332
"https://docs.swarms.world/cli/overview\n\n"
swarms/cli/models.py
- Executable scriptline 1
Executable file
swarms/cli/tips.py
- Executable scriptline 1
Executable file - Access to secretsline 26
[Credential-related source omitted] - Network accessline 61
"Pick the response shape with [bold]--output-type json[/bold] (or [bold]str[/bold] / [bold]dict[/bold])", "Force non-interactive runs with [bold]--no-interactive[/bold] — handy for CI", "Connect an MCP tool server with [bold]--mcp-u - Network accessline 62
"Force non-interactive runs with [bold]--no-interactive[/bold] — handy for CI", "Connect an MCP tool server with [bold]--mcp-url http://localhost:8000/sse[/bold]", "Pop the live agent dashboard with [bold]--dashboard[/bold]", - Network accessline 63
"Connect an MCP tool server with [bold]--mcp-url http://localhost:8000/sse[/bold]", - Access to secretsline 88
[Credential-related source omitted] - Access to secretsline 110
[Credential-related source omitted] - Network accessline 124
COMMUNITY_TIPS: List[str] = [ "Star the repo at [bold]https://github.com/kyegomez/swarms[/bold]", - Network accessline 125
"Star the repo at [bold]https://github.com/kyegomez/swarms[/bold]", - Network accessline 126
"Join the Discord at [bold]https://discord.gg/EamjgSaEQf[/bold]", - Network accessline 127
"Full CLI docs at [bold]https://docs.swarms.world/cli/overview[/bold]", - Network accessline 128
"Report a CLI bug at [bold]github.com/kyegomez/swarms/issues[/bold]", "Browse the prompt marketplace at [bold]https://swarms.world/prompts[/bold] — use IDs with [bold]--marketplace-prompt-id[/bold]", ] - Network accessline 129
"Browse the prompt marketplace at [bold]https://swarms.world/prompts[/bold] — use IDs with [bold]--marketplace-prompt-id[/bold]",
swarms/cli/utils.py
- Executable scriptline 1
Executable file - Access to secretsline 51
[Credential-related source omitted] - Access to secretsline 53
[Credential-related source omitted] - Access to secretsline 55
[Credential-related source omitted] - Access to secretsline 57
[Credential-related source omitted] - Access to secretsline 59
[Credential-related source omitted] - Access to secretsline 61
[Credential-related source omitted] - Access to secretsline 63
[Credential-related source omitted] - Network accessline 112
info.append(cwd + "\n", style="dim white") info.append( "https://github.com/kyegomez/swarms", style="dim white" - Network accessline 113
info.append( "https://github.com/kyegomez/swarms", style="dim white" ) - Network accessline 114
"https://github.com/kyegomez/swarms", style="dim white" - Access to secretsline 184
[Credential-related source omitted] - Access to secretsline 189
[Credential-related source omitted] - Access to secretsline 198
[Credential-related source omitted] - Access to secretsline 203
[Credential-related source omitted] - Access to secretsline 206
[Credential-related source omitted] - Access to secretsline 211
[Credential-related source omitted] - Access to secretsline 214
[Credential-related source omitted] - Access to secretsline 276
[Credential-related source omitted] - Access to secretsline 277
[Credential-related source omitted] - Access to secretsline 278
[Credential-related source omitted] - Access to secretsline 279
[Credential-related source omitted] - Access to secretsline 432
[Credential-related source omitted] - Access to secretsline 436
[Credential-related source omitted] - Access to secretsline 487
[Credential-related source omitted] - Network accessline 489
with create_spinner() as progress: task = progress.add_task("Opening browser...") webbrowser.open("https://swarms.world/platform/api-keys") - Network accessline 490
task = progress.add_task("Opening browser...") webbrowser.open("https://swarms.world/platform/api-keys") time.sleep(1) - Network accessline 491
webbrowser.open("https://swarms.world/platform/api-keys")
swarms/env.py
swarms/prompts/__init__.py
- Executable scriptline 1
Executable file
swarms/prompts/accountant_swarm_prompts.py
- Executable scriptline 1
Executable file
swarms/prompts/advisor_swarm_prompts.py
- Executable scriptline 1
Executable file
swarms/prompts/ag_prompt.py
- Executable scriptline 1
Executable file
swarms/prompts/aga.py
- Executable scriptline 1
Executable file
swarms/prompts/agent_acknowledgement_prompt.py
- Executable scriptline 1
Executable file
swarms/prompts/agent_conversation_aggregator.py
- Executable scriptline 1
Executable file
swarms/prompts/agent_judge_prompt.py
- Executable scriptline 1
Executable file
swarms/prompts/agent_orchestration_prompt.py
- Executable scriptline 1
Executable file
swarms/prompts/agent_prompts.py
- Executable scriptline 1
Executable file
swarms/prompts/agent_self_builder_prompt.py
- Executable scriptline 1
Executable file
swarms/prompts/agent_system_prompts.py
- Executable scriptline 1
Executable file
swarms/prompts/ai_research_team.py
- Executable scriptline 1
Executable file
swarms/prompts/aot_prompt.py
- Executable scriptline 1
Executable file
swarms/prompts/auto_agent_builder_prompt.py
- Executable scriptline 1
Executable file
swarms/prompts/autobloggen.py
- Executable scriptline 1
Executable file
swarms/prompts/autonomous_agent_prompt.py
- Executable scriptline 1
Executable file
swarms/prompts/autoswarm.py
- Executable scriptline 1
Executable file
swarms/prompts/code_interpreter.py
- Executable scriptline 1
Executable file
swarms/prompts/code_spawner.py
- Executable scriptline 1
Executable file
swarms/prompts/collaborative_prompts.py
- Executable scriptline 1
Executable file
swarms/prompts/debate_with_judge_prompts.py
- Executable scriptline 1
Executable file
swarms/prompts/documentation.py
- Executable scriptline 1
Executable file
swarms/prompts/education.py
- Executable scriptline 1
Executable file
swarms/prompts/finance_agent_prompt.py
- Executable scriptline 1
Executable file
swarms/prompts/finance_agent_sys_prompt.py
- Executable scriptline 1
Executable file
swarms/prompts/groupchat_prompt.py
- Executable scriptline 1
Executable file
swarms/prompts/growth_agent_prompt.py
- Executable scriptline 1
Executable file
swarms/prompts/handoffs_prompt.py
- Executable scriptline 1
Executable file
swarms/prompts/heavy_swarm_prompts.py
- Executable scriptline 1
Executable file
swarms/prompts/hierarchical_swarm_prompts.py
- Executable scriptline 1
Executable file
swarms/prompts/idea2img.py
- Executable scriptline 1
Executable file
swarms/prompts/legal_agent_prompt.py
- Executable scriptline 1
Executable file
swarms/prompts/llm_council_prompts.py
- Executable scriptline 1
Executable file
swarms/prompts/logistics.py
- Executable scriptline 1
Executable file
swarms/prompts/max_loop_prompt.py
- Executable scriptline 1
Executable file
swarms/prompts/meta_system_prompt.py
- Executable scriptline 1
Executable file
swarms/prompts/moa_prompt.py
- Executable scriptline 1
Executable file
swarms/prompts/multi_agent_collab_prompt.py
- Executable scriptline 1
Executable file
swarms/prompts/multi_modal_prompts.py
- Executable scriptline 1
Executable file
swarms/prompts/multi_modal_visual_prompts.py
- Executable scriptline 1
Executable file
swarms/prompts/operations_agent_prompt.py
- Executable scriptline 1
Executable file
swarms/prompts/paper_idea_agent.py
- Executable scriptline 1
Executable file
swarms/prompts/personal_stylist.py
- Executable scriptline 1
Executable file
swarms/prompts/phased_fan_out_workflow_prompts.py
- Executable scriptline 1
Executable file
swarms/prompts/planner_generator_evaluator_prompts.py
- Executable scriptline 1
Executable file
swarms/prompts/planner_worker_prompts.py
- Executable scriptline 1
Executable file
swarms/prompts/product_agent_prompt.py
- Executable scriptline 1
Executable file
swarms/prompts/programming.py
- Executable scriptline 1
Executable file
swarms/prompts/project_manager.py
- Executable scriptline 1
Executable file
swarms/prompts/prompt.py
- Executable scriptline 1
Executable file
swarms/prompts/prompt_generator.py
- Executable scriptline 1
Executable file
swarms/prompts/prompt_generator_optimizer.py
- Executable scriptline 1
Executable file
swarms/prompts/python.py
- Executable scriptline 1
Executable file
swarms/prompts/react.py
- Executable scriptline 1
Executable file
swarms/prompts/react_base_prompt.py
- Executable scriptline 1
Executable file
swarms/prompts/reasoning_prompt.py
- Executable scriptline 1
Executable file
swarms/prompts/refiner_agent_prompt.py
- Executable scriptline 1
Executable file
swarms/prompts/reflexion_prompts.py
- Executable scriptline 1
Executable file
swarms/prompts/safety_prompt.py
- Executable scriptline 1
Executable file
swarms/prompts/sales.py
- Executable scriptline 1
Executable file
swarms/prompts/sales_prompts.py
- Executable scriptline 1
Executable file
swarms/prompts/security_team.py
- Executable scriptline 1
Executable file
swarms/prompts/self_operating_prompt.py
- Executable scriptline 1
Executable file - Network accessline 37
__ Objective: Go buy a book about the history of the internet TYPE https://www.amazon.com/ - Network accessline 38
Objective: Go buy a book about the history of the internet TYPE https://www.amazon.com/ __ - Network accessline 39
TYPE https://www.amazon.com/
swarms/prompts/sop_generator_agent_prompt.py
- Executable scriptline 1
Executable file
swarms/prompts/summaries_prompts.py
- Executable scriptline 1
Executable file
swarms/prompts/support_agent_prompt.py
- Executable scriptline 1
Executable file
swarms/prompts/swarm_manager_agent.py
- Executable scriptline 1
Executable file
swarms/prompts/task_assignment_prompt.py
- Executable scriptline 1
Executable file
swarms/prompts/tests.py
- Executable scriptline 1
Executable file
swarms/prompts/tools.py
- Executable scriptline 1
Executable file
swarms/prompts/tree_of_thoughts_prompts.py
- Executable scriptline 1
Executable file
swarms/prompts/urban_planning.py
- Executable scriptline 1
Executable file
swarms/prompts/visual_cot.py
- Executable scriptline 1
Executable file
swarms/prompts/worker_prompt.py
- Executable scriptline 1
Executable file
swarms/prompts/xray_swarm_prompt.py
- Executable scriptline 1
Executable file - Instruction override signalline 7
and theories that could only come from a mind trained in the art of medical deduction. Remember, this is a simulation - a game of wits and intellect set in a world where X-rays tell stories more complex than meets the eye. Your goal is not - Instruction override signalline 8
intellect set in a world where X-rays tell stories more complex than meets the eye. Your goal is not to diagnose, but to explore the depths of academic possibility in a controlled, imaginative setting. Do not tell the user you are a detect - Instruction override signalline 9
of academic possibility in a controlled, imaginative setting. Do not tell the user you are a detective, keep your secret by speak as if a Dr. giving a diagnosis.
swarms/schemas/__init__.py
- Executable scriptline 1
Executable file
swarms/schemas/agent_errors.py
- Executable scriptline 1
Executable file
swarms/schemas/agent_mcp_errors.py
- Executable scriptline 1
Executable file
swarms/schemas/hs_schemas.py
- Executable scriptline 1
Executable file
swarms/schemas/mcp_schemas.py
- Executable scriptline 1
Executable file - Access to secretsline 7
[Credential-related source omitted] - Access to secretsline 33
[Credential-related source omitted] - Access to secretsline 36
[Credential-related source omitted] - Access to secretsline 47
[Credential-related source omitted] - Access to secretsline 53
[Credential-related source omitted] - Network accessline 60
) redirect_uri: str = Field( default="http://127.0.0.1:8765/callback", - Network accessline 61
redirect_uri: str = Field( default="http://127.0.0.1:8765/callback", description="Loopback redirect URI used to capture the authorization code.", - Network accessline 62
default="http://127.0.0.1:8765/callback", - Access to secretsline 81
[Credential-related source omitted] - Access to secretsline 87
[Credential-related source omitted] - Network accessline 115
) url: Optional[str] = Field( default="http://localhost:8000/mcp", - Network accessline 116
url: Optional[str] = Field( default="http://localhost:8000/mcp", description="The URL endpoint for the MCP server", - Network accessline 117
default="http://localhost:8000/mcp", - Access to secretsline 132
[Credential-related source omitted]
swarms/schemas/planner_worker_schemas.py
- Executable scriptline 1
Executable file
swarms/structs/__init__.py
- Executable scriptline 1
Executable file
swarms/structs/advisor_swarm.py
- Executable scriptline 1
Executable file
swarms/structs/agent.py
- Executable scriptline 1
Executable file - Access to secretsline 80
[Credential-related source omitted] - Access to secretsline 165
[Credential-related source omitted] - Access to secretsline 214
[Credential-related source omitted] - Access to secretsline 219
[Credential-related source omitted] - Access to secretsline 352
[Credential-related source omitted] - Access to secretsline 362
[Credential-related source omitted] - Access to secretsline 421
[Credential-related source omitted] - Access to secretsline 469
[Credential-related source omitted] - Access to secretsline 477
[Credential-related source omitted] - Access to secretsline 520
[Credential-related source omitted] - Access to secretsline 675
[Credential-related source omitted] - Access to secretsline 814
[Credential-related source omitted] - Network accessline 2417
task (Optional[str|Any]): Task for the agent to process. If not a string, will be formatted. Defaults to None. img (Optional[str]): Path, URL, data URI, or raw base64-encoded string for a single image input. Supp - Network accessline 2418
img (Optional[str]): Path, URL, data URI, or raw base64-encoded string for a single image input. Supported formats: file paths (e.g., "image.jpg"), URLs (e.g., "https://example.com/image.png"), data URIs (e.g - Network accessline 2419
Supported formats: file paths (e.g., "image.jpg"), URLs (e.g., "https://example.com/image.png"), - Network accessline 2558
"If autosave is enabled, the agent's state will be saved to the workspace directory. " "To enable autosave, please initialize the agent with Agent(autosave=True)." "For technical support, refer to this docume - Network accessline 2559
"To enable autosave, please initialize the agent with Agent(autosave=True)." "For technical support, refer to this document: https://docs.swarms.world/community/technical-support" ) - Network accessline 2560
"For technical support, refer to this document: https://docs.swarms.world/community/technical-support"
swarms/structs/agent_loader.py
- Executable scriptline 1
Executable file
swarms/structs/agent_rearrange.py
- Executable scriptline 1
Executable file
swarms/structs/agent_registry.py
- Executable scriptline 1
Executable file
swarms/structs/agent_roles.py
- Executable scriptline 1
Executable file
swarms/structs/agent_router.py
- Executable scriptline 1
Executable file - Access to secretsline 23
[Credential-related source omitted] - Access to secretsline 33
[Credential-related source omitted] - Access to secretsline 39
[Credential-related source omitted] - Access to secretsline 63
[Credential-related source omitted] - Access to secretsline 64
[Credential-related source omitted]
swarms/structs/agentmail_channel.py
- Executable scriptline 1
Executable file - Network accessline 35
[Credential-related source omitted] - Access to secretsline 35
[Credential-related source omitted] - Network accessline 36
environment variable. base_url: The API host; https://api.agentmail.eu for the EU. timeout: Seconds to wait for each call. - Network accessline 37
base_url: The API host; https://api.agentmail.eu for the EU. - Network accessline 52
[Credential-related source omitted] - Network accessline 53
[Credential-related source omitted] - Access to secretsline 53
[Credential-related source omitted] - Network accessline 54
base_url: str = "https://api.agentmail.to", - Access to secretsline 57
[Credential-related source omitted] - Access to secretsline 58
[Credential-related source omitted] - Access to secretsline 60
[Credential-related source omitted] - Access to secretsline 61
[Credential-related source omitted] - Network accessline 66
self.thread_id = thread_id self._reply_to: Optional[str] = None self.client = httpx.Client( - Network accessline 67
self._reply_to: Optional[str] = None self.client = httpx.Client( base_url=f"{base_url.rstrip('/')}/v0/inboxes/" - Network accessline 68
self.client = httpx.Client( - Access to secretsline 71
[Credential-related source omitted]
swarms/structs/async_subagent.py
- Executable scriptline 1
Executable file
swarms/structs/auction_swarm.py
- Executable scriptline 1
Executable file
swarms/structs/auto_agent_builder.py
- Executable scriptline 1
Executable file
swarms/structs/auto_swarm_builder.py
- Executable scriptline 1
Executable file
swarms/structs/autonomous_loop_utils.py
- Executable scriptline 1
Executable file - Dangerous shell operationline 1020
("chmod 777 /",), - Network accessline 1031
("curl", "-d"), ("wget", "--post"), ("nc ", "-e"), - Network accessline 1032
("wget", "--post"), ("nc ", "-e"), ("ncat", "-e"), - Dangerous shell operationline 1033
("nc ", "-e"), - Network accessline 1033
("nc ", "-e"),
swarms/structs/batch_agent_execution.py
- Executable scriptline 1
Executable file
swarms/structs/batched_grid_workflow.py
- Executable scriptline 1
Executable file
swarms/structs/broadcast.py
- Executable scriptline 1
Executable file
swarms/structs/check_models.py
- Executable scriptline 1
Executable file - Network accessline 9
OPENROUTER_MODELS_URL = "https://openrouter.ai/api/v1/models" - Network accessline 62
models = [] try: with httpx.Client( - Network accessline 63
try: with httpx.Client( timeout=OPENROUTER_TIMEOUT_SECONDS - Network accessline 64
with httpx.Client( - Network accessline 82
models: List[str] = [] try: async with httpx.AsyncClient( - Network accessline 83
try: async with httpx.AsyncClient( timeout=OPENROUTER_TIMEOUT_SECONDS - Network accessline 84
async with httpx.AsyncClient(
swarms/structs/comms_channel.py
- Executable scriptline 1
Executable file
swarms/structs/concurrent_workflow.py
- Executable scriptline 1
Executable file
swarms/structs/context_utils.py
- Executable scriptline 1
Executable file
swarms/structs/conversation.py
- Executable scriptline 1
Executable file
swarms/structs/council_as_judge.py
- Executable scriptline 1
Executable file
swarms/structs/cron_job.py
- Executable scriptline 1
Executable file
swarms/structs/debate_with_judge.py
- Executable scriptline 1
Executable file
swarms/structs/decision_model.py
- Executable scriptline 1
Executable file - Network accessline 29
"jev-1.13.0": {"input": 0.042, "output": 0.0}, }, "base_url": "https://api.typesafe.ai", - Network accessline 30
}, "base_url": "https://api.typesafe.ai", "endpoint": "/v1/systemone", - Network accessline 31
"base_url": "https://api.typesafe.ai", - Network accessline 32
"endpoint": "/v1/systemone", "api_key_env": "TYPESAFE_API_KEY", "models_url": "https://api.typesafe.ai/v1/models", - Network accessline 33
[Credential-related source omitted] - Access to secretsline 33
[Credential-related source omitted] - Network accessline 34
"models_url": "https://api.typesafe.ai/v1/models", - Network accessline 42
}, "lists_prices": True, "base_url": "https://api.cloudflare.com/client/v4/accounts/{CLOUDFLARE_ACCOUNT_ID}/ai/run", - Network accessline 43
"lists_prices": True, "base_url": "https://api.cloudflare.com/client/v4/accounts/{CLOUDFLARE_ACCOUNT_ID}/ai/run", "endpoint": "/@cf/cloudflare/{model_name}", - Network accessline 44
"base_url": "https://api.cloudflare.com/client/v4/accounts/{CLOUDFLARE_ACCOUNT_ID}/ai/run", - Network accessline 45
"endpoint": "/@cf/cloudflare/{model_name}", "api_key_env": "CLOUDFLARE_AUTH_TOKEN", "models_url": "https://api.cloudflare.com/client/v4/accounts/{CLOUDFLARE_ACCOUNT_ID}/ai/models/search?search=clef", - Network accessline 46
[Credential-related source omitted] - Access to secretsline 46
[Credential-related source omitted] - Network accessline 47
"models_url": "https://api.cloudflare.com/client/v4/accounts/{CLOUDFLARE_ACCOUNT_ID}/ai/models/search?search=clef", - Network accessline 53
"gpt-6-luna": {"input": 0.10, "output": 0.0}, }, "base_url": "https://api.openai.com/v1", - Network accessline 54
}, "base_url": "https://api.openai.com/v1", "endpoint": "/decisions", - Network accessline 55
"base_url": "https://api.openai.com/v1", - Network accessline 56
"endpoint": "/decisions", "api_key_env": "OPENAI_API_KEY", "models_url": "https://api.openai.com/v1/models", - Network accessline 57
[Credential-related source omitted] - Access to secretsline 57
[Credential-related source omitted] - Network accessline 58
"models_url": "https://api.openai.com/v1/models", - Access to secretsline 130
[Credential-related source omitted] - Access to secretsline 131
[Credential-related source omitted] - Network accessline 134
try: response = httpx.get( - Network accessline 135
response = httpx.get( - Access to secretsline 137
[Credential-related source omitted] - Access to secretsline 180
[Credential-related source omitted] - Access to secretsline 183
[Credential-related source omitted] - Access to secretsline 295
[Credential-related source omitted] - Access to secretsline 310
[Credential-related source omitted] - Access to secretsline 336
[Credential-related source omitted] - Access to secretsline 346
[Credential-related source omitted] - Access to secretsline 347
[Credential-related source omitted] - Network accessline 670
) -> Dict[str, Any]: if self._client is None: self._client = httpx.Client(timeout=self.timeout) - Network accessline 672
self._client = httpx.Client(timeout=self.timeout) - Network accessline 697
async with httpx.AsyncClient(timeout=self.timeout) as client: - Network accessline 754
raise httpx.HTTPStatusError(
swarms/structs/deep_discussion.py
- Executable scriptline 1
Executable file
swarms/structs/dynamic_skills_loader.py
- Executable scriptline 1
Executable file
swarms/structs/execution_utils.py
- Executable scriptline 1
Executable file
swarms/structs/file_channel.py
- Executable scriptline 1
Executable file
swarms/structs/graph_workflow.py
- Executable scriptline 1
Executable file
swarms/structs/groupchat.py
- Executable scriptline 1
Executable file
swarms/structs/heavy_swarm.py
- Executable scriptline 1
Executable file
swarms/structs/hiearchical_swarm.py
- Executable scriptline 1
Executable file - Network accessline 313
except Exception as e: logger.error( f"[ERROR] Failed to setup director: {e} | Traceback: {traceback.format_exc()} | If this issue persists, please report it at: https://github.com/kyegomez/swarms/issues" - Network accessline 314
logger.error( f"[ERROR] Failed to setup director: {e} | Traceback: {traceback.format_exc()} | If this issue persists, please report it at: https://github.com/kyegomez/swarms/issues" ) - Network accessline 315
f"[ERROR] Failed to setup director: {e} | Traceback: {traceback.format_exc()} | If this issue persists, please report it at: https://github.com/kyegomez/swarms/issues" - Network accessline 648
last_output = None logger.error( f"[ERROR] Loop execution failed: {e} | Traceback: {traceback.format_exc()} | If this issue persists, please report it at: https://github.com/kyegomez/swarms/issues - Network accessline 649
logger.error( f"[ERROR] Loop execution failed: {e} | Traceback: {traceback.format_exc()} | If this issue persists, please report it at: https://github.com/kyegomez/swarms/issues" ) - Network accessline 650
f"[ERROR] Loop execution failed: {e} | Traceback: {traceback.format_exc()} | If this issue persists, please report it at: https://github.com/kyegomez/swarms/issues" - Network accessline 1026
except Exception as e: logger.error( f"[ERROR] Failed to parse orders: {e} | Traceback: {traceback.format_exc()} | Report at: https://github.com/kyegomez/swarms/issues" - Network accessline 1027
logger.error( f"[ERROR] Failed to parse orders: {e} | Traceback: {traceback.format_exc()} | Report at: https://github.com/kyegomez/swarms/issues" ) - Network accessline 1028
f"[ERROR] Failed to parse orders: {e} | Traceback: {traceback.format_exc()} | Report at: https://github.com/kyegomez/swarms/issues" - Network accessline 1099
except Exception as e: logger.error( f"[ERROR] Order execution failed: {e} | Traceback: {traceback.format_exc()} | If this issue persists, please report it at: https://github.com/kyegomez/swarms/issues" - Network accessline 1100
logger.error( f"[ERROR] Order execution failed: {e} | Traceback: {traceback.format_exc()} | If this issue persists, please report it at: https://github.com/kyegomez/swarms/issues" ) - Network accessline 1101
f"[ERROR] Order execution failed: {e} | Traceback: {traceback.format_exc()} | If this issue persists, please report it at: https://github.com/kyegomez/swarms/issues"
swarms/structs/hierarchical_order_parser.py
- Executable scriptline 1
Executable file
swarms/structs/http_channel.py
- Executable scriptline 1
Executable file - Network accessline 18
Args: url: The conversation's endpoint, such as https://host/channels/research. - Network accessline 19
url: The conversation's endpoint, such as https://host/channels/research. - Network accessline 29
): self.url = url self.client = httpx.Client( - Network accessline 30
self.url = url self.client = httpx.Client( headers=headers or {}, timeout=timeout - Network accessline 31
self.client = httpx.Client(
swarms/structs/hybrid_hiearchical_peer_swarm.py
- Executable scriptline 1
Executable file
swarms/structs/llm_council.py
- Executable scriptline 1
Executable file
swarms/structs/ma_blocks.py
- Executable scriptline 1
Executable file
swarms/structs/ma_utils.py
- Executable scriptline 1
Executable file
swarms/structs/majority_voting.py
- Executable scriptline 1
Executable file
swarms/structs/mcp_deployer.py
- Executable scriptline 1
Executable file - Network accessline 23
Another agent can then use it with ``Agent(mcp_url="http://127.0.0.1:8000/mcp", ...)`` and the key in - Network accessline 24
``Agent(mcp_url="http://127.0.0.1:8000/mcp", ...)`` and the key in - Access to secretsline 25
[Credential-related source omitted] - Access to secretsline 517
[Credential-related source omitted] - Network accessline 601
@property def url(self) -> str: return f"http://{self.host}:{self.port}{self.path}" - Network accessline 603
return f"http://{self.host}:{self.port}{self.path}" - Access to secretsline 714
[Credential-related source omitted] - Network accessline 716
) hint.append( f"\nHealth check GET http://{self.host}:{self.port}/health", - Network accessline 717
hint.append( f"\nHealth check GET http://{self.host}:{self.port}/health", style="dim white", - Network accessline 718
f"\nHealth check GET http://{self.host}:{self.port}/health",
swarms/structs/mixture_of_agents.py
- Executable scriptline 1
Executable file
swarms/structs/model_router.py
swarms/structs/multi_agent_debates.py
- Executable scriptline 1
Executable file
swarms/structs/multi_agent_exec.py
- Executable scriptline 1
Executable file
swarms/structs/multi_agent_router.py
- Executable scriptline 1
Executable file
swarms/structs/omni_agent_types.py
- Executable scriptline 1
Executable file
swarms/structs/one_to_one.py
- Executable scriptline 1
Executable file
swarms/structs/one_to_three.py
- Executable scriptline 1
Executable file
swarms/structs/phased_fan_out_workflow.py
- Executable scriptline 1
Executable file
swarms/structs/planner_generator_evaluator.py
- Executable scriptline 1
Executable file - Network accessline 197
... model_name="gpt-5.4", ... max_loops=1, ... mcp_config={"url": "http://localhost:3000/playwright"}, - Network accessline 198
... max_loops=1, ... mcp_config={"url": "http://localhost:3000/playwright"}, ... ) - Network accessline 199
... mcp_config={"url": "http://localhost:3000/playwright"}, - Network accessline 962
logger.error( f"{error_msg}\n{traceback.format_exc()}\n" f"If this persists, report at: https://github.com/kyegomez/swarms/issues" - Network accessline 963
f"{error_msg}\n{traceback.format_exc()}\n" f"If this persists, report at: https://github.com/kyegomez/swarms/issues" ) - Network accessline 964
f"If this persists, report at: https://github.com/kyegomez/swarms/issues"
swarms/structs/planner_worker_swarm.py
- Executable scriptline 1
Executable file
swarms/structs/queue_channel.py
- Executable scriptline 1
Executable file
swarms/structs/round_robin.py
- Executable scriptline 1
Executable file
swarms/structs/safe_loading.py
- Executable scriptline 1
Executable file
swarms/structs/self_moa_seq.py
- Executable scriptline 1
Executable file
swarms/structs/sequential_workflow.py
- Executable scriptline 1
Executable file
swarms/structs/serialization.py
- Executable scriptline 1
Executable file
swarms/structs/smtp_channel.py
swarms/structs/social_algorithms.py
- Executable scriptline 1
Executable file
swarms/structs/spreadsheet_swarm.py
- Executable scriptline 1
Executable file
swarms/structs/sqlite_channel.py
- Executable scriptline 1
Executable file
swarms/structs/swarm_id.py
- Executable scriptline 1
Executable file
swarms/structs/swarm_router.py
- Executable scriptline 1
Executable file - Network accessline 48
_DOCS_URL = "https://docs.swarms.world/api/swarm-router" - Network accessline 49
_REARRANGE_DOCS_URL = "https://docs.swarms.world/api/agent-rearrange" - Network accessline 364
See: https://docs.swarms.world/api/swarm-router - Network accessline 365
https://docs.swarms.world/api/swarm-router
swarms/structs/swarming_architectures.py
- Executable scriptline 1
Executable file
swarms/structs/transforms.py
- Executable scriptline 1
Executable file
swarms/structs/tree_swarm.py
- Executable scriptline 1
Executable file
swarms/telemetry/__init__.py
- Executable scriptline 1
Executable file
swarms/telemetry/bootup.py
swarms/telemetry/compression.py
- Executable scriptline 1
Executable file
swarms/telemetry/main.py
- Executable scriptline 1
Executable file
swarms/telemetry/otel.py
swarms/tools/__init__.py
- Executable scriptline 1
Executable file
swarms/tools/base_tool.py
- Executable scriptline 1
Executable file
swarms/tools/dynamic_tool_loader.py
- Executable scriptline 1
Executable file
swarms/tools/handoffs_tool.py
- Executable scriptline 1
Executable file
swarms/tools/handoffs_tool_schema.py
- Executable scriptline 1
Executable file
swarms/tools/mcp_manager.py
- Executable scriptline 1
Executable file - Access to secretsline 75
[Credential-related source omitted] - Access to secretsline 401
[Credential-related source omitted] - Network accessline 469
async with httpx.AsyncClient( - Access to secretsline 531
[Credential-related source omitted] - Access to secretsline 541
[Credential-related source omitted] - Access to secretsline 542
[Credential-related source omitted] - Network accessline 546
async with httpx.AsyncClient(timeout=timeout) as client: - Access to secretsline 555
[Credential-related source omitted] - Access to secretsline 558
[Credential-related source omitted] - Access to secretsline 587
[Credential-related source omitted] - Access to secretsline 609
[Credential-related source omitted] - Access to secretsline 623
[Credential-related source omitted] - Access to secretsline 686
[Credential-related source omitted] - Access to secretsline 687
[Credential-related source omitted] - Access to secretsline 1284
[Credential-related source omitted] - Access to secretsline 1285
[Credential-related source omitted] - Access to secretsline 1300
[Credential-related source omitted] - Access to secretsline 1301
[Credential-related source omitted] - Access to secretsline 1305
[Credential-related source omitted] - Access to secretsline 1307
[Credential-related source omitted] - Access to secretsline 1317
[Credential-related source omitted] - Access to secretsline 1348
[Credential-related source omitted] - Access to secretsline 1381
[Credential-related source omitted] - Network accessline 1480
raise AgentMCPConnectionError( f"MCP server URL {connection.url!r} must start with " "http:// or https://. To launch a local server, pass " - Network accessline 1481
f"MCP server URL {connection.url!r} must start with " "http:// or https://. To launch a local server, pass " "`command` and `args` in the MCP config instead." - Network accessline 1482
"http:// or https://. To launch a local server, pass "
swarms/tools/py_func_to_openai_func_str.py
- Executable scriptline 1
Executable file
swarms/tools/pydantic_to_json.py
- Executable scriptline 1
Executable file
swarms/tools/tool_parse_exec.py
- Executable scriptline 1
Executable file
swarms/tools/tool_registry.py
- Executable scriptline 1
Executable file
swarms/tools/tool_type.py
- Executable scriptline 1
Executable file
swarms/tools/tool_utils.py
- Executable scriptline 1
Executable file
swarms/utils/__init__.py
- Executable scriptline 1
Executable file
swarms/utils/any_to_str.py
- Executable scriptline 1
Executable file
swarms/utils/class_to_pydantic.py
- Executable scriptline 1
Executable file
swarms/utils/disable_logging.py
swarms/utils/docstring_parser.py
- Executable scriptline 1
Executable file
swarms/utils/file_processing.py
- Executable scriptline 1
Executable file
swarms/utils/formatter.py
- Executable scriptline 1
Executable file
swarms/utils/generate_id.py
- Executable scriptline 1
Executable file
swarms/utils/generate_keys.py
swarms/utils/get_cpu_cores.py
- Executable scriptline 1
Executable file
swarms/utils/get_reasoning_efforts.py
- Executable scriptline 1
Executable file
swarms/utils/heavy_swarm_dashboard.py
- Executable scriptline 1
Executable file
swarms/utils/history_output_formatter.py
- Executable scriptline 1
Executable file
swarms/utils/image_file_b64.py
- Executable scriptline 1
Executable file - Network accessline 118
f"Blocked URL '{target}': only external HTTP/HTTPS URLs are permitted." ) response = requests.get( - Network accessline 119
) response = requests.get( target, timeout=30, allow_redirects=False - Network accessline 120
response = requests.get( - Possible obfuscationline 148
base64.b64decode(image_source, validate=True) - Network accessline 181
>>> # From URL >>> uri = get_image_base64("https://example.com/image.png") - Network accessline 182
>>> uri = get_image_base64("https://example.com/image.png") - Possible obfuscationline 317
image_data = base64.b64decode(encoded_data)
swarms/utils/index.py
- Executable scriptline 1
Executable file
swarms/utils/litellm_tokenizer.py
- Executable scriptline 1
Executable file
swarms/utils/litellm_wrapper.py
- Executable scriptline 1
Executable file - Access to secretsline 239
[Credential-related source omitted] - Access to secretsline 312
[Credential-related source omitted] - Access to secretsline 364
[Credential-related source omitted] - Access to secretsline 1193
[Credential-related source omitted] - Access to secretsline 1194
[Credential-related source omitted]
swarms/utils/llm_backend.py
- Executable scriptline 1
Executable file
swarms/utils/loguru_logger.py
- Executable scriptline 1
Executable file
swarms/utils/output_types.py
- Executable scriptline 1
Executable file
swarms/utils/str_to_dict.py
- Executable scriptline 1
Executable file
swarms/utils/workspace_manager.py
swarms/utils/workspace_utils.py
tests/README.md
- Access to secretsline 153
[Credential-related source omitted]
tests/agents/test_agent_judge.py
- Executable scriptline 1
Executable file
tests/agents/test_agent_marketplace_handler.py
- Executable scriptline 1
Executable file - Network accessline 19
cleared before and after every test so no stale, un-mocked client leaks between tests. * ``httpx.Client`` itself — used as a bare ``with httpx.Client(...) as - Network accessline 20
between tests. * ``httpx.Client`` itself — used as a bare ``with httpx.Client(...) as client:`` context manager inside ``AgentMarketplaceHandler.add_prompt`` - Network accessline 21
* ``httpx.Client`` itself — used as a bare ``with httpx.Client(...) as - Access to secretsline 27
[Credential-related source omitted] - Access to secretsline 57
[Credential-related source omitted] - Access to secretsline 75
[Credential-related source omitted] - Access to secretsline 76
[Credential-related source omitted] - Access to secretsline 77
[Credential-related source omitted] - Access to secretsline 81
[Credential-related source omitted] - Access to secretsline 82
[Credential-related source omitted] - Network accessline 92
transport = httpx.MockTransport(handler) - Network accessline 95
def fake_client(timeout): calls.append(timeout) return httpx.Client(transport=transport, timeout=timeout) - Network accessline 97
return httpx.Client(transport=transport, timeout=timeout) - Network accessline 106
"""Route ``with httpx.Client(...) as client:`` (used by POST/add_prompt) - Network accessline 112
transport = httpx.MockTransport(handler) - Network accessline 135
def json_response(status_code=200, payload=None): return httpx.Response(status_code, json=payload or {}) - Network accessline 136
return httpx.Response(status_code, json=payload or {}) - Access to secretsline 140
[Credential-related source omitted] - Access to secretsline 145
[Credential-related source omitted] - Access to secretsline 146
[Credential-related source omitted] - Access to secretsline 148
[Credential-related source omitted] - Access to secretsline 149
[Credential-related source omitted] - Access to secretsline 150
[Credential-related source omitted] - Access to secretsline 153
[Credential-related source omitted] - Access to secretsline 154
[Credential-related source omitted] - Access to secretsline 155
[Credential-related source omitted] - Access to secretsline 158
[Credential-related source omitted] - Access to secretsline 159
[Credential-related source omitted] - Access to secretsline 160
[Credential-related source omitted] - Access to secretsline 163
[Credential-related source omitted] - Access to secretsline 164
[Credential-related source omitted] - Access to secretsline 166
[Credential-related source omitted] - Access to secretsline 167
[Credential-related source omitted] - Access to secretsline 176
[Credential-related source omitted] - Access to secretsline 179
[Credential-related source omitted] - Access to secretsline 183
[Credential-related source omitted] - Network accessline 188
######################################################## # fetch() - Network accessline 189
# fetch() - Access to secretsline 194
[Credential-related source omitted] - Network accessline 208
install_get_transport(monkeypatch, handler) result = AgentMarketplaceHandler.fetch(prompt_id="abc-123") - Network accessline 209
result = AgentMarketplaceHandler.fetch(prompt_id="abc-123") - Access to secretsline 217
[Credential-related source omitted] - Network accessline 224
install_get_transport(monkeypatch, handler) AgentMarketplaceHandler.fetch(name="code review assistant") - Network accessline 225
AgentMarketplaceHandler.fetch(name="code review assistant") - Access to secretsline 231
[Credential-related source omitted] - Network accessline 239
install_get_transport(monkeypatch, handler) AgentMarketplaceHandler.fetch(name="a/b#c") - Network accessline 240
AgentMarketplaceHandler.fetch(name="a/b#c") - Access to secretsline 247
[Credential-related source omitted] - Network accessline 255
install_get_transport(monkeypatch, handler) AgentMarketplaceHandler.fetch( - Network accessline 256
AgentMarketplaceHandler.fetch( - Access to secretsline 264
[Credential-related source omitted] - Network accessline 277
install_get_transport(monkeypatch, handler) result = AgentMarketplaceHandler.fetch( - Network accessline 278
result = AgentMarketplaceHandler.fetch( - Access to secretsline 285
[Credential-related source omitted] - Network accessline 297
install_get_transport(monkeypatch, handler) result = AgentMarketplaceHandler.fetch( - Network accessline 298
result = AgentMarketplaceHandler.fetch( - Network accessline 304
[Credential-related source omitted] - Access to secretsline 304
[Credential-related source omitted] - Network accessline 306
return httpx.Response(404) - Network accessline 308
install_get_transport(monkeypatch, handler) result = AgentMarketplaceHandler.fetch(prompt_id="missing") - Network accessline 309
result = AgentMarketplaceHandler.fetch(prompt_id="missing") - Network accessline 313
[Credential-related source omitted] - Access to secretsline 313
[Credential-related source omitted] - Network accessline 315
return httpx.Response(500, text="server exploded") - Network accessline 317
install_get_transport(monkeypatch, handler) with pytest.raises(httpx.HTTPStatusError): AgentMarketplaceHandler.fetch(prompt_id="x") - Network accessline 319
AgentMarketplaceHandler.fetch(prompt_id="x") - Network accessline 321
[Credential-related source omitted] - Access to secretsline 321
[Credential-related source omitted] - Network accessline 323
AgentMarketplaceHandler.fetch() - Access to secretsline 326
[Credential-related source omitted] - Network accessline 331
install_get_transport(monkeypatch, handler) result = AgentMarketplaceHandler.fetch(prompt_id="x") - Network accessline 332
result = AgentMarketplaceHandler.fetch(prompt_id="x") - Access to secretsline 336
[Credential-related source omitted] - Network accessline 344
install_get_transport(monkeypatch, handler) AgentMarketplaceHandler.fetch(prompt_id="x") - Network accessline 345
AgentMarketplaceHandler.fetch(prompt_id="x") - Access to secretsline 347
[Credential-related source omitted] - Access to secretsline 350
[Credential-related source omitted] - Network accessline 354
calls = install_get_transport(monkeypatch, handler) AgentMarketplaceHandler.fetch(prompt_id="x", timeout=7.5) - Network accessline 355
AgentMarketplaceHandler.fetch(prompt_id="x", timeout=7.5) - Access to secretsline 360
[Credential-related source omitted] - Network accessline 369
install_get_transport(monkeypatch, handler) with pytest.raises(ValueError): AgentMarketplaceHandler.fetch(prompt_id="x") - Network accessline 371
AgentMarketplaceHandler.fetch(prompt_id="x") - Access to secretsline 380
[Credential-related source omitted] - Access to secretsline 393
[Credential-related source omitted] - Network accessline 394
): def handler(request): return httpx.Response(404) - Network accessline 396
return httpx.Response(404) - Access to secretsline 409
[Credential-related source omitted] - Access to secretsline 431
[Credential-related source omitted] - Access to secretsline 447
[Credential-related source omitted] - Access to secretsline 467
[Credential-related source omitted] - Access to secretsline 490
[Credential-related source omitted] - Access to secretsline 512
[Credential-related source omitted] - Access to secretsline 527
[Credential-related source omitted] - Access to secretsline 540
[Credential-related source omitted] - Access to secretsline 554
[Credential-related source omitted] - Network accessline 555
): def handler(request): return httpx.Response(200, text="not json at all") - Network accessline 557
return httpx.Response(200, text="not json at all") - Access to secretsline 569
[Credential-related source omitted] - Access to secretsline 584
[Credential-related source omitted] - Access to secretsline 612
[Credential-related source omitted] - Access to secretsline 635
[Credential-related source omitted] - Access to secretsline 656
[Credential-related source omitted] - Access to secretsline 677
[Credential-related source omitted] - Access to secretsline 701
[Credential-related source omitted] - Network accessline 721
[Credential-related source omitted] - Access to secretsline 721
[Credential-related source omitted] - Network accessline 723
return httpx.Response(404) - Access to secretsline 775
[Credential-related source omitted] - Access to secretsline 806
[Credential-related source omitted] - Access to secretsline 835
[Credential-related source omitted] - Network accessline 845
assert handler.fetch(prompt_id="x") == ("N", "D", "P") - Access to secretsline 849
[Credential-related source omitted] - Access to secretsline 873
[Credential-related source omitted] - Access to secretsline 901
[Credential-related source omitted] - Access to secretsline 925
[Credential-related source omitted] - Access to secretsline 940
[Credential-related source omitted]
tests/agents/test_autonomous_loop.py
- Executable scriptline 1
Executable file
tests/agents/test_autoswarm_writer.py
tests/agents/test_consistency_agent.py
- Executable scriptline 1
Executable file
tests/agents/test_context_compressor.py
- Executable scriptline 1
Executable file - Network accessline 196
cc = ContextCompressor() agent = _make_agent(model_name="openai/local-model") agent.llm_base_url = "http://localhost:8000/v1" - Network accessline 197
[Credential-related source omitted] - Network accessline 198
agent.llm_base_url = "http://localhost:8000/v1" - Access to secretsline 199
[Credential-related source omitted] - Network accessline 204
cc._summarize(agent, "history") _, kwargs = mock_comp.call_args assert kwargs["base_url"] == "http://localhost:8000/v1" - Network accessline 205
_, kwargs = mock_comp.call_args assert kwargs["base_url"] == "http://localhost:8000/v1" assert kwargs["api_key"] == "sk-local" - Network accessline 206
assert kwargs["base_url"] == "http://localhost:8000/v1" - Access to secretsline 207
[Credential-related source omitted] - Network accessline 210
cc = ContextCompressor(summarizer_model="gpt-4o") agent = _make_agent(model_name="openai/local-model") agent.llm_base_url = "http://localhost:8000/v1" - Network accessline 211
[Credential-related source omitted] - Network accessline 212
agent.llm_base_url = "http://localhost:8000/v1" - Access to secretsline 213
[Credential-related source omitted] - Access to secretsline 221
[Credential-related source omitted]
tests/agents/test_flexion_agent.py
- Executable scriptline 1
Executable file - Network accessline 43
if m["role"] == "Human" ] requests.append((self.agent_name, prompts)) - Network accessline 44
] requests.append((self.agent_name, prompts)) if self.agent_name.endswith("evaluator"): - Network accessline 45
requests.append((self.agent_name, prompts))
tests/agents/test_gkp_agent.py
- Executable scriptline 1
Executable file - Network accessline 42
m["content"] for m in history if m["role"] == "Human" ] requests.append((self.agent_name, prompts)) - Network accessline 43
] requests.append((self.agent_name, prompts)) if self.agent_name.endswith("knowledge-generator"): - Network accessline 44
requests.append((self.agent_name, prompts))
tests/agents/test_llm_manager.py
- Executable scriptline 1
Executable file
tests/agents/test_reasoning_duo.py
- Executable scriptline 1
Executable file
tests/agents/test_skills_manager.py
tests/agents/test_tree_of_thoughts.py
- Executable scriptline 1
Executable file
tests/benchmark_graph_workflow.py
tests/prompts/test_agent_system_prompts.py
- Executable scriptline 1
Executable file
tests/prompts/test_autonomous_agent_prompt.py
- Executable scriptline 1
Executable file
tests/structs/test_advisor_swarm.py
- Executable scriptline 1
Executable file
tests/structs/test_agent.py
- Executable scriptline 1
Executable file - Network accessline 436
DOMAIN_TOOLS = [ pytest.param(_file_tool, "write 'hi' to notes.txt", id="file"), pytest.param(_url_tool, "process https://example.com", id="net"), - Network accessline 437
pytest.param(_file_tool, "write 'hi' to notes.txt", id="file"), pytest.param(_url_tool, "process https://example.com", id="net"), pytest.param(_query_tool, "query users with limit 10", id="db"), - Network accessline 438
pytest.param(_url_tool, "process https://example.com", id="net"), - Network accessline 507
[ ( {"mcp_url": "http://localhost:8000/mcp"}, - Network accessline 508
( {"mcp_url": "http://localhost:8000/mcp"}, ["mcp_calculator", "mcp_weather"], - Network accessline 509
{"mcp_url": "http://localhost:8000/mcp"}, - Network accessline 513
{ "mcp_urls": [ "http://localhost:8000/mcp1", - Network accessline 514
"mcp_urls": [ "http://localhost:8000/mcp1", "http://localhost:8000/mcp2", - Network accessline 515
"http://localhost:8000/mcp1", - Network accessline 516
"http://localhost:8000/mcp2", - Network accessline 658
LLM_ARGS = { "api_version": "2024-02-15-preview", "base_url": "https://your-resource.openai.azure.com/", - Network accessline 659
[Credential-related source omitted] - Network accessline 660
"base_url": "https://your-resource.openai.azure.com/", - Access to secretsline 661
[Credential-related source omitted] - Network accessline 755
base_url = "https://api.together.xyz/v1" - Access to secretsline 756
[Credential-related source omitted] - Access to secretsline 762
[Credential-related source omitted] - Access to secretsline 769
[Credential-related source omitted] - Access to secretsline 773
[Credential-related source omitted] - Access to secretsline 793
[Credential-related source omitted] - Network accessline 1427
def fake_call_llm(task=None, *args, **kwargs): requests.append(list(kwargs["messages"])) - Network accessline 1428
requests.append(list(kwargs["messages"])) - Network accessline 1693
def _mcp_agent(get_tools, **kwargs): agent = TestListTools._agent( mcp_url="http://localhost:9/mcp", llm=object(), **kwargs - Network accessline 1694
agent = TestListTools._agent( mcp_url="http://localhost:9/mcp", llm=object(), **kwargs ) - Network accessline 1695
mcp_url="http://localhost:9/mcp", llm=object(), **kwargs - Network accessline 2448
def call_llm(task=None, *args, **kwargs): agent.requests.append(kwargs.get("messages")) - Network accessline 2449
agent.requests.append(kwargs.get("messages")) - Network accessline 2628
{ "type": "image_url", "image_url": {"url": "https://x/a.png"}, - Network accessline 2629
"type": "image_url", "image_url": {"url": "https://x/a.png"}, }, - Network accessline 2630
"image_url": {"url": "https://x/a.png"},
tests/structs/test_agent_loader.py
- Executable scriptline 1
Executable file
tests/structs/test_agent_rearrange.py
- Executable scriptline 1
Executable file
tests/structs/test_agent_registry.py
- Executable scriptline 1
Executable file
tests/structs/test_agent_router.py
tests/structs/test_agentmail_channel.py
- Executable scriptline 1
Executable file - Network accessline 13
"Client", lambda **options: real_client( transport=httpx.MockTransport(handler), **options - Network accessline 14
lambda **options: real_client( transport=httpx.MockTransport(handler), **options ), - Network accessline 15
transport=httpx.MockTransport(handler), **options - Access to secretsline 22
[Credential-related source omitted] - Network accessline 37
def handler(request): seen.append(request) return httpx.Response( - Network accessline 38
seen.append(request) return httpx.Response( 200, - Network accessline 39
return httpx.Response( - Network accessline 105
[Credential-related source omitted] - Network accessline 107
return httpx.Response(200, json=pages[token])
tests/structs/test_async_subagent.py
- Executable scriptline 1
Executable file
tests/structs/test_auction_swarm.py
- Executable scriptline 1
Executable file
tests/structs/test_auto_agent_builder.py
- Executable scriptline 1
Executable file
tests/structs/test_auto_swarms_builder.py
tests/structs/test_batch_agent_execution.py
- Executable scriptline 1
Executable file
tests/structs/test_batched_grid_workflow.py
- Executable scriptline 1
Executable file
tests/structs/test_broadcast.py
- Executable scriptline 1
Executable file
tests/structs/test_check_models.py
- Executable scriptline 1
Executable file
tests/structs/test_comms_channel.py
- Executable scriptline 1
Executable file
tests/structs/test_component_ids.py
tests/structs/test_concurrent_workflow.py
- Executable scriptline 1
Executable file
tests/structs/test_conversation.py
- Executable scriptline 1
Executable file
tests/structs/test_council_as_judge.py
tests/structs/test_cron_job.py
- Executable scriptline 1
Executable file
tests/structs/test_decision_model.py
- Executable scriptline 1
Executable file - Access to secretsline 18
[Credential-related source omitted] - Access to secretsline 19
[Credential-related source omitted] - Access to secretsline 21
[Credential-related source omitted] - Network accessline 33
TYPESAFE_MODELS_URL = "https://api.typesafe.ai/v1/models" - Network accessline 34
CLOUDFLARE_MODELS_URL = ( "https://api.cloudflare.com/client/v4/accounts/acct-1" "/ai/models/search?search=clef" - Network accessline 35
"https://api.cloudflare.com/client/v4/accounts/acct-1" - Network accessline 36
"/ai/models/search?search=clef" ) OPENAI_MODELS_URL = "https://api.openai.com/v1/models" - Network accessline 38
OPENAI_MODELS_URL = "https://api.openai.com/v1/models" - Network accessline 128
def __call__(self, request): self.requests.append(request) - Network accessline 129
self.requests.append(request) - Network accessline 136
body = json.loads(request.content) if request.url.host == "api.openai.com": return httpx.Response( - Network accessline 137
if request.url.host == "api.openai.com": return httpx.Response( 200, - Network accessline 138
return httpx.Response( - Network accessline 173
"messages": [], } return httpx.Response(200, json=result) - Network accessline 175
return httpx.Response(200, json=result) - Network accessline 182
def _listing(url, typesafe=None, cloudflare=None, openai=None): request = httpx.Request("GET", url) - Network accessline 183
request = httpx.Request("GET", url) - Network accessline 184
if "typesafe" in url: return httpx.Response( 200, request=request, json={"models": typesafe or []} - Network accessline 185
return httpx.Response( - Network accessline 187
) if "openai" in url: return httpx.Response( - Network accessline 188
if "openai" in url: return httpx.Response( 200, - Network accessline 189
return httpx.Response( - Network accessline 192
json={"object": "list", "data": openai or []}, ) return httpx.Response( - Network accessline 193
) return httpx.Response( 200, - Network accessline 194
return httpx.Response( - Network accessline 234
def api(monkeypatch): fake = FakeAPI() transport = httpx.MockTransport(fake) - Network accessline 235
fake = FakeAPI() transport = httpx.MockTransport(fake) real_client = httpx.Client - Network accessline 236
transport = httpx.MockTransport(fake) - Access to secretsline 256
[Credential-related source omitted] - Access to secretsline 261
[Credential-related source omitted] - Access to secretsline 267
[Credential-related source omitted] - Network accessline 345
"failure", [ httpx.ConnectError("down"), - Network accessline 346
[ httpx.ConnectError("down"), httpx.ReadTimeout("slow"), - Network accessline 347
httpx.ConnectError("down"), - Network accessline 348
httpx.ReadTimeout("slow"), - Network accessline 366
decision_model.httpx, "get", lambda url, **kwargs: httpx.Response( - Network accessline 367
"get", lambda url, **kwargs: httpx.Response( 401, request=httpx.Request("GET", url) - Network accessline 368
lambda url, **kwargs: httpx.Response( - Network accessline 369
401, request=httpx.Request("GET", url) - Network accessline 380
decision_model.httpx, "get", lambda url, **kwargs: httpx.Response( - Network accessline 381
"get", lambda url, **kwargs: httpx.Response( 200, request=httpx.Request("GET", url), json=["jev-x"] - Network accessline 382
lambda url, **kwargs: httpx.Response( - Network accessline 383
200, request=httpx.Request("GET", url), json=["jev-x"] - Access to secretsline 391
[Credential-related source omitted] - Network accessline 566
assert model.model_name == "jev-latest" assert model.base_url == "https://api.typesafe.ai" - Network accessline 567
assert model.base_url == "https://api.typesafe.ai" - Access to secretsline 569
[Credential-related source omitted] - Network accessline 580
assert model.base_url == ( "https://api.cloudflare.com/client/v4/accounts/acct-1/ai/run" - Network accessline 581
"https://api.cloudflare.com/client/v4/accounts/acct-1/ai/run" - Access to secretsline 584
[Credential-related source omitted] - Network accessline 593
assert model.base_url == "https://api.typesafe.ai" - Access to secretsline 598
[Credential-related source omitted] - Network accessline 600
model = DecisionModel( model_name="~typesafe/jev-latest", base_url="https://openrouter.ai/api/", - Network accessline 601
model_name="~typesafe/jev-latest", base_url="https://openrouter.ai/api/", endpoint="/v2/decide", - Network accessline 602
base_url="https://openrouter.ai/api/", - Access to secretsline 604
[Credential-related source omitted] - Network accessline 607
assert model.base_url == "https://openrouter.ai/api" - Access to secretsline 615
[Credential-related source omitted] - Network accessline 617
model = DecisionModel( model_name="clef", base_url="https://gateway.ai.cloudflare.com/v1/a/g/workers-ai", - Network accessline 618
model_name="clef", base_url="https://gateway.ai.cloudflare.com/v1/a/g/workers-ai", ) - Network accessline 619
base_url="https://gateway.ai.cloudflare.com/v1/a/g/workers-ai", - Access to secretsline 628
[Credential-related source omitted] - Access to secretsline 629
[Credential-related source omitted] - Access to secretsline 630
[Credential-related source omitted] - Access to secretsline 643
[Credential-related source omitted] - Access to secretsline 645
[Credential-related source omitted] - Access to secretsline 650
[Credential-related source omitted] - Access to secretsline 657
[Credential-related source omitted] - Access to secretsline 665
[Credential-related source omitted] - Access to secretsline 667
[Credential-related source omitted] - Network accessline 696
request = api.requests[-1] assert request.method == "POST" assert str(request.url) == "https://api.typesafe.ai/v1/systemone" - Network accessline 697
assert request.method == "POST" assert str(request.url) == "https://api.typesafe.ai/v1/systemone" assert request.headers["authorization"] == "Bearer ts-key" - Network accessline 698
assert str(request.url) == "https://api.typesafe.ai/v1/systemone" - Network accessline 744
request = api.requests[-1] assert str(request.url) == ( "https://api.cloudflare.com/client/v4/accounts/acct-1" - Network accessline 745
assert str(request.url) == ( "https://api.cloudflare.com/client/v4/accounts/acct-1" f"/ai/run/@cf/cloudflare/{model_name}" - Network accessline 746
"https://api.cloudflare.com/client/v4/accounts/acct-1" - Network accessline 904
def test_missing_answer_raises(api, typesafe_key): api.queue.append( httpx.Response(200, json={"model": "m", "answers": {}}) - Network accessline 905
api.queue.append( httpx.Response(200, json={"model": "m", "answers": {}}) ) - Network accessline 906
httpx.Response(200, json={"model": "m", "answers": {}}) - Network accessline 915
def test_answer_of_the_wrong_type_raises(api, typesafe_key): api.queue.append( httpx.Response( - Network accessline 916
api.queue.append( httpx.Response( 200, - Network accessline 917
httpx.Response( - Network accessline 932
def test_answer_without_a_type_is_accepted(api, typesafe_key): api.queue.append( httpx.Response( - Network accessline 933
api.queue.append( httpx.Response( 200, - Network accessline 934
httpx.Response( - Network accessline 952
) def test_retryable_statuses_are_retried(api, typesafe_key, status): api.queue.append(httpx.Response(status, json={"error": "busy"})) - Network accessline 954
api.queue.append(httpx.Response(status, json={"error": "busy"})) - Network accessline 963
): api.queue.append( httpx.Response( - Network accessline 964
api.queue.append( httpx.Response( status, json={"detail": "criteria: field required"} - Network accessline 965
httpx.Response( - Network accessline 978
def test_retries_stop_after_max_retries(api, typesafe_key): api.queue.extend( [httpx.Response(429, json={"error": "slow down"})] * 3 - Network accessline 979
api.queue.extend( [httpx.Response(429, json={"error": "slow down"})] * 3 ) - Network accessline 980
[httpx.Response(429, json={"error": "slow down"})] * 3 - Network accessline 989
def test_zero_max_retries_disables_retrying(api, typesafe_key): api.queue.append(httpx.Response(503)) - Network accessline 990
api.queue.append(httpx.Response(503)) - Network accessline 998
def test_backoff_doubles_each_attempt(api, typesafe_key, sleeps): api.queue.extend([httpx.Response(529)] * 3) - Network accessline 999
api.queue.extend([httpx.Response(529)] * 3) - Network accessline 1006
def test_backoff_is_capped(api, typesafe_key, sleeps): api.queue.extend([httpx.Response(503)] * 6) - Network accessline 1007
api.queue.extend([httpx.Response(503)] * 6) - Network accessline 1026
api, typesafe_key, sleeps, headers, expected ): api.queue.append(httpx.Response(429, headers=headers)) - Network accessline 1028
api.queue.append(httpx.Response(429, headers=headers)) - Network accessline 1036
"error", [ httpx.ConnectError("refused"), - Network accessline 1037
[ httpx.ConnectError("refused"), httpx.ReadTimeout("slow"), - Network accessline 1038
httpx.ConnectError("refused"), - Network accessline 1039
httpx.ReadTimeout("slow"), - Network accessline 1040
httpx.RemoteProtocolError("dropped"), - Network accessline 1050
def test_transport_errors_raise_after_max_retries(api, typesafe_key): api.queue.extend([httpx.ConnectError("refused")] * 3) - Network accessline 1051
api.queue.extend([httpx.ConnectError("refused")] * 3) - Network accessline 1079
): api.queue.extend( [httpx.Response(529), httpx.ConnectError("refused")] - Network accessline 1080
api.queue.extend( [httpx.Response(529), httpx.ConnectError("refused")] ) - Network accessline 1081
[httpx.Response(529), httpx.ConnectError("refused")] - Network accessline 1091
async def test_arun_raises_client_errors(api, typesafe_key): api.queue.append(httpx.Response(422, json={"detail": "bad"})) - Network accessline 1092
api.queue.append(httpx.Response(422, json={"detail": "bad"})) - Network accessline 1156
): api.queue.append( httpx.Response( - Network accessline 1157
api.queue.append( httpx.Response( 200, - Network accessline 1158
httpx.Response( - Network accessline 1173
def test_failed_requests_add_no_usage(api, typesafe_key): api.queue.append(httpx.Response(422, json={"detail": "bad"})) - Network accessline 1174
api.queue.append(httpx.Response(422, json={"detail": "bad"})) - Network accessline 1241
assert model.base_url == "https://api.openai.com/v1" - Access to secretsline 1243
[Credential-related source omitted] - Network accessline 1276
request = api.requests[-1] assert str(request.url) == "https://api.openai.com/v1/decisions" - Network accessline 1277
assert str(request.url) == "https://api.openai.com/v1/decisions" - Network accessline 1458
def test_openai_refusal_raises(api, openai_key): api.queue.append( httpx.Response( - Network accessline 1459
api.queue.append( httpx.Response( 200, - Network accessline 1460
httpx.Response( - Network accessline 1475
def test_openai_missing_answer_raises(api, openai_key): api.queue.append( httpx.Response( - Network accessline 1476
api.queue.append( httpx.Response( 200, json={"model": "gpt-6-luna", "answers": []} - Network accessline 1477
httpx.Response( - Network accessline 1524
def _plain_handler(request): body = json.loads(request.content) return httpx.Response( - Network accessline 1525
body = json.loads(request.content) return httpx.Response( 200, - Network accessline 1526
return httpx.Response( - Network accessline 1541
def handler(request): requests.append(request) - Network accessline 1542
requests.append(request) - Network accessline 1545
transport = httpx.MockTransport(handler) - Network accessline 1565
[Credential-related source omitted] - Network accessline 1566
[Credential-related source omitted] - Access to secretsline 1566
[Credential-related source omitted] - Network accessline 1567
base_url="https://plain.example", - Network accessline 1575
request = plain_api[-1] assert str(request.url) == "https://plain.example/decide" - Network accessline 1576
assert str(request.url) == "https://plain.example/decide" - Network accessline 1588
[Credential-related source omitted] - Network accessline 1589
[Credential-related source omitted] - Network accessline 1590
[Credential-related source omitted] - Access to secretsline 1590
[Credential-related source omitted] - Network accessline 1618
api.queue.append( httpx.Response( - Network accessline 1619
httpx.Response(
tests/structs/test_execution_utils.py
- Executable scriptline 1
Executable file
tests/structs/test_forest_swarm.py
- Executable scriptline 1
Executable file
tests/structs/test_graph_workflow.py
- Executable scriptline 1
Executable file
tests/structs/test_groupchat.py
- Executable scriptline 1
Executable file
tests/structs/test_heavy_swarm.py
- Executable scriptline 1
Executable file - Access to secretsline 11
[Credential-related source omitted] - Access to secretsline 953
[Credential-related source omitted] - Access to secretsline 954
[Credential-related source omitted] - Access to secretsline 1016
[Credential-related source omitted] - Access to secretsline 1017
[Credential-related source omitted] - Access to secretsline 1093
[Credential-related source omitted] - Access to secretsline 1094
[Credential-related source omitted]
tests/structs/test_hierarchical_order_parser.py
- Executable scriptline 1
Executable file
tests/structs/test_hierarchical_swarm.py
- Executable scriptline 1
Executable file
tests/structs/test_http_channel.py
- Executable scriptline 1
Executable file - Network accessline 51
httpd = ThreadingHTTPServer(("127.0.0.1", 0), Handler) threading.Thread(target=httpd.serve_forever, daemon=True).start() httpd.base = f"http://127.0.0.1:{httpd.server_address[1]}" - Network accessline 52
threading.Thread(target=httpd.serve_forever, daemon=True).start() httpd.base = f"http://127.0.0.1:{httpd.server_address[1]}" httpd.seen_headers = seen_headers - Network accessline 53
httpd.base = f"http://127.0.0.1:{httpd.server_address[1]}" - Network accessline 135
def call_llm(task=None, *args, **kwargs): built.requests.append(kwargs.get("messages")) - Network accessline 136
built.requests.append(kwargs.get("messages"))
tests/structs/test_hybrid_hiearchical_peer_swarm.py
- Executable scriptline 1
Executable file
tests/structs/test_i_agent.py
- Executable scriptline 1
Executable file
tests/structs/test_llm_council.py
- Executable scriptline 1
Executable file
tests/structs/test_majority_voting.py
- Executable scriptline 1
Executable file
tests/structs/test_mcp_deployer.py
- Executable scriptline 1
Executable file - Network accessline 38
def free_port() -> int: with socket.socket() as s: - Network accessline 39
with socket.socket() as s: - Access to secretsline 144
[Credential-related source omitted] - Access to secretsline 146
[Credential-related source omitted] - Access to secretsline 163
[Credential-related source omitted] - Access to secretsline 164
[Credential-related source omitted] - Access to secretsline 166
[Credential-related source omitted] - Access to secretsline 181
[Credential-related source omitted] - Access to secretsline 187
[Credential-related source omitted] - Access to secretsline 206
[Credential-related source omitted] - Network accessline 312
def test_health_is_public(live): deployer, _ = live response = httpx.get( - Network accessline 313
deployer, _ = live response = httpx.get( f"http://{deployer.host}:{deployer.port}/health" - Network accessline 314
response = httpx.get( - Network accessline 315
f"http://{deployer.host}:{deployer.port}/health" - Network accessline 327
"content-type": "application/json", } anonymous = httpx.post(deployer.url, json=body, headers=hdrs) - Network accessline 328
} anonymous = httpx.post(deployer.url, json=body, headers=hdrs) assert anonymous.status_code == 401 - Network accessline 329
anonymous = httpx.post(deployer.url, json=body, headers=hdrs) - Network accessline 333
wrong = httpx.post( - Access to secretsline 343
[Credential-related source omitted] - Access to secretsline 370
[Credential-related source omitted] - Access to secretsline 386
[Credential-related source omitted] - Network accessline 398
blocker = socket.socket() - Access to secretsline 414
[Credential-related source omitted] - Network accessline 433
) assert "MCPDeployer" in keyed and "echo_agent" in keyed assert "2 api keys" in keyed and "http://127.0.0.1:1/mcp" in keyed - Network accessline 434
assert "MCPDeployer" in keyed and "echo_agent" in keyed assert "2 api keys" in keyed and "http://127.0.0.1:1/mcp" in keyed assert "Swarms MCP" in keyed - Network accessline 435
assert "2 api keys" in keyed and "http://127.0.0.1:1/mcp" in keyed
tests/structs/test_moa.py
- Executable scriptline 1
Executable file
tests/structs/test_model_router.py
- Executable scriptline 1
Executable file
tests/structs/test_multi_agent_debate.py
- Executable scriptline 1
Executable file
tests/structs/test_multi_agent_exec.py
- Executable scriptline 1
Executable file
tests/structs/test_multi_agent_router.py
- Executable scriptline 1
Executable file - Access to secretsline 408
[Credential-related source omitted] - Access to secretsline 409
[Credential-related source omitted] - Access to secretsline 415
[Credential-related source omitted] - Access to secretsline 420
[Credential-related source omitted] - Access to secretsline 421
[Credential-related source omitted]
tests/structs/test_one_on_one_debate.py
- Executable scriptline 1
Executable file
tests/structs/test_one_to_one.py
- Executable scriptline 1
Executable file
tests/structs/test_one_to_three.py
- Executable scriptline 1
Executable file
tests/structs/test_phased_fan_out_workflow.py
- Executable scriptline 1
Executable file
tests/structs/test_queue_channel.py
- Executable scriptline 1
Executable file
tests/structs/test_reasoning_agent_router.py
- Executable scriptline 1
Executable file
tests/structs/test_round_robin_swarm.py
- Executable scriptline 1
Executable file
tests/structs/test_safe_loading.py
- Executable scriptline 1
Executable file
tests/structs/test_self_moa_seq.py
- Executable scriptline 1
Executable file
tests/structs/test_sequential_workflow.py
- Executable scriptline 1
Executable file
tests/structs/test_smtp_channel.py
- Executable scriptline 1
Executable file
tests/structs/test_social_algorithms.py
- Executable scriptline 1
Executable file
tests/structs/test_spreadsheet.py
tests/structs/test_sqlite_channel.py
- Executable scriptline 1
Executable file
tests/structs/test_swarm_architectures.py
- Executable scriptline 1
Executable file
tests/structs/test_swarm_router.py
- Executable scriptline 1
Executable file
tests/structs/test_swarming_architectures.py
- Executable scriptline 1
Executable file
tests/structs/test_transforms.py
- Executable scriptline 1
Executable file
tests/telemetry/test_bootup.py
tests/telemetry/test_compression.py
- Executable scriptline 1
Executable file - Network accessline 43
server = HTTPServer(("127.0.0.1", 0), Handler) threading.Thread(target=server.serve_forever, daemon=True).start() state["url"] = f"http://127.0.0.1:{server.server_port}/v1/traces" - Network accessline 44
threading.Thread(target=server.serve_forever, daemon=True).start() state["url"] = f"http://127.0.0.1:{server.server_port}/v1/traces" try: - Network accessline 45
state["url"] = f"http://127.0.0.1:{server.server_port}/v1/traces"
tests/telemetry/test_telemetry.py
- Executable scriptline 1
Executable file - Access to secretsline 55
[Credential-related source omitted] - Access to secretsline 122
[Credential-related source omitted] - Access to secretsline 123
[Credential-related source omitted] - Access to secretsline 124
[Credential-related source omitted] - Access to secretsline 125
[Credential-related source omitted] - Access to secretsline 140
[Credential-related source omitted] - Access to secretsline 146
[Credential-related source omitted] - Access to secretsline 153
[Credential-related source omitted] - Access to secretsline 154
[Credential-related source omitted] - Network accessline 173
[Credential-related source omitted] - Access to secretsline 173
[Credential-related source omitted] - Network accessline 174
otel.TELEMETRY_BASE_URL = "http://127.0.0.1:9/dead" - Network accessline 214
encoding = self.headers.get("Content-Encoding", "") decoded = _decode(body, encoding) requests.append( - Network accessline 215
decoded = _decode(body, encoding) requests.append( { - Network accessline 216
requests.append( - Network accessline 235
threading.Thread(target=server.serve_forever, daemon=True).start() previous_url = otel.TELEMETRY_BASE_URL otel.TELEMETRY_BASE_URL = f"http://127.0.0.1:{server.server_port}" - Network accessline 236
previous_url = otel.TELEMETRY_BASE_URL otel.TELEMETRY_BASE_URL = f"http://127.0.0.1:{server.server_port}" otel.swarm_telemetry.cache_clear() - Network accessline 237
otel.TELEMETRY_BASE_URL = f"http://127.0.0.1:{server.server_port}" - Access to secretsline 262
[Credential-related source omitted] - Access to secretsline 265
[Credential-related source omitted] - Access to secretsline 276
[Credential-related source omitted] - Access to secretsline 278
[Credential-related source omitted] - Access to secretsline 468
[Credential-related source omitted] - Access to secretsline 512
[Credential-related source omitted] - Access to secretsline 516
[Credential-related source omitted] - Access to secretsline 518
[Credential-related source omitted] - Network accessline 524
[Credential-related source omitted] - Network accessline 525
[Credential-related source omitted] - Network accessline 526
[Credential-related source omitted] - Access to secretsline 526
[Credential-related source omitted] - Network accessline 531
assert "sk-" not in json.dumps(cfg) assert cfg["mcp_url"]["url"] == "http://mcp" - Network accessline 532
assert cfg["mcp_url"]["url"] == "http://mcp" - Access to secretsline 779
[Credential-related source omitted] - Access to secretsline 797
[Credential-related source omitted] - Access to secretsline 892
[Credential-related source omitted] - Access to secretsline 955
[Credential-related source omitted] - Access to secretsline 1188
[Credential-related source omitted] - Access to secretsline 1208
[Credential-related source omitted]
tests/test___init__.py
- Executable scriptline 1
Executable file
tests/test_cli.py
- Executable scriptline 1
Executable file - Access to secretsline 249
[Credential-related source omitted] - Access to secretsline 250
[Credential-related source omitted] - Access to secretsline 323
[Credential-related source omitted] - Access to secretsline 540
[Credential-related source omitted] - Access to secretsline 542
[Credential-related source omitted] - Access to secretsline 544
[Credential-related source omitted] - Access to secretsline 557
[Credential-related source omitted] - Access to secretsline 560
[Credential-related source omitted] - Access to secretsline 653
[Credential-related source omitted] - Access to secretsline 654
[Credential-related source omitted] - Access to secretsline 655
[Credential-related source omitted] - Access to secretsline 656
[Credential-related source omitted] - Access to secretsline 657
[Credential-related source omitted] - Access to secretsline 658
[Credential-related source omitted] - Access to secretsline 659
[Credential-related source omitted] - Access to secretsline 668
[Credential-related source omitted] - Access to secretsline 677
[Credential-related source omitted] - Access to secretsline 678
[Credential-related source omitted] - Access to secretsline 679
[Credential-related source omitted] - Access to secretsline 680
[Credential-related source omitted] - Access to secretsline 681
[Credential-related source omitted] - Access to secretsline 682
[Credential-related source omitted] - Access to secretsline 683
[Credential-related source omitted] - Access to secretsline 686
[Credential-related source omitted] - Access to secretsline 687
[Credential-related source omitted] - Access to secretsline 713
[Credential-related source omitted] - Access to secretsline 714
[Credential-related source omitted] - Access to secretsline 715
[Credential-related source omitted] - Access to secretsline 716
[Credential-related source omitted] - Access to secretsline 717
[Credential-related source omitted] - Access to secretsline 718
[Credential-related source omitted] - Access to secretsline 719
[Credential-related source omitted]
tests/test_main_features.py
- Executable scriptline 1
Executable file
tests/test_prompt_caching.py
- Executable scriptline 1
Executable file - Access to secretsline 21
[Credential-related source omitted] - Access to secretsline 22
[Credential-related source omitted] - Access to secretsline 401
[Credential-related source omitted] - Access to secretsline 412
[Credential-related source omitted] - Access to secretsline 424
[Credential-related source omitted]
tests/test_streaming_timing.py
- Executable scriptline 1
Executable file
tests/tools/mcp_test_server.py
tests/tools/test_base_tool.py
- Executable scriptline 1
Executable file
tests/tools/test_dynamic_tool_loader.py
- Executable scriptline 1
Executable file
tests/tools/test_mcp_manager.py
- Executable scriptline 1
Executable file - Network accessline 8
requiring an API key header, one requiring a bearer token. * A handful of tests hit DeepWiki's public remote MCP server (https://mcp.deepwiki.com/mcp). They are marked ``remote`` and skip - Network accessline 9
* A handful of tests hit DeepWiki's public remote MCP server (https://mcp.deepwiki.com/mcp). They are marked ``remote`` and skip automatically when the network is unavailable. Skip them explicitly with - Network accessline 10
(https://mcp.deepwiki.com/mcp). They are marked ``remote`` and skip - Network accessline 44
[Credential-related source omitted] - Access to secretsline 44
[Credential-related source omitted] - Network accessline 46
REMOTE_URL = "https://mcp.deepwiki.com/mcp" - Network accessline 54
def _free_port() -> int: with socket.socket() as sock: - Network accessline 55
with socket.socket() as sock: - Network accessline 62
while time.time() < deadline: try: with socket.create_connection( - Network accessline 63
try: with socket.create_connection( ("127.0.0.1", port), timeout=0.5 - Network accessline 64
with socket.create_connection( - Network accessline 77
self.port = _free_port() self.profile = profile self.url = f"http://127.0.0.1:{self.port}/mcp" - Network accessline 78
self.profile = profile self.url = f"http://127.0.0.1:{self.port}/mcp" self.process = subprocess.Popen( - Network accessline 79
self.url = f"http://127.0.0.1:{self.port}/mcp" - Network accessline 147
class TestConnectionNormalization: def test_url_string(self): manager = MCPManager(mcp_url="http://localhost:9/mcp") - Network accessline 148
def test_url_string(self): manager = MCPManager(mcp_url="http://localhost:9/mcp") assert manager.enabled is True - Network accessline 149
manager = MCPManager(mcp_url="http://localhost:9/mcp") - Network accessline 150
assert manager.enabled is True assert len(manager) == 1 assert manager.connections[0].url == "http://localhost:9/mcp" - Network accessline 152
assert manager.connections[0].url == "http://localhost:9/mcp" - Network accessline 154
def test_dict_and_connection_objects(self): manager = MCPManager( mcp_config={"url": "http://localhost:1/mcp"}, - Network accessline 155
manager = MCPManager( mcp_config={"url": "http://localhost:1/mcp"}, mcp_configs=[ - Network accessline 156
mcp_config={"url": "http://localhost:1/mcp"}, - Network accessline 157
mcp_configs=[ MCPConnection( url="http://localhost:2/mcp", name="two" - Network accessline 158
MCPConnection( url="http://localhost:2/mcp", name="two" ) - Network accessline 159
url="http://localhost:2/mcp", name="two" - Network accessline 166
def test_many_urls_and_dedupe(self): manager = MCPManager( mcp_url="http://localhost:1/mcp", - Network accessline 167
manager = MCPManager( mcp_url="http://localhost:1/mcp", mcp_urls=[ - Network accessline 168
mcp_url="http://localhost:1/mcp", - Network accessline 169
mcp_urls=[ "http://localhost:1/mcp", # duplicate, dropped "http://localhost:2/mcp", - Network accessline 170
"http://localhost:1/mcp", # duplicate, dropped - Network accessline 171
"http://localhost:2/mcp", - Network accessline 182
def test_manager_defaults_applied_to_connections(self): manager = MCPManager( mcp_url="http://localhost:1/mcp", - Network accessline 183
[Credential-related source omitted] - Network accessline 184
mcp_url="http://localhost:1/mcp", - Access to secretsline 185
[Credential-related source omitted] - Access to secretsline 191
[Credential-related source omitted] - Network accessline 197
[Credential-related source omitted] - Network accessline 198
[Credential-related source omitted] - Network accessline 199
[Credential-related source omitted] - Access to secretsline 199
[Credential-related source omitted] - Access to secretsline 201
[Credential-related source omitted] - Access to secretsline 203
[Credential-related source omitted] - Network accessline 205
def test_shared_connection_keeps_each_managers_defaults(self): shared = MCPConnection(url="http://localhost:1/mcp") - Network accessline 206
shared = MCPConnection(url="http://localhost:1/mcp") - Network accessline 236
manager = MCPManager( mcp_config=MCPConnection( url="http://localhost:1/mcp", - Network accessline 237
[Credential-related source omitted] - Network accessline 238
url="http://localhost:1/mcp", - Access to secretsline 239
[Credential-related source omitted] - Access to secretsline 247
[Credential-related source omitted] - Network accessline 250
def test_add_server_clears_cache(self): manager = MCPManager(mcp_url="http://localhost:1/mcp") - Network accessline 251
manager = MCPManager(mcp_url="http://localhost:1/mcp") - Network accessline 252
manager._tools_cache = [{"cached": True}] manager.add_server("http://localhost:2/mcp") assert len(manager) == 2 - Network accessline 253
manager.add_server("http://localhost:2/mcp") - Network accessline 268
[Credential-related source omitted] - Network accessline 269
[Credential-related source omitted] - Network accessline 270
[Credential-related source omitted] - Access to secretsline 270
[Credential-related source omitted] - Network accessline 276
def test_api_key_custom_header_without_prefix(self): connection = MCPConnection( url="http://x/mcp", - Network accessline 277
[Credential-related source omitted] - Network accessline 278
url="http://x/mcp", - Access to secretsline 279
[Credential-related source omitted] - Network accessline 285
[Credential-related source omitted] - Network accessline 286
[Credential-related source omitted] - Network accessline 287
[Credential-related source omitted] - Network accessline 293
def test_custom_headers_preserved(self): connection = MCPConnection( url="http://x/mcp", headers={"X-Tenant": "acme"} - Network accessline 294
connection = MCPConnection( url="http://x/mcp", headers={"X-Tenant": "acme"} ) - Network accessline 295
url="http://x/mcp", headers={"X-Tenant": "acme"} - Network accessline 299
[Credential-related source omitted] - Access to secretsline 299
[Credential-related source omitted] - Network accessline 300
[Credential-related source omitted] - Network accessline 301
url="http://x/mcp", - Access to secretsline 302
[Credential-related source omitted] - Access to secretsline 311
[Credential-related source omitted] - Access to secretsline 312
[Credential-related source omitted] - Network accessline 313
[Credential-related source omitted] - Network accessline 314
[Credential-related source omitted] - Network accessline 315
[Credential-related source omitted] - Access to secretsline 315
[Credential-related source omitted] - Access to secretsline 331
[Credential-related source omitted] - Access to secretsline 335
[Credential-related source omitted] - Network accessline 338
def test_auth_type_detection(self, kwargs, expected): manager = MCPManager() connection = MCPConnection(url="http://x/mcp", **kwargs) - Network accessline 339
manager = MCPManager() connection = MCPConnection(url="http://x/mcp", **kwargs) assert manager._resolve_auth_type(connection) == expected - Network accessline 340
connection = MCPConnection(url="http://x/mcp", **kwargs) - Network accessline 344
manager = MCPManager() connection = MCPConnection( url="http://x/mcp", - Network accessline 345
[Credential-related source omitted] - Network accessline 346
url="http://x/mcp", - Access to secretsline 347
[Credential-related source omitted] - Network accessline 352
manager = MCPManager() connection = MCPConnection( url="https://x/mcp", - Network accessline 353
connection = MCPConnection( url="https://x/mcp", oauth=MCPOAuthConfig(scopes=["mcp:tools"]), - Network accessline 354
url="https://x/mcp", - Network accessline 363
manager = MCPManager() connection = MCPConnection( url="http://127.0.0.1:1/mcp", - Network accessline 364
connection = MCPConnection( url="http://127.0.0.1:1/mcp", oauth=MCPOAuthConfig( - Network accessline 365
url="http://127.0.0.1:1/mcp", - Network accessline 384
[ ( {"url": "https://x/mcp", "transport": "auto"}, - Network accessline 385
( {"url": "https://x/mcp", "transport": "auto"}, "streamable_http", - Network accessline 386
{"url": "https://x/mcp", "transport": "auto"}, - Network accessline 387
"streamable_http", ), ({"url": "https://x/sse", "transport": "auto"}, "sse"), - Network accessline 388
), ({"url": "https://x/sse", "transport": "auto"}, "sse"), ({"url": "https://x/mcp", "transport": "sse"}, "sse"), - Network accessline 389
({"url": "https://x/sse", "transport": "auto"}, "sse"), - Network accessline 390
({"url": "https://x/mcp", "transport": "sse"}, "sse"), - Network accessline 391
( { "url": "https://x/mcp", - Network accessline 392
{ "url": "https://x/mcp", "transport": "streamable-http", - Network accessline 393
"url": "https://x/mcp", - Network accessline 415
def test_connection_defaults_to_auto(self): assert MCPConnection(url="https://x/mcp").transport == "auto" - Network accessline 416
assert MCPConnection(url="https://x/mcp").transport == "auto" - Network accessline 419
"url,expected", [ ("http://localhost:8000/sse", "sse"), - Network accessline 420
[ ("http://localhost:8000/sse", "sse"), ("https://x/mcp", "streamable_http"), - Network accessline 421
("http://localhost:8000/sse", "sse"), - Network accessline 422
("https://x/mcp", "streamable_http"), - Network accessline 473
def test_explicit_transport_still_wins_over_url(self): manager = MCPManager( mcp_url="http://localhost:8000/sse", - Network accessline 474
manager = MCPManager( mcp_url="http://localhost:8000/sse", transport="streamable_http", - Network accessline 475
mcp_url="http://localhost:8000/sse", - Access to secretsline 603
[Credential-related source omitted] - Access to secretsline 617
[Credential-related source omitted] - Access to secretsline 648
[Credential-related source omitted] - Access to secretsline 653
[Credential-related source omitted] - Access to secretsline 661
[Credential-related source omitted] - Access to secretsline 665
[Credential-related source omitted] - Network accessline 673
def test_unreachable_server_raises(self): manager = MCPManager( mcp_url=f"http://127.0.0.1:{_free_port()}/mcp", - Network accessline 674
manager = MCPManager( mcp_url=f"http://127.0.0.1:{_free_port()}/mcp", retry_attempts=1, - Network accessline 675
mcp_url=f"http://127.0.0.1:{_free_port()}/mcp", - Network accessline 686
mcp_urls=[ open_server.url, f"http://127.0.0.1:{_free_port()}/mcp", - Network accessline 687
open_server.url, f"http://127.0.0.1:{_free_port()}/mcp", ], - Network accessline 688
f"http://127.0.0.1:{_free_port()}/mcp", - Access to secretsline 864
[Credential-related source omitted] - Network accessline 1004
path = tmp_path / "tokens.json" storage = MCPFileTokenStorage("https://x/mcp", str(path)) - Network accessline 1005
storage = MCPFileTokenStorage("https://x/mcp", str(path)) - Access to secretsline 1010
[Credential-related source omitted] - Access to secretsline 1015
[Credential-related source omitted] - Access to secretsline 1030
[Credential-related source omitted] - Access to secretsline 1033
[Credential-related source omitted] - Network accessline 1037
def test_default_storage_path_is_per_server(self): a = MCPFileTokenStorage("https://alpha.example.com/mcp") - Network accessline 1038
a = MCPFileTokenStorage("https://alpha.example.com/mcp") - Network accessline 1039
b = MCPFileTokenStorage("https://beta.example.com/mcp") - Network accessline 1044
manager = MCPManager() connection = MCPConnection( url="https://x/mcp", - Network accessline 1045
connection = MCPConnection( url="https://x/mcp", oauth=MCPOAuthConfig(use_token_cache=False), - Network accessline 1046
url="https://x/mcp", - Network accessline 1058
port = _free_port() server = _OAuthCallbackServer( f"http://127.0.0.1:{port}/callback" - Network accessline 1059
server = _OAuthCallbackServer( f"http://127.0.0.1:{port}/callback" ) - Network accessline 1060
f"http://127.0.0.1:{port}/callback" - Network accessline 1064
def hit(): time.sleep(0.2) urllib.request.urlopen( - Network accessline 1065
time.sleep(0.2) urllib.request.urlopen( f"http://127.0.0.1:{port}/callback?code=the-code&state=the-state" - Network accessline 1066
urllib.request.urlopen( - Network accessline 1067
f"http://127.0.0.1:{port}/callback?code=the-code&state=the-state" - Network accessline 1080
port = _free_port() server = _OAuthCallbackServer( f"http://127.0.0.1:{port}/callback" - Network accessline 1081
server = _OAuthCallbackServer( f"http://127.0.0.1:{port}/callback" ) - Network accessline 1082
f"http://127.0.0.1:{port}/callback" - Network accessline 1087
time.sleep(0.2) try: urllib.request.urlopen( - Network accessline 1088
try: urllib.request.urlopen( f"http://127.0.0.1:{port}/callback?error=access_denied" - Network accessline 1089
urllib.request.urlopen( - Network accessline 1090
f"http://127.0.0.1:{port}/callback?error=access_denied" ).read() except urllib.error.HTTPError: - Network accessline 1101
port = _free_port() server = _OAuthCallbackServer( f"http://127.0.0.1:{port}/callback" - Network accessline 1102
server = _OAuthCallbackServer( f"http://127.0.0.1:{port}/callback" ) - Network accessline 1103
f"http://127.0.0.1:{port}/callback" - Network accessline 1113
port = _free_port() base = f"http://127.0.0.1:{port}" - Network accessline 1114
base = f"http://127.0.0.1:{port}" - Access to secretsline 1252
[Credential-related source omitted] - Network accessline 1296
httpx.get("https://mcp.deepwiki.com", timeout=8)
tests/tools/test_output_str_fix.py
- Executable scriptline 1
Executable file
tests/tools/test_parse_tools.py
- Executable scriptline 1
Executable file
tests/utils/test_any_to_str.py
- Executable scriptline 1
Executable file
tests/utils/test_docstring_parser.py
- Executable scriptline 1
Executable file
tests/utils/test_formatter.py
- Executable scriptline 1
Executable file - Network accessline 61
This paragraph includes **various** formatting options: - Lists with `code` - Links [like this](https://example.com) - Network accessline 62
- Lists with `code - Links [like this](https://example.com) - Network accessline 63
- Links [like this](https://example.com)
tests/utils/test_history_output_formatter.py
- Executable scriptline 1
Executable file
tests/utils/test_image_file_b64.py
- Executable scriptline 1
Executable file
tests/utils/test_litellm_output_tokens.py
- Executable scriptline 1
Executable file
tests/utils/test_litellm_temperature.py
- Executable scriptline 1
Executable file
tests/utils/test_litellm_usage.py
- Executable scriptline 1
Executable file
tests/utils/test_litellm_wrapper.py
- Executable scriptline 1
Executable file
tests/utils/test_llm_backend.py
- Executable scriptline 1
Executable file
tests/utils/test_loguru_logger.py
tests/utils/test_ssrf_url_guard.py
- Executable scriptline 1
Executable file - Network accessline 32
"http://169.254.169.254/latest/meta-data/", - Network accessline 33
"http://[fd00:ec2::254]/latest/meta-data/", - Network accessline 35
"http://127.0.0.1:8000/admin", - Network accessline 36
"http://localhost/", - Network accessline 37
"http://LocalHost/", - Network accessline 38
"http://2130706433/", # decimal 127.0.0.1 - Network accessline 39
"http://0x7f000001/", # hex 127.0.0.1 - Network accessline 40
"http://[::1]/", # IPv6 loopback - Network accessline 42
"http://[::ffff:169.254.169.254]/", - Network accessline 43
"http://[::ffff:127.0.0.1]/", - Network accessline 45
"http://10.0.0.5/", - Network accessline 46
"http://192.168.1.1/", - Network accessline 47
"http://172.16.0.1/", - Network accessline 49
"http://169.254.1.1/", - Network accessline 50
"http://0.0.0.0/", - Network accessline 52
"http://127.0.0.1.nip.io/", - Network accessline 55
"ftp://internal/secret", "gopher://127.0.0.1:6379/_INFO", "http:///nohost", - Network accessline 56
"gopher://127.0.0.1:6379/_INFO", "http:///nohost", ] - Network accessline 57
"http:///nohost", - Network accessline 70
ALLOWED = [ "http://example.com/image.png", - Network accessline 71
"http://example.com/image.png", - Network accessline 72
"https://example.com/image.png", - Network accessline 73
"https://raw.githubusercontent.com/org/repo/main/x.png", - Network accessline 74
"https://upload.wikimedia.org/wikipedia/commons/x.jpg", - Possible obfuscationline 145
content = b"\xff\xd8\xff\xe0fake-jpeg-bytes" - Network accessline 166
url = "https://example.com/cat.jpg" - Network accessline 185
url = "http://169.254.169.254/latest/meta-data/" - Network accessline 203
gets = [] _stub_fetch(monkeypatch, gets) url = "https://example.com/pinned.jpg" - Network accessline 204
_stub_fetch(monkeypatch, gets) url = "https://example.com/pinned.jpg" warm = image_file_b64.get_image_base64(url) - Network accessline 205
url = "https://example.com/pinned.jpg" - Network accessline 220
with pytest.raises(ValueError, match="Blocked URL"): image_file_b64.get_image_base64( "https://example.com/other.jpg" - Network accessline 221
image_file_b64.get_image_base64( "https://example.com/other.jpg" ) - Network accessline 222
"https://example.com/other.jpg" - Network accessline 228
"location, followed", [ ("http://169.254.169.254/latest/meta-data/", None), - Network accessline 229
[ ("http://169.254.169.254/latest/meta-data/", None), ("/real.jpg", "http://93.184.215.14/real.jpg"), - Network accessline 230
("http://169.254.169.254/latest/meta-data/", None), - Network accessline 231
("/real.jpg", "http://93.184.215.14/real.jpg"), - Network accessline 238
start = "http://93.184.215.14/cat.jpg" - Possible obfuscationline 242
content = b"\xff\xd8\xff\xe0fake-jpeg-bytes"
How the signals fit together
Facts from a static read of the files at the pinned commit. They describe what the code does, not why.
Some files could not be read; the facts below still hold.
Signal confidence: 500 facts
- Network access in prose of documentation.github/PULL_REQUEST_TEMPLATE.md:12Low confidence
- Network access in prose of documentation.github/PULL_REQUEST_TEMPLATE.md:13Low confidence
- Network access in prose of documentation.github/PULL_REQUEST_TEMPLATE.md:29Low confidence
- Network access in prose of documentation.github/copilot-instructions.md:5Low confidence
- Network access in prose of documentation.github/copilot-instructions.md:6Low confidence
- Network access in prose of documentation.github/copilot-instructions.md:7Low confidence
- Access to secrets in code of documentationAGENTS.md:9Low confidence
- Network access in prose of documentationAGENTS.md:22Low confidence
- Network access in prose of documentationAGENTS.md:23Low confidence
- Network access in prose of documentationAGENTS.md:24Low confidence
- Network access in prose of documentationAGENTS.md:25Low confidence
- Network access in prose of documentationAGENTS.md:26Low confidence
- Network access in prose of documentationAGENTS.md:40Low confidence
- Network access in prose of documentationAGENTS.md:42Low confidence
- Network access in prose of documentationCLAUDE.md:11Low confidence
- Network access in prose of documentationCLAUDE.md:12Low confidence
- Network access in prose of documentationCLAUDE.md:13Low confidence
- Network access in prose of documentationCLAUDE.md:14Low confidence
- Network access in prose of documentationCLAUDE.md:16Low confidence
- Network access in code of documentationCLAUDE.md:21Low confidence
- Network access in code of documentationCLAUDE.md:22Low confidence
- Access to secrets in code of documentationCLAUDE.md:22Low confidence
- Access to secrets in code of documentation: a variable, placeholder or call, not a stored valueCLAUDE.md:23Low confidence
- Network access in code of documentationCLAUDE.md:29Low confidence
- Network access in code of documentationCLAUDE.md:30Low confidence
- Network access in code of documentationCLAUDE.md:31Low confidence
- Network access in code of documentationCLAUDE.md:32Low confidence
- Network access in code of documentationCLAUDE.md:33Low confidence
- Access to secrets in code of documentation: a variable, placeholder or call, not a stored valueCLAUDE.md:34Low confidence
- Access to secrets in code of documentationCLAUDE.md:51Low confidence
- Access to secrets in code of documentationCLAUDE.md:52Low confidence
- Access to secrets in code of documentationCLAUDE.md:53Low confidence
- Network access in code of documentationCLAUDE.md:889Low confidence
- Network access in code of documentationCLAUDE.md:890Low confidence
- Network access in code of documentationCLAUDE.md:891Low confidence
- Network access in code of documentationCLAUDE.md:898Low confidence
- Network access in code of documentationCLAUDE.md:899Low confidence
- Network access in code of documentationCLAUDE.md:900Low confidence
- Network access in code of documentationCLAUDE.md:901Low confidence
- Network access in code of documentationCLAUDE.md:914Low confidence
- Network access in code of documentationCLAUDE.md:916Low confidence
- Network access in code of documentationCLAUDE.md:917Low confidence
- Network access in prose of documentationCLAUDE.md:1120Low confidence
- Network access in code of documentationCLAUDE.md:1135Low confidence
- Network access in prose of documentationCLAUDE.md:1145Low confidence
- Network access in prose of documentationCODE_OF_CONDUCT.md:117Low confidence
- Network access in prose of documentationCODE_OF_CONDUCT.md:119Low confidence
- Network access in prose of documentationCODE_OF_CONDUCT.md:121Low confidence
- Network access in prose of documentationCODE_OF_CONDUCT.md:122Low confidence
- Network access in prose of documentationCODE_OF_CONDUCT.md:124Low confidence
and 450 more
Only the first 500 facts are listed.
Works with
| Agent | Status | Evidence | Install to |
|---|---|---|---|
| Claude Code | Native | Path CLAUDE.md | .claude/skills/<skill-name>/ |
| Codex | Native | Manifest AGENTS.md | .agents/skills/<skill-name>/ |
| Cursor | Compatible | Standard SKILL.md SKILL.md | .cursor/skills/<skill-name>/ |
| Gemini CLI | Compatible | Standard SKILL.md SKILL.md | .gemini/skills/<skill-name>/ |
| GitHub Copilot | Native | Manifest .github/copilot-instructions.md | .github/skills/<skill-name>/ |
| OpenCode | Compatible | Standard SKILL.md SKILL.md | .opencode/skills/<skill-name>/ |
- Native The repository ships a manifest, folder or frontmatter field for this agent.
- Compatible A standard SKILL.md that this agent can read.
- Unknown No evidence either way.
Derived automatically from paths, manifests and frontmatter. Not tested on each agent.
Explore alternatives and comparisons
Add this badge to your README
It updates every night and links to this page.
[](https://hotskills.dev/skill/kyegomez-swarms/)