CAP w/ autogen bindings
Project description
Composable Actor Platform (CAP) for AutoGen
I just want to run the remote AutoGen agents!
Python Instructions (Windows, Linux, MacOS):
pip install autogencap
- AutoGen require OAI_CONFIG_LIST. AutoGen python requirements: 3.8 <= python <= 3.11
## What is Composable Actor Platform (CAP)?
AutoGen is about Agents and Agent Orchestration. CAP extends AutoGen to allows Agents to communicate via a message bus. CAP, therefore, deals with the space between these components. CAP is a message based, actor platform that allows actors to be composed into arbitrary graphs.
Actors can register themselves with CAP, find other agents, construct arbitrary graphs, send and receive messages independently and many, many, many other things.
```python
# CAP Platform
network = LocalActorNetwork()
# Register an agent
network.register(GreeterAgent())
# Tell agents to connect to other agents
network.connect()
# Get a channel to the agent
greeter_link = network.lookup_agent("Greeter")
# Send a message to the agent
greeter_link.send_txt_msg("Hello World!")
# Cleanup
greeter_link.close()
network.disconnect()
Check out other demos in the py/demo
directory. We show the following:
- Hello World shown above
- Many CAP Actors interacting with each other
- A pair of interacting AutoGen Agents wrapped in CAP Actors
- CAP wrapped AutoGen Agents in a group chat
- Two AutoGen Agents running in different processes and communicating through CAP
- List all registered agents in CAP
- AutoGen integration to list all registered agents
Project details
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 autogencap_rajan_jedi-0.0.7.tar.gz
.
File metadata
- Download URL: autogencap_rajan_jedi-0.0.7.tar.gz
- Upload date:
- Size: 3.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03fe95f90d522ffb4563fff424469c4c43ea5ea31475e705a45f94f19e9afcb4 |
|
MD5 | c89cd2a95c63f564be5dede57d057f28 |
|
BLAKE2b-256 | e4e00ffe1d9718a8a434cd9a0bb1b35d1c3128000dcbad1e337a832dd488a3c8 |
File details
Details for the file autogencap_rajan_jedi-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: autogencap_rajan_jedi-0.0.7-py3-none-any.whl
- Upload date:
- Size: 3.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | afb115566dff15ecbdf7e128c83a55617970dfb05e3f0cc8741cc8b4321f85e4 |
|
MD5 | cc94831e0f3eb56d23b9c8a4171ace4d |
|
BLAKE2b-256 | d4f3703046332f91a0c02617c56a304e264136bfc5551469e6fb0e519807432f |