yoetz
July 21, 2026 ยท View on GitHub
Fast CLI for routing code and media work through the right LLM path: direct API calls when available, multi-model councils when you need agreement, and browser recipes for web-only models such as ChatGPT Pro and Claude's Fable 5.
Yoetz is built for coding agents and terminal workflows: gitignore-aware bundles, structured JSON output, reproducible session artifacts, live model resolution, local budget checks, and multimodal inputs across OpenAI, OpenRouter, Gemini, and LiteLLM-compatible backends.
Yoetz is under active development. Command behavior may change before 1.0.
What It Does
- Bundle repository context into prompt-ready artifacts without fighting
.gitignore. - Ask one model with text, code, images, or video.
- Council multiple models in parallel when you want independent opinions.
- Review staged diffs or files with agent-readable output.
- Generate images and video through providers that expose generation APIs.
- Use browser recipes for web-only model surfaces while keeping terminal output parseable.
Install
Homebrew
brew install avivsinai/tap/yoetz
yoetz --version
Scoop
scoop bucket add avivsinai https://github.com/avivsinai/scoop-bucket
scoop install yoetz
yoetz --version
Prebuilt Binaries
Download archives and checksums from the latest GitHub release.
curl -fLO https://github.com/avivsinai/yoetz/releases/latest/download/yoetz-aarch64-apple-darwin.tar.gz
curl -fLO https://github.com/avivsinai/yoetz/releases/latest/download/SHA256SUMS.txt
shasum -a 256 -c SHA256SUMS.txt --ignore-missing
tar xzf yoetz-aarch64-apple-darwin.tar.gz
sudo mv yoetz /usr/local/bin/
Release archives are published for macOS, Linux, and Windows targets. Use
sha256sum instead of shasum -a 256 on Linux.
From Source
cargo install --git https://github.com/avivsinai/yoetz --locked
Agent Skills
Yoetz also ships an agent skill so Claude Code, Codex CLI, and compatible agent runtimes know how to call the CLI safely: resolve live model IDs, keep stdout parseable, bundle large context first, and use browser recipes intentionally.
Codex / Claude Plugin Marketplace
/plugin marketplace add avivsinai/skills-marketplace
/plugin install yoetz@avivsinai-marketplace
skills.sh
npx skills add avivsinai/yoetz
skild.sh
npx skild install @avivsinai/yoetz
The skill source lives at skills/yoetz/SKILL.md and is versioned with the CLI release metadata.
First Run
Start with a command that needs no API key:
yoetz bundle -p "Summarize this project" -f README.md --format json
Then configure at least one provider. Environment variables are enough for most users:
export OPENROUTER_API_KEY=...
export OPENAI_API_KEY=...
export GEMINI_API_KEY=...
For persistent configuration:
mkdir -p ~/.config/yoetz
cat > ~/.config/yoetz/config.toml <<'EOF'
[defaults]
provider = "openrouter"
# Optional after resolving a current model ID:
# model = "<id from yoetz models resolve>"
[providers.openrouter]
base_url = "https://openrouter.ai/api/v1"
api_key_env = "OPENROUTER_API_KEY"
kind = "openai-compatible"
EOF
From a source checkout, you can start from the full example instead:
cp docs/config.example.toml ~/.config/yoetz/config.toml
Yoetz also supports YOETZ_CONFIG_PATH, repo-local ./yoetz.toml, and config
profiles. See docs/config.example.toml for the
shape.
The default models frontier lab list is configurable with
[frontier].families; --all and --family continue to bypass that list.
Resolve live model IDs before putting them in scripts:
yoetz models sync
yoetz models frontier --format json
yoetz models frontier --family anthropic --format json
Common Workflows
Ask With File Context
MODEL_ID=$(yoetz models frontier --family openai --format json | jq -r '.[0].model.id')
yoetz ask \
-p "Explain the error handling tradeoffs in this file" \
-f crates/yoetz-cli/src/main.rs \
--provider openrouter \
--model "$MODEL_ID" \
--format json
Review A Diff
yoetz review diff --staged --format json
yoetz review file --path crates/yoetz-core/src/bundle.rs --format json
Run A Council
OPENAI_MODEL=$(yoetz models frontier --family openai --format json | jq -r '.[0].model.id')
GEMINI_MODEL=$(yoetz models frontier --family gemini --format json | jq -r '.[0].model.id')
XAI_MODEL=$(yoetz models frontier --family xai --format json | jq -r '.[0].model.id')
yoetz council \
-p "Which API shape is safer for agents?" \
-f crates/yoetz-core/src/types.rs \
--models "$OPENAI_MODEL,$GEMINI_MODEL,$XAI_MODEL" \
--format json
--models is explicit on purpose. Pick current IDs from yoetz models frontier
or yoetz models resolve, and pass the returned IDs verbatim. Avoid using
stale provider names or hand-written wrapper paths.
Bundle For Another Tool
yoetz bundle \
-p "Review the browser transport design" \
-f "crates/yoetz-cli/src/browser*.rs" \
-f recipes/chatgpt.yaml \
--format json
The JSON response points to session artifacts under ~/.yoetz/sessions/<id>/,
including bundle.md.
Multimodal Input
MODEL_ID=$(yoetz models resolve "gemini" --format json | jq -r '.[0].id')
yoetz ask -p "Describe this diagram" --image diagram.png --provider gemini --model "$MODEL_ID" --format json
yoetz ask -p "Summarize this clip" --video demo.mp4 --provider gemini --model "$MODEL_ID" --format json
Use --image-mime or --video-mime for signed URLs or extensionless files.
Generate Media
IMAGE_MODEL_ID=$(yoetz models list -s image --format json | jq -r '.models[] | .id | select(startswith("gemini/")) | sub("^gemini/"; "")' | head -1)
yoetz generate image \
-p "A clean product diagram of a terminal-first LLM router" \
--provider gemini \
--model "$IMAGE_MODEL_ID" \
--format json
VIDEO_MODEL_ID=$(yoetz models list -s veo --format json | jq -r '.models[] | .id | select(startswith("gemini/")) | sub("^gemini/"; "")' | head -1)
yoetz generate video \
-p "A short UI walkthrough" \
--provider gemini \
--model "$VIDEO_MODEL_ID" \
--format json
Generation still requires a provider-specific --provider plus a model that
that provider accepts. List or resolve live models before pinning a script.
Agent Usage
Yoetz is designed to be called by agents and scripts.
export YOETZ_AGENT=1
yoetz ask -p "Return JSON only" -f src/lib.rs --format json --output-final /tmp/yoetz-result.json
Useful agent-facing guarantees:
--format jsonkeeps stdout parseable.--response-format jsonand--response-schemarequest model-side structured output;--format jsononly controls the Yoetz CLI envelope.- Progress and diagnostics use stderr where possible.
--output-finalwrites the final response to a stable path.ask,bundle,council, andreviewcreate replayable session artifacts.- Budget flags such as
--max-cost-usdand--daily-budget-usdare local preflight/accounting aids, not provider-side hard limits.
Agent skill installation options are listed in Agent Skills.
Browser Recipes: ChatGPT Pro And Claude
Browser recipes let Yoetz use web-only model surfaces from the terminal. The built-in ChatGPT recipe targets GPT-5.6 Sol with Pro intelligence and is fail-closed: if Yoetz cannot prove the requested surface is available, it stops instead of silently downgrading. The built-in Claude recipe applies the same contract to claude.ai with exactly Fable 5, Effort Max, and Thinking enabled.
yoetz browser check --format json
yoetz browser recipe --recipe chatgpt --bundle ~/.yoetz/sessions/<id>/bundle.md --format json
yoetz browser check --claude --format json
yoetz browser recipe --recipe claude --bundle ~/.yoetz/sessions/<id>/bundle.md --format json
Both recipes support chrome-devtools-mcp, dev-browser, agent-browser, and
chrome-extension-native. The default browser stack is extension-free unless a
connected native extension advertises the selected site. That recipe then
selects chrome-extension-native as its only default transport and fails
closed. Use an explicit --transport <name> to select another browser
transport.
The native path is one pinned multi-site package named Yoetz Native Transport, so existing ChatGPT installations keep the same extension ID and gain Claude support without re-pairing. Choose the site scope when managing or checking it:
yoetz browser extension setup --chatgpt --open-chrome
yoetz browser extension doctor --chatgpt
yoetz browser extension status --chatgpt --format json
yoetz browser recipe --recipe chatgpt --transport chrome-extension-native --bundle bundle.md --format json
yoetz browser extension setup --claude --open-chrome
yoetz browser extension doctor --claude
yoetz browser extension status --claude --format json
yoetz browser extension canary --claude
yoetz browser recipe --recipe claude --transport chrome-extension-native --bundle bundle.md --format json
Load the managed $YOETZ_DIR/chatgpt-native-extension directory unpacked in
the Chrome profile that hosts the target AI sessions; do not load a repo
checkout. Setup, update, and reload share machine-global native-host and managed
extension state, so serialize those operations across agent lanes.
Independent ChatGPT recipe runs may share one connected extension profile: each job owns a separate background tab, and profile selectors are routing controls, not a prerequisite for parallelism. Claude is asymmetric because each job must keep its tab active through upload and accepted send. Until per-profile Claude activation coordination lands, serialize Claude recipe runs within one loaded Chrome profile. Both sites may run only against one frozen loaded artifact.
Upgrade the installed CLI before another lane runs extension auto-heal after a release. An older CLI can overwrite the newer stamped managed copy.
Claude conversation resume supports --var conversation=<uuid|url> and
--followup on the native transport. inline_warn_tokens defaults to 150,000
and warns when a bundle is likely to become retrieval-backed; set it to 0 to
disable the heuristic. This warning does not change Yoetz's byte limits.
The native-host extension transport is currently macOS/Linux-only. Windows CLI
and Scoop installs work for the API-backed Yoetz flows, but
chrome-extension-native setup fails closed until Windows native messaging host
registration is implemented.
For multiple loaded Chrome profiles, select the connected bridge with
--var extension_instance_id=<id> from yoetz browser extension status --chatgpt (or --claude), or opt into profile_email routing with
yoetz browser extension grant-identity --chatgpt (or --claude).
The detailed browser transport model lives in ARCHITECTURE.md.
Provider Support
Capabilities vary by model and provider. Use yoetz models frontier,
yoetz models list, and yoetz models resolve against the live registry before
pinning examples.
| Provider | Text | Vision | Image Gen | Video Gen | Video Understanding |
|---|---|---|---|---|---|
| OpenRouter | Yes | Model-dependent | No | No | No |
| OpenAI | Yes | Yes | Yes | Yes (Sora) | No |
| Gemini | Yes | Yes | No | Yes (Veo) | Yes |
| Z.AI | Yes | Model-dependent | No | No | No |
| LiteLLM-compatible | Yes | Model-dependent | No | No | No |
Anthropic, xAI, and Z.AI models are commonly reached through OpenRouter, but can also be configured as direct providers when you need provider-specific routing.
Common API key variables:
| Variable | Used for |
|---|---|
OPENROUTER_API_KEY | OpenRouter |
OPENAI_API_KEY | OpenAI |
GEMINI_API_KEY | Gemini |
ANTHROPIC_API_KEY | Direct Anthropic-compatible provider configs |
XAI_API_KEY | Direct xAI/OpenAI-compatible provider configs |
ZAI_API_KEY | Direct Z.AI/OpenAI-compatible routing |
LITELLM_API_KEY | LiteLLM proxy |
Safety And Trust
Bundles are prompt-input artifacts, not trusted control channels. Treat bundled repository content, issues, logs, and pasted browser output as untrusted input. Keep intent in explicit CLI flags and the user prompt, avoid bundling secrets, and review generated changes before applying them.
Project trust signals:
- CI covers Rust tests, formatting, linting, dependency policy, secret scanning, MSRV, extension script tests, and browser smoke checks.
- Release archives ship with
SHA256SUMS.txt. - Security policy: SECURITY.md.
- Code of conduct: CODE_OF_CONDUCT.md.
Development
git clone https://github.com/avivsinai/yoetz.git
cd yoetz
cargo build
cargo test
cargo fmt --all -- --check
cargo clippy --workspace --all-targets -- -D warnings
Optional browser-extension checks:
./scripts/build-chatgpt-native-extension.sh --check
node --test extensions/chatgpt-native/tests/*.test.js
The Rust workspace has two crates:
crates/yoetz-core: pure core types, bundling, config, registry, sessions.crates/yoetz-cli: async CLI, providers, browser transports, budgets.
See ARCHITECTURE.md and CONTRIBUTING.md for design and contribution details.
Release Model
Releases are cut from main through ./scripts/release.sh X.Y.Z and the
resulting release PR. The merged release commit drives the tag, GitHub release
artifacts, Homebrew formula, Scoop manifest, and agent skill publication.