Overview#
Grantstamp is an open ownership registry that AI agents check before they work on a file. An owner registers a stamp: fingerprints of a build plus a policy that says what is allowed. An agent that is about to decompile, port, modify or redistribute a file fingerprints it locally, asks the registry, and gets back the owner, the owner's decision for that exact use, a confidence band and a signed receipt.
Files never leave the machine they are on. Only hashes travel.
Pick your path#
| You are | Start here |
|---|---|
| An owner who wants to register a build | Register your first stamp |
| Someone connecting an AI agent or tool | Connect an agent |
| Checking whether a stamp can be trusted | Verify a stamp yourself |
| Running your own registry | Run a registry |
| Implementing the protocol in another language | Protocol specification |
The parts#
- Client (
pip install grantstamp, Apache-2.0): the command-line tool, the Python library, the MCP server and the Claude Code hook. It fingerprints files and talks to a registry. - Registry (
pip install grantstamp-server, AGPL-3.0): stores stamps, answers checks, alerts owners and keeps the public log. The public registry runs athttps://registry.grantstamp.io; anyone can run their own. - Protocol (CC BY 4.0): the bundle format, the feature definitions, the check request and response, signatures, tokens and the log.
Words used in these pages#
- Stamp: one registered title or release, with all its files and one policy. Its id looks like
stamp_m6q21daksxa188bx, and its public page ishttps://registry.grantstamp.io/s/<id>. - Band: how strong a match is. exact is the same bytes, high is very likely derived, medium is substantial overlap, low is weak.
- Use: what the caller wants to do: analyze, decompile, modify, port, extract, redistribute or train.
- Decision: what the owner's policy says for that use: allow, ask or deny. Only high and exact matches can produce a deny; a medium match turns deny into ask.
- Licence token: a statement signed by the owner that lets a named licensee through.
- Claim: a statement the owner signs about a stamp. The registry stores it so that anyone can check the stamp without trusting the registry.
- Receipt: the registry's signed record of a check or a registration.
What is new in 0.2#
- Owners sign every registration and change, and the registry publishes those signatures. See Verify a stamp yourself.
grantstamp auditchecks the log, its public witness and any stamp.- Stamps can be searched, kept unlisted, and shared as a link or QR code.
- Fair-use limits per owner, and rate limits that a caller cannot dodge with a forged header.
The full list is in the changelog.
Status#
Version 0.2 is a working prototype: tested, benchmarked and running in public, but not yet hardened for heavy traffic. Interfaces may change before 1.0. The security page says what holds today and what does not.
Source of this page on GitHub. Documentation for Grantstamp 0.2, licensed CC BY 4.0.