No project description provided
Project description
OSNAP
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:
- Installing dependencies:
- If you use poetry, use
pyproject.toml
- Otherwise, create a new venv and use
requirements.txt
.
- If you use poetry, use
- Adding environment variables:
- use
.env.template
to create a.env
file - every example has a separate
.env
file
- use
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 SwarmAgentBase
.
Architecture overview
Next-ups
- make adding new models as easy as possible, including custom deployed ones like llama
- multi-key support for higher scalability
How to Contribute
- follow the SOLID principles and don't break the abstractions
- create bite-sized PRs
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for osnap_client-0.1.1a2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cce5c0c28b308fa242fcddd39bee45f36a749b7a4535ba0d47cdc295b9786a8b |
|
MD5 | 6428553264e990f3e996373d54a07d05 |
|
BLAKE2b-256 | 8c351be9dfc5c90dd475e7068b50ca7fa838221bec79079cdd73e30540dda706 |