Skip to content
fig1_kinetics.py80 × 60 mm
Plot top boundary · 19.59 ptPlot bottom boundary · 145.32 pt01020304050600.00.20.40.60.81.0Reaction kineticsReaction time (min)ConversionCatalyst (k = 0.125 min−1)Blank (k = 0.042 min−1)
80 mm
60 mm
Times New Roman · 9 pt26 semantic objects · hover to inspect

( Prologue )

Your Python code stays exactly as you wrote it.

Tavotto opens the script directly rather than parsing a flat PDF. It executes your matplotlib code once, retains the live figure objects in memory, and assigns every title, curve and tick label a stable, semantic name. Layout adjustments are recorded cleanly alongside the script and re-applied automatically whenever your code runs.

( I — Dissection )

Inspect the figure by its constituent objects.

A standard PDF flattens graphics into disconnected lines and outlines. In matplotlib, every element is a structured object. We preserve those objects intact—so a legend remains a true legend, and a fitted curve stays linked to its underlying dataset.

No. 01axes_0 · axis frames, tick marks
01020304050600.00.20.40.60.81.0
No. 02ticklabels · 13 labels
Reaction kineticsReaction time (min)Conversion
No. 03title, labels · text
No. 04axes_0.lines_0 · Catalyst
No. 05axes_0.lines_1 · Blank
Catalyst (k = 0.125 min−1)Blank (k = 0.042 min−1)
No. 06axes_0.legend · legend

( II — How it runs )

Four isolated processes, five execution stages.

Follow the full pipeline from raw Python code to the interactive canvas. Scroll to observe the live session state in real time.

  1. 01 / 05worker

    Run

    A sandboxed worker executes your script in your own Python: working directory moved, argv replaced, savefig intercepted. The live figure persists in memory.

  2. 02 / 05worker

    Name

    The engine traverses matplotlib’s artist hierarchy, assigns deterministic positional IDs, and reports geometric properties, bounding boxes, and actual stroke paths.

  3. 03 / 05Interface

    Hit

    Hit-testing happens instantly in the UI: within 1.5 mm of actual vector paths for curves, and by precise bounding box for labels. A click always selects a semantic object, never an anonymous pixel.

  4. 04 / 05Interface → tavotto-workerd → worker

    Record

    Edits preview locally, once per frame, without making network requests. On mouse release, the override list syncs to the worker to re-render, archiving initial states for undo.

  5. 05 / 05Local server → worker

    Replay

    When you reopen the project, the script re-runs and saved overrides reapply in sequence. The same objects produce identical visual results, verified element by element.

Live runtime session · Fig1_kineticsStep 01
InterfaceLocal servertavotto-workerdworker
identical

Processes communicate via JSON Lines over standard streams (worker protocol v1); each message includes a request ID, worker generation, and render revision. Stale queued renders for a figure are superseded by the newest request, whereas export tasks are never dropped or coalesced. Automated CI verifies that live sessions, full replays, fresh processes, and write-back reloads produce identical object manifests element by element.

( III — Replay )

Re-run the script with fresh data. Your visual edits remain intact.

Tweaking a figure manually in a vector editor traps your changes inside that one static PDF; the next time you re-run your script, all manual work is wiped out. In Tavotto, every adjustment is saved as an external override re-applied on every run. Below are three typical revisions required by journal publication profiles:

Manually retouched

traditional vector editor
01020304050600.00.20.40.60.81.0Reaction kineticsReaction time (min)ConversionCatalyst (k = 0.125 min−1)Blank (k = 0.042 min−1)
  • Bold axis titlesmanual tweak
  • Tick labels adjusted from 8 to 9 ptmanual tweak
  • Legend adjusted from 8 to 9 ptmanual tweak

Edited non-destructively in Tavotto

overrides
01020304050600.00.20.40.60.81.0Reaction kineticsReaction time (min)ConversionCatalyst (k = 0.125 min−1)Blank (k = 0.042 min−1)
  • Bold axis titlesoverride
  • Tick labels adjusted from 8 to 9 ptoverride
  • Legend adjusted from 8 to 9 ptoverride
{"gid":"axes_0.xlabel","prop":"weight","value":"bold"}
{"gid":"axes_0.ylabel","prop":"weight","value":"bold"}
{"gid":"axes_0.xticks","prop":"fontsize","value":9}
{"gid":"axes_0.yticks","prop":"fontsize","value":9}
{"gid":"axes_0.legend","prop":"fontsize","value":9}

Both workflows initially reflect the same three revisions.

( IV — Proof )

Type is measured on the printed page.

A 9 pt label rarely stays 9 pt once a multi-panel figure is scaled down to fit a journal column. Tavotto’s preflight measures every line of text at its final physical size against the profile you chose (your lab’s own, or a specific title from the built-in journal library), and halts export whenever blocking findings remain. The column width and font floor shown below come straight from that profile, not from values hard-coded into Tavotto.

01020304050607080mm80 mm column01020304050600.00.20.40.60.81.0Reaction kineticsReaction time (min)ConversionCatalyst (k = 0.125 min−1)Blank (k = 0.042 min−1)72.0 mm
Panel scaling90%
  • Axis titles8.1 ptMeets the profile
  • Tick labels7.2 ptBelow the profile’s 8 pt floor
  • Legend7.2 ptBelow the profile’s 8 pt floor

Export refused · 2 blocking findings

Profile lab-publication-v1 · column 80 mm · minimum type 8 pt (inclusive)

A built-in journal library

Pick a journal in Settings › Journal specs and preflight checks the figure against that journal’s own guidelines. Each journal profile sits as an override on a neutral baseline, so a rule only alters the verdict where the journal explicitly states it.

Fig1_kinetics, drawn at the narrowest width

Springer Nature · 1 / 6

Nature

Column width
89 / 183 mm
Smallest type
5 pt recommended
Resolution
300 dpiminimum
For guidance, Nature's standard figure sizes are 89 mm wide (single column) and 183 mm wide (double column).

In the journal’s words · nature.com · 2026-10-31

AAAS · 2 / 6

Science

Column width
57 / 121 / 184 mmusually
Smallest type
5 pt minimum
Resolution
Not specified by this journal
The width of figures, when printed, will usually be 5.7 cm (2.24 inches or 1 column), 12.1 cm (4.76 inches or 2 columns), or 18.4 cm (7.24 inches or 3 columns).

In the journal’s words · science.org · 2026-10-31

Elsevier · 3 / 6

Acta Materialia

Column width
90 / 140 / 190 mm
Smallest type
7 pt usually
Resolution
300–1000 dpiby image type
As a general rule, the lettering on the artwork should have a finished, printed size of 7 pt for normal text and no smaller than 6 pt for subscript and superscript characters.

In the journal’s words · elsevier.com · 2026-11-03

ACS · 4 / 6

Journal of the American Chemical Society

Column width
84.7 / 177.8 mmat most
Smallest type
Not specified by this journal
Resolution
300 dpirecommended
Single-column graphics can be sized up to 240 points wide (3.33 in.) and double-column graphics must be sized between 300 and 504 points (4.167 in. and 7 in.).

In the journal’s words · researcher-resources.acs.org · 2026-10-31

Oxford University Press · 5 / 6

Bioinformatics

Column width
86 / 178 mm
Smallest type
7 pt recommended
Resolution
350 dpi
All figures should be formatted to fit into, or be reduced to, a single (86 mm) or double (178 mm) column width.

In the journal’s words · academic.oup.com · 2026-11-02

中国科学杂志社 · 6 / 6

科学通报

Column width
100–170 mmrange
Smallest type
7 pt
Resolution
500~600 dpirange
汉字为幼圆, 英文字为 Arial, 字体颜色为黑色, 字高统一为7 pt.

In the journal’s words · files.sciengine.com · 2026-10-31

Six of the library’s journals, picked for how much they disagree. Every value and sentence is read from the product’s journals.json (catalogue rev 1); quotes stay in the journal’s own language.

Every number has a source
Each rule carries a short quote from the journal’s guidelines alongside a link straight to the original passage. If a value has no source, it cannot enter the library and is rejected when the catalogue loads.
Unstated means unjudged
Where a journal says nothing about fonts or aspect ratios, nothing is invented. The source card simply marks the item “not specified by this journal”.
Agents use the same library
An AI editor connected over MCP can specify the journal by id; it gets the exact same rules, verdicts and proof report as the canvas.

What the default lab profile enforces

80 / 150 mm
Single- and double-column widths defined in lab profile v1; if you select a journal, values come straight from its own guidelines
8 pt
Lab profile v1’s font floor, evaluated at final printed size; matching the floor exactly still passes
300 dpi
Minimum resolution for rasterised output
0.5-1.5 pt
Standard stroke widths for axis frames and plotted curves

A panel scaled to 60%: evaluated at 9 pt × 0.6 = 5.4 pt. Flagged as non-compliant.

How preflight reports format discrepancies

Blocking
Blocks export until you explicitly acknowledge and confirm.
Warning
Clearly highlighted so potential formatting issues are never silently ignored.
Not verifiable
Elements outside automated checking (such as text baked into an imported bitmap) are flagged for human review.
Suggestion
Suggestions only: Tavotto never alters your figures without your consent.

A single vector source of truth.

Every export starts from the same vector PDF composition: the PDF preserves selectable text and math symbols, while PNG and TIFF are high-resolution rasterisations of that exact PDF. All formats stay in sync.

( V — Press )

Our custom page compositor.

RenderCore replaced PyMuPDF in v0.17. It arranges panels on physical millimetre pages, writes the vector PDF itself, and rasterises PNG and TIFF outputs from that exact PDF, so the formats never disagree.

One page, from millimetres to pixels

  1. 1Composed page documentmillimetres
  2. 2Render intermediate representation (IR)Six core node types
  3. 3RenderPlanper-format
  4. 4PDF export pipelineqpdf · HarfBuzz text shaping
  5. 5Clean vector PDFRetains selectable, searchable text
  6. 6Rasterisation child processPDFium in an isolated worker
  7. 7High-resolution PNG / TIFFDerived from a single pixel buffer

High-resolution rasterisation

A4 @ 1200 ppi

2.8× faster

PyMuPDF1,844 ms
RenderCore653 ms

A3 CAD @ 600 ppi

2.1× faster

PyMuPDF1,466 ms
RenderCore691 ms

A3 poster @ 1200 ppi

2.2× faster

PyMuPDF5,199 ms
RenderCore2,325 ms

Peak memory footprint

A4 @ 1200 ppi

3.3× less

PyMuPDF857 MB
RenderCore261 MB

A4 @ 600 ppi

We concede this edge case

PyMuPDF257 MB
RenderCore334 MB

Multi-panel page composition

poster canvas → PDF

3.8× faster

Before132 ms
After35 ms

figure7 canvas → PDF

6.1× faster

Before89 ms
After14.6 ms

first export, 0.5 s after startup

1.8× faster

Before240 ms
After134 ms

A4 → PNG 600 + TIFF 600

3.9× faster

Before775 ms
After199 ms

Medians of interleaved benchmark runs on the developer’s Apple M4 Pro (ADR 0077). Unmeasured platforms are left without estimated figures.

Intermediate representation with six node types
The IR consists of six concise node types: page, group, path, image, imported page, and shaped text. Millimetre-to-point conversions and y-axis flips are consolidated into a single function; NaN coordinates and non-invertible matrices are rejected before reaching the PDF writer.
Predicts rasterisation before export runs
Every graphical operation is explicitly flagged as native vector, rasterised, or unsupported for each target format. Tavotto can warn you exactly which elements will be converted into bitmaps before you export.
Native dependencies isolated in dedicated subprocesses
Because PDFium is not thread-safe, it is isolated in a serialized child subprocess equipped with mutexes, bounded task queues, timeouts, and automatic restart handling. Pixel buffers are returned efficiently via temporary files.
PNG and TIFF outputs are pixel-identical
Both raster formats are encoded from the same 8-bit sRGB memory buffer, ensuring identical pixel values. Live preview caches are keyed by content hash. The legacy backend has been entirely removed from the runtime with automated scans verifying zero residual dependencies, preventing silent fallbacks.

Known open issues

  • Exporting A4 documents at 600 ppi exhibits higher peak memory usage than the legacy PyMuPDF pipeline (see the final row under Peak memory).
  • Banded rendering can increase PNG file size in certain vector-dense figures; a benchmark CAD diagram expanded from 1.4 MB to 2.3 MB.

High-responsiveness drag previews

Interactive drag previews deliberately bypass RenderCore. While dragging, the interface applies local DOM transforms without sending backend network requests; the worker re-renders once when you release the mouse.

0Backend network requests during active drag
17–28 msSingle attribute re-render on a warm worker
36–37 msTotal latency from mouse release to updated canvas

1.96 ms, using roughly 12% of the standard 16.7 ms frame budget at 60 Hz · All benchmarks were conducted on a developer Apple M4 Pro machine. Windows and lower-spec hardware have not been measured, so no figures are given for them.

( VI — Agents )

AI coding agents follow the exact same rules.

The connection works both ways, right from Settings. Nine AI editors (including Codex, Claude Code, Cursor, and VS Code) connect directly to Tavotto’s local MCP server. Inside Tavotto, the figure assistant talks to whichever model you connect: through Codex or Claude Code installed in-app, or by entering an API key from your provider. Either way, agents edit figures the same way you do on the canvas: by submitting overrides that must pass preflight before export. Suggested file paths are not automatically approved; you always decide which directories to grant access to.

Use Tavotto in your AI editorSettings › Figure assistants › Connect AI editors

Use your model in TavottoSettings › Figure assistants › Connect an AI

  • CodexCodex plugin
  • Claude Codeclaude mcp add
  • Cursor~/.cursor/mcp.json
  • VS Codemcp.json
  • TRAEmcp.json
  • ZCodeconfig.json
  • WorkBuddymcp.json
  • Claude Desktopclaude_desktop_config.json
  • Antigravitymcp_config.json
  • OpenAIGlobal
  • AnthropicGlobal
  • DeepSeekChina
  • KimiChina
  • Zhipu GLMChina
  • Z.AIGlobal
  • MiniMaxChina · Global
  • Alibaba BailianChina
  • Vercel AI GatewayGlobal
  • OpenCode GoGlobal
  • SSyntheticGlobal
  • +Any compatible endpointAnthropic- or OpenAI Responses-compatible
Every option listed here is available in the released build. Clicking “Connect” writes only the tavotto entry into the editor’s own config file, creating a backup first; clicking disconnect removes it again.
  1. YouMake axis titles bold, ensure all fonts stay at 8 pt or larger, and export a vector PDF.
  2. Agenttavotto_apply_overrides axes_0.xlabel, axes_0.ylabel · weight · bold
  3. Agenttavotto_normalize_figure min_font_pt=8
  4. Agenttavotto_export pdf — Preflight checks passed; proof report generated
  5. Agenttavotto_verify_replay — Replay verified in fresh worker; outputs match element by element

Where an AI agent fits

tavotto open figures/Fig1_kinetics.pdf

Opens the figure’s parent directory as a project and brings it into your existing workspace window.

Codex plugin: Includes a dedicated skill, a local MCP server, and an embedded canvas built from the same frontend code as the desktop app. Parts of the Codex Desktop integration are not yet verified inside a real Codex Desktop; see the plugin README for specifics.

Skill
Guidance prompt: instructs the coding agent to keep scripts alongside figure outputs, export clean vector PDFs, and use statically inferable output filenames.
Local MCP server
Runs locally over stdio. Agent edits are saved purely as non-destructive overrides, so the agent cannot rewrite your Python source either.
Embedded visual canvas
An interactive MCP component built from the desktop app’s frontend. In supported editors, figures render directly inside your conversation thread.

Installation guides per host editor

We maintain a strict engineering policy: we do not label an AI editor as supported until it has passed thorough end-to-end verification.

Codexrecommended

$ codex plugin marketplace add Tavotto/Tavotto --sparse .agents/plugins
$ codex plugin add tavotto@tavotto
$ pipx install "tavotto[worker]"

Open a clean chat session after installation. Update at any time via: codex plugin marketplace upgrade tavotto.

Claude Code integrationBeta

$ claude plugin marketplace add Tavotto/Tavotto --sparse .claude-plugin
$ claude plugin install tavotto@tavotto
$ /reload-plugins

Run /mcp to verify that plugin:tavotto:tavotto is active. Operates via structured tool calls without an embedded canvas.

DeepSeek Harness integrationBeta

$ dsh plugin --profile web add \
  "git+https://github.com/Tavotto/Tavotto.git#plugin-stable&path:/codex-plugin"

Requires pnpm on your system PATH. Tools appear with the mcp__tavotto__* prefix. To install in WorkBuddy (Beta): search Tavotto/Tavotto in the marketplace, then install tavotto@tavotto.

Additional AI code editorsexperimental

$ python3 <plugin>/integrations/configure.py \
  --host cursor --project-root /abs/path/to/project

Compatible with Cursor, Claude Desktop, VS Code Copilot, Trae, MiniMax Code, and ZCode. The helper script prints configuration snippets without touching your local files. Starting in v0.19.0, you can connect editors with a single click in Settings › Figure assistants › Connect AI editors, or run tavotto hosts list | connect | disconnect from the command line. Supported editors include Codex, Claude Code, Cursor, VS Code, TRAE (and TRAE CN), ZCode, WorkBuddy, Claude Desktop and Antigravity. It backs up existing editor configurations before editing and only modifies the Tavotto entry. The desktop app bundles its own MCP server, eliminating separate PyPI installations.

The ten exposed MCP tools

The local MCP server exposes ten focused tools to connected AI assistants:

tavotto_health
Queries engine version, canvas capabilities, and host features
tavotto_open_figure
Opens a figure, initializes the engine session, and performs an initial render
tavotto_apply_overrides
Submits a full override list; omitted properties revert to script defaults
tavotto_normalize_figure
Adjusts width, height, font family, and minimum type size, then validates the output
tavotto_preflight
Checks the layout against journal publication rules across four severity tiers
tavotto_export
Runs preflight checks, halts on blocking violations, and outputs a detailed proof report
tavotto_verify_replay
Replays overrides in an isolated worker and compares outputs element by element
tavotto_refresh_project
Re-analyzes project files after an agent edits scripts, performing static AST checks without arbitrary execution
tavotto_session_state
Returns the current object manifest and SVG preview without triggering a full re-render
tavotto_close_session
Release the session

Folder permissions

A path the model suggests is never taken as permission. Once per MCP connection you approve the folder the agent may read and write; Claude Code reports it through MCP roots and /add-dir adds more. Actions that need your decision, such as installing a dependency, are returned to you as structured requirements.

( VII — Reference )

Full architectural disclosures.

The concrete technical questions researchers and engineers ask before trusting their thesis figures to a tool: remote server workflows, architectural comparisons, persistence models, and design trade-offs—each linked to primary repository sources.

Remote server workflows

Your Python environment, data files, scripts, and generated exports remain on your remote server; only the lightweight UI runs on your local machine. Communication occurs entirely over an SSH tunnel you establish yourself. Tavotto never connects to any external host on its own.

1. [server] $ pipx install "tavotto[worker]"             $ tavotto --no-browser→ http://127.0.0.1:5089/#dnonce=…2. [local] $ ssh -L 5089:127.0.0.1:5089 you@server3. [local] $ Open the generated session address in your browser
1. [server] $ pipx install "tavotto[worker]"             $ tavotto --no-browser→ http://127.0.0.1:5089/#dnonce=…2. [local] $ ssh -L 5089:127.0.0.1:5089 you@server3. [Desktop application] $ File → Connect to Remote Instance…                          $ Paste the single-use authorization URL→ The remote project opens in its own dedicated window, keeping your local workspaces separate
Python environments and research data remain securely on the server. Tunnel ports must match on both ends.

Important connection notes

  1. Both ends must use the same port, and the address must say 127.0.0.1, not localhost, or it is refused (bad_host). To change port, change both: tavotto --port 5189 --no-browser and ssh -L 5189:127.0.0.1:5189 …
  2. Each login URL is valid for a single use. Once authenticated, session state is maintained via a secure cookie valid for 30 days or until the server process restarts.
  3. If connection drops, simply re-run the startup command on the server. It attaches to the running daemon and issues a fresh authorization URL valid for 5 minutes.

Security

  • The server engine binds strictly to 127.0.0.1 and enforces that the HTTP Host header equals 127.0.0.1:<port>, defending against DNS rebinding attacks.
  • The one-time login token is a 256-bit cryptographically secure random value passed in the URL hash fragment, ensuring it never appears in HTTP request lines or server logs. It exchanges for an HttpOnly, SameSite=Strict session cookie.
  • All API endpoints return 401 Unauthorized without a valid session; authentication tokens reside exclusively in process memory and are never persisted to disk.
  • The desktop app isolates cookies in private storage per remote window, preventing local credentials from leaking to remote engines.
  • Remote windows operate under least-privilege constraints: local file pickers, Reveal in Finder / Explorer, file drag-and-drop, Codex local installer, and auto-updaters are disabled.

Current design constraints

  • Tavotto does not manage SSH keys or connection tunnels automatically; you open the tunnel.
  • Supports one active remote window at a time.
  • Closing a remote window terminates its active session; reconnecting requires generating a new login link.

README: Working on a remote server over SSH

Comparison with traditional editing workflows

Professional vector editors like Adobe Illustrator offer vast drawing capabilities, but opening an exported PDF strips away all scientific semantics, leaving only disconnected paths and glyphs with no concept of what constitutes a legend or axis. The table below summarizes the key trade-offs documented in our repository README:

—Manual script tweakingPost-processing in a vector editorTavotto
Nudge a legend by 3 mmTweak coordinate parameter, re-run, inspect, and repeatDrag visually on canvasDrag visually on canvas
Recognizes the element as a legend, not a group of loose linesMust be located in codeNoYes: titles, legends, tick marks, plotted curves, and colorbars are semantic entities
Edits survive subsequent data updatesYesNo: manual layout adjustments are overwritten on the next script runYes: overrides automatically reapply cleanly to new figures
Multi-panel page layout in millimetresRequires manual subplot coordinate calculations in codeYesYes
Journal formatting compliance verified before exportNoNoYes
Drawn from the “Why use it” overview in the repository README.

Comparison with in-process tools like Pylustrator

Pylustrator also provides on-canvas editing, but uses a fundamentally different architecture:

PylustratorTavotto
Requires adding an explicit import statement to your research codeZero code changes; your original script remains completely untouched
Modifies source code on save by rewriting generated Python back into your fileEdits are stored separately as lightweight overrides; source files remain pure
The visual interface and user script execute in the same Python processUser scripts run inside a dedicated, isolated worker subprocess

Sources: repository README, “Why use it”; docs/compatibility/pylustrator-study.md.

History, state management, and persistence

Tavotto never modifies your original Python code. Canvas edits are stored as non-destructive overrides within the project’s layout JSON file. Whenever you open the project, your script re-runs and saved overrides apply in sequence.

Persistent file layout on disk

  • my-project/
  • fig1_kinetics.pyYour original Python script, untouched
  • figures/Fig1_kinetics.pdfRaw figure outputs generated by your script
  • tavottofile/
  • <name>.json⌘S writes here: page layout and individual figure overrides
  • versions/<docId>.vx/Version timeline: one file per checkpoint, plus a central index
  • versions/thumbs/Cached checkpoint preview thumbnails
  • export/<name>_<time>.tavottoResearch archive: self-contained bundle with layout, assets, scripts, and a SHA-1 manifest
  • Local app data directory/
  • layouts/_autosave/<docId>.jsonLocal crash recovery and automated autosave store
Project directory structure in v0.18. Tavotto creates a single tavottofile folder alongside your script, avoiding clutter.

Interactive version timeline

Milestone eventProject opened

Opening or closing a project automatically records a safety checkpoint.

automaticBackground snapshot

Triggered after 15 seconds of inactivity, provided at least 2 minutes have elapsed since the prior snapshot. Up to 60 snapshots are retained.

Milestone event⌘S save

A save first writes the local copy, checks that the base revision hasn’t drifted, and then updates the project layout file on disk.

namedPre-submission camera-ready

Named checkpoints are never automatically pruned; unnamed background snapshots are capped at 120 versions and 24 MB total storage.

Milestone eventExport completed

Completing an export or performing a write-back to source outputs records an archival checkpoint.

restoreRestore state: “Pre-submission camera-ready”

Before restoring, an automatic safety checkpoint is saved; if saving fails, the restore is aborted. Restoration acts as a single atomic step that can be undone with ⌘Z. Prior revisions can be compared side-by-side or as an overlay.

Press ⇧⌘H to view the full timeline and ⌥⌘S to name your current state. Click any checkpoint below to inspect details.

Undo: Per-canvas in-memory undo history, tracking up to 200 granular steps.

Atomic file writes: Writes stream to a temporary file, fsync to disk, atomically replace the destination file, and fsync the parent directory. All persistence flows through a single function. Revisions use content hashes rather than timestamps.

Concurrent external change detection: The project directory is scanned every 2 seconds. If another editor modifies the layout file, save operations pause and prompt you to reload (saving your current edits as a recovery copy), overwrite, or Save As.

Crash resilience: After an unexpected shutdown, your project opens normally. If a newer local recovery copy exists, it is presented in a dedicated prompt for you to accept or discard. The “Recent Projects” list validates that target files actually exist on disk.

Write-back safety verification: Before writing back to original figure files, the script is re-run from scratch and the result is checked by geometry and pixel comparison; each project can lock write-back off.

Engineering under the surface.

Six foundational engineering principles, each documented and verifiable in the repository.

Rendering

Runs completely locally. Script execution, rendering, page composition, and export happen entirely on your machine. Your scripts and figures are never sent to the cloud.

docs/privacy.md
Network

Desktop update checks (via GitHub Releases and our dl.tavotto.cn mirror, selected by region and locale) and approved installer downloads; package lookups when preparing environments; assistants you invoke; opt-in anonymous statistics; and redacted diagnostics only when you explicitly confirm each transmission. The telemetry schema contains no fields capable of storing filenames, paths, or figure text.

docs/analytics/telemetry-events.md
Replay verification

Continuous integration verifies consistency across live sessions, full replays, fresh processes, and write-back reopens, guaranteeing element-by-element fidelity.

tests/test_equivalence_matrix.py
Golden test vectors

Patch canonicalisation is implemented in both Python and Rust, locked byte-for-byte against a shared test vector file. Preflight checks follow the same standard across Python and TypeScript.

tests/golden/
Self-contained runtime

Desktop installers bundle a pinned CPython runtime alongside the scientific stack; all supported platforms lock identical package versions.

packaging/runtime-lock.json
Rigorous release testing

Before every release, packaged binaries must cleanly launch, render, export, and shut down. Nightly CI installs, smoke-tests, upgrades, and uninstalls the Windows build under a CJK username to prevent locale edge cases.

.github/workflows/nightly.yml

Open source under AGPL-3.0; architectural rationale is documented in our repository ADRs.docs/adr

( Ready for press )

Refine the figure.
Keep your code pure.

Open source under AGPL-3.0. Runs locally on your machine or across an SSH tunnel to your remote server.

Tavotto 0.21.3tavotto.com/technology