Skip to main content

Proof-chain registry for AI agents — backed by Walrus for persistent, portable, verifiable memory

Project description

verity

A proof-chain registry for AI agents — backed by Walrus for persistent, portable, verifiable memory.

CI PyPI version Python 3.11+ License: MIT


What it does

verity gives AI agents structured, portable memory:

feature → claim → test → evidence → release
                                       │
                              verity push ──► Walrus blob ID (immutable)
                              verity pull ◄── restore anywhere, any agent
  1. Proof-chain registry — track what an agent claimed, what it tested, and what it proved, all in a single verity.json file.
  2. Agent memory layer — push the registry to Walrus (or MemWal) and pull it back in any future session, on any machine, by any agent.

Built for the Sui Overflow hackathon, Walrus track.


Install

pip install walrus-verity

# With MemWal support
pip install "walrus-verity[memwal]"

Quick start

verity init --repo-id repo:my-project

verity add feature feat:auth "User authentication"
verity add claim   clm:auth.t1 "Login succeeds" --feature feat:auth
verity add test    tst:auth.unit "Unit test" --claim clm:auth.t1 --kind unit --path tests/test_auth.py
verity add evidence evd:auth.run1 "CI run" --test tst:auth.unit --artifact artifacts/run1.json --status passed

verity validate          # → OK
verity release 1.0.0     # fail-closed — all verified claims need passed evidence
verity push              # → blob: AbCdEfGh…

# Any agent, any machine, any future session:
verity pull AbCdEfGh…

Documentation

Topic
CLI Reference All commands: init, add, validate, release, push, pull, log
Python API VeritySession, low-level functions, custom backends
Schema Reference verity.json fields, ID prefixes, status values, validation rules
Walrus Setup Testnet, mainnet, custom endpoints
MemWal Setup Env vars, delegate keys, namespace isolation
Multi-Agent Patterns Handoff pattern, audit trail, dry-run

Acknowledgements

The proof-chain model — feature → claim → test → evidence → release — is directly inspired by the ssot-registry project, licensed under Apache 2.0. verity adapts that model for AI agents and Walrus-backed persistence.


Contributing

See CONTRIBUTING.md. Run tests with uv run pytest.

License

MIT — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

walrus_verity-0.1.3.tar.gz (74.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

walrus_verity-0.1.3-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file walrus_verity-0.1.3.tar.gz.

File metadata

  • Download URL: walrus_verity-0.1.3.tar.gz
  • Upload date:
  • Size: 74.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for walrus_verity-0.1.3.tar.gz
Algorithm Hash digest
SHA256 a47492f9bbcdcfde43c0d3ad1a036a3ea6bf2597c25e50175c2365ace67c3ee2
MD5 ac3bdd464bdc3394e0315c7499cb7223
BLAKE2b-256 0a397ea58bcab17c6b29091559827cc455339206c7c2c8ed74c52a78a3bbc2dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for walrus_verity-0.1.3.tar.gz:

Publisher: publish.yml on vantage-ola/verity

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file walrus_verity-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: walrus_verity-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for walrus_verity-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7a4080a46cf76cfb372549126b1bea92fd97974b7de58f36aabc3e6288918618
MD5 76beec21d98fb0a47c4ef66e6ef07fde
BLAKE2b-256 3ab95fc0afed731ba56de85d7084aaba4a47046a7c75fe14417934bb045cf7bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for walrus_verity-0.1.3-py3-none-any.whl:

Publisher: publish.yml on vantage-ola/verity

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page