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

Generated command reference · v0.76.0

tine budget

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

Generated from the pinned release’s tine help --json, validated against tine-help/1. Flags and defaults below come from its parser. A null default means unset or withheld as machine-specific.

All commands

tine budget

Budget policies and the signed spend ledger

tine budget [-h] {sign-policy,apply,record,status,ledger,check,gate} ...

tine budget apply

Put a signed policy on its subject's ledger

tine budget apply [-h] --key KEY [--repo PATH] [--at TIME] [--json] [--text] PATH
Argument / flagContract
policyRequired

An opentine-budget-policy/1 file

--keyRequired

Ed25519 private key

--repo

Repository

Default: "."

--at

YYYY-MM-DDTHH:MM:SSZ (default: now)

--json

Print a JSON object

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine budget check

Decide the next action (exit 1 when refused)

tine budget check [-h] [--key KEY] [--repo PATH] [--at TIME] [--json] [--text] SUBJECT
Argument / flagContract
subjectRequired

loop:NAME or agent:NAME

--key

Ed25519 private key (records flags)

--repo

Repository

Default: "."

--at

YYYY-MM-DDTHH:MM:SSZ (default: now)

--json

Print a JSON object

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine budget gate

Agent hook: refuse the tool call on stdin at the limit

tine budget gate [-h] [--agent {claude-code,codex,gemini,generic}] --key KEY [--repo PATH] [--at TIME] [--json] [--text] SUBJECT
Argument / flagContract
subjectRequired

loop:NAME or agent:NAME

--agent

Hook dialect (default: generic)

Choices: claude-code, codex, gemini, generic

--keyRequired

Ed25519 private key

--repo

Repository

Default: "."

--at

YYYY-MM-DDTHH:MM:SSZ (default: now)

--json

Emit {command, exit_code, output} JSON (errors as {error: {code, message}})

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine budget ledger

Every ledger entry in chain order, with totals

tine budget ledger [-h] [--key KEY] [--repo PATH] [--at TIME] [--json] [--text] SUBJECT
Argument / flagContract
subjectRequired

loop:NAME or agent:NAME

--key

Ed25519 private key (records flags)

--repo

Repository

Default: "."

--at

YYYY-MM-DDTHH:MM:SSZ (default: now)

--json

Print a JSON object

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine budget record

Append the recorded cost of runs as spend

tine budget record [-h] [--gpu-hours N] [--egress-bytes N] --key KEY [--repo PATH] [--at TIME] [--json] [--text] SUBJECT RUN [RUN ...]
Argument / flagContract
subjectRequired

loop:NAME or agent:NAME

runsRequired

Run files or ids

--gpu-hours

GPU-hours the runs used (recorded as given)

Default: 0

--egress-bytes

Bytes the runs sent out (recorded as given)

Default: 0

--keyRequired

Ed25519 private key

--repo

Repository

Default: "."

--at

YYYY-MM-DDTHH:MM:SSZ (default: now)

--json

Print a JSON object

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine budget sign-policy

Write a signed opentine-budget-policy/1

tine budget sign-policy [-h] --serial SERIAL [--tokens N] [--gpu-hours N] [--wall-clock-s N] [--egress-bytes N] [--money-usd N] [--on-limit {deny,escalate}] --out PATH --key KEY [--repo PATH] [--at TIME] [--json] [--text] SUBJECT
Argument / flagContract
subjectRequired

loop:NAME or agent:NAME

--serialRequired

Higher than the one in force

--tokens

Limit: tokens

--gpu-hours

Limit: gpu_hours

--wall-clock-s

Limit: wall_clock_s

--egress-bytes

Limit: egress_bytes

--money-usd

Limit: money_usd

--on-limit

At the limit: refuse, or refuse and route to oversight

Choices: deny, escalate

Default: "deny"

--outRequired

Where to write the policy

--keyRequired

Ed25519 private key

--repo

Repository

Default: "."

--at

YYYY-MM-DDTHH:MM:SSZ (default: now)

--json

Print a JSON object

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine budget status

Policy in force, totals, remaining and findings

tine budget status [-h] [--key KEY] [--repo PATH] [--at TIME] [--json] [--text] SUBJECT
Argument / flagContract
subjectRequired

loop:NAME or agent:NAME

--key

Ed25519 private key (records flags)

--repo

Repository

Default: "."

--at

YYYY-MM-DDTHH:MM:SSZ (default: now)

--json

Print a JSON object

Default: false

--text

Human-readable output even if output.format=json

Default: false

Command-export source · CLI guide and behavioral notes