How joaoms98/openmontage works
OpenMontage is an agentic video-production system: a user describes a video or supplies a reference, an agent develops a plan, acquires or generates media, and composes a finished video. The graph preserves reference analysis, stock-footage retrieval, media-generation tools, audio, and Remotion composition, plus Backlot’s project board and the shared tool contract. Several capabilities are documented or indexed but their runtime wiring was not excerpted, so uncertain links are omitted or marked dashed.
Main entry points: Root.tsx Composition Catalog · base_tool.py Tool Contract · state.py Project State · video_analyzer.py Reference Analysis
Components 26
Planning and Review
- Pipeline Manifests
lib/pipeline_loader.py - Reference Analysis
tools/analysis/video_analyzer.py - Source Media Review
lib/source_media_review.py
Production Tools
- Tool Registry
tools/tool_registry.py - Tool Contract
tools/base_tool.py - Stock Clip Search
tools/video/direct_clip_search.py - Video Generation
tools/video/_wan_engine.py - Image Generation
tools/graphics - Audio Production
tools/audio - Subtitle Generation
tools/subtitle/subtitle_gen.py - Export Bundle
tools/publishers/export_bundle.py
Video Composition
- Composition Catalog
remotion-composer/src/Root.tsx - Explainer Renderer
remotion-composer/src/Explainer.tsx - Cinematic Renderer
remotion-composer/src/CinematicRenderer.tsx - Collage Renderer
remotion-composer/src/CollageBurst.tsx - Caption Overlay
remotion-composer/src/components/CaptionOverlay.tsx - Hero Title
remotion-composer/src/components/HeroTitle.tsx - Particle Overlay
remotion-composer/src/components/ParticleOverlay.tsx - Asset Resolver
remotion-composer/src/lib/resolveAsset.ts
Project Workspace
- Backlot Server
backlot/server.py - Project State
backlot/state.py - Tool Events
lib/events.py - Asset Cache
lib/asset_cache.py - Project Paths
lib/paths.py
Other components
- Creative User
- AI Agent
Connections 28
- Creative User → AI Agent: describes project
README.md - AI Agent → Reference Analysis: analyzes reference
README.md - AI Agent → Pipeline Manifests: plans production
README.md - AI Agent → Source Media Review: reviews supplied media
README.md - AI Agent → Tool Registry: selects tools
- Reference Analysis → Tool Contract: uses tool contract
tools/analysis/video_analyzer.py - Source Media Review → Tool Registry: invokes analysis tools
lib/source_media_review.py - Stock Clip Search → Tool Contract: uses tool contract
tools/video/direct_clip_search.py - Video Generation → Tool Contract: returns tool result
tools/video/_wan_engine.py - AI Agent → Stock Clip Search: retrieves footage
README.md - AI Agent → Video Generation: generates motion
README.md - AI Agent → Image Generation: generates artwork
README.md - AI Agent → Audio Production: creates soundtrack
README.md - AI Agent → Subtitle Generation: creates captions
- AI Agent → Composition Catalog: composes video
README.md - Composition Catalog → Explainer Renderer: registers renderer
remotion-composer/src/Root.tsx - Composition Catalog → Cinematic Renderer: registers renderer
remotion-composer/src/Root.tsx - Composition Catalog → Collage Renderer: registers renderer
remotion-composer/src/Root.tsx - Composition Catalog → Caption Overlay: registers overlay
remotion-composer/src/Root.tsx - Composition Catalog → Hero Title: registers component
remotion-composer/src/Root.tsx - Composition Catalog → Particle Overlay: registers component
remotion-composer/src/Root.tsx - Explainer Renderer → Asset Resolver: resolves assets
remotion-composer/src/Explainer.tsx - AI Agent → Export Bundle: exports deliverable
- Backlot Server → Project State: serves project state
backlot/server.py - Project State → Tool Events: uses event feed
backlot/state.py - Project State → Project Paths: uses project paths
backlot/state.py - Tool Contract → Tool Events: emits tool events
tools/base_tool.py - Tool Contract → Asset Cache: wraps execution cache
tools/base_tool.py