🐝 Create powerful, collaborative AI applications.
Project description
🐝 Welcome to Beehive!
Beehive is an open-source framework for building AI agents and enabling these agents to cooperate with one another to solve tasks. This project was heavily inspired by the awesome work at Langgraph, CrewAI, and PyAutogen.
We're still in the early stages, so any and all feedback is welcome! If you notice a bug or want to suggest an improvement, please open a Github PR.
Why use Beehive?
In traditional software applications, the chain of actions taken by the application in response to user input is hardcoded. Any "reasoning" that these applications employ (e.g., if the user does "X", do "Y", otherwise do "Z") can be traced to a few lines of code.
On the other hand, agents rely on a language model to decide which actions to take and in what order. Unlike traditional software applications, where the sequence of actions is predefined in the code, the language model itself is the decision-making engine.
Beehive, in particular, is great for rapidly creating complex chat patterns between agents (or invokables, in Beehive nomenclature). This includes:
- Sequential chats
- Hierarchical chats
- Multi-agent collaboration / debates
- Nested patterns
In addition, Beehive shares many features with other popular agentic frameworks:
- Loops and conditionals between agents
- State management
- Streaming support
- Memory / feedback
Here is an example of something you could create in Beehive with relatively little code:
Installation
You can install Beehive with pip
:
pip install beehive-ai
Note that the Python OpenAI client is included in the standard Beehive installation.
Documentation
Check out the documentation here.
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
File details
Details for the file beehive_ai-0.0.1.tar.gz
.
File metadata
- Download URL: beehive_ai-0.0.1.tar.gz
- Upload date:
- Size: 544.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2c380b584406dbe5ba3da47ae2f3c6cf8ce70d8792563ed29ce3cc26d4444fc |
|
MD5 | 2f840e2afe248d9b33093884a3cf34b1 |
|
BLAKE2b-256 | 2297206fd654a173c5dcb466c93239c7355281e66394433c4c24218745b91b05 |
File details
Details for the file beehive_ai-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: beehive_ai-0.0.1-py3-none-any.whl
- Upload date:
- Size: 573.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 589fa555568c9b101c7572785a7ad0e494888adc3cae04aa7e5b24881a526dda |
|
MD5 | 7cbd2e92a50f919c26d0753a5cb735f3 |
|
BLAKE2b-256 | a7e749169c2c4e60a967f3568fe0ea4512f31f8da0a8824cd0e7428c418648d3 |