SwarmZero Docs
Main WebsitePricingGitHubDiscordX
  • GETTING STARTED
    • Welcome
    • Developing on SwarmZero
    • Quickstart
    • Key Concepts
      • AI
      • ML
      • LLM
      • AI Agents
      • Swarms
    • Contributing to SwarmZero
  • SDK
    • Agent Kit
    • Agent API Schema
    • Observability
      • Langtrace
      • OpenLIT
      • AgentOps
  • EXAMPLES
    • AI Agents
      • Build a Dune Agent with SwarmZero.ai
      • Build a News Agent with SwarmZero.ai using the GDELT API
      • Build a Uniswap Docs Retrieval Agent with SwarmZero.ai
      • Build an AAVE AI Agent to Lend and Borrow Crypto
      • Build & Monitor a Web Search Agent
      • Build a Multi-Chain Crypto Trading Telegram Bot with SwarmZero, Bitquery and DEXRabbit
    • Swarms
      • AI Researcher Swarm
      • Build a Web3 dApp with a Swarm of AI Agents
      • Livepeer Youtube Video Generator Swarm
    • Tools
      • Tools for Building Agents with Livepeer
      • Tools for Building Agents with Dune
      • YouTube Video Editor & Upload Tools
      • File Operations Tools
Powered by GitBook
LogoLogo

Quick Links

  • Main Website
  • Pricing
  • GitHub
  • Discord

© 2025 SwarmZero Technology Solutions Inc. All rights reserved.

On this page
  • Setup
  • Install Poetry
  • Activate the Virtual Environment:
  • Install Dependencies:
  • Testing:
  • Access the API Doc:

Was this helpful?

  1. GETTING STARTED

Contributing to SwarmZero

PreviousSwarmsNextAgent Kit

Last updated 6 months ago

Was this helpful?

We encourage developers to contribute to the . Your involvement helps us grow and improve innovation and collaboration. By participating, you can enhance your skills, and connect with other developers.

Here is a guide on how you can get started to contribute to the project:

Setup

If you want to contribute to the codebase, you need to set up your development environment. Follow these steps:

  1. Create a new file called .env

  2. Copy the contents of .env.example into your new .env file.

Note: API keys for third-party tools are not provided. Obtain OPENAI_API_KEY from OpenAI

Install Poetry

If you don't have Poetry installed, you can install it using the following commands:

curl -sSL https://install.python-poetry.org | python3 - export PATH="$HOME/.local/bin:$PATH"

Activate the Virtual Environment:

Activate the virtual environment created by Poetry with the following command:

poetry shell

Install Dependencies:

Install dependencies with the following command:

poetry install --no-root

Testing:

Make sure you're in the tests/ directory:

$ cd tests/

Run the test suite:

$ pytest

Run tests for a specific module:

$ pytest tests/path/to/test_module.py

Run with verbose output:

$ pytest -v

Run with a detailed output of each test (including print statements):

$ pytest -s

Access the API Doc:

Open with your browser to see the Swagger UI of the API.

http://localhost:8000/docs
SwarmZero Community
LogoSwarmZeroGitHub