Agent Neo: How We Automated Ebook Generation in 45 Minutes
The complete workflow for autonomous dual-track ebook creation. From topic input to 2,300-word ebooks with quality scoring and visual generation prompts.
What if you could input a topic and receive two complete, quality-scored ebooks 45 minutes later? No writing. No editing. Just refined, actionable content ready for publication.
This is Agent Neo—our autonomous content generation workflow.
The Challenge
Creating quality ebooks is time-intensive:
- Research: 4-8 hours
- Writing: 8-16 hours
- Editing: 2-4 hours
- Formatting: 1-2 hours
- Visual creation: 2-4 hours
Total: 17-34 hours per ebook.
We wanted to compress this to under an hour while improving quality.
The Dual-Track Approach
A single topic can serve different audiences:
Track A (Premium - $47): ROI-focused content for professionals solving business problems. “Stop losing $500/month on failed API requests.”
Track B (Starter - $14): Learning-focused content for those building skills. “Master rate limiting: The patterns senior engineers use daily.”
Same core framework, different angles, different value propositions.
The 8-Step Workflow
Step 1: Validation
Before writing begins, Agent Neo validates:
- Does the topic have a clear problem?
- Is the framework structured (3+ steps)?
- Is Track A viable ($ costs, time waste)?
- Is Track B viable (knowledge gap, career value)?
- Is there fluff in the input?
{
"approved": true,
"trackAViable": true,
"trackBViable": true,
"hasClearProblem": true,
"hasFramework": true
}Rejected topics get specific feedback. No wasted generation.
Step 2: Angle Generation
Distinct positioning for each track:
Track A:
- Hook: “Stop [wasting/losing] $[amount]/month on [problem]”
- ROI Promise: “Most teams see [result] within [timeframe]”
Track B:
- Hook: “Master [topic]: The [framework] [senior role] use”
- Capability Promise: “You’ll confidently [action] in [context]”
Both angles include specific numbers. No “significantly improve” vagueness.
Step 3-4: Ebook Generation (Parallel)
Both ebooks are generated simultaneously using the RIPSEC framework:
| Section | Words | Purpose |
|---|---|---|
| Rapport | 150-200 | Show understanding of their problem |
| Introduction | 200-250 | Promise specific outcomes |
| Problem | 300-400 | Quantify the cost of inaction |
| Solution | 800-1000 | Step-by-step implementation |
| Empowerment | 200-300 | Address doubts, build confidence |
| Celebrate | 100-150 | Paint the future success |
Total: 2,100-2,300 words per ebook.
The Solution section is 40-50% of the content—actionable, detailed, with real examples.
Step 5: Quality Verification
Every ebook is scored on 7 dimensions:
- Specificity (15 pts): Every claim has numbers
- Examples (15 pts): Real-world cases with outcomes
- Actionability (15 pts): Can execute 50%+ on day 1
- Value Density (15 pts): Zero fluff phrases
- Mistake Prevention (15 pts): 3+ mistakes per step
- Clarity (10 pts): Junior could understand
- Confidence (15 pts): All doubts addressed
Threshold: Score ≥ 85 to proceed. Below 85 triggers regeneration with feedback.
Step 6: Visual Prompts
Agent Neo generates prompts for Nano Banana Pro:
- 4-8 diagrams per ebook (flowcharts, comparisons, timelines)
- 2 book covers (premium styling for each track)
- 50 social graphics (quotes, stats, tips, mistakes)
Step 7: Sales Copy
Complete landing page copy:
- Headline and subheadline from angles
- Problem bullets (3-5)
- Solution bullets (3-5)
- “What’s Inside” breakdown
- Realistic testimonial
- Money-back guarantee
- CTA with pricing
Step 8: Social Snippets
50 self-contained snippets for social distribution:
- 16 stat snippets
- 16 tip snippets
- 10 mistake snippets
- 8 quote snippets
Each snippet: 100-280 characters, includes specific numbers, works standalone.
The Technical Stack
Agent Neo orchestrates multiple models:
Primary: Claude Opus (ebook writing)
Secondary: GPT-4 (quality scoring)
Tertiary: DeepSeek (snippet extraction)
Knowledge Base:
├── ripsec-framework.md
├── quality-criteria.md
└── angle-generation.md
Context Window: 200k tokens
Memory: Persists across all steps
Execution settings:
- Max steps: Infinite (autonomous)
- Timeout: 45 minutes
- Retry logic: If quality < 85, regenerate with feedback
- Parallel execution: Steps 3-4, Step 5
Real Output
A single run produces:
{
"topic": "API Rate Limiting",
"validation": { "approved": true },
"angles": {
"trackA": { "hook": "Stop losing $500/mo..." },
"trackB": { "hook": "Master rate limiting..." }
},
"ebooks": {
"trackA": { "wordCount": 2247, "markdown": "..." },
"trackB": { "wordCount": 2198, "markdown": "..." }
},
"quality": {
"trackA": { "score": 91, "status": "APPROVED" },
"trackB": { "score": 88, "status": "APPROVED" }
},
"visuals": [ /* 58 generation prompts */ ],
"salesCopy": { /* landing page copy */ },
"snippets": [ /* 50 social snippets */ ]
}Time: 38 minutes from topic input to complete package.
Why It Works
- Structure enforces quality: RIPSEC ensures every section has purpose
- Validation prevents waste: Bad topics fail before generation
- Parallel execution saves time: Both tracks generate simultaneously
- Quality gates catch issues: Score < 85 triggers automatic revision
- Complete package: Not just ebooks, but all supporting material
Getting Started
To run Agent Neo in your workflow:
- Create a new flow in your orchestration tool
- Enable autonomous mode
- Connect to the RIPSEC Knowledge Garden
- Provide inputs:
- Topic
- Problem
- Pain Point
- Framework Name
- Framework Steps (3+)
- Execute and wait ~45 minutes
- Receive complete dual-track package
Part 4 of the “Building Aegntic” series. Previous: The MCP Revolution. Next: The Philosophy of No Shortcuts