$npx skillfedfor your agent

Spark

An easy to use actor model framework in Python

With conditionsPyPI Python ModulesReleased May 202680.5K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — spark-0.4.1-py3-none-any.whl
v0.4.1 · released 2026-05-16 · Python >=3.13

Yes, if you are building a new concurrent or distributed system and are comfortable with alpha-stage software. The core API is clean, dependencies are minimal, and there are no known vulnerabilities. The project is actively maintained. Caution: verify that the supervision model and persistence layer meet your production requirements, and note that Python 3.13 is mandatory.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.13 or later.
  • Installation is straightforward with no runtime dependencies for the core package.
  • The project is actively maintained with a recent release and no known vulnerabilities.

License · maintenance · safety

MIT (permissive) — MIT license is permissive and imposes no significant restrictions on use, modification, or distribution in commercial or private projects.

last release 2026-05-16 (90 days) · last repo commit 2026-05-16

0 known vulnerabilities (OSV.dev, 2026-08-14) · 80,523 downloads/mo, #14,288 on PyPI

Verify before relying

pip install spark

from spark import Actor, Syndicate
from spark.core.message import Message

class Echo(Actor):
    async def process(self, message: Message) -> str:
        return f"echo:{message.content}"

async with Syndicate("app") as system:
    echo = await system.create_actor(Echo)
    print(await system.ask("hello", echo, timeout=1.0))
  • Whether the actor supervision model (restart/resume/escalate) is suitable for your fault-tolerance requirements.
  • Performance characteristics and scalability limits for the number of actors and message throughput.
  • Whether SQLiteJournal persistence is production-ready or still experimental.
  • Maturity level of TCP and WebSocket remote routes for production deployments.
Same gist for agents: .md · .json

What it is and what it does

Spark is an async actor framework that abstracts concurrent work into independent actors that communicate by message passing. You define actors by subclassing `Actor` and implementing `process()`, then create and manage them through a `Syndicate` instance. The core API is minimal: `tell()` for asynchronous fire-and-forget messages and `ask()` for request-reply with timeout. Actors can be organized hierarchically with parent-child relationships, supervision policies (restart, resume, escalate), and monitoring.

Beyond local concurrency, Spark offers opt-in distributed features: TCP routes with HMAC handshake, WebSocket routes for NAT traversal, authenticated federation for remote actor placement, and durable actors backed by SQLiteJournal. A separate `spark.workflow` package provides a higher-level abstraction for routing messages through a directed graph of processing nodes. The framework is in alpha (Development Status 3) and requires Python 3.13.

Use it for

  • Build concurrent services where independent tasks communicate via message passing instead of shared state.
  • Create distributed systems with TCP or WebSocket routes connecting actor systems across network boundaries.
  • Implement workflow pipelines using the `spark.workflow` layer to route messages through a sequence of processing nodes.
  • Develop fault-tolerant systems with actor supervision, monitoring, and restart policies.
  • Build NAT-traversal applications using the WebSocket relay for outbound-only connectivity.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are building a new concurrent or distributed system and are comfortable with alpha-stage software.

The core API is clean, dependencies are minimal, and there are no known vulnerabilities. The project is actively maintained. Caution: verify that the supervision model and persistence layer meet your production requirements, and note that Python 3.13 is mandatory.

Install

spark on PyPI

Before you install

Installation is straightforward with no runtime dependencies for the core package. The project is actively maintained with a recent release and no known vulnerabilities. Optional extras like cbor2 and websocket are available for structured payloads and networking features.

Requires Python 3.13 or later.

License in practice

MIT license is permissive and imposes no significant restrictions on use, modification, or distribution in commercial or private projects.

Quickstart

pip install spark

from spark import Actor, Syndicate
from spark.core.message import Message

class Echo(Actor):
    async def process(self, message: Message) -> str:
        return f"echo:{message.content}"

async with Syndicate("app") as system:
    echo = await system.create_actor(Echo)
    print(await system.ask("hello", echo, timeout=1.0))

Verify before relying

  • Whether the actor supervision model (restart/resume/escalate) is suitable for your fault-tolerance requirements.
  • Performance characteristics and scalability limits for the number of actors and message throughput.
  • Whether SQLiteJournal persistence is production-ready or still experimental.
  • Maturity level of TCP and WebSocket remote routes for production deployments.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.13
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 90 days since the last release
Last repo commit
First released
Downloads80,523 / month, #14,288 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.13Topic :: Software Development :: Libraries :: Python ModulesTopic :: System :: Distributed Computing

Evidence: spark-0.4.1-py3-none-any.whl

Tags

Capabilities
actor framework pythonasync message passingdistributed actor systemconcurrent python actorsactor model concurrencypython actor frameworkmessage-driven architecture
Topics
actor-modelasync-concurrencymessage-passing
PyPI keywords
actorconcurrencydistributedmessage-passing

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “actor framework python”

  • SparkSpark is an async-first actor framework for Python that lets you…
  • thespianThespian provides an Actor Model framework for building concurrent,…
  • daprDapr SDK for Python provides client libraries and actor framework…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also pykka · thespian · dapr · apify · signalwire · raydp · apify-client · pyspark-client · pyspark · spark-sklearn