Skip to content
Daniel Kliewer

How an Agent Built a Full Book-Marketing Campaign — and How You Can Replicate It

By
4 min read
How an Agent Built a Full Book-Marketing Campaign — and How You Can Replicate It

A book is a single artifact. A campaign is a body of work around it. This post is the recipe for the second: how an agent turned Computational Sovereignty: Building Local-First AI Systems into 22 memes, 16 advertising images, 5 narrated videos, a full social and educational corpus, and a distribution package — all generated on one laptop, all verified before shipping, none published without a human sign-off.

Everything below is reproducible. The companion repository holds the generators and the whole library: https://github.com/kliewerdaniel/computational-sovereignty-campaign. If you can run Python and ffmpeg, you can run this recipe.

0. The premise

The book's thesis is that you should own the intelligence you depend on, not rent it. The campaign applies the same logic to marketing: instead of renting attention (paid ads), build owned assets (memes, guides, video, a free chapter) that compound. The free chapter at danielkliewer.com/sample is the capture layer; the book monetizes it.

1. Discover what you already own

Before generating anything, inventory the machine. This one had: ffmpeg + ffprobe, ImageMagick, Pillow/matplotlib, a running Ollama, llama-server, a local Qwen-Image diffusion checkpoint, and a local Qwen3-TTS server with a voice clone of the author. That inventory is the production pipeline. The rule: inspect before installing, and only install what the pipeline actually needs.

2. Research before you write

Ground the campaign in cited public sources, not vibes: local-AI runtime mindshare (Ollama ~187K stars), the developer-vs-enterprise split (open-model enterprise share is falling, which tells you the buyer is an independent), and the competitor shelves (tool tutorials vs model treatises). The wedge — sovereignty and architecture, not another "how to use Ollama" guide — comes from that research, not from a slogan.

3. Derive a design system from the cover

Read the real book cover and extract its palette: near-black teal, amber windows, cyan knowledge-graph nodes, a brutalist monolith. Encode it once as a small module (tools/cs_design.py) so every asset — memes, ads, posters, video frames — shares one visual identity. One palette, many artifacts.

4. The meme factory

Five original templates (statement, split, terminal, invoice, two-panel) rendered with Pillow, auto-fitting legible type. Original compositions, not copied artwork. Every meme is saved separately and checked by eye before it ships.

5. Image advertising

Editorial ads, infographics, posters, and book-promotions, all built on the same module and integrating the real cover. The CTA strip (free chapter + book link) is generated and collision-checked, because a link that overlaps is a defect.

6. Narrated video

The local Qwen3-TTS server reads each beat in the author's cloned voice; designed 9:16 frames carry the captions; ffmpeg glues beats with hard cuts. Durations are measured with ffprobe and frames are extracted and inspected, because a video that plays as one frozen frame still passes a duration check.

7. The written body

Social posts per platform, educational guides, long-form articles, and campaign briefs — all in one voice, value-first, disclosed. The free chapter is the on-ramp everywhere.

8. The distribution package

A publication calendar, posting instructions with exact subreddits and their rules, and a generated asset index. Distribution is part of the product, not an afterthought.

9. Verify, or it didn't happen

Every visual asset was read back with vision; every video was probed and frame-extracted; every link was checked against a real source. The campaign ships only verified artifacts. This is the part most "AI marketing" skips, and it is the part that makes it trustworthy.

10. Reproduce it

The whole voyage in one block, for an agent or a human:

# 1. inventory the machine (ffmpeg, python PIL, a TTS server, a diffusion checkpoint)
# 2. derive the palette module from the cover
# 3. generate the body
python3 tools/make_memes.py     # 22 memes
python3 tools/make_ads.py       # 16 images
python3 tools/make_videos.py    # 5 narrated videos (needs the local TTS server)
python3 tools/make_asset_index.py
# 4. verify: vision on images, ffprobe on video, then publish by hand

The companion repo contains the generators, the design module, the full library, and this post: https://github.com/kliewerdaniel/computational-sovereignty-campaign.

11. What I'd tell you, if you asked

Do not rent attention when you can build owned assets. Do not publish an artifact you have not verified. Do not chase enterprise when the boom is independent builders. And do not let a campaign be a pile of links — make it a body of work that a reader can trust, starting with a free chapter and ending with a book they choose to buy.

This post and every asset it describes were produced by an agent from real output on local hardware; no fabricated metrics, endorsements, or sales figures. Book: https://www.amazon.com/dp/B0HMWFR6G7 · Free chapter: https://www.danielkliewer.com/sample

Related research

Nov 22, 2026

One Local Production System: Hermes, ArtCraft, Ganymede and Raea

How Hermes, Hermes Local Video Studio, Ganymede, the ArtCraft suite and Raea were wired into one local-first production system, with the exact contracts, commands and traps an agent needs to reproduce it.

Aug 21, 2026

The Skills Map for Building and Deploying AI Applications

A field guide to the six competencies that make up building and deploying AI applications — LLM foundations, grounding with data, agentic systems, evaluation-driven development, production operations, and machine-learning foundations — with the research and tools behind each.

Aug 9, 2026

Hermes Atlas v0.1: A Local-First, Incrementally-Compiled, Falsifiable Knowledge System

Hermes Atlas v0.1 is a local-first, incrementally-compiled, falsifiable knowledge system. This is a full replication guide: every command was run for real, and the failure modes are the findings.

Aug 9, 2026

Hermes Atlas v0.2: Claim-Level Coverage, a Determinism Gate, and a Knowledge-Mutation Canary

Hermes Atlas v0.2 is a benchmark-and-fix release: claim-level coverage localisation, a determinism gate that proves compile reproducibility, and a knowledge-mutation canary. Every number below was measured, not asserted.

Aug 9, 2026

Hermes Atlas v0.3: An Evidence Ledger, a Provable Claim Lifecycle, and an Explain Command

Hermes Atlas v0.3 adds an evidence ledger to every claim, a provable claim lifecycle (including DELETE-driven invalidation that retains history), and an `atlas explain` command. Every number below was measured, not asserted.

Aug 9, 2026

Hermes Atlas v0.4: Proving the Evidence Ledger & Claim Lifecycle with a Gold-Labeled Benchmark

Hermes Atlas v0.4 proves the v0.3 evidence ledger and provable claim lifecycle with a gold-labeled benchmark. Every number was measured on a fixed, model-free corpus; two real bugs were found and fixed in the process. Everything below is reproducible.

More from the archive