yuke is a fast, hackable coding agent. Its TUI is built from TypeScript plugins, and you can change each part of it. Any model can run behind it.
- One native binary. yuke needs no Node, no Python, and no Electron.
- Plugins all the way down. Commands, key bindings, status items, themes, dialogs, and the transcript come from plugins. Replace a bundled part, such as the chat, with your own.
- Engine hooks. A hook sees each input, prompt, round, and tool call. It can deny a tool call or change its result.
- Tools and MCP. Give the model a new tool in a few lines of TypeScript, or connect MCP servers over stdio or HTTP.
- Any provider. Set an API key, or log in with a ChatGPT or Grok account. Add a local server in
providers.json. - Sessions. yuke saves each session. Resume it, fork it, or compact it.
- Headless. Run one task with
yuke -p, or embed yuke in your app withyuke --rpc. Your plugins work in each mode.
curl -fsSL https://yuke.sh/install.sh | bashThe installer writes ~/.local/bin/yuke and ~/.local/lib/yuke. It keeps your configuration.
yuke runs on macOS and Linux, on x86-64 and arm64. On Windows, use WSL.
Open the TUI in your project:
cd your-project
yukeType /login and choose a provider. Paste an API key, or log in with a ChatGPT or Grok account. In a script or CI,
set the variable of the provider instead, such as ANTHROPIC_API_KEY.
Type a task and press Enter. At the first task, yuke asks for a model and a reasoning level. /model changes them.
yuke reads AGENTS.md and your skills into the prompt of each new session.
A plugin is a folder with a plugin.json and an entry module:
export function apply(ctx) {
const tui = ctx.get("tui");
if (!tui) return undefined;
tui.commands.add({
name: "hi",
description: "Say hi",
slash: "hi",
run: () => ctx.notify("info", "hi from hello"),
});
tui.keys.add("ctrl+g", "hi");
return undefined;
}List the folder in config.json, run /reload, and type /hi. Your first plugin
gives each step.
- Quick start
- Use the TUI · Command line
- Configuration · Providers · AGENTS.md and skills · MCP servers · Themes
- One-shot tasks · Embed with RPC
- Plugins · TUI plugin API · Tools · Engine
The Markdown of each guide is in docs/guide. See CHANGELOG.md for the changes of each release.
yuke is a Rust workspace. mise installs the pinned Rust, TypeScript, and Biome. Run every tool through it:
mise exec -- cargo run --package yukeRun mise run check before you commit. To run the format checks at each commit, set the hooks folder:
git config core.hooksPath .githooksSee Package tools for the build, install, and release commands.