Challenge
The system had to connect browser collection, local video processing, transcription and several AI roles without letting agents overwrite each other's work, invent sources or drift from shared formats.
AI / CONTENT AUTOMATION / RESEARCH PIPELINE
Content Factory is a file-based multi-agent system for producing Instagram Reels. It collects source videos and visible data, extracts frames and audio, creates transcripts, identifies patterns, updates a playbook, generates ideas and moves each script through repeated critique and optimization.
Why the system was created
Content work quickly becomes a maze of links, notes, hypotheses and disconnected script versions. Content Factory creates a repeatable path where every conclusion has an input file, every stage has a dedicated role and the final script preserves the complete research and revision chain.
The platform serves content teams, experts and agencies that publish Reels regularly and want to work from observed examples, their audience, services, offers and calls to action rather than starting every script from a blank page.
The system had to connect browser collection, local video processing, transcription and several AI roles without letting agents overwrite each other's work, invent sources or drift from shared formats.
We built a Python pipeline with independent agent contracts and file exchange through Markdown and JSON. Codex handles collection and raw-media processing, Claude Opus performs analysis and content creation, and Critic with Optimizer iteratively improve each script until it reaches the configured quality gate.
Capabilities
The capabilities support one operating scenario and share common state, control and analytics.
The system accepts a video manifest, local media, captions, visible metrics and selected comments.
FFmpeg extracts audio and frames, while a dedicated tool can assemble local video from discovered media assets.
Audio is transcribed through Groq Whisper or local MLX Whisper, with a backfill path for missing transcripts.
AI turns the raw packet into a trend report, viral diagnosis and recurring patterns for later stages.
New evidence updates the shared knowledge base before a strategist creates ideas from audience, services, offers and CTAs.
A draft receives independent evaluation and successive rewrites until it passes the configured quality gate.
Outcome
Content Factory turns Reels research and scriptwriting into a repeatable production process. The team receives more than a standalone AI-generated text: it gets a traceable chain from source video and pattern to idea, critique, improvements and final script.
New project
Describe the current situation and the outcome you need. We will understand the context and propose a practical first stage.