Control subtitle language and delay settings by typing what you want instead of digging through menus.
Switch audio devices and tracks like 5.1 sound using natural language requests.
Set up local AI models through Ollama for private mpv control without sending data to the cloud.
| jonny-gm/mpv-agent | 3imed-jaberi/cryptography-si-isamm | 3imed-jaberi/koa-isomorphic-router | |
|---|---|---|---|
| Stars | 2 | 2 | 2 |
| Language | JavaScript | JavaScript | JavaScript |
| Last pushed | — | 2021-09-25 | 2021-02-06 |
| Maintenance | — | Dormant | Dormant |
| Setup difficulty | moderate | easy | easy |
| Complexity | 3/5 | 1/5 | 2/5 |
| Audience | general | researcher | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires Node.js 20+ and a supported AI backend such as Claude Code or an OpenAI-compatible API.
mpv-agent adds an AI assistant to mpv, the open source media player, so you can control playback by typing plain language instead of memorizing keyboard shortcuts or command syntax. You open a panel inside the player and type requests like "set bottom subs to english and top subs to spanish" or "download hungarian subs" or "switch to my speakers and use the 5.1 track," and the tool works out what mpv commands to run and checks them before they touch the player. Each mpv window keeps its own separate AI conversation, so if you have several videos open at once each one remembers its own context. Behind the scenes you choose a backend: Codex, Claude Code, and OpenCode keep a running conversation with the AI provider and can use its tools within limits you set, while an OpenAI-compatible option, including OpenRouter or a locally run vLLM server, treats every request separately and returns a plan of actions that gets checked before running, with no memory kept between requests. OpenCode can also run fully local models through Ollama if you prefer not to send anything to an outside provider. mpv-agent sends your requests and basic playback details to whichever provider you pick, but not the video or audio content itself. Two settings, agent_access and mpv_access, control how much the AI is allowed to do: whether it can touch your shell, filesystem, or network, and whether changes it wants to make to mpv need your approval first. The project recommends starting in a restricted, guarded mode. You can also write a personal instructions file so the assistant remembers preferences, such as which subtitle languages you like. To use it you need mpv 0.41 or newer, Node.js 20 or newer, and either one of the supported AI command line tools or access to an OpenAI-compatible API. It installs with a single script on Windows, Linux, or macOS, and is released under the MIT license.
An AI assistant built into the mpv media player that lets you control playback, subtitles, and audio tracks by typing plain language instead of commands.
Mainly JavaScript. The stack also includes JavaScript, Node.js, Lua.
Use, modify, and distribute freely, including commercially, as long as you keep the copyright notice.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly general.
This repo across BitVibe Labs
Verify against the repo before relying on details.