Skip to main content

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


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.4.tar.gz (106.8 kB view hashes)

Uploaded Source

Built Distribution

aact-0.0.4-py3-none-any.whl (23.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page