Skip to content
wactorz 0.8.1

wactorz 0.8.1

Pypi • November 28, 2026

Actor-model multi-agent framework — spawn, coordinate and monitor AI agents at runtime

pip install wactorz==0.8.1

Build AI agents that keep running — across your , robots, and spare computers.

Docs | Get started | Architecture | Assistant Addon | Issues

Wactorz is a self-hosted runtime for AI that needs to do more than answer once. Describe an automation in chat and its planner can write a Python agent, run it as a supervised actor, and show you what it is doing in a live dashboard. Agents can listen to sensors and MQTT topics, act through Assistant or other services, keep state across restarts, and run on another machine when the job belongs closer to the hardware.

Bring a hosted model from Anthropic, OpenAI, Gemini, or NVIDIA NIM, or keep model inference local with Ollama. The runtime, agent state, dashboard, and MQTT control plane remain on hardware you control.

Wactorz is built first for technical hobbyists and makers : people connecting a smart , robot, camera, Raspberry Pi, or old laptop who are comfortable using a terminal and editing a configuration file. It is also useful to Python developers who want an extensible actor runtime instead of a one-shot agent script.

It is currently a beta, not a no-code consumer app or a multi-user hosted service. Agents can execute generated Python, so use it on systems you control and review the security model before exposing it to a network.

Persistent automations that react to sensor readings, schedules, and MQTT events.

Assistant actions described in chat rather than hand-authored for every case.

Robot and edge-device agents that run close to their cameras, microphones, or motors.

Small groups of agents that keep state, restart independently, and move between nodes.

Custom Python agents with REST, MCP, Discord, Telegram, or WhatsApp as an interface.

The most predictable first run uses Docker Compose. You need Git, Docker with the Compose plugin, and an API key for your chosen model provider.

Open .env and set at least these values:

Open the dashboard at . Follow the logs with docker compose logs -f wactorz-python and stop everything with docker compose --profile python down .

On Windows, use Copy-Item .env.template .env instead of cp . To install from PyPI, use Ollama, or run inside Assistant, see the deployment guide . Repository contributors should start with the development setup .

Bring an agent you already have — a trained model, a class with its own loop — and Wactorz supervises it, restarts it, persists its state and shows it on the dashboard. One decorator is enough:

Or name it in WACTORZ_AGENTS=mypkg.agent:detect for a normal wactorz start, or list it as a wactorz.agents entry point in your package and name that package in WACTORZ_EXTENSIONS . wactorz.pipeline(...) groups several such agents with a schedule and rules, wiring checked up front. The Assistant agents start only when Assistant is configured. See Using Wactorz as a library and examples/imu_anomaly/ .

Once the dashboard is connected to the services or devices named in a request, try:

Set LLM_PROVIDER , LLM_MODEL , and LLM_API_KEY in .env . The generic key works with every hosted provider, or you can use its provider-specific variable.

Wactorz logs the resolved provider and model at startup. Advanced setups can route different jobs to different models and use the evaluation harness before choosing them. Optional LLM_TEMPERATURE , LLM_MAX_RETRIES , and LLM_TIMEOUT_S settings are documented in .env.template .

Wactorz is under active development. The perimeter is closed by default; the remaining caveats below are what an authenticated caller can do.

Wactorz is under active development. The perimeter is closed by default; the remaining caveats below are what an authenticated caller can do.

What protects an install:

The API and dashboard require a key. Set API_KEY and every route, the WebSocket handshake, the Prometheus scrape, and the login flow are authenticated — constant-time comparison, session cookies that survive a restart, and sign-in throttling.

The server binds to 127.0.0.1 . Reaching it from the network is deliberate: set WACTORZ_BIND_HOST , and startup refuses unless API_KEY is set too, or WACTORZ_EXPOSED_OK=1 says the only way in is already authenticated. A key short enough to guess is warned .

The broker requires credentials. Anonymous MQTT is off, and remote nodes are given credentials rather than connecting openly.

Origin and Host allow-lists guard the HTTP surface and the WebSocket handshake against cross-site requests and DNS rebinding.

What to still assume:

Agents execute code. The planner generates and runs Python, and remote nodes run code delivered over MQTT. Anyone holding the API key or the broker credentials can run code on the host and on every connected node — treat both as root-equivalent, the same way you would an Ansible control node.

Generated code is screened by a best-effort blocklist, not a sandbox .

✅ Set API_KEY before exposing anything beyond loopback.

✅ Prefer the Assistant add-on , which keeps the UI behind HA's ingress auth.

✅ Keep the broker on a network you control, with credentials set.

❌ Do not run it as a multi-user or multi-tenant service — there is one key, not per-user accounts, and no isolation between agents.

If you reach it remotely, prefer a VPN or an authenticating reverse proxy over a bare port-forward, even with a key set.

More detail in docs/security.md . Found a security issue? Please see SECURITY.md rather than opening a public issue.

Contributions of any kind are welcome. See CONTRIBUTING.md to get started.

Read CONTRIBUTING.md for setup instructions, code style, and the PR process.

Apache 2.0 . Free to use, modify, and distribute.

Wactorz: Self-Writing LLM Agents That Discover, Repair, and Migrate at the Edge Panagiotis Kasnesis, Lazaros Toumanidis, Amalia Contiero Syropoulou, Christos Chatzigeorgiou Extended version of a paper accepted to the AAAI-27 Demonstrations Program.

The paper covers the architecture, a recorded demo and the system's limitations. In the demo, one chat request builds a camera-to-lamp automation. A second agent with a deliberate bug repairs its own code, then live-migrates to a fresh Raspberry Pi, in under four minutes and for $0.13 of model usage. The paper also describes the Wiring view, using Wactorz as a library, model handling on nodes, and the security model.

If you use Wactorz in your research, please cite:

Release files for wactorz 0.8.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation .

Source distribution (sdist)

Built distribution (wheel)

Total release size: 8.6 MB

Release files / wactorz-0.8.1.tar.gz

Provenance describes where a file came from. On PyPI, provenance is shared via attestations , which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Release files / wactorz-0.8.1-py3-none-any.whl

Provenance describes where a file came from. On PyPI, provenance is shared via attestations , which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Security for wactorz 0.8.1

Provenance describes where a file came from. On PyPI, provenance is shared via attestations , which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Both files in this release have been uploaded with provenance metadata.

Attestation for wactorz-0.8.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Attestation for wactorz-0.8.1-py3-none-any.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

Nov 28, 2026 2 release files Full provenance

Nov 15, 2026 2 release files Full provenance

Oct 25, 2026 2 release files Full provenance

Oct 13, 2026 2 release files Full provenance

Oct 3, 2026 2 release files Full provenance

Sep 14, 2026 2 release files Full provenance

Aug 31, 2026 2 release files Full provenance

Aug 10, 2026 2 release files Full provenance

Jul 30, 2026 2 release files Full provenance

Jul 8, 2026 2 release files Full provenance

Jun 22, 2026 2 release files Full provenance

Jun 8, 2026 2 release files Full provenance

Jun 1, 2026 2 release files Full provenance

May 14, 2026 2 release files Full provenance

May 6, 2026 2 release files Full provenance

Apr 27, 2026 2 release files Full provenance

Apr 18, 2026 2 release files Full provenance

Apr 8, 2026 2 release files Full provenance

Extracted Entities

Platforms (2)

Tools (1)