Beamtime

Command reference

Every command works the same from the command line and as an agent's tool (note add is the tool note_add). Add --json to any command for its full answer, and --root <dir> to work on another project. Commands marked you are for you alone: agents tell you to run them instead. The same operations are the agent's MCP tools.

Looking at runs#

beamtime status#

Daemon, index and freshness; check before working with live runs.

beamtime status

beamtime keys#

Metrics, config keys, data keys and tags: the first call in a group.

beamtime keys [from]
Option Default
--depth all all, a number
--where field -> value or {op: value}; ops eq ne lt le gt ge in nin has exists glob; also any: [...], not: {...}. Fields: run.status, config.lr, metric.val/acc.max, metric.train/loss.mean[0:1000], value.test/acc
--hidden False include hidden (test) runs

beamtime groups#

The group tree: research status, check, verdict and run counts.

beamtime groups [from]
Option Default
--depth all all, a number
--where field -> value or {op: value}; ops eq ne lt le gt ge in nin has exists glob; also any: [...], not: {...}. Fields: run.status, config.lr, metric.val/acc.max, metric.train/loss.mean[0:1000], value.test/acc
--hidden False include hidden (test) runs

beamtime runs#

A run table: filter with where, choose columns, sort, limit.

beamtime runs [from]
Option Default
--depth all all, a number
--where field -> value or {op: value}; ops eq ne lt le gt ge in nin has exists glob; also any: [...], not: {...}. Fields: run.status, config.lr, metric.val/acc.max, metric.train/loss.mean[0:1000], value.test/acc
--hidden False include hidden (test) runs
--select fields, e.g. run.name, config.lr, metric.val/acc.max
--sort fields; a leading - sorts descending
--limit a number
--by one row per value of these fields, e.g. config.lr
--seeds e.g. config.seed: average over seeds
--to write all of it to this .csv or .json file below .beamtime/exports/ and answer the path (outside the token budget)

beamtime card#

One run's card: status, config, metric statistics, recent events.

beamtime card <run>

beamtime series#

Curves of metrics, raw or downsampled, per run or aggregated.

beamtime series [from]
Option Default
--depth all all, a number
--where field -> value or {op: value}; ops eq ne lt le gt ge in nin has exists glob; also any: [...], not: {...}. Fields: run.status, config.lr, metric.val/acc.max, metric.train/loss.mean[0:1000], value.test/acc
--hidden False include hidden (test) runs
--y required metric keys, e.g. train/loss
--x _step _step, _t, _elapsed or a metric key
--steps [first, last] step window
--points points per curve; all: every logged point, as exports ask
--smooth a number
--by aggregate runs by these fields, e.g. config.lr
--seeds e.g. config.seed: average over seeds
--band minmax minmax, std, stderr, none
--to write all of it to this .csv or .json file below .beamtime/exports/ and answer the path (outside the token budget)

beamtime data#

Logged tables, images and text of a key.

beamtime data [from] <key>
Option Default
--depth all all, a number
--where field -> value or {op: value}; ops eq ne lt le gt ge in nin has exists glob; also any: [...], not: {...}. Fields: run.status, config.lr, metric.val/acc.max, metric.train/loss.mean[0:1000], value.test/acc
--hidden False include hidden (test) runs
--step last last, all, a number
--limit a number
--clock

beamtime file#

A data file stored with a view.

beamtime file <view> <path>
Option Default
--columns which columns, in this order; default all
--draft read from this draft instead

beamtime output#

Captured stdout and stderr of a run: tail, grep, rank.

beamtime output <run>
Option Default
--tail 50 a number
--grep
--rank 0 a number

beamtime logs#

Output of a run or a group's runs; failed runs' tracebacks by signature.

beamtime logs [from]
Option Default
--depth all all, a number
--where field -> value or {op: value}; ops eq ne lt le gt ge in nin has exists glob; also any: [...], not: {...}. Fields: run.status, config.lr, metric.val/acc.max, metric.train/loss.mean[0:1000], value.test/acc
--hidden False include hidden (test) runs
--grep regular expression; show its matches
--tail 10 lines (with grep: matches) per run
--context 0 lines around each match
--rank 0 a number

beamtime wait#

Block until the runs finished or a condition holds, then say what changed.

beamtime wait [from]
Option Default
--depth all all, a number
--where field -> value or {op: value}; ops eq ne lt le gt ge in nin has exists glob; also any: [...], not: {...}. Fields: run.status, config.lr, metric.val/acc.max, metric.train/loss.mean[0:1000], value.test/acc
--hidden False include hidden (test) runs
--until finished finished: no run is running; or a condition such as 'metric.val/acc.max>0.9' that one run meets
--timeout 300.0 seconds; over MCP at most 45, then call again

beamtime diagnose#

Flag runs: non-finite, diverging, stalled, restarted, short, missing metrics.

beamtime diagnose [from]
Option Default
--depth all all, a number
--where field -> value or {op: value}; ops eq ne lt le gt ge in nin has exists glob; also any: [...], not: {...}. Fields: run.status, config.lr, metric.val/acc.max, metric.train/loss.mean[0:1000], value.test/acc
--hidden False include hidden (test) runs
--metrics metrics a run must have; default: those most runs have

beamtime resume#

What's needed to resume a killed run by hand: command, cwd, step, checkpoint.

beamtime resume <run>

beamtime compare#

Runs or groups side by side: config differences, code, final metrics.

beamtime compare <targets>
Option Default
--metrics metric keys to tabulate; default: all logged

beamtime timeline#

Notes and run events in time order.

beamtime timeline [from]
Option Default
--depth all all, a number
--where field -> value or {op: value}; ops eq ne lt le gt ge in nin has exists glob; also any: [...], not: {...}. Fields: run.status, config.lr, metric.val/acc.max, metric.train/loss.mean[0:1000], value.test/acc
--hidden False include hidden (test) runs
--types
--since
--limit a number
--full False

beamtime importance#

How strongly each config field relates to a target: Spearman and eta squared.

beamtime importance [from]
Option Default
--depth all all, a number
--where field -> value or {op: value}; ops eq ne lt le gt ge in nin has exists glob; also any: [...], not: {...}. Fields: run.status, config.lr, metric.val/acc.max, metric.train/loss.mean[0:1000], value.test/acc
--hidden False include hidden (test) runs
--target required
--fields

beamtime digest#

One page on a group: statuses, check, best per setting, failures, notes, gaps.

beamtime digest [group]
Option Default
--metric metric for the best-per-setting table; default: the proposal's

beamtime plan missing#

The plan's grid points without a run, with their config, for launching.

beamtime plan missing [group]

beamtime query#

Any query in its object form, e.g. {runs: {from: ., limit: 5}}.

beamtime query
Option Default
--query required one kind: keys, runs, series, data, timeline, groups, file, importance

Proposals, notes and memory#

beamtime notes#

Notes with descriptions and states; open questions with --open.

beamtime notes [from]
Option Default
--types
--open False only open questions
--current False leave out notes that a newer version supersedes
--full False include fields and bodies
--limit a number
--before only notes older than this note id (paging)

beamtime proposal show#

The current proposal, its earlier versions and their checks.

beamtime proposal show [group]

beamtime check#

The predictions of a proposal version and their results, with plan progress.

beamtime check [group]
Option Default
--version default: the current one

beamtime memory show#

The memory of a group and every group above it; read before designing.

beamtime memory show [group]

beamtime note add#

Add a note; verdicts get the check snapshot added automatically.

beamtime note add <group>
Option Default
--type required observation, decision, idea, question, theory, verdict
--description required one line; what listings show
--body stdin Markdown; [[run-id]], [[group#prediction]] link
--resolves ids of notes it answers
--supersedes id of a note it corrects
--completes decisions: groups declared complete
--evidence run ids, note ids, group#prediction, group@view-version, or {metric, stat, run, value}
--proposal verdicts: the judged proposal version
--verdict verdicts: prediction -> confirmed, refuted or inconclusive
--overall confirmed, refuted, inconclusive
--author who writes it: a person, or your model id such as claude-opus-5-5; default: the local account

beamtime proposal set#

Save a new proposal version; a frozen one is superseded with a reason.

beamtime proposal set <group> [file]
Option Default
--proposal stdin the proposal as an object or YAML text, instead of file
--reason why a frozen current version is superseded
--author who writes it: a person, or your model id such as claude-opus-5-5; default: the local account

beamtime memory update#

Save a new memory version; warns beyond the size budget.

beamtime memory update [group] [file]
Option Default
--body stdin the memory, instead of file
--covers-until default: the time of the newest note in scope
--author who writes it: a person, or your model id such as claude-opus-5-5; default: the local account

beamtime name#

Give a run a display name (a new version; the id never changes).

beamtime name <run> <name>
Option Default
--author who writes it: a person, or your model id such as claude-opus-5-5; default: the local account

beamtime run promote#

Count hidden (test) runs like any run from now on.

beamtime run promote <runs>
Option Default
--reason
--author who writes it: a person, or your model id such as claude-opus-5-5; default: the local account

beamtime note rm (you)#

Move a note, with the earlier versions it replaced, into the trash.

beamtime note rm <note>

Copying runs#

beamtime cp#

Copy a run or group into another group, under new run ids; never the source.

beamtime cp <source> <dest>
Option Default
--name a run: its new display name; a group: the destination's name
--with-checkpoints False copy checkpoint files in, leaving no reference to the source
--with-record False a group only: also copy proposal, notes, view, memory and blocks

Pages and views#

beamtime view new#

Start a view draft in .beamtime/drafts/: from an example or the current view.

beamtime view new <group>
Option Default
--from an example to start from; default: the page's current view
--name default: the group's name

beamtime view data#

Copy a data file into a view draft's data/ and show its columns.

beamtime view data <draft> <file>
Option Default
--name

beamtime view validate#

Check a draft: schema, queries, fields, data, and one render for layout.

beamtime view validate <draft>
Option Default
--render True also render once, if a browser exists

beamtime view render#

Screenshot a draft (or one block) to look at it; at most two rounds.

beamtime view render <draft>
Option Default
--block one block's id; default the page
--theme light light, dark
--width 1280 a number

beamtime view save#

Save a draft without errors as the page's new view version.

beamtime view save <draft>
Option Default
--message what this version changes
--author who writes it: a person, or your model id such as claude-opus-5-5; default: the local account

beamtime view show#

The YAML of a page's current (or a given) view version.

beamtime view show [group]
Option Default
--version default: the newest

beamtime view history#

A page's view versions with author and message, newest first.

beamtime view history [group]

beamtime export#

Write a page as HTML that opens from disk (--html), or its blocks as figures.

beamtime export [group]
Option Default
--html a folder for the page, which then opens from disk
--figures a folder for one figure per block
--points 1000 points per curve; all: every logged point
--size single figure width: one column (3.3 in) or two (6.9 in)

beamtime view outdated#

Views pinned to older versions of their library blocks.

beamtime view outdated [group]

beamtime view upgrade#

Re-pin a view to the newest versions of its library blocks; validates first.

beamtime view upgrade <group>
Option Default
--block one block; default all
--author who writes it: a person, or your model id such as claude-opus-5-5; default: the local account

Library blocks#

beamtime block list#

Library blocks a group can use, with descriptions and params.

beamtime block list [group]

beamtime block show#

A library block's definition and code.

beamtime block show <name>
Option Default
--group . group below the log dir, or a run id
--version default: the newest

beamtime block promote#

Start a block draft from a custom block of a group's view.

beamtime block promote <group> <block_id> <name>

beamtime block fork#

Start a block draft as a copy of a library block.

beamtime block fork <name> <new_name>
Option Default
--group . group below the log dir, or a run id

beamtime block validate#

Check a block draft: params, examples, generality, code, and a render.

beamtime block validate <draft>
Option Default
--render True render its examples, if a browser exists

beamtime block save#

Save a block draft without errors as a new library block version.

beamtime block save <draft>
Option Default
--group . where it lives; default the log dir root
--message what this version changes
--author who writes it: a person, or your model id such as claude-opus-5-5; default: the local account

beamtime block export (you)#

Copy a library block with every version into /blocks//.

beamtime block export <name>
Option Default
--to required a folder; the block goes to /blocks//
--group . the group whose library has it

beamtime block import (you)#

Copy library blocks from a project, a folder or a git repository into a group.

beamtime block import <group>
Option Default
--from required a project, a folder with blocks/, or a git URL with an optional @ref
--name one block; default all

Setup and housekeeping#

beamtime setup (you)#

Set up this project and this machine, or change the setup.

beamtime setup
Option Default
--runs where runs happen; decides the questions
--logdir the log dir; a path outside the project is linked in
--link-logdir make the project's log dir a link to this path (scratch)
--remote a remote, NAME[=HOST][:PATH] (repeatable)
--skip-remote a project remote this machine doesn't use (repeatable)
--install-remote install this version of beamtime there, after the review (repeatable)
--remote-command NAME=COMMAND: how a remote's shell starts beamtime (repeatable)
--ssh-share add ControlMaster lines to ~/.ssh/config for a host (repeatable)
--cache the index cache of this machine: memory or a path
--agents agent clients that get the MCP server and the rules
--no-agents False register no agent client
--agent-style the agent preset
--agent-set one agent setting, KEY=VALUE (repeatable)
--no-rules False write no rules block
--import runs to copy in: TensorBoard, W&B offline, MLflow, CSV, Beamtime ('' for none)
--import-notes notes files to hand to the agent or copy
--import-memory memory files to hand to the agent or copy
--git commit the research record, or ignore the whole log dir
--sdk False add the SDK to the project environment
--no-sdk False leave the project environment alone
--role on a cluster: only record runs, or also look at them here
--update stale items to update: rules, mcp, skills, settings, sdk, remote:NAME
--migrate-with start this agent with the migrate prompt after the apply step
--check False list what is stale and exit (0 nothing, 3 something)
--yes False write without the review

beamtime mcp install (you)#

Register beamtime mcp with an agent client.

beamtime mcp install
Option Default
--client claude-code claude-code, codex, cursor, vscode, gemini, opencode, windsurf, other
--instructions False add Beamtime's agent rules to AGENTS.md (CLAUDE.md for Claude Code)
--skills False write the Beamtime skills to .claude/skills

beamtime settings (you)#

The effective settings and the level each value comes from.

beamtime settings

beamtime set (you)#

Set theme, theme_mode or figure_style in this project's beamtime.yaml.

beamtime set <key> <value>

beamtime doctor (you)#

Check the installation, root, log dir and cache.

beamtime doctor

beamtime reindex (you)#

Rebuild the index from the files.

beamtime reindex

beamtime mv (you)#

Move a run into a group, or move or rename a group; running runs are refused.

beamtime mv <source> <to>

beamtime rm (you)#

Move a run or group into the trash.

beamtime rm <target>

beamtime gc (you)#

Empty the trash and remove ended runs without metrics (with --yes).

beamtime gc
Option Default
--yes False

beamtime source add (you)#

Add a remote: name, host:/path; probes ssh for the command unless given.

beamtime source add <name> <remote>
Option Default
--command how to start beamtime there; probed over ssh by default
--cache a persistent index cache on a local disk there
--project False write to this project's beamtime.yaml, not the user's

beamtime source list (you)#

List the configured remotes.

beamtime source list

beamtime source rm (you)#

Remove a remote from wherever it is configured.

beamtime source rm <name>

Processes#

beamtime ps (you)#

Every Beamtime process here: serves, index daemons, remotes, MCP servers.

beamtime ps

beamtime stop (you)#

Stop this directory's serve, or the one for a root, log dir or pid (or all).

beamtime stop [target]
Option Default
--all False stop every serve of this user

Scripts#

beamtime script#

Run Python with bt preloaded; answers its output.

beamtime script
Option Default
--code stdin Python; bt is preloaded, print what you need
--timeout 60 seconds before the script is killed
--author who writes it: a person, or your model id such as claude-opus-5-5; default: the local account
↑↓ to move to openesc to close