> ## Documentation Index
> Fetch the complete documentation index at: https://docs.swarms.world/llms.txt
> Use this file to discover all available pages before exploring further.

# Basic Examples Overview

> Starter examples covering the essentials: single agents, tools, streaming, and vision.

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.

## What You'll Learn

| Topic                   | Description                                         |
| ----------------------- | --------------------------------------------------- |
| **Agent Basics**        | Create and configure individual agents              |
| **Tool Integration**    | Equip agents with callable tools and functions      |
| **Vision Capabilities** | Process images and multi-modal inputs               |
| **LLM Providers**       | Connect to OpenAI, Anthropic, Groq, and more        |
| **Utilities**           | Streaming, output types, and marketplace publishing |

***

## Individual Agent Examples

### Core Agent Usage

| Example         | Description                              | Link                                  |
| --------------- | ---------------------------------------- | ------------------------------------- |
| **Basic Agent** | Fundamental agent creation and execution | [View Example](/examples/basic-agent) |

### Tool Usage

| Example                               | Description                                 | Link                                       |
| ------------------------------------- | ------------------------------------------- | ------------------------------------------ |
| **Agents with Vision and Tool Usage** | Combine vision and tools in one agent       | [View Example](/examples/vision-agent)     |
| **Agents with Callable Tools**        | Equip agents with Python functions as tools | [View Example](/examples/agent-with-tools) |
| **Agent with Structured Outputs**     | Get consistent JSON/structured responses    | [View Example](/agents/structured-outputs) |
| **Message Transforms**                | Manage context with message transformations | [View Example](/api/utils)                 |

### Vision & Multi-Modal

| Example                        | Description                           | Link                                   |
| ------------------------------ | ------------------------------------- | -------------------------------------- |
| **Agents with Vision**         | Process and analyze images            | [View Example](/examples/vision-agent) |
| **Agent with Multiple Images** | Handle multiple images in one request | [View Example](/examples/vision-agent) |

### Utilities

| Example                           | Description                                      | Link                                             |
| --------------------------------- | ------------------------------------------------ | ------------------------------------------------ |
| **Agent with Streaming**          | Stream responses in real-time                    | [View Example](/examples/agents/agent-streaming) |
| **Agent Output Types**            | Different output formats (str, json, dict, yaml) | [View Example](/agents/structured-outputs)       |
| **Gradio Chat Interface**         | Build chat UIs for your agents                   | [View Example](/api/utils)                       |
| **Agent with Gemini Nano Banana** | Jarvis-style agent example                       | [View Example](/examples/basic-agent)            |
| **Agent Marketplace Publishing**  | Publish agents to the Swarms marketplace         | [View Example](/integrations/marketplace)        |

***

## LLM Provider Examples

Connect your agents to various language model providers:

| Provider                | Description                                        | Link                                          |
| ----------------------- | -------------------------------------------------- | --------------------------------------------- |
| **Overview**            | Guide to all supported providers                   | [View Guide](/integrations/model-providers)   |
| **OpenAI**              | GPT-4, GPT-4o, GPT-4o-mini integration             | [View Example](/integrations/model-providers) |
| **Anthropic**           | Claude models integration                          | [View Example](/integrations/model-providers) |
| **Groq**                | Ultra-fast inference with Groq                     | [View Example](/integrations/model-providers) |
| **Cohere**              | Cohere Command models                              | [View Example](/integrations/model-providers) |
| **DeepSeek**            | DeepSeek models integration                        | [View Example](/integrations/model-providers) |
| **Ollama**              | Local models with Ollama (simple & custom wrapper) | [View Example](/integrations/model-providers) |
| **OpenRouter**          | Access multiple providers via OpenRouter           | [View Example](/integrations/model-providers) |
| **XAI**                 | Grok models from xAI                               | [View Example](/integrations/model-providers) |
| **Azure OpenAI**        | Enterprise Azure deployment                        | [View Example](/integrations/model-providers) |
| **Llama4**              | Meta's Llama 4 models                              | [View Example](/integrations/model-providers) |
| **Custom Base URL**     | Connect to any OpenAI-compatible API               | [View Example](/integrations/model-providers) |
| **vLLM Custom Wrapper** | High-performance local inference with vLLM         | [View Example](/integrations/model-providers) |

***

## Next Steps

After mastering basic agents, explore:

* [Multi-Agent Architectures](/examples/overviews/multi-agent-overview) - Coordinate multiple agents
* [Tools Documentation](/integrations/tools) - Deep dive into tool creation
* [CLI Guides](/examples/overviews/cli-overview) - Run agents from command line
