My phone vibrates.
I open Telegram, and there's a finished video waiting for me. Script, voiceover, characters, animation, and even a scheduled publishing slot.
Nobody edited it. Nobody opened a video editor. The entire thing was produced automatically.
This happens several times a day across 6 different channels. And honestly, I still get excited every time it happens.
I spent the last few days building this system using Claude agents and Python scripts. It's organized into 4 main layers.
The core principle is simple:
AI models generate, reason, and evaluate. Code makes the actual decisions.
Here's how the pipeline works.
1. The scheduler
A Python script runs every minute and checks the production queue.
If there are enough videos waiting, it exits without calling any AI models. No unnecessary API calls, no wasted money.
When the queue needs another video, it triggers the production agents.
2. Story generation
Once a day, a script fetches Google Trends and Google News data and saves it as JSON.
A trends agent turns that data into potential topics. Ideas are stored in a local SQLite database, and once an idea has been used, it's marked as consumed.
Another agent researches the facts online before the script is written.
One of my favorite parts is what I call the Hook Battle.
An agent generates alternative openings for the same story. The code shuffles them, and an independent judge evaluates them without knowing which one was the original.
The judge returns scores in JSON. The code replaces the original hook only if an alternative wins by at least 2 points.
No guessing. Just evaluation and a predefined decision rule.
For episodic content, there are 2 additional quality gates: a cold reader checks whether someone unfamiliar with the story can understand it, and a continuity checker makes sure cliffhangers are properly addressed in the following episode.
3. Video production
Voiceovers are generated locally using Kokoro.
At one point, the voice model kept misreading numbers. Instead of fixing them manually, I added a lint rule that blocks text containing digits, dollar signs, or percentages before voice generation.
Characters, environments, and shot lists are generated and validated before animation starts.
The animation itself is code-based: Three.js running inside Remotion. 2D characters moving through a lit 3D environment.
Each channel has its own copy of the animation engine.
For quality control, FFmpeg extracts frames into a single contact sheet. A script checks it, and a separate AI reviewer inspects the result with fresh eyes.
If something fails, the video goes back into production.
4. Distribution
Once a video passes all quality checks, it's automatically scheduled through APIs into the next available publishing slot across platforms.
Then Telegram sends me the finished video.
That's the notification I started this post with.
The interesting part: the system learns
Every 48 hours, the system analyzes published video performance and tries to identify the winners.
It doesn't just look at views. It tries to understand what worked:
- Which hooks performed best?
- What story structures kept people watching?
- What pacing worked?
- Which formats generated better retention?
When it identifies a winning pattern, it updates that channel's Skill. Those insights become new instructions that influence how future scripts are written.
Every mistake I discover becomes a rule. Every Skill and its reasoning are stored in Git, with a separate repository for each channel.
The goal is to make the production system improve based on actual audience behavior, rather than repeatedly making the same assumptions.
What's the result so far?
My poker channel, Poker World Theory, is now averaging over 1,000 views per video.
YouTube: https://www.youtube.com/@Pokerworld.theory/shorts
The entire system currently operates across 6 channels, producing several videos every day.
Why am I sharing this?
I started with a simple question:
What if I could build a complete content production line without hiring editors or manually managing every step?
I ended up building something much bigger than I initially expected.
I'm now opening Storybox as a free, self-hosted Alpha.
It's not another AI tool that generates a single video. The idea is to provide the infrastructure for building your own automated content production pipeline.
I want other builders and creators to experiment with it, break things, improve it, and hopefully take it in directions I haven't thought of.
If you'd like to check it out or join the Alpha:
https://storybox.live/studio
I'd also genuinely love to hear from people building similar systems. What parts of content production have you managed to automate, and where do you still need human intervention?