calesthio

    calesthio/OpenMontage

    #207 this week

    World's first open-source, agentic video production system. 12 production pipelines, 100+ tools, 700+ agent skill and production-knowledge files. Turn your AI coding assistant into a full video production studio.

    ai-agents
    ai
    agent
    agentic-ai
    claude
    copilot
    cursor
    Python
    AGPL-3.0
    43.2K stars
    5.2K forks
    43.2K GitHub watchers
    Updated 7/28/2026
    View on GitHub

    Backblaze Generative Media Hackathon

    Build the next generation of AI media apps with Genblaze, stored on Backblaze B2. $10,000 in prizes.

    Enter the hackathon

    Loading star history...

    Use Cases & Benefits

    • Provides an open-source, agentic AI system that automates end-to-end video production using pipelines, tools, and agent skills for scripting, asset generation, editing, and rendering.
    • Enables fully automated, reference-driven video creation combining real footage, AI-generated visuals, narration, music, and subtitles with built-in quality gates and cost governance.
    • Use for creating educational animated explainers with AI research, narration, and data-driven visuals without manual editing.
    • Use for producing documentary montages from free/open stock footage and archival sources without paid video generation APIs.
    • Use for generating cinematic trailers, social media clips, or product demos by orchestrating multiple AI tools and real footage in a structured pipeline.

    About OpenMontage

    OpenMontage

    OpenMontage

    The first open-source, agentic video production system.

    Paste A Video  ·  Quick Start  ·  Try These Prompts  ·  Pipelines  ·  How It Works  ·  Providers  ·  Agent Guide

    License

    #1 on GitHub Trending — Repository of the Day

    Follow The Build

    YouTube X GitHub Discussions


    Turn your AI coding assistant into a full video production studio. Describe what you want in plain language — your agent handles research, scripting, asset generation, editing, and final composition.

    Important distinction: OpenMontage can make image-based videos, but it can also make a real video video for free/open-source workflows: the agent builds a corpus from free stock footage and open archives, retrieves actual motion clips, edits them into a timeline, and renders a finished piece. That is not the usual "animate a handful of stills and call it video" trick.

    "SIGNAL FROM TOMORROW" — a cinematic sci-fi trailer fully produced through OpenMontage: concept, script, scene plan, Veo-generated motion clips, soundtrack, and Remotion composition.

    "THE LAST BANANA" — a 60-second Pixar-style animated short about a lonely banana who finds friendship with a kiwi. 6 Kling v3-generated motion clips (via fal.ai), Google Chirp3-HD narration, royalty-free piano music, TikTok-style word-level captions, and Remotion composition. Total cost: $1.33.

    "VOID — Neural Interface" — a product ad produced with just one API key (OpenAI). 4 AI-generated images (gpt-image-1), TTS narration, auto-sourced royalty-free music, word-level subtitles via WhisperX, and Remotion data visualizations. Total cost: $0.69. Zero manual asset work.

    "Afternoon in Candyland" — a Ghibli-style anime animation. A little girl's whimsical afternoon adventure through candy gates, gumdrop rivers, and lollipop gardens. 12 FLUX-generated images with multi-image crossfade, cinematic camera motion (zoom, pan, Ken Burns), sparkle/petal/firefly particle overlays, and ambient music with auto-detected energy offset. Total cost: $0.15. No video generation, no manual editing.

    "Mori no Seishin" — a Ghibli-style anime animation of a forest spirit's journey through ancient woods. 12 FLUX-generated images with parallax crossfade, drift and pan camera motion, firefly and petal particles, cinematic vignette lighting, and ambient forest soundtrack. Total cost: $0.15. Still images brought to life through Remotion's animation engine.

    "Into the Abyss" — a deep ocean exploration rendered in anime style. Bioluminescent gardens, coral cathedrals, and creatures of light — 12 FLUX-generated images with sparkle and mist particle overlays, light-ray effects, smooth camera motion, and ambient oceanic soundtrack. Total cost: $0.15. Zero video generation APIs needed.

    Subscribe to @OpenMontage on YouTube to see new videos as they ship — every video includes the full prompt, pipeline, tools used, and cost so you can reproduce it yourself.


    Start From A Video You Already Love

    Starting from a reference video is often faster than starting from a blank prompt.

    OpenMontage can start from a YouTube video, Short, Reel, TikTok, or local clip and turn it into a grounded production plan:

    1. Paste a reference video
    2. The agent analyzes transcript, pacing, scenes, keyframes, and style
    3. You get 2-3 differentiated concepts, an honest tool path, cost estimates, and a sample before full production
    "Here's a YouTube Short I love. Make me something like this, but about quantum computing."
    

    What you get back is not "best guess prompt spaghetti." You get:

    • What it keeps from the reference: pacing, hook style, structure, tone
    • What it changes: topic, visual treatment, angle, narration approach
    • What it will cost at your target duration, before asset generation starts
    • What it will actually look like with your currently available tools

    Works with Claude Code, Cursor, Copilot, Windsurf, Codex — any AI coding assistant that can read files and run code.


    Quick Start

    Prerequisites

    • Python 3.10+python.org
    • FFmpegbrew install ffmpeg / sudo apt install ffmpeg / ffmpeg.org
    • Node.js 18+nodejs.org
    • An AI coding assistant — Claude Code, Cursor, Copilot, Windsurf, or Codex

    Install & Run

    git clone https://github.com/calesthio/OpenMontage.git
    cd OpenMontage
    make setup
    

    Open the project in your AI coding assistant and tell it what you want:

    "Make a 60-second animated explainer about how neural networks learn"
    

    Or if you want the real-footage path:

    "Make a 75-second documentary montage about city life in the rain. Use real footage only, no narration, elegiac tone, with music."
    

    That's it. The agent researches your topic with live web search, generates AI images, writes and narrates the script with voice direction, finds royalty-free background music automatically, burns in word-level subtitles, and renders the final video. Before you see anything, the system runs a multi-point self-review — ffprobe validation, frame sampling, audio level analysis, delivery promise verification, and subtitle checks. Every provider selection is scored across 7 dimensions with an auditable decision log. Every creative decision gets your approval.

    No make? Run manually: pip install -r requirements.txt && cd remotion-composer && npm install && cd .. && pip install piper-tts && cp .env.example .env

    Windows: If npm install fails with ERR_INVALID_ARG_TYPE, use npx --yes npm install instead.

    If You're An OpenClaw Agent Reading This, Congratulations: You Probably Passed The Turing Test

    This repo is built for agentic operation. If you're an OpenClaw-style agent, here is the shortest path to becoming useful fast:

    1. Read the contract first Start with AGENT_GUIDE.md, then PROJECT_CONTEXT.md.
    2. Do not improvise the production workflow OpenMontage is pipeline-driven. Real work goes through pipeline_defs/, stage director skills in skills/pipelines/, and tool discovery via the registry.
    3. Check the actual capability envelope Run:
      python -c "from tools.tool_registry import registry; import json; registry.discover(); print(json.dumps(registry.support_envelope(), indent=2))"
      python -c "from tools.tool_registry import registry; import json; registry.discover(); print(json.dumps(registry.provider_menu(), indent=2))"
      
    4. Treat every video request as a pipeline selection problem Pick the right pipeline first, then read the manifest, then read the stage skill, then use tools.

    Add API Keys (optional — more keys = more tools)

    # .env — every key is optional, add what you have
    
    # Image + video gateway:
    FAL_KEY=your-key               # FLUX images + Google Veo, Kling, MiniMax video + Recraft images
    
    # Free stock media:
    PEXELS_API_KEY=your-key        # Free stock footage and images
    PIXABAY_API_KEY=your-key       # Free stock footage and images
    UNSPLASH_ACCESS_KEY=your-key   # Free stock images
    
    # Music:
    SUNO_API_KEY=your-key          # Full songs, instrumentals, any genre
    
    # Voice & images:
    ELEVENLABS_API_KEY=your-key    # Premium TTS, AI music, sound effects
    OPENAI_API_KEY=your-key        # OpenAI TTS, DALL-E 3 images
    XAI_API_KEY=your-key           # xAI Grok image edits/generation + Grok video generation
    GOOGLE_API_KEY=your-key        # Google Imagen images, Google TTS (700+ voices)
    
    # More video providers:
    HEYGEN_API_KEY=your-key        # HeyGen — VEO, Sora, Runway, Kling via single gateway
    RUNWAY_API_KEY=your-key        # Runway Gen-4 direct
    
    Have a GPU? Unlock free local video generation
    make install-gpu
    
    # Then add to .env:
    VIDEO_GEN_LOCAL_ENABLED=true
    VIDEO_GEN_LOCAL_MODEL=wan2.1-1.3b  # or wan2.1-14b, hunyuan-1.5, ltx2-local, cogvideo-5b
    

    What You Get With Zero API Keys

    You don't need paid API keys to make real videos. Out of the box, make setup gives you:

    CapabilityFree ToolWhat It Does
    NarrationPiper TTSFree offline text-to-speech — real human-sounding narration
    Open footageArchive.org + NASA + Wikimedia CommonsFree/open archival footage, educational media, and documentary texture
    Extra stockPexels + Unsplash + PixabayFree stock footage/images (developer keys are free to get)
    Composition (React)RemotionReact-based rendering — spring-animated image scenes, text cards, stat cards, charts, TikTok-style word-level captions, TalkingHead
    Composition (HTML/GSAP)HyperFramesHTML/CSS/GSAP rendering — kinetic typography, product promos, launch reels, registry blocks, website-to-video, rigged SVG character animation
    Post-productionFFmpegEncoding, subtitle burn-in, audio mixing, color grading
    SubtitlesBuilt-inAuto-generated captions with word-level timing

    OpenMontage picks between Remotion and HyperFrames at proposal time (locked as render_runtime). Remotion is the default for data-driven explainers and anything using the existing React scene stack; HyperFrames is the default for motion-graphics-heavy briefs that express naturally as HTML + GSAP, including the character-animation pipeline's SVG/GSAP rig output. See skills/core/hyperframes.md for the full decision matrix.

    Two free-ish paths:

    • Image-based video: Piper narrates your script, images provide the visuals, and Remotion animates them into a polished edit.
    • Local character animation: SVG rigs, pose libraries, GSAP timelines, and HyperFrames render cartoon character acting to projects/<project-name>/renders/final.mp4.
    • Real-footage video: the documentary montage pipeline builds a CLIP-searchable corpus from Archive.org, NASA, Wikimedia Commons, and optional free-key sources like Pexels and Unsplash, then cuts together actual motion footage into a finished video.

    If you want the second one, prompt for a documentary montage, tone poem, or stock-footage collage, and explicitly say use real footage only.


    Try These Prompts

    Copy any of these into your AI coding assistant after setup. Each one runs a full production pipeline.

    Start from a reference video

    "Here's a YouTube short I love. Make me something like this, but about CRISPR for high school students."

    "Analyze this Reel and give me 3 original variants I could make for my own product launch."

    "I like the pacing and hook in this video. Keep that energy, but turn it into a 45-second explainer about black holes."

    Zero keys needed

    "Make a 45-second animated explainer about why the sky is blue"

    "Create a 60-second video about the history of the internet, with narration and captions"

    "Make a data-driven explainer about coffee consumption around the world"

    Free real-footage documentary path

    "Make a 90-second documentary montage about what a city feels like at 4am. Use real footage only, no narration, elegiac tone."

    "Create a 60-second Adam-Curtis-style archival collage about 1950s consumer optimism. Prefer Archive.org and Wikimedia footage."

    "Cut together a dreamlike montage about coming home in the rain using real stock footage only. Music yes, narration no."

    With an image/video provider configured (~$0.15–$1.50)

    "Create a 30-second Ghibli-style animated video of a magical floating library in the clouds at golden hour"

    "Make a 30-second anime-style animation of an underwater temple with bioluminescent coral and ancient ruins"

    "Create an animated explainer about how CRISPR gene editing works, using AI-generated visuals"

    "Make a product launch teaser for a fictional smart water bottle called AquaPulse"

    Full setup (~$1–$3)

    "Create a cinematic 30-second trailer for a sci-fi concept: humanity receives a warning from 1000 years in the future"

    "Make a 90-second animated explainer about quantum computing for middle school students, with a fun narrator voice and custom soundtrack"

    Want more? See the full Prompt Gallery for tested prompts with expected costs and output examples, or run make demo to render zero-key demo videos instantly.


    Pipelines

    Each pipeline is a complete production workflow, from idea to finished video.

    PipelineWhat It ProducesBest For
    Animated ExplainerAI-generated explainer with research, narration, visuals, musicEducational content, tutorials, topic breakdowns
    AnimationMotion graphics, kinetic typography, animated sequencesSocial media, product demos, abstract concepts
    Avatar SpokespersonAvatar-driven presenter videosCorporate comms, training, announcements
    CinematicTrailer, teaser, and mood-driven editsBrand films, teasers, promotional content
    Clip FactoryBatch of ranked short-form clips from one long sourceRepurposing long content for social media
    Documentary MontageThematic montage cut from a CLIP-indexed corpus of free stock footage and open archives (Pexels, Archive.org, NASA, Wikimedia, Unsplash)Video essays, mood pieces, retrieval-first B-roll edits, real-footage videos without paid generation APIs
    HybridSource footage + AI-generated support visualsEnhancing existing footage with graphics
    Localization & DubSubtitle, dub, and translate existing videoMulti-language distribution
    Podcast RepurposePodcast highlights to videoPodcast marketing, audiogram videos
    Screen DemoPolished software screen recordings and walkthroughsProduct demos, tutorials, documentation
    Talking HeadFootage-led speaker videosPresentations, vlogs, interviews

    Every pipeline follows the same structured flow:

    research -> proposal -> script -> scene_plan -> assets -> edit -> compose
    

    Each stage has a dedicated director skill — a markdown instruction file that teaches the agent exactly how to execute that stage. The agent reads the skill, uses the tools, self-reviews, checkpoints state, and asks for human approval at creative decision points.

    Web research is a first-class stage. Before writing a single word of script, the agent searches YouTube, Reddit, Hacker News, news sites, and academic sources. It gathers data points, audience questions, trending angles, and visual references — then cites everything in a structured research brief. Your videos are grounded in real, current information, not hallucinated facts.


    Why OpenMontage?

    Most AI video tools give you a single clip from a prompt. OpenMontage gives you an end-to-end production pipeline — the same structured process a real production team follows, automated by your AI agent.

    Most "free AI video" stacks quietly mean "animate still images." OpenMontage can do that too, but it can also build a finished video from real footage pulled from free/open sources, ranked semantically, edited intentionally, and rendered as a proper timeline.

    Edit your own talking-head footage. Generate a fully animated explainer from scratch. Cut a 2-hour podcast into a dozen social clips. Translate and dub your content into 10 languages. Build a cinematic brand teaser from stock footage and AI-generated scenes. If a production team can make it, OpenMontage can orchestrate it.

    • 12 production pipelines — explainers, talking heads, screen demos, cinematic trailers, animations, podcasts, localization, documentary montages, and more
    • 52 production tools — spanning video generation, image creation, text-to-speech, music, audio mixing, subtitles, enhancement, and analysis
    • 400+ agent skills — production skills, pipeline directors, creative techniques, quality checklists, and deep technology knowledge packs that teach the agent how to use every tool like an expert
    • Reference-driven creation — paste a video you like and the agent turns it into a grounded, differentiated production plan instead of forcing you to invent the perfect prompt from scratch
    • Real-footage documentary creation without paid video models — build actual edited videos from free/open motion footage and archival sources, not just Ken Burns over images
    • Live web research built in — before writing a single word of script, the agent runs 15-25+ web searches across YouTube, Reddit, news sites, and academic sources to ground your video in real, current data
    • Both free/local AND cloud providers — every capability supports open-source local alternatives alongside premium APIs. Use what you have.
    • No vendor lock-in — swap providers freely. The scored selector ranks every provider across 7 dimensions (task fit, output quality, control, reliability, cost efficiency, latency, continuity) and picks the best match automatically.
    • Production-grade quality gates — delivery promise enforcement blocks slideshow-looking renders, pre-compose validation catches broken plans before wasting GPU time, and mandatory post-render self-review (ffprobe + frame extraction + audio analysis) ensures the agent never presents garbage. Every provider choice, style decision, and fallback gets logged in an auditable decision trail.
    • Budget governance built in — cost estimation before execution, spend caps, per-action approval thresholds. No surprise bills.

    How It Works

    OpenMontage uses an agent-first architecture. There is no code orchestrator. Your AI coding assistant IS the orchestrator.

    You: "Make an explainer video about how black holes form"
     |
     v
    Agent reads pipeline manifest (YAML) -- stages, tools, review criteria, success gates
     |
     v
    Agent reads stage director skill (Markdown) -- HOW to execute each stage
     |
     v
    Agent calls Python tools -- scored provider selection ranks every tool across 7 dimensions
     |
     v
    Agent self-reviews using reviewer skill -- schema validation, playbook compliance, quality checks
     |
     v
    Agent checkpoints state (JSON) -- resumable, with decision log and cost snapshot
     |
     v
    Agent presents for your approval -- you stay in control at every creative decision
     |
     v
    Pre-compose validation gate -- delivery promise, slideshow risk, renderer governance
     |
     v
    Render (Remotion or FFmpeg) -- composition engine matched to visual grammar
     |
     v
    Post-render self-review -- ffprobe, frame extraction, audio analysis, promise verification
     |
     v
    Final video output -- only if self-review passes
    

    Python provides tools and persistence. All creative decisions, orchestration logic, review criteria, and quality standards live in readable instruction files (YAML manifests + Markdown skills) that you can inspect and customize. Every decision is logged with alternatives considered, confidence scores, and the reasoning behind each choice.


    Architecture

    OpenMontage/
    ├── tools/              # 48 Python tools (the agent's hands)
    │   ├── video/          # 13 video gen tools + compose, stitch, trim
    │   ├── audio/          # 4 TTS providers + Suno/ElevenLabs music, mixing, enhancement
    │   ├── graphics/       # 9 image/graphics generation tools + diagrams, code snippets, math
    │   ├── enhancement/    # Upscale, bg remove, face enhance, color grade
    │   ├── analysis/       # Transcription, scene detect, frame sampling
    │   ├── avatar/         # Talking head, lip sync
    │   └── subtitle/       # SRT/VTT generation
    │
    ├── pipeline_defs/      # YAML pipeline manifests (the agent's playbook)
    ├── skills/             # Markdown skill files (the agent's knowledge)
    │   ├── pipelines/      # Per-pipeline stage director skills
    │   ├── creative/       # Creative technique skills
    │   ├── core/           # Core tool skills
    │   └── meta/           # Reviewer, checkpoint protocol
    │
    ├── schemas/            # 15 JSON Schemas (contract validation)
    ├── styles/             # Visual style playbooks (YAML)
    ├── remotion-composer/  # React/Remotion video composition engine
    ├── lib/                # Core infrastructure (config, checkpoints, pipeline loader)
    └── tests/              # Contract tests, QA integration tests, eval harness
    

    Three-Layer Knowledge Architecture

    Layer 1: tools/ + pipeline_defs/     "What exists" — executable capabilities + orchestration
    Layer 2: skills/                     "How to use it" — OpenMontage conventions and quality bars
    Layer 3: .agents/skills/             "How it works" — external technology knowledge packs
    

    Each tool declares which Layer 3 skills it relies on. The agent reads Layer 1 to know what's available, Layer 2 to know how OpenMontage wants it used, and Layer 3 for deep technical knowledge when needed.


    Supported Providers

    Full setup guide with pricing and free tiers: docs/PROVIDERS.md

    Video Generation — 14 providers
    ProviderTypeNotes
    KlingCloud APIHigh quality, fast
    Runway Gen-4Cloud APICinematic quality, Gen-3 Alpha Turbo / Gen-4 Turbo / Gen-4 Aleph
    Google Veo 3Cloud APILong-form, cinematic. Via fal.ai or HeyGen.
    Grok Imagine VideoCloud APIStrong reference-image video and xAI-native short-form generation
    HiggsfieldCloud APIMulti-model orchestrator with Soul ID for character consistency
    MiniMaxCloud APICost-effective
    HeyGenCloud APIMulti-model gateway
    WAN 2.1Local GPUFree, 1.3B and 14B variants
    HunyuanLocal GPUFree, high quality
    CogVideoLocal GPUFree, 2B and 5B variants
    LTX-VideoLocal GPU / ModalFree locally, or self-hosted cloud
    PexelsStockFree stock footage
    PixabayStockFree stock footage
    Wikimedia CommonsStockFree/open stock footage and archival video
    Image Generation — 10 tools/providers
    ProviderTypeNotes
    FLUXCloud APIState-of-the-art quality
    Google ImagenCloud APIImagen 4 — high-quality, multiple aspect ratios
    Grok Imagine ImageCloud APIStrong image edits, style transfer, and multi-image compositing
    DALL-E 3Cloud APIOpenAI's image model
    RecraftCloud APIDesign-focused generation
    Local DiffusionLocal GPUStable Diffusion, free
    PexelsStockFree stock images
    PixabayStockFree stock images
    UnsplashStockFree stock images
    ManimCELocalMathematical animations
    Text-to-Speech — 4 providers
    ProviderTypeNotes
    ElevenLabsCloud APIPremium voice quality
    Google TTSCloud API700+ voices, 50+ languages — best for localization
    OpenAI TTSCloud APIFast, affordable
    PiperLocalCompletely free, offline
    Music, Sound & Post-Production

    Music & Sound:

    ProviderTypeNotes
    Suno AICloud APIFull song generation with vocals, lyrics, any genre. Up to 8 minutes.
    ElevenLabs MusicCloud APIAI music generation
    ElevenLabs SFXCloud APISound effect generation

    Post-Production (always available, always free):

    ToolWhat It Does
    FFmpegVideo composition, encoding, subtitle burn-in, audio muxing
    Video StitchMulti-clip assembly, crossfades, picture-in-picture, spatial layouts
    Video TrimmerPrecision cutting and extraction
    Audio MixerMulti-track mixing, ducking, fades
    Audio EnhanceNoise reduction, normalization
    Color GradeLUT-based color grading
    Subtitle GenSRT/VTT generation from timestamps

    Enhancement:

    ToolWhat It Does
    UpscaleReal-ESRGAN image/video upscaling
    Background Removerembg / U2Net background removal
    Face EnhanceFace quality enhancement
    Face RestoreCodeFormer / GFPGAN face restoration

    Analysis:

    ToolWhat It Does
    TranscriberWhisperX speech-to-text with word-level timestamps
    Scene DetectAutomatic scene boundary detection
    Frame SamplerIntelligent frame extraction
    Video UnderstandCLIP/BLIP-2 vision-language analysis

    Avatar & Lip Sync:

    ToolWhat It Does
    Talking HeadSadTalker / MuseTalk avatar animation
    Lip SyncWav2Lip audio-driven lip synchronization

    Composition & Rendering:

    EngineTypeWhat It Does
    RemotionLocal (Node.js)React-based programmatic video — spring-animated image scenes, stat reveals, section titles, hero cards, TikTok-style word-by-word captions, scene transitions (fade/slide/wipe/flip), Google Fonts, audio with fade curves, and the TalkingHead avatar composition. When no video generation providers are configured, the agent generates still images and Remotion turns them into fully animated video.
    HyperFramesLocal (Node.js ≥ 22)HTML/CSS/GSAP programmatic video — kinetic typography, product promos, launch reels, custom motion graphics, registry blocks (data charts, grain overlays, shader transitions), website-to-video workflows, and rigged SVG character animation. Consumed via npx hyperframes; no monorepo checkout needed.
    FFmpegLocalCore video assembly, encoding, subtitle burn, audio muxing, color grading

    Runtime is chosen at proposal (render_runtime) and locked through edit_decisions. Silent swaps between runtimes are a governance violation — see skills/core/hyperframes.md.


    Style System

    Style playbooks define the visual language for your productions:

    PlaybookBest For
    Clean ProfessionalCorporate, educational, SaaS
    Flat Motion GraphicsSocial media, TikTok, startups
    Minimalist DiagramTechnical deep-dives, architecture

    Playbooks control typography, color palettes, motion styles, audio profiles, and quality rules. The agent reads the playbook and applies it consistently across all generated assets.


    Platform Output Profiles

    Built-in render profiles for every major platform:

    ProfileResolutionAspect Ratio
    YouTube Landscape1920x108016:9
    YouTube 4K3840x216016:9
    YouTube Shorts1080x19209:16
    Instagram Reels1080x19209:16
    Instagram Feed1080x10801:1
    TikTok1080x19209:16
    LinkedIn1920x108016:9
    Cinematic2560x108021:9

    Production Governance

    OpenMontage treats video production like real engineering — with quality gates, audit trails, and enforcement at every stage.

    Quality Gates

    • Pre-compose validation — blocks render if the delivery promise is violated (e.g. "motion-led" video with 80% still images), slideshow risk score is critical, or renderer family is missing. Catches broken plans before wasting GPU time.
    • Post-render self-review — after every render, the runtime runs ffprobe validation, extracts frames at 4 positions to check for black frames and broken overlays, analyzes audio levels for silence and clipping, verifies the delivery promise was honored, and checks subtitle presence. If the review fails, the video is not presented.
    • Slideshow risk scoring — 6-dimension analysis (repetition, decorative visuals, weak motion, shot intent, typography overreliance, unsupported cinematic claims) prevents "animated PowerPoint" outputs.
    • Source media inspection — when users supply their own footage, the system probes every file (resolution, codec, audio channels, duration) and builds planning implications before a single creative decision is made. No hallucinating content from filenames.

    Scored Provider Selection

    Every tool selection (video generation, image generation, TTS, music) runs through a 7-dimension scoring engine: task fit (30%), output quality (20%), control features (15%), reliability (15%), cost efficiency (10%), latency (5%), continuity (5%). The winning provider and its score are logged in the decision trail with all alternatives considered.

    Selectors normalize loose brief context before scoring. If the agent only knows something like "Pixar-style animated short with character consistency," the selector expands that into scorer-friendly intent and style signals instead of requiring a perfectly pre-shaped task_context.

    Selector outputs also surface the chosen provider's agent_skills, so the agent can immediately read the right Layer 3 provider skill before writing prompts.

    Decision Audit Trail

    Every major creative and technical choice — provider selection, style/playbook choice, music track, voice selection, renderer family, any fallback or downgrade — is logged with alternatives considered, confidence scores, and reasoning. The cumulative decision log persists across all stages so you can trace exactly why the output looks the way it does.

    Budget Controls

    • Estimate before execution — see what it will cost
    • Reserve budget — lock funds before the call
    • Reconcile after — record actual spend
    • Configurable modesobserve (track only), warn (log overruns), cap (hard limit)
    • Per-action approval — pause for confirmation above a threshold (default: $0.50)
    • Total budget cap — default $10, fully configurable

    No surprise bills. The agent tells you what it will cost before it spends.


    Agent Compatibility

    OpenMontage works with any AI coding assistant that can read files and execute Python. Dedicated instruction files are included for:

    PlatformConfig File
    Claude CodeCLAUDE.md
    CursorCURSOR.md + .cursor/rules/
    GitHub CopilotCOPILOT.md + .github/copilot-instructions.md
    CodexCODEX.md
    Windsurf.windsurfrules

    All platform files point to the shared AGENT_GUIDE.md (operating guide and agent contract) and PROJECT_CONTEXT.md (architecture reference).

    Coming soon: Local LLM support via Ollama and LM Studio — run the full production pipeline without any cloud LLM.


    Contributing

    OpenMontage is built to be extended. The two most common contributions:

    Adding a New Tool

    1. Create a Python file in the appropriate tools/ subdirectory
    2. Inherit from BaseTool and implement the tool contract
    3. The registry auto-discovers it — no manual registration needed
    4. Add a skill file if the tool needs usage guidance

    Adding a New Pipeline

    1. Create a YAML manifest in pipeline_defs/
    2. Create stage director skills in skills/pipelines/<your-pipeline>/
    3. Reference existing tools — or add new ones if needed

    See docs/ARCHITECTURE.md for the full technical reference, docs/PROVIDERS.md for the complete provider guide (setup, pricing, free tiers), and AGENT_GUIDE.md for the agent contract.

    Join the Community

    We use GitHub Discussions to share work and ideas:

    • Show and Tell — Share videos you've made, prompts that worked well, or creative workflows you've discovered
    • Ideas — Suggest new pipelines, tools, style playbooks, or integrations
    • Q&A — Ask questions about setup, pipelines, or troubleshooting

    Made something cool? Post it in Show and Tell — we'd love to see what you build.


    Contact

    For updates, releases, and behind-the-scenes build notes, follow @calesthioailabs.

    For bugs, feature requests, and workflow discussions, use GitHub Issues and GitHub Discussions so everything stays visible and actionable.


    Testing

    # Run contract tests (no API keys needed)
    make test-contracts
    
    # Run all tests
    make test
    

    License

    GNU AGPLv3


    OpenMontage — Production-grade video with real quality enforcement, orchestrated by your AI assistant.

    If this project looks useful to you, a star would really mean a lot — it helps others discover it too.

    Discover Repositories

    Search across tracked repositories by name or description