Skip to main content
Pre-release

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

Watchbook

Watchbook keeps a research register true over time. A register is a set of typed, linked tables. Agents propose additions and corrections, each backed by a source and a verbatim quote that the engine checks, and nothing changes until a person accepts it. People get a spreadsheet; agents get a CLI now, and an MCP (Model Context Protocol) server is coming.

Developer preview (0.1.0a1). The loop works from a terminal: load a schema, seed a register from a spreadsheet, take proposals with their quotes checked, review them, keep the history and export the register again. Not there yet: the MCP server, the review UI (watchbook serve) and the bundled agent skills, all due in v0.1. Formats and commands may still change.

See also the changelog and the security policy.

Install

Watchbook needs Python 3.12 or later. Pre-releases are hidden from a plain install, so ask for one:

pip install --pre watchbook
# or
uv tool install --prerelease allow watchbook
watchbook --version

Quickstart

The example register lives in this repository. Clone it and run the loop on a copy (the quote check fetches pages, so it needs a network connection):

git clone https://github.com/CoefficientSystems/watchbook && cd watchbook
DEMO="$(mktemp -d)/frameworks" && cp -R examples/frameworks "$DEMO" && rm -rf "$DEMO/data"
watchbook import "$DEMO/frameworks.xlsx" -p "$DEMO"                 # seed the register
watchbook propose --jsonl "$DEMO/demo/proposals.jsonl" -p "$DEMO"   # what an agent sends
watchbook review -p "$DEMO"                                          # a person decides, at a terminal
watchbook export "$DEMO/reviewed.xlsx" -p "$DEMO"

To start a register of your own, run watchbook init my-register, edit my-register/schema/register.yaml, then watchbook schema check -p my-register.

Developing

You need uv.

uv sync
uv run watchbook --version
uv run pytest

CONTRIBUTING.md has the full set of checks CI runs.

Try the schema commands

The schema loader is the first part of the engine that works. Point it at the example register:

uv run watchbook schema check -p examples/frameworks          # frameworks: schema OK, 3 tables in 1 schema file
uv run watchbook schema show frameworks -p examples/frameworks
uv run watchbook schema check -p examples/frameworks --json   # what agents read

Then break a copy to see how problems are reported, with file, line and a stable code:

T=$(mktemp -d) && cp -R examples/frameworks/watchbook.yaml examples/frameworks/schema "$T"
sed -i.bak 's/name_field: version/name_field: verison/' "$T/schema/register.yaml"
uv run watchbook schema check -p "$T"          # ...register.yaml:111: tables.releases.name_field: name_field 'verison' is not a field; did you mean 'version'?
uv run watchbook schema check -p "$T" --json   # exit code 3, code "schema.name_field"

To start a register of your own, watchbook init writes watchbook.yaml and a placeholder schema to edit, and creates the store:

uv run watchbook init my-register    # then edit my-register/schema/register.yaml
uv run watchbook schema check -p my-register

docs/cli.md lists every error code and exit code.

Try the loop

The whole cycle works from a terminal: an agent proposes changes with a source and a quote, Watchbook fetches each page and checks the quote, a person reviews, and the spreadsheet is exported. examples/frameworks/DEMO.md runs it on a copy of the example register in five commands (the quote check needs a network connection):

DEMO="$(mktemp -d)/frameworks" && cp -R examples/frameworks "$DEMO" && rm -rf "$DEMO/data"
uv run watchbook import "$DEMO/frameworks.xlsx" -p "$DEMO"                 # seed the register
uv run watchbook propose --jsonl "$DEMO/demo/proposals.jsonl" -p "$DEMO"   # what an agent sends
uv run watchbook proposals -p "$DEMO"                                       # verified, not_found, fetch_failed
uv run watchbook review -p "$DEMO"                                          # a person decides, at a terminal
uv run watchbook export "$DEMO/reviewed.xlsx" -p "$DEMO"

Agents use propose, search, get, proposals and history, each with --json. Deciding is for people: review, accept and reject refuse to run without an interactive terminal. docs/cli.md describes every command and its JSON output.

Documentation

Read For
CONTEXT.md The domain words: register, record, proposal, claim, quote check
docs/adr/ The architecture decisions and the reasons behind them
docs/formats.md The project config and schema formats (version 1)
docs/cli.md The command line: every command, --json output, the quote check, exit codes and error codes
docs/store.md The store, for engine developers: opening a register, reading and writing records, transactions, history and errors
examples/frameworks/ A worked example register, also the shared test fixture
examples/frameworks/DEMO.md The loop end to end: propose with quotes, the quote check, review and export
CONTRIBUTING.md How to work on Watchbook, and the rules on client content and code provenance
CLAUDE.md Notes for coding agents working in this repository

Repository layout

Path What it holds
src/watchbook/ The package. schema, store, cli, init and evidence are implemented; core has validation, lint, proposals, decisions, the bulk-accept policy, history and undo; and io has the YAML snapshot and the XLSX import and export. mcp, web and skills are placeholders until v0.1 fills them
tests/ The test suite
examples/frameworks/ The example register and its recorded source pages
docs/ The format spec, the CLI contract, the store guide and the ADRs

Licence

BSD 3-Clause. See LICENSE.

Metadata

Release files for watchbook 0.1.0a2

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

Source distribution (sdist)

Source distribution for watchbook 0.1.0a2
File Size Uploaded Provenance Actions
watchbook-0.1.0a2.tar.gz 576.2 kB With provenance Details for watchbook-0.1.0a2.tar.gz

Built distribution (wheel)

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

Total release size: 737.9 kB

Release files / watchbook-0.1.0a2.tar.gz

Download URL watchbook-0.1.0a2.tar.gz
Size 576.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5fe3c00c9ff7ee9850076d00d29946e664d5effa65ffa35d19250211389393f2
BLAKE2b-256 checksum
How to use checksums
70946ea2918630b1c332a017c8305c9a13049bad5db03aa2770225c3ed6c2b87
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 Dec 1, 2026.

Transparency log

Release files / watchbook-0.1.0a2-py3-none-any.whl

Download URL watchbook-0.1.0a2-py3-none-any.whl
Size 161.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2e62b0fc0083aa97f2237113dc28f9dfc9cd300da495ae73901d85782132ca46
BLAKE2b-256 checksum
How to use checksums
0586ce974d2649d20233bce89b971442c1533d9d0b72d84213a081b1e4728d25
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 Dec 1, 2026.

Transparency log

Security for watchbook 0.1.0a2

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.

Select from 2 files

Attestation for watchbook-0.1.0a2.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 Dec 1, 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.

Release history Release notifications | RSS feed

This release
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