Note This white paper describes Booklite, the open-source Lite release of an internal Agentic689 book marketing system. Booklite is the single-book, single-voice public version. The production system runs multiple author personas, multiple books in parallel, and generates creative assets across image, audio, and video APIs. This paper documents architecture and methodology. Specific brain prompts, persona files, attribution models, and client-confidential details remain proprietary to the production system.
Booklite
Agentic689 · Autonomous Book Marketing
White Paper · Architecture · Methodology
Lite Release · v1.0 · 05.12.26
Brain Context · Multi-Channel Posting · Approval Routing · Attribution Loop Agentic Processing Layer · A689
Reddit · X · Facebook · Instagram · Goodreads · KDP By Adam R. Cagle

Book Marketing as a Production System.
Single Book, Single Voice, Six Channels, One Brain.

Architecture · Voice · Approval · Attribution · Lite vs Production
00

Executive Summary Overview

Most authors marketing their own books have a problem that no commercial tool solves. The work requires posting intelligently across multiple platforms, in one voice, every day, without sounding like marketing. Enterprise tools assume a publisher's budget. Generic schedulers know nothing about books, ranks, or reader communities. The result is an industry of independent authors who either burn out posting manually or pay for services that flatten their voice into hospitality copy.

Booklite is the open-source Lite release of an internal Agentic689 system built to solve this. A local Node.js server runs on the author's machine. A single HTML dashboard runs in the browser. The Anthropic Claude API runs the strategic brain that writes copy, plans cadence, and reads what is and is not converting. Six channels live inside one workflow: Reddit, X, Facebook Pages, Instagram, Goodreads search, and KDP rank.

The Lite release is scoped to one book, one author voice, and one operator. It is the public reference implementation. The production system is the same architecture extended to many personas, many books in flight, autonomous cadence with role-based approval gates, and in-app creative asset generation through additional image, audio, and video APIs.

What the Lite release ships with
  • Six channels wired through official APIs. No browser-side keys, ever.
  • One Claude brain driving voice, angle selection, and platform-specific drafting.
  • An approval queue with rejection feedback that flows back into the next generation cycle.
  • Live KDP rank through Rainforest API or a manual CSV upload from the KDP dashboard.
  • An authenticity ratio that defaults to seventy percent pure community contribution, thirty percent product-adjacent.
  • Two source files. One server, one dashboard. Auditable in an afternoon.
The goal is not to automate the author out of the loop. The goal is to give one person the operational reach of a marketing team without forcing them to sound like one.
01

The Author Marketing Stack Is Structurally Broken The Problem

Self-published and small-press authors live inside a structural gap. The data they need to operate is available through official APIs. Reddit, X, Facebook, Instagram, and Amazon collectively expose enough surface area to run a complete post, listen, attribute, and refine loop. The intelligence to operate that surface area, in one voice, without burning out, is what the market has not built.

Enterprise marketing platforms assume publisher-scale budgets and treat books as one more SKU. Generic schedulers like Buffer or Hootsuite have no concept of a Reddit community, a Goodreads star rating, a contrarian X hook, or a KDP rank movement. Author services agencies cost more than most titles will ever earn back. The default for most authors is a manual rotation of half-attempted posts written at midnight, with no memory of which angles converted and which were dead on arrival.

The problem is not volume. The problem is that recurring author marketing lives at the intersection of tight cadence, specific community norms, hard voice rules, a single human's bandwidth, and the need for genuine contribution rather than promotional noise.

Two common failure modes
  1. The author posts competent promotional copy that could belong to any book in the category, fails to convert, and quietly stops posting.
  2. The author overcorrects into strategic mimicry of what worked for someone else, sounds slightly off, and trains the algorithm to deprioritize them.

Booklite was built to solve both problems for one author at a time. The production system solves them for an imprint.

02

Marketing as a Production System Design Principles

Booklite treats book marketing not as a content calendar with a chatbot bolted on, but as a structured production system inside the author's own workflow. The system rests on six design principles.

// 01

Brain context before generation

The model works from a curated book brief, voice rules, target reader profile, competitor list, what is working, and what has been retired before it writes a single line.

// 02

Voice rules are operational data

A voice is not a vibe. It is a list of forbidden phrases, structural rules, channel-specific registers, and concrete examples of what good looks like.

// 03

Authenticity is the ratio

The majority of posts the system generates contain zero product mentions. They are genuine community contributions. The minority are product-adjacent. The default is seventy thirty.

// 04

Local first, key safe

The browser never sees a credential. Every key lives in a .env file on the author's machine. Every third-party call is proxied server-side by a process the author owns.

// 05

Humans remain the publish gate

The system drafts, scores, and routes. It does not publish. Every post passes through an approval queue. Human judgment stays explicit and mandatory.

// 06

Every approval improves the next cycle

Approvals, rejections, edits, and conversion outcomes become operating memory. Dead angles retire. Live angles get more reps. The brief gets sharper.

Important distinction. No foundation-model weights are retrained at any point. The learning happens at the workflow and context level. Better source material, better voice rules, better attribution data, and better routing of operator decisions.

03

System Architecture Six-Layer Stack

Booklite uses a modular architecture that runs end to end on the author's local machine. Each layer has a defined responsibility, and the stack runs in one process serving one HTML file.

ADevice
UI Runtime

A single HTML file served from localhost on port 3100. Vanilla JavaScript, no build step, no framework. The dashboard talks only to its own backend. Nothing about the browser layer assumes a deployment target.

  • Single file
  • No build
  • No framework
  • Localhost only
  • Dashboard view
  • Setup form
  • Approval queue
  • Brain console
  • KDP view
BBrain
Intelligence Engine

Claude Sonnet 4 carries the full brain context on every call. Voice rules, target reader, competitor list, channel platform rules, and what works are passed as the system prompt. The brain drafts, proposes angles, and reads attribution.

  • Claude Sonnet 4
  • Brain context
  • Voice rules
  • Angle library
  • Channel adapter prompts
  • Attribution reads
CChannels
Channel Adapter Layer

Six channels wired through official APIs. Authentication, signing, and rate-limit awareness live in this layer. Goodreads write is deprecated and the system reflects that. Instagram requires an image and the system enforces it.

  • Reddit OAuth2
  • X OAuth 1.0a
  • Facebook Graph v19
  • Instagram Graph v19
  • Goodreads search
  • Rainforest KDP rank
DVault
Secret Management

Every credential lives in a single .env file on disk. The repository ships .env.example with empty values. The server boots, reads process.env, and never hands keys to the browser. Thirty-nine env references, zero hardcoded credentials.

  • dotenv
  • .env on disk
  • process.env only
  • .gitignore default
  • Pre-push grep sweep
  • Rotation on incident
EGate
Approval Router

Drafted posts land in a queue. The operator can approve, reject with feedback, edit, or rewrite. Rejection reasons feed back into brain context for the next cycle. Nothing reaches a channel without a human action.

  • Pending queue
  • Reject reason
  • Edit in place
  • Rewrite
  • Manual mode default
  • Audit metadata
FLearning
Attribution Loop

Engagement reads flow back into the brain context. Angles get scored. Dead patterns retire. Live ones get more reps. The brief becomes sharper over weeks of use without anyone editing a prompt by hand.

  • Engagement read
  • KDP correlation
  • Angle scoring
  • Auto-retire
  • Brief refinement
  • Cycle memory
04

Architecture at a Glance System Flow

A draft enters from the left and reaches a channel only after passing every gate in the system. The attribution loop closes back into Brain Context, where the next draft begins with stronger signal than the last.

// 04 · SYSTEM FLOW A689 / BOOKLITE 01 · SETUP BOOK BRIEF title · reader · voice rules 02 · PLAN CHANNEL + ANGLE brain selects target 03 · CONTEXT BRAIN_CTX RETRIEVAL rules · what works · what is dead 04 · GENERATE MULTI-CHANNEL DRAFTS reddit · x · fb · ig voice-specific per channel 05 · CRITIQUE VOICE + AUTHENTICITY forbidden phrases · ratio may trigger rewrite 06 · APPROVAL OPERATOR QUEUE approve · edit · reject publish gate 07 · POST CHANNEL API CALL official endpoint · rate aware 08 · ATTRIBUTE ENGAGEMENT + RANK READBACK scores update BRAIN_CTX · retired angles fall away · live ones get more reps rewrite ATTRIBUTION LOOP FORWARD FLOW · BLACK ATTRIBUTION RETURN · ACCENT HUMAN GATE · STEP 06 Eight stations. One loop. Nothing posts without a human.
Eight-Phase Flow · Voice Critique Closes Before Operator · Attribution Returns to Brain Context
05

Six Channels, One Brain Channel Adaptation

5.1 Why One Brain, Six Voices

Booklite treats every channel as a parallel publishing surface with its own voice rules, rate limits, and authenticity expectations. The brain holds a separate voice module per channel inside one unified context. A long-form Reddit post and a contrarian X line are generated by the same model, against the same book brief, but they read like they were written by two different people who happen to share an opinion about a book.

5.2 The Channels

  1. Reddit through OAuth2. Long-form, personal, self-deprecating where it lands. Community-first. No links in posts. Links live in comments.
  2. X / Twitter through OAuth 1.0a. Short, contrarian, hook in line one. Free-tier ceiling of fifteen hundred posts per month, throttled to forty-five per day.
  3. Facebook Pages through Graph API v19. Warmer than X, two to four sentences, cover art attached. Links are fine here. Facebook surfaces them naturally.
  4. Instagram through Graph API v19. Caption-led, three to five lines before the cut, image mandatory. Link-in-bio only.
  5. Goodreads through the legacy search endpoint. The write API was deprecated in December 2020. The brain generates the review copy and the operator pastes it manually.
  6. KDP rank through Rainforest API for live BSR, or a CSV upload from the KDP sales dashboard. Both feed the same dashboard view.

5.3 Inputs

The system receives a configured book brief (title, subtitle, authors, target reader, differentiator, competitors, ASIN), an authenticity ratio, and a list of active platform targets. From that point on, every brain query carries the full context as a system prompt.

5.4 Voice Rules in Operation

The voice layer is operational data, not a tone description. The brain is instructed to refuse direct pitch openers, ban a specific list of forbidden phrases (life-changing, game-changer, must-read, highly recommend), require one specific detail per post (week, chapter, what was hard), and limit title mentions to once per post maximum.

5.5 The Authenticity Ratio

The defining design rule. The majority of posts contain zero product mentions. They are genuine community contributions on the book's topic, written in the author's voice, with no CTA and no buy link. The minority of posts are product-adjacent, and even those lead with experience or observation. The default ratio is seventy thirty, configurable to eighty twenty (conservative) or sixty forty (aggressive).

This is the difference between an author who is part of a community and a marketer performing inside one. Reddit will detect the second within four posts.

5.6 Operational Result

One brief produces a multi-channel draft set in twenty to thirty seconds. Approval queue review is the human-time bottleneck, typically three to six minutes for an eight-post batch. Post execution is sub-second per channel once approved. The brain reads engagement on the next cycle and adjusts.

06

The Brain as Strategic Operator Context, Not Prompt

6.1 The BRAIN_CTX String

Every brain call carries a single system prompt that holds the full book context. This is not a prompt template the operator edits before each call. It is durable operating context that the system updates as the campaign runs. Approvals, rejections, conversion signals, and dead-angle observations all write back into it.

6.2 What the Brain Holds

The active brain context covers the book's title and authors, the differentiator (what makes it different from every other book in the category), the target reader described in specific demographic and psychographic terms, named competitors the brain must avoid sounding like, active platforms and communities, the current approval mode, the live what works list with attribution evidence, the what is dead retirement list, the voice rules, the authenticity ratio, and the current campaign phase.

6.3 Why It Is Durable Context, Not Per-Request Prompting

A prompt template is rewritten by the operator on every call. A brain context is read by the system on every call, and rewritten by the system itself between calls. The operator does not retype voice rules. The system does not forget what worked yesterday. This is the lightest possible version of an idea the production system extends much further.

6.4 Outputs

A single brain query can produce platform-specific copy across all six channels, a strategy critique of the current angle mix, an attribution read of the last cycle's posts, a proposed new angle to test against retired ones, a forbidden-phrase audit of any draft the operator pasted in for review, and a community suggestion based on what the brief has not yet reached.

6.5 Why It Matters

Most authors stop posting after four to six weeks because the cognitive overhead of remembering their own voice rules, tracking which angles have been used, and translating their book into platform-specific copy is more than the marginal sale is worth. The brain context absorbs that overhead. The author stays in the loop on decisions and out of the loop on translation.

07

Why a Second Pass Has To Critique the First The Approval Gate

The most important architectural decision in Booklite is the separation of drafting from approval. The brain that writes the post is encouraged to explore. The gate that approves it is encouraged to interrogate. The operator sees only what survives the second pass.

// 07 · TWO PASSES · ONE TENSION A689 / BOOKLITE 01 · BRAIN Explores. Multi-channel angle set. Voice variation per platform. Contrarian hooks. Experience-led openings. Permission to take swings. 02 · GATE Interrogates. Does it sound like marketing? Did it open with the title? Forbidden phrase present? Would the author actually send this? Permission to be ruthless. QUEUE The first pass writes. The second pass judges. The operator ships. By the time a post reaches the queue it has already been read twice.
Brain Encouraged To Explore · Gate Encouraged To Interrogate · Operator Sees Only What Survives
The gate asks
  • Does this open with the book title or author name?
  • Is the first product mention earlier than paragraph two on Reddit, or line three on X?
  • Is any forbidden phrase present?
  • Did the draft hit one specific detail (week, chapter, what was hard)?
  • Are there two title mentions where one is the maximum?
  • Is the platform voice correct, or did Reddit copy bleed into the X version?
  • Would a reasonable reader of this community recognize it as marketing?
  • Would the author actually attach their own name to this?

The first pass expands. The second pass disciplines. The approval queue receives something closer to a real reviewable draft rather than raw model output. The operator's time is spent on judgment, not janitorial work.

08

Attribution as Operating Memory Learning · Curation

The phrase recursive learning can sound grandiose. In Booklite it means something precise. The system keeps a record of which angles drove engagement, which drove unit sales correlated to KDP rank movement, and which produced silence. The brain reads that record on every subsequent draft.

// 08 · ATTRIBUTION CYCLE CURATED · NOT PASSIVE 01 post Post goes live on channel 02 measure Engagement reads back 03 attribute KDP rank correlated to posts 04 score Angle scored. Dead / Live / Hot. 05 update BRAIN_CTX updated in place 06 stronger Next draft begins stronger Attribution Loop curated improvement
Six Stations · Closed Loop · Each Pass Sharpens The Operating Context

This is not passive accumulation. It is curated improvement. The brain does not record everything. It records the signals that change future behavior.

Examples of attribution signals
  • Hook patterns on X that beat linked posts by orders of magnitude.
  • Reddit communities that save and reply versus those that scroll past.
  • Goodreads review angles that drove a measurable bump in KDP rank.
  • Forbidden phrases the gate catches repeatedly (a signal that the brain prompt needs updating).
  • Operator rejection reasons that cluster around one bad habit.
  • Communities that have been overworked and are due a cooldown.
  • Angles that were live for three weeks and have lost their edge.

Over time, the system becomes more useful because the author becomes more explicit about what they actually believe a good post looks like for their book.

09

What Makes Booklite Different Lite vs Production

Booklite is the public Lite release of an internal Agentic689 production system. The Lite release is the reference implementation. The production system is what runs underneath it at scale. The table below documents the delta honestly.

Capability Booklite v1.0 · Lite (Public) Agentic689 Production (Internal)
Authors / personasOne voice, one personaMany personas, separate voice models
Books in flightOne titleWhole catalog, cross-book attribution
Creative assetsText only, manual cover artImage, audio, and video generation in-app via additional APIs
CadenceOperator-driven, manual approval per postAutonomous schedule with role-based approval gates
Approval queueSingle user, single inboxRole permissions, audit trail, multi-reviewer routing
AttributionPer-post, per-channelCross-book, cross-persona, cohort analytics
Voice libraryOne BRAIN_CTX stringVersioned, per-persona, A/B tested
StorageFilesystem and CSVPostgres with full history and replay
DeploymentLocal Node process on the author's machineHosted multi-tenant with SSO and audit logs
LicenseMIT, open sourceProprietary, licensed access

If you are a publisher, imprint, or author-services agency considering the production system, the right next step is a conversation, not a download. The Lite release is the proof of concept and the architecture sample. The production system is what scales it.

10

What Remains Human Authorship · Voice · Judgment

Booklite is built around the conviction that the most valuable decisions in author marketing remain human. The system can draft, score, route, and remember. It cannot care about a book.

Humans still own
  • The book itself.
  • The voice that defines it.
  • The choice of which communities are worth contributing to.
  • The final read on whether a draft actually sounds like the author.
  • The decision to retire an angle the brain is still pushing.
  • The decision to publish, edit, reject, or rewrite.
  • The strategic call about when the book has had enough campaign and the system should be turned off.
The system expands the author's reach and compresses repetitive translation. It does not replace authorship, voice, or judgment.
11

System Snapshot Live Snapshot · 05.12.26

6ch
Channels Wired Through Official APIs
2files
Source Files. Server Plus Dashboard.
39env
Env-Backed Secrets, Zero Hardcoded
v1.0
Public MIT-Licensed Lite Release

Beyond the system numbers, Booklite produces a multi-channel draft set in twenty to thirty seconds, processes an eight-post approval queue in three to six minutes of operator time, and posts at sub-second latency per channel once approved. Brain context updates run between cycles, not during. The author opens the dashboard, reviews, approves, and closes the tab. The architecture stays out of the way.

12

Next-Phase Build Opportunities Roadmap

// 12.1

Persona Layer

Move from one voice to many. Distinct author and reviewer personas, each with its own voice model, channel preferences, and authenticity ratio. The production system already runs this.

// 12.2

Catalog Mode

Multiple books in flight simultaneously, with cross-book attribution and shared learning. A boost on one title teaches the system something about the others.

// 12.3

Creative Asset Generation

Image, audio, and video APIs wired into the same approval queue. Cover variants, quote cards, short-form video scripts, and ad creative generated in-app rather than handed to a separate tool.

// 12.4

Autonomous Cadence

Move from operator-driven to scheduled. Posts queued by the brain, gated by role-based approval rules, and shipped on a cadence the author tunes once and revisits monthly.

// 12.5

Attribution Confidence

Stronger statistical separation between correlation and causation in the angle-scoring layer. Smaller sample sizes get weaker weight. Repeated wins get stronger.

// 12.6

Goodreads Workaround

The Goodreads write API is unlikely to return. A browser extension that pastes brain-generated review copy into the active Goodreads tab is a viable bridge.

// 12.7

Multi-Operator Mode

Author and assistant inboxes, role permissions, audit trail, and the ability for the author to ship a brain-trained voice to a junior team member without giving away the keys to their reputation.

13

Marketing Operations Design Conclusion

Booklite was not built to prove that AI can write a Reddit post. That proof is trivial and no longer interesting.

It was built to answer a harder question.

Can a single author operate at the reach of a marketing team without becoming less themselves?

The answer in the Lite release is conditional. Yes, when the system is grounded in real book context, voice rules treated as data, channel-specific drafting, a critique pass before human review, a human gate before publish, and an attribution loop that turns approved posts into operating memory.

The production system extends that conditional yes into something more useful. Many personas. Many books. Creative asset generation across image, audio, and video. Autonomous cadence with role-based approval. The same architecture, scaled.

This is not content automation. It is marketing operations design for people whose name is on the book.

And for publishers, imprints, and author-services agencies facing a permanent demand for quality at speed, that distinction matters.