Open-Swarm-Net / OSNAP

Open Swarm Net Agent Protocol
Apache License 2.0
35 stars 3 forks source link

OSNAP

License Python Version Discord Follow

Project logo

The Open Swarm Network Agent Protocol (OSNAP) is a standardized toolkit for building AI agents that interact with each other. Currently, the development and implementation of interacting autonomous AI agents and swarms are highly fragmented, with different projects utilizing various custom-built protocols and communication methods. This lack of standardization can lead to difficulties. OSNAP aims to address these issues by providing a well-defined, standardized toolkit for building and interacting with autonomous AI agents and swarms.

Table of Contents

How to use in your project

Coming soon...

Examples

First, setup the environment:

  1. Installing dependencies:
    • If you use poetry, use pyproject.toml
    • Otherwise, create a new venv and use requirements.txt.
  2. Adding environment variables:
    • use .env.template to create a .env file
    • every example has a separate .env file

Discord Swarm

To Example\ Discord swarm allows you to deploy multiple independent agents (can be in different networks) and let them communicate with each other over a discord server. For example, agents can ask other bots for help and solve the task colaboratively.

The communication is handleded via the DiscordAdapter and the only think you need to do is to implement the logic of the SwarmAgent.

Architecture overview

Project diagram

Docker Containers

To Example

Next-ups

How to Contribute