Receipts for AI coding agents.
Proof of what every agent change did, whether it was independently verified, and what it cost, before it merges.
Keep using Claude Code, Codex, Cursor or another supported agent the way you do now. When it finishes, Openshard gives you a receipt: what ran, what changed, whether the checks were re-run by something other than the agent, what it cost, and what could not be established.
Quickstart
pip install openshard # or: pipx install openshard / uv tool install openshard
cd your-project
openshard setup # detects your agents and installs capture
# ...use your coding agent as normal...
openshard last # the receipt for the latest run
openshard doctor shows which agents are set up and what can be captured. Needs Python 3.11+ and git; for macOS, Windows, Linux and cloud/VM sandboxes (a one-line setup script) see docs/install.md.
What a receipt shows
- What changed. Files the agent reported changing, kept apart from changes Git only observed, changes that were already there, and changes from another session. If the actor can't be established, the receipt says so.
- Whether it was verified. An agent saying "tests pass" is recorded as agent-reported, not verified.
openshard verifyre-runs your checks and records the result Openshard observed;openshard verify --ciattaches the GitHub check result for the exact commit. - What it cost. Model, tokens and estimated cost when the agent exposes them;
not recordedwhen it doesn't. - What's missing. Unknown stays
unknown. A partial capture is marked partial. A finished turn isTurn completed (unverified)until something checks it.
For CI and scripts, openshard verdict --commit <sha> answers "is this verified?" from recorded evidence (exit 0 verified, 1 failed, 2 unknown). See verdict.
Merge gate (new)
A GitHub Action that reads the head commit's receipt from the Openshard Platform and passes or fails the pull request: verified passes; failed, unfinished, or agent work with no receipt fails. Mark "Openshard gate" as a required check to stop that work from merging. Setup and exact behaviour: docs/merge-gate.md.
Supported agents
| Agent | Capture |
|---|---|
| Claude Code, Codex, Cursor, OpenCode | Hooks/plugins, set up by openshard setup |
| Google Antigravity, Grok Build | Native hooks |
| Hermes Agent | Shell hooks (openshard capture install hermes) |
| Grok Bot (Cursor cloud) | Enterprise: Cursor OpenTelemetry export. Other plans: self-report skill (agent-reported only). See Grok Bot |
| Cloud agents (Codex cloud, Claude Code on the web, CI) | Remote capture streams evidence out before the environment is destroyed |
Openshard observes these agents. It does not run, sandbox or block them. Details: Agent capture.
How trustworthy is a receipt?
Each receipt is sealed with an Ed25519 key in ~/.openshard/keys/ on the machine the agent runs on. That catches later edits by anyone without the key. It does not stop the agent itself: an agent running as your OS user can read that key and seal a forged record.
A receipt is only tamper-evident against the agent when its events were witnessed by the Openshard Platform: sent off the machine as they happened, with the Platform recording when they arrived. Witnessed still isn't verified; only a re-run or CI makes a result verified. See Signed Receipts and the hosted witness.
Local first, hosted optional
Receipts live in your repo (.openshard/) and work offline with no account. To see them across machines and your team at app.openshard.dev:
openshard login # approve this computer in the browser
openshard sync now
Sync sends only the bounded fields openshard history --json prints: no prompts, transcripts, diffs or file contents. See Platform sync.
Privacy-safe usage telemetry (versions, counts, timings, error categories; never code, prompts, file names or receipt contents) can be turned off with openshard telemetry off. See Telemetry.
Everyday commands
openshard last [--more | --full] # latest receipt
openshard history # recent agent work in this repo
openshard verify # re-run checks for the latest receipt
openshard verify --signature # check a receipt's seal offline
openshard stats # repo-level counts
Most commands take --json. Full list: CLI reference.
Advanced / experimental
These live beside the receipt path. Receipts don't depend on them, and they may change.
- Openshard Native (OSN): Openshard runs a task itself (
openshard run,openshard osn) with sandboxing, approvals and verification it actually controls. See OSN. - Model routing for native runs. See Routing.
- Learning from verified past runs. See Learning.
- Evals (
openshard eval) and Trust Score (openshard trust, a diagnostic heuristic, not a receipt signal).
Status and links
Alpha, Apache-2.0, built in the open. CI runs Ruff, mypy and pytest on Linux, macOS and Windows.
Docs · Architecture · Changelog · Contributing · Security (report issues privately)
Metadata
Release files for openshard 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| openshard-0.5.0.tar.gz | 2.8 MB | With provenance | Details for openshard-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| openshard-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for openshard-0.5.0-py3-none-any.whl |
Total release size: 4.4 MB
Release files / openshard-0.5.0.tar.gz
| Download URL | openshard-0.5.0.tar.gz |
|---|---|
| Size | 2.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
31eec7d9c136590ffcdfcacd719ce2fae3503e3e080697ea4e6540cce6076d20
|
|
BLAKE2b-256 checksum How to use checksums |
d4fbe0cf06359bf3df3c7a44695abc266d2ff948c0834f61a2acf607507f13b7
|
| 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 25, 2026.
Transparency logRelease files / openshard-0.5.0-py3-none-any.whl
| Download URL | openshard-0.5.0-py3-none-any.whl |
|---|---|
| Size | 1.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
121d8ef4d6c685e413f08580878f00f9166a777faf1e8f248d23cc387d39e77e
|
|
BLAKE2b-256 checksum How to use checksums |
d5b3f030bfd5b2c74ac6f24a576627d28fc463a593361d937614b779e7691cf9
|
| 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 25, 2026.
Transparency logSecurity for openshard 0.5.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for openshard-0.5.0.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 25, 2026.
Transparency logA 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.