CRDT-based state management for agentic swarms
Project description
Plutus
CRDT-based state management for agentic swarms.
Plutus provides:
PlutusAgentfor local/networked swarm participation- CRDT-backed shared namespaces and descriptors
- A sync daemon + WebSocket transport
- Blueprint workflow execution for multi-step agent flows
Quick Start (uv)
1. Install as a dependency
uv add plutus-sync
2. Run locally from source
git clone https://github.com/RB9823/plutus.git
cd plutus
uv sync --group dev
uv run pytest tests/ -v
3. Try examples
uv run python examples/basic_swarm.py
uv run python examples/networked_swarm.py
uv run python examples/blueprint_example.py
Minimal Usage
Install name is plutus-sync; import package remains plutus.
import anyio
from plutus import PlutusAgent
async def main():
agent = PlutusAgent(name="worker", peer_id=1)
await agent.join()
agent.state("tasks").set("task_1", {"status": "pending"})
agent.commit()
await agent.leave()
anyio.run(main)
Development
- Setup:
uv sync --group dev - Tests:
uv run pytest tests/ -v - Optional linting:
uv run ruff check src tests - Optional type checking:
uv run mypy src
See CONTRIBUTING.md for full contributor workflow.
Releasing
See docs/RELEASING.md for the uv-based release process and PyPI publishing setup.
Use workflow-dispatch to publish to testpypi first, then publish to pypi from a GitHub Release.
Project Health
- Changelog: CHANGELOG.md
- Security policy: SECURITY.md
- Code of conduct: CODE_OF_CONDUCT.md
- License: LICENSE
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file plutus_sync-0.1.0.tar.gz.
File metadata
- Download URL: plutus_sync-0.1.0.tar.gz
- Upload date:
- Size: 79.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
152690b74caf7d03f1660a418170829c127393d7174ec41c795cd68ee8fbd855
|
|
| MD5 |
21aaadeadd984db6ae7d8c8a4bfe1851
|
|
| BLAKE2b-256 |
c4ca3bf44c3d5b41808ae1429758b8978cc9532e42ccfe031b8e079af3b88404
|
Provenance
The following attestation bundles were made for plutus_sync-0.1.0.tar.gz:
Publisher:
publish.yml on RB9823/plutus
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
plutus_sync-0.1.0.tar.gz -
Subject digest:
152690b74caf7d03f1660a418170829c127393d7174ec41c795cd68ee8fbd855 - Sigstore transparency entry: 998696636
- Sigstore integration time:
-
Permalink:
RB9823/plutus@689b12adf03e806845e5787e9077d47f089ea59d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/RB9823
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@689b12adf03e806845e5787e9077d47f089ea59d -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file plutus_sync-0.1.0-py3-none-any.whl.
File metadata
- Download URL: plutus_sync-0.1.0-py3-none-any.whl
- Upload date:
- Size: 24.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0cb50b2c24f4ce4840eb805f2fc72df75aebd2ca50b6a0c3cd23ee12c9cd8ebe
|
|
| MD5 |
bc3f3c7bdc45b168c7442e44d1d4fc54
|
|
| BLAKE2b-256 |
bfedac00666ecd423b4b4f1e46867e38acf85f31379e716c6d4e04ca595341e7
|
Provenance
The following attestation bundles were made for plutus_sync-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on RB9823/plutus
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
plutus_sync-0.1.0-py3-none-any.whl -
Subject digest:
0cb50b2c24f4ce4840eb805f2fc72df75aebd2ca50b6a0c3cd23ee12c9cd8ebe - Sigstore transparency entry: 998696650
- Sigstore integration time:
-
Permalink:
RB9823/plutus@689b12adf03e806845e5787e9077d47f089ea59d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/RB9823
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@689b12adf03e806845e5787e9077d47f089ea59d -
Trigger Event:
workflow_dispatch
-
Statement type: