AI Systems / Self-Improving Engine

Made with BudFeatured showcase

How I Built an Autonomous, Self-Improving Content Engine That Went Viral in 7 Days

The 7 days were just the start. What began as one space account is now a calibrated, self-correcting engine that has refined itself across 800+ generation runs and three platforms, and the same engine now runs more than one brand.

Launch Growth Metrics

Audience growth across every channel.

First 90 days snapshot

Followers

All channels

Views

All channels

Loading live stats

The Premise

Building scalable systems is not sector-specific. The format changes, but the logic transfers.

This project happens to be about short-form space content, but the build pattern is not content-specific. I built it the same way I build scalable business systems: define the workflow, capture the right data, centralize the decision logic, and keep optimizing the variables that drive outcomes.

Each cycle becomes another operating pass. Analytics show which subject, hook, visual format, and caption structure are working; the system turns those signals into the next story selection, generation package, and publishing decision.

The same system logic can apply across ecommerce, paid acquisition, lead generation, pricing, inventory, and content. Measure what matters, turn patterns into rules, automate the repeatable work, and keep improving the parts that move growth.

How Much Feedback Is Coming In?

The audience is the dataset.

Every publish cycle is a live market test. It is not just views; Reels gives hold time, skips, replays, reach, saves, shares, comments, follows, and timing signals that show how people actually respond.

Audience Responses

estimated audience signals from social media platforms

This is the closest thing to a constant audience survey: people watch, skip, replay, share, save, comment, or move on. Each reaction makes the next decision sharper.

What Gets Tuned

13

validated creative-taxonomy fields, not blind knobs

Their combined space is far too large to brute-force, so the system never searches it blindly. It ranks each field by learned performance and steers toward proven combinations.

10+

feedback signals per post

Each one feeds straight into the next refinement decision.

Workflow Overview

Capture data, refine variables, execute, repeat.

01

Read analytics

Capture platform, publish, and performance data beyond surface-level reporting.

02

Adopt insights

Convert recurring performance signals into learned guardrails, sharper creative defaults, and operating rules that shape each next decision.

03

Select story

Choose a credible story that fits the current demand, clarity, and quality filters.

04

Generate package

Produce video, captions, titles, tags, and validation assets using the latest audience signals, learned creative rules, and scoring model.

05

Publish on schedule

Queue each generated package for the right platform window with status, timing, and content fingerprints recorded.

06

Feed back

Feed watch, skip, reach, and engagement signals back into the scoring logic, then let the algorithm recalibrate the next story, format, and publishing decision.

Under the loop

That clean six-step loop is the story. Underneath it, a multi-stage learning pipeline runs between cycles. It recalibrates the scoring weights, regenerates guardrails, and rebuilds the packaging patterns, while a fail-closed, 12-state publish machine governs everything on the way out.

The Creative Taxonomy

It improves because it knows exactly what it is allowed to adjust.

The creative choices are not free-form. Every story is described in 13 validated fields, each with its own controlled vocabulary, and each one is a hard gate before a post can publish. That structure is what makes the work rankable: the system can learn that one shot type or replay trigger consistently outperforms another, then bias toward it.

Story fit

  1. 01Subject category9 options
  2. 02Setting body13 options
  3. 03Primary action13 options
  4. 04Proof strategy6 options

Shot & camera

  1. 05Shot type11 options
  2. 06Camera angle8 options
  3. 07Camera motion9 options
  4. 08Motion speed4 options

Generation posture

  1. 09Realism mode5 options
  2. 10Scene complexity3 options
  3. 11Capture mode7 options

Replay & reference

  1. 12Replay trigger9 options
  2. 13Reference mode13 options

Where The Leverage Is

The real gains show up when fields start to connect.

These are not every combination. They are examples of the pairs the system watches, because they explain why one post holds attention, earns a replay, or spreads when another does not.

Proof strategyRealism mode

Signal: Trust

A credible claim lands harder when the way it is shown matches how that kind of evidence should look.

Subject categorySetting body

Signal: Curiosity

The same event reads differently on Mars, the Moon, or in deep space. The pairing is what creates the pull.

Shot typeReplay trigger

Signal: Retention

A wide reveal, a macro detail, or a witness POV each needs a different reason to watch a second time.

Camera motionMotion speed

Signal: Pace

Visual energy is the combination: speed without the right camera posture just reads as noise.

Two-Stage Scoring

One formula became a real scoring stack, before and after publish.

Every post is scored twice. Once before it is made, to decide whether it is worth the compute. Once after it publishes, to learn what actually worked, and to retune the model that scores the next one.

Stage 1 · Before generation

Score the story before it is made.

The system spends its generation budget on stories that are likely to earn it. Each candidate gets a single 0 to 1 score, and a learned block can cap a weak idea at 0.49 rather than deleting it. The block is advisory, not a hard veto. Small viability penalties (down to about 0.72x) pull down abstract stories with no visible on-screen event.

Weight 0.62

Strategy fit

How well the candidate matches what has actually been working, ranked across the 13 creative-taxonomy fields.

Weight 0.28

Quality fit

Frame-zero clarity, subject specificity, and mission authenticity: how concrete and credible the idea is.

Weight 0.10

Reference readiness

Whether the visual control plate the story needs can actually be produced cleanly.

Stage 2 · After publish

Then score what actually happened, per platform.

This used to be a single formula. It is now three calibrated models, one per platform, because hold, replay, and spread do not matter equally everywhere. The weights are not hand-picked. They are fitted by grid search against real view outcomes, then held steady so they do not churn run to run.

4.6×lift over baseline
on Instagram

Instagram composite (fitted)

(0.85 x z(skip_adjusted_watch_time))

+ (0.10 x z(views / reach))

+ (0.05 x z(reach_gate x (saves + shares + comments)))

Rank correlation (Spearman): ~0.64Top-20% hit rate: 46%Calibration runs kept: 20+

Those weights are the fitted result for Instagram, not a universal rule. A ~0.64 rank correlation means the score points the right way far more often than chance, not that it can guarantee a hit.

Instagram

0.85 / 0.10 / 0.05

hold / replay / spread · 781 scored reels

The hard-block authority. Skip-adjusted hold, views ÷ reach, reach-gated spread.

YouTube

0.90 / 0.05 / 0.05

hold / replay / spread · 79 videos

Its own components: average view %, view-duration ratio, weighted shares.

TikTok

0.85 / 0.05 / 0.10

hold / replay / spread · 46 videos

Completion rate and loop ratio, with a small-sample suppression gate.

Reading Results Honestly

Why I trust the full population, not just the winners.

The easiest way to fool yourself is to study only the posts that won. So every packaging pattern is measured two ways: across the top performers, and across all 772 analyzed reels. Decisions key off the full-population win rate, because winners alone lie.

Visual anchor: earth systems

Demoted

Among winners

Among winners it looks elite, with median virality around 1.4.

Full population

Across the full population of 772 reels it is actually negative (median -0.52, win rate 16%).

Replay trigger: human / window witness

Promoted

Among winners

Strong among the winners, as you would expect.

Full population

And it survives the full population, with the highest win rate of any trigger (about 47%).

What I Refine For

The scoring exists to improve five decisions that create growth.

I am not refining for a vague idea of virality. I am refining for the operating signals that make growth more likely, and each one ties back to a concrete lever in the scoring: retention to the 0.85 hold weight, distribution to the reach-gated spread term, repeatability to full-population win rate.

01

Attention fit

Does the story earn the first second? The system weighs credibility, novelty, subject demand, and whether the idea can be understood fast.

02

Visual clarity

Can the video show the idea without making people work for it? Shot type, action, proof, and camera posture are refined around that.

03

Retention

What makes someone stay, replay, or wait for the reveal? Pace, motion, scene complexity, and payoff timing are treated as controllable variables.

04

Distribution signal

Which packaging choices help platforms understand and route the post? Captions, metadata, hooks, and category signals are refined with each cycle.

05

Repeatability

Can the pattern be used again without becoming stale? The algorithm promotes lanes that can compound, not one-off ideas that are hard to reproduce.

Pass 01

Score the input

Pass 02

Choose the variable set

Pass 03

Generate and validate

Pass 04

Read the outcome

Pass 01 is the pre-generation score; Pass 04 recalibrates the platform models. The mechanics live in the two-stage scoring above.

Self-Governance & Memory

It writes its own rules, and remembers its own mistakes.

Scoring decides what to try. Two more layers keep it safe and make it compound: guardrails the system derives and enforces automatically, and a memory that carries lessons forward across platforms and runs.

Guardrails it enforces before publish

Rules it writes for itself

From 700+ published posts it auto-writes blocks for single fields, two-field combinations, whole content buckets, and a fast 2-to-4 hour early window, each evidence-gated, and capped so it never prunes more than 45% of any one field's options.

A pre-publish validator

Every post clears a multi-stage validator covering caption structure and video-prompt policy before it can publish. One hard failure stops it.

A computer-vision text guard

The rendered frame is inspected and blocked if it shows readable text, labels, logos, watermarks, or overlay panels.

A diversity guard

Each post is compared against the last five runs (0.88 prompt / 0.92 caption similarity); a repeat story has to change at least two fields.

Publishing itself is fail-closed: a rolling 24-hour cap, fingerprint dedup, and a 12-state publish machine.

Memory that compounds

Across platforms

A cross-platform prior blends Instagram, YouTube, and TikTok per content bucket, weighted by maturity. Instagram stays authoritative, while the others stay advisory until they have enough signal.

Across runs

When a run fails a specific way, the fix is captured once and applied to every future run that matches, and each lesson's effectiveness is tracked over time.

Through experiments

Controlled tests carry an axis, a hypothesis, a control, and a promotion gate, then resolve to promote, cool, retry, or needs-more-data.

The Same Engine, A Different Brand

The clearest proof the logic transfers: it already runs a second brand.

Everything above describes one space-content brand, but none of it is actually about space. A brand here is a configuration: its own accounts, its own creative taxonomy, and its own objective, sitting on top of the same shared scoring, guardrails, and learning loop.

I have since pointed the same engine at a second, unrelated brand. It optimizes a different success metric, a referral and conversion funnel rather than watch-time virality, and it is still gathering enough signal to fully calibrate. The point is not that brand's numbers yet; it is that the architecture moved without a rewrite.

A brand is a config file

Accounts, the creative taxonomy, and the objective being optimized live in one brand config. The scoring, guardrails, and learning loop are shared.

Isolated runs and accounts

Each brand gets its own runs, scheduling, and analytics, so one brand's learning never contaminates another's.

A different objective

The second brand optimizes a referral-and-conversion funnel instead of a watch-time virality score: a different success metric on the same machine.

Conclusion

The point is not more content. It's adapting to what works.

The system worked because it kept converting audience behavior into better creative decisions.

Data is useful only when it changes the next operating decision.

AI learns quickly, but the quality of the feedback determines what it learns.

The advantage is the loop: measure, learn, adjust, publish, and let the next cycle inherit the lesson.

Speed of deployment for advanced methods is possible when experienced builders pair strong judgment with new AI tools.

That is why I see this as more than a content project. Building scalable systems is not sector-specific. The proof is that the same engine already runs a second brand. The subject changes; the pattern does not: define the workflow, capture signal, refine the variables, and compound what works. It is the same approach I would bring to a company that wants growth run as a measurable, self-correcting system instead of a guessing game.

Special Thanks

Thanks to Bilal Dhouib for the AI content creation idea, and for working with me through the challenges that shaped this project.

Back to homepage