Yuclid
Combinatorially explode your experiments
Yuclid is a CLI + Web UI tool for orchestrating and visualizing experiments in N-dimensional irregular spaces of parameters. It collects custom metrics in a single JSONL file for easy post-processing. Yuclid builds the Cartesian product of the dimensions you defined, and runs an experiment per point in that space. Experiments can be monitored and steered in real-time via CLI or Web UI.
Check out the examples.
Installation
Requires python >= 3.10
Development head:
pip install git+https://github.com/fsossai/yuclid.git
Stable release:
pip install yuclid
Overview
The main workflow is to run an experiment, watch or steer it while it is in progress, then inspect and visualize the resulting dataset.
Run and monitor experiments
yuclid runbuilds the configured space, executes every selected point, and writes its dimensions and metrics to JSON Lines or CSV.yuclid serveopens the browser interface for watching, launching, and steering runs recorded in the current directory.yuclid statusreports the progress of a live run;--watchkeeps the report current until it ends.yuclid runslists recent recorded runs and their result files.
Steer a live run
yuclid pauseandyuclid resumetemporarily stop and continue scheduling work.yuclid dropremoves matching points from the remaining plan;yuclid addrestores them or extends the plan with new values.yuclid repeatchanges the repetition count for remaining points, andyuclid orderchanges their traversal order.yuclid killabandons a point or repetition currently in flight;yuclid stopends the run and interrupts its active commands.
Revisit recorded runs
yuclid finishmeasures the points a previous run left without results.yuclid replayoptimistically runs a previous run again, preserving its intended points and repetitions while retrying failures.
Inspect and visualize results
yuclid describesummarizes a result file and reports missing points.yuclid plotexplores slices of a dataset in a graphical interface.yuclid tplotprovides the interactive plotter in a terminal.yuclid statsplots the distribution of a selected metric.
Agent integration
yuclid skillsinstalls or uninstalls Yuclid's configuration and plotting skills for Codex, Claude, or a custom Agent Skills directory.
Run yuclid <command> --help for the complete options of any subcommand.
Configuration
See Configuration.
Skills
Yuclid includes skills for agents that support the Agent Skills format. A few examples of how to install them:
yuclid skills install --agent codex # Codex, user-wide
yuclid skills install --agent claude # Claude, user-wide
yuclid skills install --directory .agents/skills # custom or project directory
yuclid-configwrites and fixes a configuration: the space, the trials, and the commands that scrape the numbers out of them.yuclid-plotreads a result file and suggests what is worth looking at, asyuclid plot/tplot/statscommands that you can paste.
Reproducible scripts
yuclid run --compile experiment.sh writes a shell script instead of running
anything. Every point of the space is unrolled, so the script contains no loops
and no branches — just the commands, in the order yuclid would have run them:
yuclid run -p quick --compile experiment.sh
sh experiment.sh # no yuclid, no configuration needed
Metadata
Release files for yuclid 0.4.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| yuclid-0.4.3.tar.gz | 131.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| yuclid-0.4.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 269.6 kB
Release files / yuclid-0.4.3.tar.gz
| Download URL | yuclid-0.4.3.tar.gz |
|---|---|
| Size | 131.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
37e7fc3a15723e5a1509b78eefabf3e7a34a184aa74bf75e6742f25f911c512c
|
|
BLAKE2b-256 checksum How to use checksums |
bc4b7e3bf33aea814ad0b4f72ea85b5f6b1c99859055eb7640751809b632e3a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.7
|
Release files / yuclid-0.4.3-py3-none-any.whl
| Download URL | yuclid-0.4.3-py3-none-any.whl |
|---|---|
| Size | 137.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fdf21f7e555cb51f6cb11caa3aa7ed87df96d4c95248f6c65e7d5b02d1d326a0
|
|
BLAKE2b-256 checksum How to use checksums |
2a4961bca78260f906dc2ca95f7c9ba66c85461d82d233ba3febdea4cc9bd490
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.7
|