Skip to main content
Loss of provenance

A previous release had provenance metadata, but this release does not. View details.

openmneme

Primitives for local-first AI agents. Zero dependencies, pure stdlib.

v0.2.0 ships five primitives, mirrored in Python and JavaScript:

Primitive Purpose
slash_skill /skill-name invocation protocol — first token is the tool call
plan_mode Read-only pre-execution planning gate (enter / write / exit)
reviewer_gate Blind adversarial audit, fire-and-forget, parallel reviewers
rlm Artifact-by-reference with TTL — store big blobs, pass tiny refs to LLM
provenance Content-addressed lineage DAG, append-only audit trail

Install

pip install openmneme

Quick start

from openmneme import slash_skill, plan_mode, reviewer_gate, rlm
import asyncio

# 1. Slash-skill
print(slash_skill.parse("/weather Tokyo"))   # -> 'weather'
print(slash_skill.args_after("/weather Tokyo"))  # -> 'Tokyo'

# 2. Plan mode
p = plan_mode.Plan(session_id="s1")
p.enter("migrate ingest").write(["read schema", "write migrator", "smoke test"]).exit(True)

# 3. Reviewer gate
async def my_reviewer(text):
    return reviewer_gate.ReviewVerdict(clean=True, issues=[], reviewer="haiku")
verdict = asyncio.run(reviewer_gate.gate("see fig. 1 et al.", [my_reviewer]))

# 4. Artifact store (RLM)
store = rlm.ArtifactStore()  # ~/.openmneme/artifacts
art = store.register("s1", b"col1,col2\n1,2\n", "csv", "tiny table")
print(art.short_ref())  # -> 'art:26028620 [csv, 18B, 0h, "tiny table"]'
data = store.resolve("s1", art.id)  # -> b'col1,col2\n1,2\n'

Design

  • No dependencies — pure stdlib for Python, zero deps for JS.
  • Async where it matters — reviewer_gate and rlm are async-native; slash_skill and plan_mode are sync.
  • Errors as values — each primitive raises a typed exception (e.g. SkillNotFound, PlanError, ArtifactNotFound).
  • Cross-language symmetry — Python and JS expose the same method names.

Roadmap

  • v0.2.0 — prune() cron hook, reviewer pool presets (haiku / sonnet / opus), Hermes skill bridge.
  • v0.3.0 — Provenance DAG (artifact → review → plan chain), remote artifact store.
  • v1.0.0 — Stable API, real-world integrations (Hermes, AutoPKM, OpenScience).

License

Apache-2.0

Metadata

Release files for openmneme 0.3.0

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

Loss of provenance

These files do not have provenance metadata, despite files in a prior release including this data.

We recommend further investigation before installing these files. View details.

Source distribution (sdist)

Source distribution for openmneme 0.3.0
File Size Uploaded Provenance Actions
openmneme-0.3.0.tar.gz 15.1 kB Without provenance Details for openmneme-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for openmneme 0.3.0
File Interpreter ABI Platform Actions
openmneme-0.3.0-py3-none-any.whl Python 3 none any Details for openmneme-0.3.0-py3-none-any.whl

Total release size: 29.4 kB

Release files / openmneme-0.3.0.tar.gz

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL openmneme-0.3.0.tar.gz
Size 15.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8018e6708741931f3b98c2331fb5f1ecbfee87d8873038b102aa82e97fc777be
BLAKE2b-256 checksum
How to use checksums
5e0a2278b265d396c21185a39cee3a02cfb384afe1454cc72621b864c3c4a5b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / openmneme-0.3.0-py3-none-any.whl

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL openmneme-0.3.0-py3-none-any.whl
Size 14.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f6a5ebaf8d4c4fd4e1e29bbc4699008a433aa7194fc1202d08571f280f3c781d
BLAKE2b-256 checksum
How to use checksums
245a12e4458577eeea111dc0df22e0c86b9f2e47dc94149af8cfd5e2fd9a88dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for openmneme 0.3.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.

Loss of provenance

A previous release of these files had provenance metadata, but this release does not.

While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.

Release comparison

  • Removed 0.1.0 2 files With provenance
  • Added 0.3.0 2 files Without provenance

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