Skip to main content

Pulsing

中文文档

A distributed actor runtime built in Rust, designed for Python. Pulsing provides location-transparent actor calls, streaming messages, and built-in cluster discovery without Redis or etcd.

Install

pip install pulsing

First actor

import asyncio
import pulsing as pul


@pul.remote
class Counter:
    def __init__(self, value=0):
        self.value = value

    def inc(self):
        self.value += 1
        return self.value


async def main():
    await pul.init()
    try:
        counter = await Counter.spawn(value=0, name="counter")
        print(await counter.inc())  # 1
    finally:
        await pul.shutdown()


asyncio.run(main())

For a cluster, initialize each node with addr and join using seeds. Resolve named actors with await Counter.resolve("counter").

Scope

  • Actor mailboxes, lifecycle, supervision, and named actor discovery.
  • Local and remote request/reply, one-way calls, and streaming responses.
  • HTTP/2 transport, TLS, and opaque tensor-buffer transport.
  • Python @remote, subprocess integration, queues, and pub/sub.
  • CLI actor startup and cluster inspection.
  • Workspace scaffolding, checkpoints, rollback, and Python workflows.

Inference servers, LLM clients, Forge tools and coding agents, the desktop GUI, and benchmark modules are no longer bundled. Applications can implement their own services on top of the actor API.

Agent mailbox prototype

An optional coordination layer gives each router, worker, reviewer, or subagent its own bounded in-memory actor mailbox. External agents use MCP tools and an installable skill to send mail and track unread, read, processing, completed, and failed states. No LLM runtime or coding tools are bundled.

pip install 'pulsing[mailbox]'
pulsing -- codex
# First machine:
SEED=10.0.0.10:8100 pulsing -- codex
# Another machine:
SEED=10.0.0.10:8100 pulsing -- codex
# The machine owning 10.0.0.10 hosts the seed; others select their address automatically.

This is a trusted-local-cluster prototype, not a public email service. See the design and setup guide. The recommended companion launcher runs one Pulsing process per Codex, owns separate mailboxes for its agents/subagents, and injects MCP automatically. A standalone Codex plugin is also available. Actor-owned event logs support offline replay, not mailbox recovery after restart.

CLI

pulsing actor my_app.Counter --addr 0.0.0.0:8000 --name counter
pulsing inspect actors --endpoint 127.0.0.1:8000
pulsing init --template minimal
pulsing checkpoint -m "working state"
pulsing history
pulsing rollback

The Rust CLI also supports pulsing run [script.py] (alias workflow). Workflows execute once and return to the shell, without an LLM session.

Development

Requires Python 3.10+ and a current stable Rust toolchain. The RustPython CLI requires Rust 1.93 or newer.

uv sync --extra dev
uv run maturin develop
just test
just fmt
just lint

just build-wheel builds the Python wheel; just build-binary builds the RustPython CLI. See CONTRIBUTING.md for the development workflow.

Project layout

Path Purpose
crates/pulsing-actor/ Actor runtime, discovery, transport
crates/pulsing-py/ CPython/PyO3 bindings
crates/pulsing-rpymod/ RustPython bindings
crates/pulsing-bindings-core/ Shared binding data types
crates/pulsing-cli/ Rust CLI
crates/pulsing-workspace/ Workspace scaffolding and journal
python/pulsing/ Python SDK and integrations
examples/ Actor and transport examples
docs/ Documentation

License

Apache-2.0

Metadata

Release files for pulsing 0.1.6

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

Source distribution (sdist)

Source distribution for pulsing 0.1.6
File Size Uploaded Provenance Actions
pulsing-0.1.6.tar.gz 380.9 kB With provenance Details for pulsing-0.1.6.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for pulsing 0.1.6
File Actions
pulsing-0.1.6-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for pulsing-0.1.6-cp310-abi3-win_amd64.whl
pulsing-0.1.6-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details for pulsing-0.1.6-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
pulsing-0.1.6-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details for pulsing-0.1.6-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
pulsing-0.1.6-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for pulsing-0.1.6-cp310-abi3-macosx_11_0_arm64.whl
pulsing-0.1.6-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details for pulsing-0.1.6-cp310-abi3-macosx_10_12_x86_64.whl

Total release size: 21.4 MB

Release files / pulsing-0.1.6.tar.gz

Download URL pulsing-0.1.6.tar.gz
Size 380.9 kB
Tags Source
SHA-256 checksum
How to use checksums
31752bc6cb39b17e507015adf5b788fd56b456c2bf33d5757831d698f71fb027
BLAKE2b-256 checksum
How to use checksums
8ba31d1970f5eba3716f1dcd95f3b04244dce101808ba0a19a88f6957712b99b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

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 30, 2026.

Transparency log

Release files / pulsing-0.1.6-cp310-abi3-win_amd64.whl

Download URL pulsing-0.1.6-cp310-abi3-win_amd64.whl
Size 3.6 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
feccb05110588ef0af1709858bd8a6f8687e0aca55efc4ed017e742ebd748784
BLAKE2b-256 checksum
How to use checksums
b2b51ed1a57266580626f1f668cb52e138bcf675e421e01a848be05540578a87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

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 30, 2026.

Transparency log

Release files / pulsing-0.1.6-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL pulsing-0.1.6-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 4.4 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
939c01eda3b00cc724c45c4f508d64cb4ae05ee4dec7c19d628eb7892ecf2f3e
BLAKE2b-256 checksum
How to use checksums
1bc9a075fbfeef1a181ec72b580c49a6c05aaec04a1b7dc9e6639fd59b610d86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

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 30, 2026.

Transparency log

Release files / pulsing-0.1.6-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL pulsing-0.1.6-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 4.7 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
89f429a44cf56f181996dbc2b239c45bed4a5d05f39dd5afa3e6ac2af17e6b33
BLAKE2b-256 checksum
How to use checksums
4cf2ca5dafb997481e130dd687bf7757c575dda3c705e505d273baf58a2e08be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

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 30, 2026.

Transparency log

Release files / pulsing-0.1.6-cp310-abi3-macosx_11_0_arm64.whl

Download URL pulsing-0.1.6-cp310-abi3-macosx_11_0_arm64.whl
Size 4.1 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7129f15b14366834e215dca203d708b96202588fd351f7ae93a0da4d92c2cc9a
BLAKE2b-256 checksum
How to use checksums
377d61a227607b8205ad91cfbe52c9349daf42a494e48a2ad8e101545f066493
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

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 30, 2026.

Transparency log

Release files / pulsing-0.1.6-cp310-abi3-macosx_10_12_x86_64.whl

Download URL pulsing-0.1.6-cp310-abi3-macosx_10_12_x86_64.whl
Size 4.2 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
6308691a44beec9dfac6bf4df6e5b1dd856adbc28caa08bfd2e28492ce560095
BLAKE2b-256 checksum
How to use checksums
bd445ca04addd345f8620317c622d869ead194da7df30d4a38da421ab44c4714
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

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 30, 2026.

Transparency log

Security for pulsing 0.1.6

Provenance

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.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for pulsing-0.1.6.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 30, 2026.

Transparency log

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page