Browse documentation

Portable .tine files default to v5 (since 0.42). --for-legacy writes v4. The .tine/ repository format is v3. tine evidence export writes v4. Formats and protocols.

Docs target stable release v0.76.0.Stable vs main checked 2026-11-21

Tested with v0.76.0

Capture, inspect, verify, export

This smoke test needs Python 3.11–3.14 and no provider key. It creates an illustrative run locally; it does not execute an agent or claim to capture a real session.

1. Install the pinned release

pip install opentine==0.76.0
mkdir tine-quickstart
cd tine-quickstart

2. Write an illustrative record

Save this as demo.py, then run python demo.py:

from opentine import Run, RunStatus, StepKind

run = Run(id="quickstart", model_info="offline-demo",
          user_prompt="Record an illustrative event")
run.add_step(StepKind.done, {"text": "An illustrative recorded event."})
run.status = RunStatus.completed
run.save("quickstart.tine")

The default portable writer is v5. To capture real work instead, import an existing agent session or record a supported harness. Capture fidelity depends on what the producer exposes.

3. Inspect and verify

tine show quickstart.tine --json
tine verify quickstart.tine --offline --json > verify.json
tine schema validate verify.json --json

Read each check’s status and trust basis. This unsigned fixture demonstrates internal consistency; it does not establish authorship, that an agent acted truthfully, or that an action was safe. Use a separately obtained public key for signature verification. Signing keys · verification contract.

4. Export evidence

tine evidence export quickstart.tine --out evidence

Use a new output directory. The evidence folder contains manifests, reports, a timeline and copied runs. Evidence export writes portable runs as v4 even though ordinary saves default to v5. Review recorded data before sharing it.

5. Open the local viewer

tine ui quickstart.tine --open

The viewer is read-only and binds to loopback. Local and browser verification results are labelled separately. An embedded key without an outside trust anchor remains unpinned; unavailable artifact bytes remain unchecked. Viewer details.

Next steps

Build an air-gapped audit kit, run evals, or export and leave a tenant. Read the compatibility limits before selecting a verifier or enabling dictionary compression.