Skip to main content

Voodoo Store

Application infrastructure in a store.

Voodoo Store is a standalone, 100% Rust embedded application-state engine built around one goal:

A Voodoo application should be able to run robustly with Voodoo + Voodoo Store and no mandatory external infrastructure by default.

It is being built for the Voodoo ecosystem, but the core is not coupled to Voodoo Framework. The engine and .vstore format are designed to remain language-neutral and independently usable.

SQLite made the database a file. Voodoo Store aims to make application infrastructure a store.

Status

Current Python binding line: v0.3.0. Core and bindings remain pre-1.0.

Voodoo Store is pre-1.0, but the Rust core and the published Python binding are already suitable for controlled single-node development and production experiments where the current compatibility and operational limits are understood. The 0.3 Native Surface Convergence milestone is closed: the published binding exposes the supported native primitives directly to Python and Voodoo without depending on internal KV encodings.

The current engine includes:

  • versioned, checksummed .vstore files and strong persistent Store identity;
  • checksummed append-only logging, atomic transactions and deterministic crash recovery;
  • Linux/macOS/Windows single-writer locking and explicit durability modes;
  • byte-oriented KV, CAS, counters, prefix scans and TTL;
  • Collections with schema/codec metadata and secondary/unique indexes;
  • durable Queues with leases, delay, priority, retry/NACK, dead state and stale-ACK protection;
  • durable Jobs with 128-bit IDs, idempotency, retry/backoff, deadlines and execution history;
  • one-shot, interval and deterministic UTC Cron scheduling;
  • durable Triggers;
  • Topics, Streams, replay, durable subscriptions and Consumer Groups;
  • durable request/reply correlation and RPC state;
  • transactional Outbox events;
  • content-addressed SHA-256 object storage, deduplication, verification, references and orphan GC;
  • durable Workflow/HITL state with waits, signals, timers and history;
  • verify, backup, create-only restore, logical snapshots and compact-copy;
  • structured health/storage accounting;
  • standalone voodoo-store CLI;
  • C ABI v2 foundation with transactions, last_error and panic containment;
  • deterministic corruption, torn-write and process-crash testing;
  • CI across Format, Clippy, Linux, macOS, Windows and Rust 1.85 MSRV.

This is not yet a production 1.0. File/API compatibility should still be considered pre-1.0, and important data should be backed up before upgrading experimental deployments.

Start here

Build and test:

cargo build --workspace
cargo test --workspace

Run the executable application-state example:

cargo run -p voodoo-store-core --example application_state -- application.vstore

The example commits application state, a durable Job and an Outbox Event through one transaction:

BEGIN
  PUT order:42:status = paid
  ENQUEUE JOB email.send_receipt(order:42)
  EMIT EVENT order.paid(order:42)
COMMIT

If that transaction does not commit, none of those staged mutations become visible after recovery.

See docs/QUICKSTART.md for the full walkthrough. See docs/VERSIONING.md for package, format, and Python binding compatibility.

North Star

The standard Voodoo deployment is intentionally small:

Application
    |
    +-- Voodoo Runtime
    |
    `-- application.vstore

A normal application should not need Redis, PostgreSQL, RabbitMQ, Kafka, Celery, a separate cron service, or a separate local object service merely to get robust application infrastructure.

External infrastructure remains available as optional adapters when scale or deployment topology genuinely requires it.

Architecture

Applications / Frameworks
        |
        +-- Voodoo Runtime / Framework
        +-- Rust
        +-- C / native bindings
        +-- Python binding
        +-- future Node / Go / Swift bindings
        |
Stable APIs / bindings
        |
voodoo-store-core
        |
        +-- Data: KV / TTL / Collections / Indexes
        +-- Work: Queues / Jobs / Scheduler / Cron / Triggers
        +-- Messaging: Topics / Streams / Consumer Groups / RPC / Outbox
        +-- Objects
        +-- Workflow state
        +-- Operations / health / lifecycle
        |
Transaction / Commit Layer
        |
Append-only Checksummed Log
        |
Recovery / Verification
        |
Versioned .vstore Header
        |
Filesystem + File Locking

The Store persists durable semantics. Voodoo Runtime executes application code, HTTP handlers, AI inference, external calls and Identity/Auth behavior.

Cross-domain transactions

A major Voodoo Store goal is to remove the split-brain normally created by a database plus external work infrastructure.

Current typed transaction primitives already allow application state, Jobs, Outbox Events and durable RPC Requests to share a Store transaction.

use voodoo_store_core::{JobSpec, Store};

fn main() -> Result<(), Box<dyn std::error::Error>> {
    let mut store = Store::open("application.vstore")?;

    let mut tx = store.begin()?;
    tx.put(b"order:42:status", b"paid")?;
    tx.enqueue_job(JobSpec::new(b"email.send_receipt", b"order:42"), 1_000)?;
    tx.emit_event(b"order.paid", b"order:42", 1_000)?;
    tx.request_rpc(b"payments.capture", b"order:42", 1_000, Some(31_000))?;
    tx.commit()?;

    Ok(())
}

The public cross-domain transaction surface will continue expanding to additional primitives before 1.0.

Durability

use voodoo_store_core::{Durability, Store, StoreOptions};

let store = Store::open_with_options(
    "application.vstore",
    StoreOptions {
        durability: Durability::Strict,
        repair_torn_tail: true,
    },
)?;
  • Strict uses sync_all() on commit.
  • Data uses sync_data() on commit and is the default.
  • Relaxed relies on later operating-system flushing.

Only an incomplete physical tail is automatically repairable. Corruption inside the durable prefix is surfaced as an error rather than silently discarded.

The CLI keeps repair explicit and read-only by default. Run voodoo-store repair <path> to inspect a torn tail; after taking a backup, repeat with --confirm-torn-tail to authorize truncation. The command verifies the store again after repair. It never attempts to rewrite corruption inside a previously valid durable prefix.

Current good-fit workloads

The current pre-1.0 line is a reasonable target for controlled use in:

  • Voodoo Runtime development;
  • SaaS/internal-tool prototypes and early deployments;
  • desktop/local-first applications;
  • AI agent and automation state;
  • edge gateways and robotics controllers;
  • single-node APIs that want durable Jobs/Queues without deploying an infrastructure stack.

Pin the exact Store version and keep backups for important pre-1.0 stores.

Python operators can create a verified JSON sidecar alongside a backup:

from voodoo_store import create_backup_manifest, verify_backup_manifest

manifest = create_backup_manifest(store, "application.backup.vstore")
verify_backup_manifest("application.backup.vstore", "application.backup.vstore.manifest.json")

Known pre-1.0 limits

The main remaining work before a 1.0 claim includes:

  • continuous hosted fuzzing, filesystem-specific power-loss certification, and stronger repair tooling;
  • filesystem/power-loss proof for generation activation and stronger repair tooling;
  • completing Python/native convergence for cross-domain transactions;
  • migrating Voodoo Framework compatibility adapters onto the native messaging/object/query surfaces;
  • richer Collection migration/composite-index/query-planner support and physical ordered range seeks;
  • live-query/watch convenience APIs above the durable change feed;
  • streaming object writes and zero-copy/on-disk reads (bounded native chunk reads are available today);
  • complete C ABI coverage and additional first-class language bindings;
  • encryption-at-rest/key-rotation design;
  • later replication/sync and Voodoo Protocol integration.

Namespace/file quotas, structured health metrics, tracing hooks, and bounded object lifecycle/retention policies are already part of the v0.3.0 contract.

Store Studio and distributed operation are later milestones and do not block controlled single-node use.

CLI

The workspace includes the standalone voodoo-store binary. Examples:

cargo run -p voodoo-store-cli -- put application.vstore hello world
cargo run -p voodoo-store-cli -- get application.vstore hello
cargo run -p voodoo-store-cli -- health application.vstore
cargo run -p voodoo-store-cli -- verify application.vstore
cargo run -p voodoo-store-cli -- backup application.vstore application.backup.vstore

The CLI also exposes lifecycle, Queue, Collection, Messaging, Object, Job, Scheduler, Cron, Trigger and Workflow operations. See docs/QUICKSTART.md for usage guidance.

C ABI

voodoo-store-ffi is the portability foundation for non-Rust bindings. The current ABI includes Store handles, KV operations, buffered transactions, thread-local last_error reporting and panic containment. The checked-in C consumer (crates/voodoo-store-ffi/examples/c_consumer.c) is compiled and executed by CI and release preflight; higher-level primitive coverage is still expanding.

Public header:

include/voodoo_store.h

Workspace

crates/
  voodoo-store-core/   # correctness-critical embedded engine
  voodoo-store-ffi/    # C ABI portability layer
  voodoo-store-cli/    # standalone inspection and operation CLI

include/
  voodoo_store.h

examples/
  c_consumer.c       # committed ABI consumer smoke

docs/
  ARCHITECTURE.md
  SPEC.md
  INVARIANTS.md
  ROADMAP.md
  QUICKSTART.md

Voodoo integration

Voodoo Framework/Runtime already consumes the published Python binding behind higher-level primitives while the engine stays independently usable. The 0.3 convergence work removes remaining compatibility implementations where the Rust core already has a native primitive.

Voodoo Model       -> Store Collections / data
Voodoo @task       -> Store Jobs / Queues
Voodoo Scheduler   -> Store schedules / Cron
Voodoo events      -> Store Topics / Streams / Outbox
Voodoo ObjectStore -> Store Objects
Execution / HITL   -> Store Workflow state
Runtime Identity   -> durable state persisted through Store

Identity/Auth semantics remain in Voodoo Runtime, not in Voodoo Store.

Compatibility principle

The lowest-level durable contract is bytes. Voodoo Store does not persist host-specific Python pickle, Java serialization, V8 objects or Go gob as its core format. Typed codecs and schemas are layered above the engine so a compatible Store can be accessed from multiple runtimes.

Development principle

Correctness comes before feature count and benchmarks:

SPEC
  -> INVARIANTS
  -> IMPLEMENTATION
  -> TESTS
  -> FAULT INJECTION
  -> FUZZING
  -> BENCHMARKS
  -> OPTIMIZATION

License

Apache-2.0

Metadata

Release files for grumo-store 1.0.0

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

Source distribution (sdist)

Source distribution for grumo-store 1.0.0
File Size Uploaded Provenance Actions
grumo_store-1.0.0.tar.gz 114.9 kB With provenance Details for grumo_store-1.0.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for grumo-store 1.0.0
File Actions
grumo_store-1.0.0-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for grumo_store-1.0.0-cp39-abi3-win_amd64.whl
grumo_store-1.0.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details for grumo_store-1.0.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
grumo_store-1.0.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details for grumo_store-1.0.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
grumo_store-1.0.0-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details for grumo_store-1.0.0-cp39-abi3-macosx_11_0_arm64.whl
grumo_store-1.0.0-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details for grumo_store-1.0.0-cp39-abi3-macosx_10_12_x86_64.whl

Total release size: 3.7 MB

Release files / grumo_store-1.0.0.tar.gz

Download URL grumo_store-1.0.0.tar.gz
Size 114.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6799f54b1146a8f1c21dc99a76eb544616cc635f2059678922f1adcb7da73426
BLAKE2b-256 checksum
How to use checksums
8704966ee9cce043c6c4f2553a76ace4de9411eaf5f5440101bfaf49dea692c0
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 26, 2026.

Transparency log

Release files / grumo_store-1.0.0-cp39-abi3-win_amd64.whl

Download URL grumo_store-1.0.0-cp39-abi3-win_amd64.whl
Size 621.7 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
b00f956ea6d3a076eb738605d640a1f3e547c66339fb4ac7fdbb79e9593b4799
BLAKE2b-256 checksum
How to use checksums
a0b3714e25de140da30889fa597a51d2547c17bfb9fd6040f1a5290de7512db9
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 26, 2026.

Transparency log

Release files / grumo_store-1.0.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL grumo_store-1.0.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 781.2 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
420b78c09c71f9c2bb89c820791ebb6013ed1c83e40217e8e6726263b4fc5741
BLAKE2b-256 checksum
How to use checksums
512a993e8112288815233e267198049e386f8d66bd5e5e878b48bb30d76085cd
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 26, 2026.

Transparency log

Release files / grumo_store-1.0.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL grumo_store-1.0.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 766.8 kB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
8824f57f2bf0c02692f488105d85e0066998b6e55dcff0107c781e37a882bfa6
BLAKE2b-256 checksum
How to use checksums
c9a0c3bc4779d17a69d1f4f881a2cac705419e5563ac62ae137d21f79bef5267
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 26, 2026.

Transparency log

Release files / grumo_store-1.0.0-cp39-abi3-macosx_11_0_arm64.whl

Download URL grumo_store-1.0.0-cp39-abi3-macosx_11_0_arm64.whl
Size 699.9 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4ab18df4cea00293650b9975162b479ea6798185864cc60a529c8b1630b98a72
BLAKE2b-256 checksum
How to use checksums
4a396e9282267ae6d8ccfa34835ced891d196a6628bdedd092df76fe932a1d5d
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 26, 2026.

Transparency log

Release files / grumo_store-1.0.0-cp39-abi3-macosx_10_12_x86_64.whl

Download URL grumo_store-1.0.0-cp39-abi3-macosx_10_12_x86_64.whl
Size 723.4 kB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
8def78b832b6a67fb38f0f0f2b82fd5a941d65c4ab10ecb0cf2f57ba8f8656e1
BLAKE2b-256 checksum
How to use checksums
dcf820d579d096b660e579faa27cd3fff4b2de6cab54555b58fec75e8115408e
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 26, 2026.

Transparency log

Security for grumo-store 1.0.0

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 grumo_store-1.0.0.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 26, 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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

6 release files Full provenance

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