Skip to main content

Documentation Index

Fetch the complete documentation index at: https://agency-swarm.ai/llms.txt

Use this file to discover all available pages before exploring further.

Installation

  1. Install Python Download and install the latest version of Python from the official Python website.
  2. Create a Virtual Environment Navigate to your project directory and create a virtual environment using venv:
    python -m venv venv
    
  3. Activate the Virtual Environment On Mac or Linux:
    source venv/bin/activate
    
    On Windows:
    venv\Scripts\activate
    

Step 2: Install the agency swarm package

Simply run the following command:
Make sure you are in the virtual environment before installing the package.
pip install agency-swarm

Next Steps

When it comes to building your first AI Agency, you have three options:

From Scratch

Build your own agents and tools from the ground up. Perfect to understand the framework’s structure and create a fully customized solution.

Use Agency Templates

Start with the production-ready Agency Starter Template to quickly get a working agency with real tools and examples.

Cursor (Recommended)

Use Cursor IDE to streamline the entire agent development process. Recommended for both beginners and advanced developers.