Skip to main content
Glama

AgentVideoEngine

A video editor that your AI agent operates through chat.

Describe the video you want in chat. Your agent uses the editor on your computer to build a draft, show previews and export a finished video. Your project keeps links to the original recordings and saves a history of the edit.

What it can do

  • Find possible retakes inside one recording and preview the matching source ranges.

  • Search a screen recording for visible words on macOS. See the matching pictures and source timestamps, even in silent footage.

  • Analyze an editing reference with a separately installed REA Video environment and save its local shot breakdown for review. Reference-analysis setup

  • Build a playable first draft from a supplied script and timed transcripts. Use several takes in one recording, several files, or both.

  • Stage a draft, preview the exact changes and apply it as a saved revision. Compare or restore earlier versions.

  • Cut by transcript words, insert pauses and blend neighboring clips. Add a slide transition with optional motion blur. Start sound before the picture changes or let it continue afterward.

  • Reframe footage, adjust its color and animate changes in position, size or opacity.

  • Balance voice, music and effects. Lower music under speech and reduce mild background noise.

  • Correct caption words and line breaks while keeping them synced through later cuts, with word highlighting intact. Add titles, name labels and callouts, or animate a meter, title or image on individual spoken words. Each action follows its word through later cuts.

  • Zoom in on a real label in a screen recording, underline it as you explain it, and pull back. The editor uses the label position found locally on your Mac.

  • Export vertical, wide or square video, subtitle files and an editable timeline for compatible editors.

  • Move a project with its source media or reconnect a recording that moved.

  • Find isolated picture glitches in an exported MP4 and view the frame between its neighbors.

  • Compare two exported MP4s and flag unexpected picture or audio changes outside the requested edit.

  • Flag crops and zooms that enlarge footage too much, with timestamps for review.

  • Scan the whole exported video's audio for possible speech gaps and report the moments to listen to before sharing.

These checks help find places to review. You still need to watch and listen to the finished video.

Related MCP server: YoloCut

Current status

Developer preview. The editing, rendering and agent connection have been tested on macOS using generated sample videos. Other operating systems have not been verified.

Setup uses a terminal and a chat agent that supports MCP and local files. MCP is the connection that gives your agent access to the editor's tools.

Get started

You will need these local tools.

  • Node.js 22 or newer.

  • FFmpeg, including ffmpeg and ffprobe.

  • An installed Chrome or Chromium browser to create the finished video.

  • The speech tool and model if you want the engine to transcribe recordings. Setup reference

Download this project and open a terminal in its folder. If you use an AI coding agent, it can help with these setup steps.

Run these commands in the project folder.

npm ci
node src/cli.mjs doctor

The first command installs the app's dependencies. The second checks which local tools are available. It may report missing transcription tools even if you only want to use an existing transcript.

Your agent can start the editor when it needs it. Reconnect the MCP server after an update so your agent sees the new tools. Agent connection instructions

Try your first video

Keep your original footage in a local folder and give your connected agent the file path and a brief.

Use this recording to draft a shorter edit. Preserve my wording, remove the retakes we identify and add readable captions. Show me the draft before applying it. Then export a vertical version and an SRT subtitle file.

Review the preview and tell your agent what to change. Watch and listen to the final export before using it.

All your takes in one recording

Keep recording the way you normally do. The agent can use the transcript to find pauses, restarts and repeated passages inside the same file. A saved map links those possible attempts to timestamps and picture previews.

The agent can search a line and preview its different deliveries before choosing cuts. Repeated wording suggests places to review.

With a script, ask “Build a first cut from these lines and show me the other takes of my opening.” The editor stages matches in script order and identifies lines that need review. You can ask for the second opening and play the revised draft.

For a screen recording, ask “Show me where Back Tap appears on screen.” On macOS, the agent can index sampled frames with Apple Vision and return the matching timestamps and pictures. Later searches reuse the local index. Short flashes between samples can be missed.

Adjust the sound through chat

Ask your agent to level voice across takes, lower music while you speak, or adjust one sound independently. You can also ask it to fade a sound in or out, move the sound ahead of a cut, or reduce mild background noise.

The agent saves those adjustments with the edit and uses the complete audio mix for previews and exports.

Adjust the picture through chat

Ask your agent to brighten a recording, keep a person in frame, or slowly zoom in on a detail. A saved color correction can follow every cut from one recording or be adjusted clip by clip. Compare the same frame before and after to choose the look.

Deliver or move the edit

Ask for an MP4 in the shape you need, an SRT or VTT subtitle file, or an editable OpenTimelineIO file. The timeline handoff carries media and cuts. Bring the finished MP4 to show the intended graphics, color and mix. Delivery guide

Each moving preview and final MP4 gets a quality report beside it. Before delivery, the agent can check the exact file against that report. The editor flags previews, changed files and finals below the selected resolution target.

Final exports also check crop and zoom enlargement and scan the full audio for possible speech gaps. The report gives timestamps to review before sharing. When source word timings are available, they help find pauses even when music covers the silence. These are review cues: a pause may be intentional, and music or noise can hide missing speech. The editor keeps your cuts intact. Your agent can adjust unwanted gaps or framing and export again. It can also check enlargement before rendering with quality_preflight.

Use a project bundle to move the editable engine project and its media to another machine. A bundle includes saved transcripts, custom settings and registered media. Review its contents before sharing. Your agent can also reconnect a moved file after verifying that its contents match the original. Technical reference

Licensing

The source is public, but no reuse license has been selected for the app's original code. See licensing and the third-party notices before reusing or redistributing it.

Available Tools

36 tools
color_previewA

Compare saved color corrections at one identical output frame. Returns a durable job ID; read job_get for labeled before and after PNG images. Uses the same saved edit, captions, graphics, frame and scale for both images. The before image bypasses engine color controls. Requires the engine timeline or a custom layer. Creates derived previews without changing the saved edit.

Inputs: projectDir (required), expectedRevision (required), frame, scale.

draft_applyA

Commit the exact staged edit as one new revision. Refuses stale drafts so it cannot overwrite newer work.

Inputs: draftId (required), projectDir (required), expectedRevision (required).

draft_deleteB

Delete one saved proposal. The current edit, revision history and original media remain intact.

Inputs: draftId (required), projectDir (required).

draft_inspectB
Read-only

Inspect proposed changes and whether the base revision is still current. Optional compiled timeline includes draft timing and captions.

Inputs: draftId (required), projectDir (required), includeTimeline.

draft_listB
Read-only

List saved edit proposals and mark ones whose base revision changed.

Inputs: projectDir (required).

draft_stageA

Prepare a validated edit without changing the saved project. Render it using preview_render with draftId, then apply the exact reviewed state with draft_apply.

Inputs: operations (required), projectDir (required), expectedRevision (required), name.

edit_applyA

Apply a complete validated batch as one revision. Timeline controls: set_clips, insert_clip, replace_clip, insert_gap, set_gap, split_clip, remove_clip, trim_clip, reorder_clips, delete_source_range, delete_words. Set an incoming crossfade/dip/wipe with set_transition (overlaps existing retained ranges and shortens output). set_clip_visual controls crop, focus, fit, position and timed motion keyframes. set_clip_audio controls independent source bounds/offset, gain, role, fades and volume envelope; patch:null restores linked sound. set_audio controls voice/music/effects gains, optional music ducking, voice noise reduction and automatic loudness. upsert_overlay adds media or reusable title/lower_third/callout text. set_caption_cues edits wording, line breaks and fixed output timing; cues:null returns to source-timed captions. Also supports remove_overlay, set_captions, set_settings, set_custom, set_asset_color and set_clip_color. Use draft_stage for a proposal preview. Invalid or stale batches leave the project unchanged. Originals are preserved.

Inputs: operations (required), projectDir (required), expectedRevision (required).

engine_statusA
Read-only

Check local video engine dependencies and cached transcription model. No uploads or downloads.

Inputs: no named parameters.

export_renderB

Render one final MP4 from the saved project, including captions, overlays and audio. Enabled automatic audio finishing levels main-track voice with saved adjustable controls, includes music/custom-layer audio in the master, and measures the encoded result. Always creates a new output and preserves originals and accepted exports.

Inputs: projectDir (required), expectedRevision (required), fit, preset, +2 more.

export_subtitlesA

Export edited caption wording, line breaks and timeline timing as SRT or WebVTT. Works when burned-in captions are disabled. Creates a new file.

Inputs: format (required), outputPath (required), projectDir (required), expectedRevision (required).

export_timelineB

Export a source-linked OpenTimelineIO timeline for compatible editors. Includes editable cuts, gaps, overlaps and audio timing. Read returned fidelity limitations for effects and graphics.

Inputs: outputPath (required), projectDir (required), expectedRevision (required), format.

graphic_presetsC
Read-only

List reusable title, lower-third and callout styles. Add a text overlay with preset and override its style or motion as needed.

Inputs: no named parameters.

job_cancelB

Request cancellation of a queued or running job and its underlying renderer/transcriber.

Inputs: jobId (required), projectDir (required).

job_getB
Read-only

Read job progress, result paths or actionable errors. Completed stills and color comparisons can be returned as images.

Inputs: jobId (required), projectDir (required), includePreview.

job_listA
Read-only

List saved local render, transcription, color-comparison, cut-review and recording-index jobs.

Inputs: projectDir (required).

job_retryB

Restart a failed or interrupted job only if its original project revision is still current.

Inputs: jobId (required), projectDir (required).

media_addA

Probe and reference a local original image, video or audio file without copying it. Optionally append video/audio to the main timeline.

Inputs: path (required), projectDir (required), expectedRevision (required), addToTimeline.

media_indexA

Map one original recording, including multiple attempts recorded in the same file. Creates timestamped thumbnails/contact sheets for video, links existing source transcript words, and groups repeated passages as POSSIBLE retakes. Never chooses the best take, splits the source, changes the edit or deletes footage. Returns a durable job ID; read job_get for the index ID. Does not transcribe automatically: use transcribe or transcript_import first for spoken take grouping. Missing transcripts allow video picture maps without spoken grouping. Reuses a cached map when source, transcript and options match.

Inputs: assetId (required), projectDir (required), expectedRevision (required), maxThumbnails, +1 more.

media_index_getA
Read-only

Read a saved original-recording map in bounded pages. Returns possible attempts, retake groups, source timestamps and preview hints; optionally returns one timestamped contact sheet as an image. Use the indexId returned by media_index. Normal timeline edits can reuse the map; changed source media or transcript requires reindexing. A possible retake is a repeated phrase, not a quality verdict.

Inputs: indexId (required), projectDir (required), limit, offset, +2 more.

preview_renderB

Render a still frame or short moving preview of the current edit. Enabled audio finishing uses the full project mix so short previews retain the same settings and master level as the final export. Returns a durable job ID. Use job_get for the result, audio measurements and any peak-limited target warnings.

Inputs: projectDir (required), expectedRevision (required), fit, kind, +7 more.

project_bundleA

Package the current editable project and registered media in a new local directory for another machine. Does not include revision history, caches or exports. Returns a job.

Inputs: bundleDir (required), projectDir (required), expectedRevision (required).

project_createC

Create a new local headless video project. Existing directories and media are preserved.

Inputs: name (required), projectDir (required), fps, audio, +2 more.

project_import_legacyA

Import an existing local legacy .aive project into a new headless project, preserving its source transcript and explicit cuts. Does not change the source project or footage.

Inputs: path (required), projectDir (required), name.

project_inspectA
Read-only

Read project state and revision. Include the compiled timeline to inspect edited timing and retimed captions.

Inputs: projectDir (required), includeTimeline.

project_open_bundleA

Queue verification and opening of a portable bundle as a new local editable project with copied media. Existing destination directories are refused. Poll job_get using the returned projectDir and id. destinationProjectDir identifies the new editable project after completion.

Inputs: bundleDir (required), projectDir (required).

project_validateA
Read-only

Validate timeline and confirm originals still match imported fingerprints. Does not judge creative quality.

Inputs: projectDir (required).

review_cutsA

Review source-linked timeline joins without changing the edit. Supports the built-in timeline and custom layer mode, where the engine owns timing and main clips. Flags transcript words cut at a boundary, measured audio level jumps and long silence near a join. Creates short mixed-master preview clips and a local report. Returns a durable job ID; read job_get for results. Measurements are review cues, not a verdict on naturalness. Use offset/limit to review long edits in batches. Independent standalone compositions require adaptation to layer mode.

Inputs: projectDir (required), expectedRevision (required), limit, offset, +2 more.

revision_compareA
Read-only

Compare two saved revisions, including changes to cuts, graphics, captions, settings and output duration. preview_render can render either revision.

Inputs: projectDir (required), toRevision (required), fromRevision (required).

revision_listC
Read-only

List saved edit revisions.

Inputs: projectDir (required).

revision_restoreA

Restore a saved revision as a new revision. Keeps history and original footage.

Inputs: revision (required), projectDir (required), expectedRevision (required).

source_previewA

Inspect an original source asset before making editorial decisions. Renders a still or short source clip without changing the saved edit. Bypasses saved color controls, audio finishing and manual edit gains so it represents the original recording.

Inputs: assetId (required), projectDir (required), expectedRevision (required), kind, +3 more.

transcribeA

Start cached, local word transcription with whisper.cpp. Returns a durable job ID. Never uploads footage or downloads models. Applies results only if the project revision is unchanged.

Inputs: assetId (required), projectDir (required), expectedRevision (required), language, +1 more.

transcript_importA

Import source-timed transcript words from local JSON, including a word array or native speech-recognition output. Reuses existing transcripts without retranscription.

Inputs: path (required), assetId (required), projectDir (required), expectedRevision (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 36 tools

    Disambiguation4/5

    Most tools are clearly differentiated by resource family (project_*, media_*, draft_*, revision_*, job_*, export_*) and by explicit scoping sentences in descriptions (e.g. source_preview bypasses color/audio finishing vs preview_render uses full mix). A few boundaries are soft: graphic_presets is named like a read-only lister but actually adds text overlays already covered by edit_apply's upsert_overlay, and the four preview/render tools plus preview_render vs export_render require careful reading to separate.

    Naming Consistency3/5

    Two competing conventions coexist: resource-first compound names (media_add, project_create, draft_apply, job_get, transcript_import) versus verb-first names (export_subtitles, preview_render, review_cuts, transcribe), and a few names are bare nouns or ambiguous (graphic_presets, project_bundle). Everything is snake_case and readable, so an agent can map names to families, but the pattern is not uniform.

    Tool Count3/5

    36 tools is heavy and exceeds the comfortable range, though the domain (headless video editing with transcription, drafts, revisions, previews, jobs) is genuinely large and each family is internally cohesive. There is mild duplication in the preview surface (source_preview, color_preview, preview_render, review_cuts) that pushes this toward over-scoped.

    Completeness4/5

    Coverage is broad: project lifecycle (create/validate/inspect/import/bundle/open), media ingestion and relinking, transcription, editing, drafts, revision history with compare/restore, exports (MP4, subtitles, OTIO), previews, and full job control. Minor gaps remain, such as no project deletion/cleanup, no explicit asset or overlay listing outside project_inspect, and no per-clip query tool.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents and MCP clients to programmatically edit video projects on a local desktop editor, with 119 tools for multitrack editing, effects, captions, audio, and batch auto-editing, producing reviewable and reversible real timeline edits.
      AGPL 3.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to drive a desktop video editor through MCP, providing the same editing operations as the user — placing, trimming, rippling, grading, captioning, and exporting — on the actual project with local rendering.
      8
      GPL 3.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents and MCP clients to run self-hosted video production workflows, including project planning, rendering, review, and delivery with durable background jobs and local review.
      2
      Apache 2.0