WeftCut
The video editor your AI agent can drive like you do. Free and open-source.
Connect Claude, Codex, Cursor or any MCP client, and every edit lands on your timeline during playback. Code renders as video, so your agent can write editable motion graphics.
[!NOTE] WeftCut is still under active development, so some features and UI/UX may change before v1.0.0. Join us to improve the project: start with the contributing guide.

Every edit is auditable. Over MCP, the title is restyled, the B roll trimmed, a music bed removed,
a closing title added and two Tacks pinned. Yellow is changed, green is new, red is gone.
Most editors bolt AI on as a generate button or a sidebar. WeftCut hands your agent the editor itself: a local MCP server exposes every editing tool, from trimming and keyframes to captions, mixing and export. No AI model is bundled — use the agent you already have, and edit anything by hand.
Quick start
- Install. On macOS:
brew install --cask weftcut. On Windows, Linux or macOS without Homebrew, grab the installer from the latest release. - Connect. Open Settings → Agent, click Copy setup prompt and paste it into your agent's chat. It sets up the connection itself.
- Ask and enjoy. Request an edit, watch it land on the timeline, then keep it or roll it back.
Release builds run on Windows 10 or 11 (x64), macOS 13 or newer on Apple silicon, and x86_64 Linux with glibc 2.28 or newer. If your system isn't listed, build from source.
Ask your agent
- "Cut the dead air out of this interview, but leave a breath after each sentence."
- "Make a lower third for the guest's name in our brand blue."
- "Bring the music down 6 dB and crossfade between the scenes."
- "Export a 1080p H.264 for YouTube."
Agent editing
Your agent works directly on the open project: no file round-trips, no separate background copy. Every edit lands in your undo history, and an agent work session starts with a checkpoint you can restore in one click.
Timeline diff

Agent view focuses on what changed and how the result looks. Changes lists every added, removed or modified clip with before-and-after details. Timeline marks every affected time range as a diff. Choose and play the changed spots to review each change, then Approve all or Revert all in one click.
Tacks

Tacks pin a note, question or issue to a stretch of time. The agent leaves them where it wants your call; you check and reply with what it should do. Spot something yourself? Press N and drag across the timeline to leave your own Tack. Tacks follow the content they cover and flag themselves as outdated when it changes.
Try: "Find the pauses in this interview and leave Tacks on the ones worth cutting. Let me review them before you edit."
Code as motion

A Motif is an animated overlay written in code: a lower third, a countdown, or even a 3D model, anything HTML, CSS, SVG or WebGL can draw. Coding agents can already write code; with WeftCut, they can now write motion graphics instead of picking from a catalog, and you can still adjust the details yourself.
WeftCut drives each Motif frame by frame, so the same frame always produces the same pixels, whether you scrub, preview or export.
Built in: Lower Third, Countdown, Text FX, and the Clipping set (Headline, Stamp, Paper, Sticker). Write your own with the authoring guide.
A/B Roll view

The default A/B Roll view, with the Playhead panel listing every clip playing at the current frame.
WeftCut opens in A/B Roll view, organized the way stories are cut: an A roll for your main footage, a B roll for cutaways (each with its linked audio), and a captions row. Titles, Motifs and music stay out of the way while they keep playing: the Playhead panel lists everything around the playhead, and you can reorder clips inside it to change what sits on top.
Switch to View → All Tracks for the full multi-track timeline if you prefer a traditional layout.
Full editor

The same project in All Tracks view: captions, titles, music, B roll and A roll each on their own track.
![]() Keyframes and curves. Animate any parameter with bézier easing, a curve editor and motion paths. |
![]() Captions. Transcribe on your machine (whisper.cpp, FunASR) or with a cloud provider, or import SRT, VTT and ASS. |
![]() Audio by role. Mix dialogue, music, SFX and voiceover with live meters, crossfades and one-step pause removal. |
![]() Find anything. One Ctrl+K palette over commands, media, clips, captions and markers. |
- Timeline: filmstrips and waveforms, frame-accurate trims, ripple delete, linked audio and video, groups and nested compositions.
- Footage understanding: shot-change detection and plain-language descriptions of what a clip shows, so an agent can cut on content.
- Titles, effects and transitions: styled text, effect stacks with chroma key, and transitions between clips.
- Export: H.264, HEVC, AV1 and ProRes, up to 10-bit, on hardware or software encoders.
- Portable projects: a project is one folder. Pack it into a single
.wcpkfile, media and fonts included, and open it on another machine.
Tech stack
| Layer | Stack |
|---|---|
| Shell | Electron 44 · TypeScript 7 · electron-vite · Vite 8 · Node 24 |
| UI | React 19 · Zustand · Immer · Tailwind CSS v4 · Base UI · shadcn/ui · Dockview · lucide · i18next (en-US / zh-CN) · fuzzysort |
| Preview | PixiJS v8 · WebGPU / WebGL · WebCodecs VideoDecoder pool · mediabunny · own YUV→RGB shaders · Web Audio clock |
| Export | Worker + OffscreenCanvas · GPU YUV pack pass · PBO readback · rawvideo over IPC · native ffmpeg sink · WebCodecs encoder (pin) · stream-copy mux |
| Native core | Rust · napi-rs 3 · Tokio · imbl · serde · schemars · blake3 · reqwest · ffmpeg-sidecar |
| Native decode | @weftcut/native-decode · ffmpeg-next · software + GPU lanes · sharedTexture (Windows) |
| Shared math | weftcut-eval crate · native + wasm32 · snap · keyframe eval · envelope · role gate |
| ffmpeg | GPL CLI sidecar (jobs, encode, mux) · LGPL shared libs (in-process decode) |
| Agent surface | MCP · streamable HTTP on localhost · stdio through the weftcut binary (Go, standard library only) · @modelcontextprotocol/sdk · bearer token · TS + Rust tool catalog |
| Motifs | Offscreen BrowserWindow · Chrome DevTools Protocol · motif: scheme · CSP default-src 'none' |
| Speech & vision | Cloud providers over reqwest · whisper.cpp · FunASR · on-demand model download |
| Tests & CI | Vitest · cargo test · go test · Playwright · node --test · Stryker · GitHub Actions (Windows / macOS / Linux) |
Design decisions: ADRs.
Build from source
Prerequisites: Node 24+, Rust (version pinned by rust-toolchain.toml, installed via rustup), Go (version named by apps/desktop/cli/go.mod), and your platform's C/C++ build tools and libclang — per-OS commands in docs/setup.md.
npm install # JS dependencies
npm run bootstrap # one-time: fetch ffmpeg + build the Rust addons
npm run dev # start the editor
Also useful: npm run typecheck, npm test, npm run e2e, npm run build, npm run package (installers).
Documentation
Start with architecture for the system map, or MCP server & agent UX for the tool surface, resources and multi-agent behavior. Motifs and motif authoring cover the overlay engine and its contract.
Everything else
- Data model — project state schema, history, persistence, validation.
- Render — PixiJS + WebCodecs renderer architecture.
- Preview — interactive preview surface and transport.
- Export — export pipeline, settings and range, audio, finalization, export jobs and presets.
- Captions · Audio — caption ingestion and the audio engine.
- Conformance — E2E gates that export real media and check frame alignment, audio sync and colour.
- Features — the concrete behavior of each editor capability: selection, links, groups, ripple delete, markers, shot review, pauses, search, gizmo, crop.
- Status / log system — the bottom-of-editor log bus.
- Setup — per-OS toolchain prerequisites and first-run flow.
- Licensing — MIT app plus the two FFmpeg lanes and their build-time compliance gates.
- v1 target — release scope and open work, tracked as an issue:
docs/describes what exists today.
Community
Join the WeftCut Discord community to share feedback, discuss feature ideas, and get help. Please use GitHub Issues for bug reports and feature requests so they can be tracked. Before opening a pull request, read the contributing guide.
Maintainer
WeftCut is built and maintained by UncleChair.
It exists to speed up my own video work. I wanted an editor an agent could actually drive, and a reliable human review process — so the MCP surface is the part I use daily, not a demo bolted onto the side. Motifs came from the other half of that: the overlays I wanted were easier to write than to find, and an agent that can write a web page can write one for the shot in front of it.
The project sits under the WeftCut organization so the name, domain and releases have a stable home; issues and pull requests all reach me.
Star History
License
WeftCut is licensed under the MIT License. Packaged installers bundle FFmpeg binaries under their own licenses (LGPL shared libraries for in-process decode, GPL command-line tools run as a separate process) — see THIRD-PARTY-NOTICES.md and docs/licensing.md for the full model.



