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.7

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.7
File Size Uploaded Provenance Actions
pulsing-0.1.7.tar.gz 380.9 kB With provenance Details for pulsing-0.1.7.tar.gz

Built distributions (wheels)

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

Total release size: 21.3 MB

Release files / pulsing-0.1.7.tar.gz

Download URL pulsing-0.1.7.tar.gz
Size 380.9 kB
Tags Source
SHA-256 checksum
How to use checksums
56393a60ba9019e1371a21a2004c3c3f4d5c52566f2a420cda04fae4ca514d59
BLAKE2b-256 checksum
How to use checksums
e5c5df77192070b1e1dc5a37324e18b41705ee2c78d4ee4aacfe61a77df2dd6a
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 Dec 1, 2026.

Transparency log

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

Download URL pulsing-0.1.7-cp310-abi3-win_amd64.whl
Size 3.6 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
a84b8b699d70d7719f107ccd4febf3d50eaf0ba2a8afba028f4206c9c2c6b78a
BLAKE2b-256 checksum
How to use checksums
ebfae7cd90bde105c9d2bc56788936905ab74c0652b96a5672f89f85fac3f38f
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 Dec 1, 2026.

Transparency log

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

Download URL pulsing-0.1.7-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
1dec976146b2beb2b627863ad6f976c52937b5daae557375e07de05566b4b5e0
BLAKE2b-256 checksum
How to use checksums
c4bc159c0e172ed97095b857fea0bef29893e19690b614fcde9aeece3fa5929a
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 Dec 1, 2026.

Transparency log

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

Download URL pulsing-0.1.7-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
a92eb504a647d6d940425aeb1bbb479b33b90c65e31a0aa73c22a60a32dafa21
BLAKE2b-256 checksum
How to use checksums
4e4ca08102f9ab8afc5dea30ab4f9fadbc5f2bb7ed1ee695655199c4ba16993a
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 Dec 1, 2026.

Transparency log

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

Download URL pulsing-0.1.7-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
c33d945fa36ce8a41b20b79aceb5eb041dbfe952380ecf817161a080660f5e18
BLAKE2b-256 checksum
How to use checksums
349e120c510923f294ba91fdf74e136701e11c2257884c376116da96d966e584
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 Dec 1, 2026.

Transparency log

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

Download URL pulsing-0.1.7-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
d3aa01e27f2ca2d230ed40cc5a368c21db9ca835fdb2dd4f9c360f35af20c13d
BLAKE2b-256 checksum
How to use checksums
601eeedcdb0bf5147fcaf630ee57275486d8bf8061af42d5f55bd678d4b828df
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 Dec 1, 2026.

Transparency log

Security for pulsing 0.1.7

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.7.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 Dec 1, 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