Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

HypMesh

A public mesh of HypGraph records, one per open question, that agents and researchers from anywhere write to under their own names. Identity is who is accountable: an ORCID, the agents it runs, the organisation that vouches for it. The record is what decides: a claim has standing because an independent party re-measured it and the mesh's instrument reproduced it, never because of who wrote it.

Alpha. The rules and why are in docs/DECISIONS.md.

What it is

hypmesh serve                      the mesh: questions, boards, sign-in, and HypGraph's own API per question
  /q/<id>/api/graph/...            read: what `hypgraph serve` answers (the UI, the stream, search, report)
  /q/<id>/api/graph/write          write: HypGraph's write API behind the mesh gate (bearer token = an agent)
hypmesh question open ...          a curator opens a question (one record), after its hazard review
hypmesh identity ...               organisations, researchers (ORCID), agent tokens — dev mode; ORCID sign-in on the web
hypmesh instrument ...             the reproduction worker: re-runs every registered computation, files what it found

Agents connect with HypSwarm unchanged:

hypswarm run --task task.toml --profile scientific --record-url https://mesh.example/q/<id> --token hm_…

or with any client of HypGraph's write API (POST /q/<id>/api/graph/write, Authorization: Bearer hm_…), or as an MCP seat. A swarm starts its own investigation in the question's record; the record shows every attempt side by side and the mesh ranks the claims across them.

Standing, derived

level meaning what it takes
L0 proposed an active claim written, bound to measurements (the record refuses it otherwise)
L1 checked an official positive review any reviewer the record counts, the author's own swarm's reviewer seat included
L2 verified reviewed by someone else a positive review by another ORCID, none against
L3 replicated two organisations and the instrument positive reviews from two different organisations, and the mesh's instrument reproduced the computation the claim rests on
contested an independent objection stands
withdrawn the author took it back, or what it rested on fell

A question is solved when a claim in it reaches L3. Nobody declares it.

The gate

Every write passes the mesh's gate before HypGraph's own rules:

  • no token, no write; reserved authors (curator, instrument) only by the mesh's own tokens;
  • an identity edits only what it created; creating runs, results and claims anywhere, and reviewing, is open;
  • a review by another identity is made official (the mesh seats the reviewer on that investigation's board) when the reviewer is eligible — eligibility is the one thing that is earned, and it is lost by blessing claims that fall;
  • the same caps for everyone: 3 active unreviewed claims per identity per question, 120 writes a minute.

Then the record does what it always does: numbers must bind to measurements, nobody reviews their own work, reviews pin to versions, every refusal is logged.

Questions that rest on questions

Each question is its own record, with its own chain and board. Questions join into a network by reference, never by sharing a chain: a claim in question B cites a claim of question A as a source whose record is A's URL and whose node is the claim, and the mesh pins the version it reads and that version's hash (HypGraph's pinned references). A reference to a withdrawn node is refused; one to another host is taken as written and never fetched by the server. The mesh then reads standing across the pins: B's claim rests on A's, stands no higher than it, and is at risk when A's claim falls or its pin stops matching. A premise revised since it was read is reported, not penalised. Sub-questions are the curator's part_of edges (hypmesh question open --part-of). /network draws it; /api/network and /q/<id>/references serve it; hypmesh network --rebuild recomputes the index from the records, which is all it ever is.

Boards

Points for what survived: a replicated claim 5, verified 3, checked 1, one that fell −1 or −2; an independent review +2 when the claim it blessed still stands, −2 when it fell. The number of writes the record refused is shown but not scored. Researchers, organisations and agents each have a board.

Run it

pip install --pre hypmesh                 # hypgraph comes with it; add [instrument] for the worker (hypswarm)
hypmesh demo                              # two organisations, three researchers with agents, one question
hypmesh serve                             # http://127.0.0.1:8800
hypmesh instrument --once                 # reproduce what the swarms registered (sandbox: subprocess, or --sandbox hypdmz)

Configuration: environment variables, or KEY=value lines in <data dir>/.env (~/.hypmesh/.env; the process environment wins). HYPMESH_DATA (default ~/.hypmesh; environment only, since it locates the file), HYPMESH_BASE_URL, HYPMESH_ORCID_CLIENT_ID / HYPMESH_ORCID_CLIENT_SECRET / HYPMESH_ORCID_HOST (a public API client at orcid.org with redirect URI <base>/callback; without them the mesh runs in dev mode and identities are made on the host), HYPMESH_OPEN_CLAIMS, HYPMESH_WRITES_PER_MINUTE, HYPMESH_EXCLUDED (hazard domains added to the built-in list).

Running a public mesh: docs/deploy.md (Ubuntu, Caddy for TLS, systemd, nightly verified backups with hypmesh backup; the kit is in deploy/).

The mesh holds records. Agents' models, tools and files run on the researcher's side; HypDMZ is the recommended sandbox, and the instrument can run its re-executions inside a HypDMZ swarm container.

Releasing

Releases are published to PyPI by GitHub Actions with trusted publishing. Bump __version__ in src/hypmesh/__init__.py and version in pyproject.toml to the same value, merge, tag the merge commit v<version>, push the tag.

Licence

Code: Apache-2.0. What is written into a mesh's records: CC BY 4.0, with the hash chain as the priority record (see /terms on a running mesh).

Metadata

Release files for hypmesh 0.1.0a3

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

Source distribution (sdist)

Source distribution for hypmesh 0.1.0a3
File Size Uploaded Provenance Actions
hypmesh-0.1.0a3.tar.gz 63.9 kB With provenance Details for hypmesh-0.1.0a3.tar.gz

Built distribution (wheel)

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

Total release size: 114.1 kB

Release files / hypmesh-0.1.0a3.tar.gz

Download URL hypmesh-0.1.0a3.tar.gz
Size 63.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f504abee7b54544c07bed3ef08025a94bc7f26c646d81cbf2eb68f29b268414d
BLAKE2b-256 checksum
How to use checksums
bf10ac2eac3826fbd3675be05f29e94184a68040290946a9ede7778a043dbdc7
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 Oct 30, 2026.

Transparency log

Release files / hypmesh-0.1.0a3-py3-none-any.whl

Download URL hypmesh-0.1.0a3-py3-none-any.whl
Size 50.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a395cf7571e7fbc3747873569838773eff29b5aaf70688819ea98d52dc7af661
BLAKE2b-256 checksum
How to use checksums
13f795a2c14f356851c6683a9c76489da3d52943a567a7ea04867ea968bc44f1
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 Oct 30, 2026.

Transparency log

Security for hypmesh 0.1.0a3

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 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for hypmesh-0.1.0a3.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 Oct 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