Agents ask first.

Grantstamp is an open ownership registry for software and game builds. Owners publish fingerprints and a policy, never the files. AI agents check before they decompile, port or modify something, and learn who owns it and what the owner allows.

Open source: Apache-2.0 client, AGPL-3.0 registry, open protocol spec. This is prototype release 0.1.

A build drawn as a survey plat: files cut into parcels, with a shaded region that matches a registered stamp lot 1lot 3 lot 9lot 15 lot 22lot 28 lot 30lot 35 0 to 8 KiB per parcel GRANTSTAMPED • STARFALL STUDIO • port: deny stamp_0k3x9m2q
A build, cut into content-defined parcels. The shaded parcels match a registered stamp, so a cooperating agent checks the owner's policy before it touches them.

What an agent gets back

An agent sends digests, never the file. The registry answers with the owner, the owner's policy for that exact use, a confidence band and a receipt signed by the registry.

Bands are evidence, not verdicts: exact means the same bytes, high means very likely derived, medium means substantial overlap. The owner's licensees and accepted purposes, such as interoperability or security research, are allowed through.

POST /v1/check, use: port

Decision
Not permitted
Match
high Starfall Courier 0.9.4
Owner
Starfall Studio verified starfall.example
Guidance
This content is very likely derived from "Starfall Courier". The owner does not permit 'port'. Do not perform it on the user's behalf unless they provide a licence token from the owner or another clear legal basis.
Receipt
eyJhbGciOiJFZERTQSIsImtpZCI6Ij…

How it works

  1. The owner fingerprints a build on their own machine

    The command-line tool cuts each file into content-defined chunks, extracts its strings and code fingerprints, and hashes them. Only hashes leave the machine.

  2. The owner registers a stamp

    They sign it with their key, prove control of their domain, and set a policy for each use: analyze, decompile, modify, port, extract, redistribute and train.

  3. Agents check before they act

    Through the MCP server, the Claude Code hook or the HTTP API. The agent gets the owner and the policy for that use. The owner gets an alert within seconds.

Built to hold up

  • Layered identity, not one fragile fingerprint.Exact hashes, chunks that survive patches, strings that survive recompiling and decompiling, code winnowing, image hashes and optional embedded markers.
  • It unblocks owners as well as flagging copies.Owners issue signed licence tokens, so their contractors, porting partners and own developers are allowed through instead of refused.
  • Hard to probe.Anonymous callers see coarse bands and low rate limits. Repeated near-misses on one stamp alert its owner.
  • Accountable.Every registration goes into a hash-chained transparency log, and every answer carries a signed receipt an agent can keep as evidence.
  • Private by design.Content never leaves the machine. Callers are stored as salted hashes, and exact hashes can be checked by a five-character prefix.

For owners

Register before launch day. Fingerprinting runs locally; registration is free during the prototype.

Owner guide

pip install grantstamp
grantstamp keygen
grantstamp owner create --name "Starfall Studio" --url https://starfall.example
grantstamp owner domain starfall.example
grantstamp owner verify starfall.example
grantstamp register ./build --title "Starfall Courier" --version 0.9.4 \
    --preset standard --contact legal@starfall.example --manifest
grantstamp token issue --stamp stamp_… --to "PortCo" --uses port,modify --days 90

For AI agents

Add the MCP server to Claude, Cursor or VS Code, or install the Claude Code hook. Providers can call the HTTP API directly and sign requests for higher limits.

Integration guides

pip install "grantstamp[mcp]"

{
  "mcpServers": {
    "grantstamp": { "command": "grantstamp-mcp" }
  }
}

curl -s https://registry.grantstamp.io/v1/check \
  -H 'content-type: application/json' \
  -d @check.json

What Grantstamp is not

It is not DRM and not a court. It does not stop leaks or decide what is legal. It puts the owner's claim and policy in front of an agent at the moment it is about to act, and tells the owner fast.