An actor model library for multi-agent/environment interaction in Python based on Redis.
Project description
AAct -- An actor model library in Python
Designed for communicating sensors, neural networks, agents, users, and environments.
Installation
Pre-requisites
- Python 3.10 or later
- pip
- Docker (for installing Redis)
Install
pip install aact
Examples
Tick and print
docker run -d --name redis-stack -p 6379:6379 -p 8001:8001 redis/redis-stack:latest
aact run-dataflow examples/example.toml
You will see a tick printed every second.
Looped speaker and listener
pip install aact[audio]
docker run -d --name redis-stack -p 6379:6379 -p 8001:8001 redis/redis-stack:latest
aact run-dataflow examples/speaker_listener.toml
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
aact-0.0.8.tar.gz
(106.9 kB
view hashes)
Built Distribution
aact-0.0.8-py3-none-any.whl
(23.5 kB
view hashes)