|
| 1 | +# Basic Examples Overview |
| 2 | + |
| 3 | +Start your Swarms journey with single-agent examples. Learn how to create agents, use tools, process images, integrate with different LLM providers, and publish to the marketplace. |
| 4 | + |
| 5 | +## What You'll Learn |
| 6 | + |
| 7 | +| Topic | Description | |
| 8 | +|-------|-------------| |
| 9 | +| **Agent Basics** | Create and configure individual agents | |
| 10 | +| **Tool Integration** | Equip agents with callable tools and functions | |
| 11 | +| **Vision Capabilities** | Process images and multi-modal inputs | |
| 12 | +| **LLM Providers** | Connect to OpenAI, Anthropic, Groq, and more | |
| 13 | +| **Utilities** | Streaming, output types, and marketplace publishing | |
| 14 | + |
| 15 | +--- |
| 16 | + |
| 17 | +## Individual Agent Examples |
| 18 | + |
| 19 | +### Core Agent Usage |
| 20 | + |
| 21 | +| Example | Description | Link | |
| 22 | +|---------|-------------|------| |
| 23 | +| **Basic Agent** | Fundamental agent creation and execution | [View Example](../swarms/examples/basic_agent.md) | |
| 24 | + |
| 25 | +### Tool Usage |
| 26 | + |
| 27 | +| Example | Description | Link | |
| 28 | +|---------|-------------|------| |
| 29 | +| **Agents with Vision and Tool Usage** | Combine vision and tools in one agent | [View Example](../swarms/examples/vision_tools.md) | |
| 30 | +| **Agents with Callable Tools** | Equip agents with Python functions as tools | [View Example](../swarms/examples/agent_with_tools.md) | |
| 31 | +| **Agent with Structured Outputs** | Get consistent JSON/structured responses | [View Example](../swarms/examples/agent_structured_outputs.md) | |
| 32 | +| **Message Transforms** | Manage context with message transformations | [View Example](../swarms/structs/transforms.md) | |
| 33 | + |
| 34 | +### Vision & Multi-Modal |
| 35 | + |
| 36 | +| Example | Description | Link | |
| 37 | +|---------|-------------|------| |
| 38 | +| **Agents with Vision** | Process and analyze images | [View Example](../swarms/examples/vision_processing.md) | |
| 39 | +| **Agent with Multiple Images** | Handle multiple images in one request | [View Example](../swarms/examples/multiple_images.md) | |
| 40 | + |
| 41 | +### Utilities |
| 42 | + |
| 43 | +| Example | Description | Link | |
| 44 | +|---------|-------------|------| |
| 45 | +| **Agent with Streaming** | Stream responses in real-time | [View Example](./agent_stream.md) | |
| 46 | +| **Agent Output Types** | Different output formats (str, json, dict, yaml) | [View Example](../swarms/examples/agent_output_types.md) | |
| 47 | +| **Gradio Chat Interface** | Build chat UIs for your agents | [View Example](../swarms/ui/main.md) | |
| 48 | +| **Agent with Gemini Nano Banana** | Jarvis-style agent example | [View Example](../swarms/examples/jarvis_agent.md) | |
| 49 | +| **Agent Marketplace Publishing** | Publish agents to the Swarms marketplace | [View Example](./marketplace_publishing_quickstart.md) | |
| 50 | + |
| 51 | +--- |
| 52 | + |
| 53 | +## LLM Provider Examples |
| 54 | + |
| 55 | +Connect your agents to various language model providers: |
| 56 | + |
| 57 | +| Provider | Description | Link | |
| 58 | +|----------|-------------|------| |
| 59 | +| **Overview** | Guide to all supported providers | [View Guide](../swarms/examples/model_providers.md) | |
| 60 | +| **OpenAI** | GPT-4, GPT-4o, GPT-4o-mini integration | [View Example](../swarms/examples/openai_example.md) | |
| 61 | +| **Anthropic** | Claude models integration | [View Example](../swarms/examples/claude.md) | |
| 62 | +| **Groq** | Ultra-fast inference with Groq | [View Example](../swarms/examples/groq.md) | |
| 63 | +| **Cohere** | Cohere Command models | [View Example](../swarms/examples/cohere.md) | |
| 64 | +| **DeepSeek** | DeepSeek models integration | [View Example](../swarms/examples/deepseek.md) | |
| 65 | +| **Ollama** | Local models with Ollama | [View Example](../swarms/examples/ollama.md) | |
| 66 | +| **OpenRouter** | Access multiple providers via OpenRouter | [View Example](../swarms/examples/openrouter.md) | |
| 67 | +| **XAI** | Grok models from xAI | [View Example](../swarms/examples/xai.md) | |
| 68 | +| **Azure OpenAI** | Enterprise Azure deployment | [View Example](../swarms/examples/azure.md) | |
| 69 | +| **Llama4** | Meta's Llama 4 models | [View Example](../swarms/examples/llama4.md) | |
| 70 | +| **Custom Base URL** | Connect to any OpenAI-compatible API | [View Example](../swarms/examples/custom_base_url_example.md) | |
| 71 | + |
| 72 | +--- |
| 73 | + |
| 74 | +## Next Steps |
| 75 | + |
| 76 | +After mastering basic agents, explore: |
| 77 | + |
| 78 | +- [Multi-Agent Architectures](./multi_agent_architectures_overview.md) - Coordinate multiple agents |
| 79 | +- [Tools Documentation](../swarms/tools/main.md) - Deep dive into tool creation |
| 80 | +- [CLI Guides](./cli_guides_overview.md) - Run agents from command line |
0 commit comments