Skip to main content

CRDT-based state management for agentic swarms

Project description

Plutus

CRDT-based state management for agentic swarms.

Plutus provides:

  • PlutusAgent for 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

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

plutus_sync-0.1.0.tar.gz (79.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plutus_sync-0.1.0-py3-none-any.whl (24.9 kB view details)

Uploaded Python 3

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

Hashes for plutus_sync-0.1.0.tar.gz
Algorithm Hash digest
SHA256 152690b74caf7d03f1660a418170829c127393d7174ec41c795cd68ee8fbd855
MD5 21aaadeadd984db6ae7d8c8a4bfe1851
BLAKE2b-256 c4ca3bf44c3d5b41808ae1429758b8978cc9532e42ccfe031b8e079af3b88404

See more details on using hashes here.

Provenance

The following attestation bundles were made for plutus_sync-0.1.0.tar.gz:

Publisher: publish.yml on RB9823/plutus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for plutus_sync-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0cb50b2c24f4ce4840eb805f2fc72df75aebd2ca50b6a0c3cd23ee12c9cd8ebe
MD5 bc3f3c7bdc45b168c7442e44d1d4fc54
BLAKE2b-256 bfedac00666ecd423b4b4f1e46867e38acf85f31379e716c6d4e04ca595341e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for plutus_sync-0.1.0-py3-none-any.whl:

Publisher: publish.yml on RB9823/plutus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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