ByeTex v0.3.0 — Agent in the loop
ByeTex v0.3.0 — Agent in the loop
ByeTex converts LaTeX to Typst for AI agents. v0.3.0 is the "agent in the loop" release:
the MCP server grows from 7 to 11 tools, the visual-fidelity loop becomes one command,
and ByeTex now installs as a Claude Code plugin (plus an install script, crates.io, and Homebrew).
Highlights
11 MCP tools (was 7) — with full CLI parity
validate— Stage-0 oracle: compile the input LaTeX with tectonic to tell a broken
source from a ByeTex bug, before you start repairing.compile/render—typst compileto PDF / per-page PNGs with structured
errors ({ok, errors, …}) — no more shelling out totypstand scraping stderr.explain— a per-node LaTeX→Typst map: "why did this LaTeX emit this Typst?"convert_fragmentnow honours itscontext_hint(math hints wrap the fragment so bare
math like\frac{1}{2}converts as math, not an unknown text command).
One-command visual-fidelity loop
byetex review <paper>renders the converted Typst to per-page PNGs and rasterises the
original LaTeX render alongside, emitting agrading_packet.jsonfor the
byetex-visual-gradingskill.- A two-layer fidelity regression gate: deterministic structural metrics
(scripts/fidelity_gate.sh) + a vision-graded findings diff (scripts/findings_diff.py).
Reproducible snippet primitives
byetex convert -c '\frac12'(or-for stdin) — convert a snippet to stdout, no files.byetex explain -c '…'— the source map for any fragment.
Installs four ways
# Claude Code plugin (skills + MCP server)
claude plugin marketplace add zeyuyang42/ByeTex && claude plugin install byetex@byetex
# Prebuilt binary
curl -fsSL https://raw.githubusercontent.com/zeyuyang42/ByeTex/main/install.sh | sh
# crates.io
cargo install byetex --features mcp
# Homebrew
brew install zeyuyang42/byetex/byetexStatus
- Compile-rate (the gate): 59/59 ByeTex-attributable arXiv papers compile (100%).
- Visual fidelity (the driver): 0.821 corpus composite score.
- CI runs
cargo fmt --check+cargo clippy -D warnings+cargo test --workspace(904 tests).
Notes
- The CLI crate is now published as
byetex(socargo install byetexworks); the binary
name and thecrates/byetex-clidirectory are unchanged. - No conversion-logic changes in this release — it is entirely new agent tooling, packaging,
and docs, so the 59/59 compile-rate is preserved. - Full changelog: CHANGELOG.md.
Binaries in this release
Prebuilt, statically-linked binaries (built locally), verifiable against SHA256SUMS:
| Platform | Asset |
|---|---|
| macOS arm64 | byetex-v0.3.0-aarch64-apple-darwin.tar.gz |
| macOS x86_64 | byetex-v0.3.0-x86_64-apple-darwin.tar.gz |
| Linux x86_64 (musl) | byetex-v0.3.0-x86_64-unknown-linux-musl.tar.gz |
| Linux arm64 (musl) | byetex-v0.3.0-aarch64-unknown-linux-musl.tar.gz |
| Windows x86_64 | byetex-v0.3.0-x86_64-pc-windows-gnu.zip |
The Windows build is the GNU ABI (x86_64-pc-windows-gnu, cross-built via Zig with a static
CRT — imports only Windows system DLLs, no MinGW runtime needed), not MSVC. It runs on Windows
10/11; for a native MSVC build use cargo install byetex or build from source on Windows.
Full Changelog: v0.2.0...v0.3.0