Getting Started with Legion

Legion is a powerful framework for building multi-agent systems. This guide will help you get started with Legion and show you how to create your first agent.

What is Legion?

Legion is an open-source framework that makes it easy to build, test, and deploy multi-agent systems. With Legion, you can create autonomous agents that work together to solve complex problems.

Key Features

  • Simple API: Create agents with just a few lines of code
  • Flexible: Build any type of agent system you can imagine
  • Scalable: From single agents to complex multi-agent networks
  • Provider Agnostic: Built with models from several model providers, including locally running LLMs
  • Open Source: MIT licensed and community driven

Installation

You can install Legion using pip:

pip install legion-ai

You can find the package on PyPI at https://pypi.org/project/legion-ai/

Next Steps

Check out these guides to learn more:

  1. Installation - Detailed installation instructions
  2. Quick Start - Build your first agent in minutes
  3. Core Concepts - Learn about agents, messages, and behaviors