Full transcript
Introducing the AutoBook Builder System
0:00Hello, my name is Eel Herod and I have
0:02been working hard over the past uh two
0:06weeks, literally uh since I stopped uh
0:09posting every day for the app a day uh
0:13challenge, which by the way, it's still
0:15going very very well. I am literally
0:17coding every day. I just it trying to
0:20post every single day has started to
0:23really like make my head go crazy, but
0:25I'm not stopping the process. What I did
0:29was I built a thing. I built a thing
0:32that uh I think I'm calling it the
0:35Autobook Builder system. It actually it
0:38works a lot like Claudebot uh except I I
0:43can't remote into it yet. I'm going to
0:46try and figure out a way to maybe do
0:48that at some point. But uh I built a
0:51system that uh works inside of Codeex.
0:54It actually works inside of Claude Code
0:57also and [clears throat] it makes books
1:00for me. It helps me make books. Uh it's
1:02a system and what what I'm going to do
1:04and this is mostly for my people over at
Inside the StoryHacker Community & The Codex Pipeline Metaphor
1:07StoryHacker. I'm uh in that community uh
1:10now and I'm really enjoying the uh
1:12process of uh getting to know everybody.
1:14Very large community, [laughter]
1:16super huge community. I was surprised
1:19how big it is. It's I'm having so much
1:22fun building things and so I thought I
1:24would walk you and uh those people over
1:27at StoryHacker into I'm going to share
1:31what I perceive as a really fun system
1:36that hooks into uh your CLI uh with
1:39codeex. We'll just get into that in the
1:41first section. All right, let's talk uh
1:45let's talk book building. So this one is
1:47uh it's called the autobook builder.
1:49This presentation is called the Codeex
1:51Pipeline. The whole point of this is I'm
1:54going to probably be doing this as a
1:56presentation at different um book events
1:59and different things and I just want to
2:01be able to put it in front of everybody
2:03and I'm testing out this particular
2:05metaphor of building a building. So,
2:08we'll we'll see if it works. All right,
2:10let's jump right in. Oh, by the way,
2:12this is why AI matters.
2:22All right, now let's do this. Hi,
2:25welcome to this presentation on the
2:28codeex pipeline. All right. So, the
Breaking the Hallucination Loop: The Reality of Local AI Infrastructure
2:31whole idea when I first started this
2:33thing was that I wanted something that I
2:37could a Claudebot had been completely
2:41taking running the world by just taking
2:44the world by storm. And I decided I
2:46wanted to make something that wasn't
2:48quite there. wasn't quite all the way
2:51there, but it was helpful to me, which I
2:54write. I publish. I I wanted to be able
2:57to build something that could help me
3:00pipeline books and I could be the
3:03critiqueer and the tastemaker and making
3:05all of the story choices and really
3:08really taking this idea of the guesswork
3:13which is what is the biggest problem
3:16with AI is that it uses it the guesswork
3:21alone is a killer. You don't want it to
3:24hallucinate. You don't want it to veer
3:26off to the left, veer off to the right.
3:28And a lot of people have been trying to
3:30build these mechanisms and these
3:32programs and stuff like this. And I
3:34realized that when Codeex came out that
3:37I could use it to actually just build a
3:40system. And so what uh and what's the
3:44great thing about building a system with
3:45Codeex is that it's all local. it
3:49everything all and if you open it up to
3:52the entire system, you can go all the
3:54way down to the system level and have
3:56control over every single thing inside
4:00of your computer. This is very powerful
4:03because if you set up your GitHub and do
Why Computers Love Markdown (.md) Files for Story Universes
4:05all of these things, you can push your
4:09books or or even the vibe coded things
4:12that you're building. You can push those
4:14up to GitHub and they just sit up there
4:17for free and you can make them private
4:19and it doesn't cost you any money
4:20whatsoever. It's a free way to store
4:23your MD files. And I say MD files
4:27because uh there are several actual
4:30rappers that really that are word
4:33processor sort of rapper things like
4:36novel crafter like pseudorite typing
4:39mind like raptor write that all they all
4:44literally give you the ability to read
4:48MD files and computers love MD files and
4:52you can read MD files really well
4:54because computers can translate it into
4:56bold or whatever it is with all of those
4:59symbols and everything. So you have the
5:01ability with this new paradigm to
5:06communicate with a computer in a format
5:08that it already likes and loves. So you
5:11have all of that control. So now what I
5:14first did was when I was developing this
The Silent Witness Iteration Loop: Modifying Skill Logic
5:16system, I was trying to figure out uh
5:19the best way to have pros pop out the
5:22other end. So, I kept tweaking things
5:24and I'm going to be releasing all of
5:26this code. It's going to be public and
5:28I'm just going to release the whole
5:30thing. I was being very precious with it
5:32at first, but I was like, "Wait a
5:33minute, that's just dumb. If I release
5:35the whole thing to you, maybe somebody
5:37else out there can improve uh the
5:39thing." I've got a front end that uh
5:42that that you can actually use to uh
5:46fiddle around with it. And maybe later
5:47in the video, I will show you that front
5:50end. Actually, as a matter of fact, I
5:51will show you that front end. Okay, so I
5:54used the silent witness and I looked at
5:56the input. It generated output. I
5:59identified the flaws. I modified the
6:01skill logic and reran the pipeline over
6:05and over again until I got the thing
6:07that I wanted. And that's that's kind of
6:10the most important part is that you you
6:13make it your own one. You make it your
6:16own and then it becomes your voice. And
6:18that so that's what I did. I made it my
6:20own. It isn't necessarily just my voice
6:23either. Uh when you're building your
6:25dossier, it should give you an
6:27opportunity to really talk about first
6:29person, third person, you know, past
6:32tense, present tense, whatever you want.
6:34You should be able in the bookbrain
6:36builder be able to do that. And if it
6:39doesn't do that, I will make sure to
6:41tweak that skill to make sure that works
6:43and then push it up to everything. Okay,
6:47so now you know how I really kind of
6:50worked on this in the middle. So this is
The 7-Stage Book Architecture Strategy
6:53my seven stages that I actually use when
6:57I'm building um a book. I built the this
7:00thing called the book brain builder.
7:02That's step number two. Step one is to
7:05just use a any dictation software you
Step 1 & 2: Dictation Intake (Whisper AI) & Book Brain Builder
7:09want. I like Whisper. I love Whisper. As
7:12a matter of fact, it's spelled a little
7:13differently than this, but I love
7:15Whisper myself. I use it on my laptop. I
7:18don't use it on my main computer, which
7:20I'm really starting to regret. I really
7:22think I need to change it. Next, I have
7:25something that helps me build. I made a
7:28skill, and this skill helps me build,
7:32right? Uh, and that's the whole point of
7:34this machine is that all of these things
7:36hook into Codeex and Claude, right? So,
7:39this is a skill. uh and I had it I just
7:43talked to it and said, "Hey, I want
7:45something that gives me holistic sort of
7:48uh questions so that I can answer uh
7:50questions." And uh I should have given
7:52it a limit uh the skill of limit because
7:54it likes to go on and on and on and on,
7:57which I should probably change that at
7:59some point, but it helps you holistic
8:01holistically get to the uh the the meat
8:04of your story, right? Everything about
8:08your story. It really is trying to pull
8:10all of the nuggets out so that it can
8:13not have to guess. Then you use the
Step 3: Stress Testing Foundations with the Dossier Evaluation Squad
8:15dossier evaluation squad, something I
8:18picked up from the future fiction
8:20academy. There was a um they they had
8:23this whole concept of all these things.
8:25And so I asked uh I used that idea of
8:29all those different things and I asked
8:31the AI to build me a skill that could
8:33actually do that thing. Now, this is one
8:36big thing that you're going to have to
8:37start remembering. these this is
8:39something you can do every single time
8:42you have some kind of thing that you
8:44want to do whether it's um building out
8:47a dossier for a book or um making
8:52a marketing plan you should build a
8:54skill once you figure it out and how to
8:57do it with AI then build a skill let it
9:00do it it's so awesome then after I do
Step 4 & 5: AutoBook Builder Execution & Fleshing Out Prose in Claude Code CLI
9:04the dossier evaluation squad the
9:07autobook book builder is what I do next.
9:10Okay, the autobook builder is what I do
9:13next. And then um and that is a skill.
9:15The dossier evaluation squad is a skill.
9:17The book brain builder is a skill,
9:20right? Claude co-worker
9:25is the final skill. It's the one that
9:27builds the chapters, uh puts everything
9:30in folders, puts everything in a
9:32specific space for you and all of that
9:35stuff. And then after I get all of that
9:38built up in in codeex, I go over to
9:41claude code to fatten it up. And I do
9:44mean fatten it up. It has so many
9:46metaphors and simileies and all of these
9:49things that it adds to it. And then I
9:52scrape off all of that extra layer cake
9:55stuff uh so that the th so that the
9:58layer of uh frosting is nice and taut to
10:02that cake. And then after I get all done
10:04with all of that, I drop it into my MD
10:07editor of choice, which is Raptorite.
10:09You can use Novelcfter. You can uh you
10:12can use a lot of different sorts of uh
10:16things to get this done. I like to use
10:20claw. I like to use uh codeex to build
10:23me a file system inside of my own
10:25computer, right? and then put MD files
10:29in there and also DOCX files as backup
10:32files in another folder. That way I have
10:34two versions of it in two separate
10:37folders. But if it does if something
10:40doesn't read it well, I can just go
10:42straight to the DOCX file and just have
10:44it read it. It's really, really easy.
10:46And then after all of that is done, I
Step 6 & 7: The Human-in-the-Loop Audio Quality Test (ElevenLabs)
10:48have an audio loop. And that audio loop
10:51is absolutely mindblowing to me because
10:54I get to listen to whether or not there
10:57are mistakes. Now, let's talk about the
11:00voice first thing.
11:02[sighs and gasps]
11:03If you do not talk to your AI, you are
11:07missing out on exactly what um the
11:12potential that you could have. meaning
11:15that there's a lot of times very
11:18interesting nuance things that you just
11:19say out of your mouth and it ends up
11:22being important something that you
11:24didn't even think about especially for
11:26people who are making stories. So when
11:28you decide that this is the path for
11:32you, right, I say start with dictation.
11:36So the book brain builder has a nice
11:38little blueprint. It does style traits.
11:41It does a blueprint of the actual story.
11:44It has three different reports that it
11:46does. It does a readiness report, a go
11:49no-go sort of report, a style trait
Inside the Dossier Evaluation Squad: Atlas, Psyche, Nova, and Tempo
11:52report, and a blueprint. All of this
11:55stuff becomes the brain of this perfect
12:00story that you are building. If it's
12:01something that you really are passionate
12:03about or something that you have already
12:06made a lot of documentation uh with, you
12:09can feed those documents. You can add
12:11those documents and feed those documents
12:13in and it will populate that sort of
12:16thing. It will listen to actual audio
12:19files that you have and it will
12:23translate those audio files. I'm
12:25knocking myself over here. And translate
12:27those audio files. It's amazing. A great
12:31skill. Like I said, uh the Darcier
12:34Evaluation Squad is the Atlas, which is
12:37the the structure, the the psyche, which
12:40is the characters, the nova, which is
12:43kind of the concept, the whole over the
12:46whole concept, uh the entire uh idea
12:50from nuts to bolts, the tempo. So how
12:55whether or not it's moving at a pace
12:57that really kind of clips along and what
13:01is that niche and it really looks at
13:03that stuff gives it a score and as it
13:07decide as all those different things
13:08decide they all become it spawns these
13:11agents and those agents actually have
13:14like conflict with each other and figure
Natural Language Scripting: Generating 15-Chapter Sci-Fi Outlines
13:17it out and then I build the book right
13:22this is the skeleton Right. The power
13:24this is powered by codeex. It actually I
13:27just use my CLI my codeex CLI that in
13:32the desktop app and I build with that
13:36skill. And the skill I it's I'm going to
13:39be putting it out. So you'll definitely
13:41get a chance to uh see it. uh it's kind
13:44of part of this whole uh video that I'm
13:46doing right now so that you have this as
13:49a kind of guide to what you can do with
13:53this thing. Okay, the codeex it consumes
13:56the validated doc uh dossier. It drafts
14:00chapter by chapter respecting
14:02continuity. It creates a excellent an
14:06excellent structure and scaffolding and
14:09I tested it over and over again and it
14:11improved my stuff immensely. If you are
14:14not having as good a luck, you could go
14:16in there and say, "Hey, what is this?
14:18I'm having a problem with this. Look at
14:21this skill. Tell me why it isn't working
14:23like I want it to work and then get it
14:25to work for you the way you want it to
14:27work." And then clawed code kind of uh
Eliminating the "Layer Cake" Frosting: Cleaning Up Claude's Prose
14:31it does the thing where it [laughter] it
14:35it it
14:38adds a lot to it. It adds a lot of meat
14:42and potatoes to that entire meal, not
14:46just vegetables. Okay. It's kind of lean
14:49when it comes out of codeex uh codeex
14:52and and and a little not analytical but
14:56it gets to the point and gives you great
14:58structure for Claude to then add a lot
15:01of
15:03interesting deep sort of emotions and
15:07smart phrasing and all of that stuff.
15:09Now we get to the human feedback loop,
15:12right? Once I get that thing, once I
15:15listen to it, honestly, once I listen to
15:18it on 11 Labs and then I hear the actual
15:23thing and whether it's singing to me or
15:27not and then you and when it starts
15:29making mistakes or not even mistakes,
15:32but actual it's actually having um this
15:37where where it's it's constantly going.
15:40Claude is famous for this where it
15:42constantly goes back and starts saying
15:45like the longest way to get to the end
15:48of a sentence it could possibly do it.
15:50Uh explaining every nuanced emotion as
15:52it goes along. It's just a pain in the
15:54to. So what I want you to do is look at
15:58that as a opportunity. This is these are
16:02opportunity taxes that we're going for
16:04here. This is amazing if you ask me. If
16:08you ask me, this is amazing because then
16:10you get to peel back and look at it and
16:14and think about it and then go into
16:16Raptorite and really fine-tune
16:19everything. Skills are tools, okay? They
16:24give you the ability to do anything,
16:29anything you can think of. So, what I
16:31want you to do is start thinking about
16:33what is that thing that you can do,
16:36right? What is that thing that you
16:38personally need? And then once you
16:42figure out how to get the AI to do it,
16:45then
16:47[laughter]
16:49you ask it to make the skill. That's all
16:51I want you to do. And then over and over
16:52and over again, this is going to work
16:54out really well for you. Uh because
16:56you'll become way more proficient in the
16:58ability to make these things for real.
17:01Make these things. You don't have to
17:03make this yourself. You can make some
17:05other system. But I'm hoping that this
17:07gives you the spurs your imagination on
17:10because you are a universal architect.
17:13You are the person that is imagining
17:17every single solitary moment, every
17:20nuance, every heartbreak, every action
17:23scene, every hit, every punch, every
17:26space opery sort of epic adventure
17:30thing. You are the person that's doing
17:32all of that stuff. And one of the cool
17:33things about um about AI and why this
17:37matters so much in AI is it gives you
17:41you who are already a person who steps
17:44out of your way and builds books. It
17:47gives you way more agency to find the to
17:53find an idea out of just a thought. You
17:56can start thinking about an idea and
17:58then just dictate to this system. You
18:02can dictate to this system exactly what
18:05you want and be the architect. Be the
18:09person, the builder of the world, the
18:11world builder. Here's some specs on how
18:15this all works. Now, what I love about
18:18this is that it gives you a very kind of
18:22uh top level down sort of idea of how to
18:26do this. All I want you to do is if you
18:28want I'll try and make sure that I
18:30include uh well actually I probably
18:32won't include this but you could
18:34actually take my transcript from this
18:36video and feed it into an AI and it will
18:39probably build this thing for you. It
18:41probably build this thing for you. All
18:43right. And uh that's pretty much it for
18:46uh how you do this. Now I'm going to do
Open-Source Reveal: Engineering the Back End inside Codeex
18:49one other thing and I'm going to show
18:51you all the uh very cool app that I
18:55built. So the way that I built this is
19:00pretty simple. I built the backend first
19:03and had it all working inside of codeex.
19:07I built the skills and the skills are a
19:10component, right? And uh each one of the
19:12skills do a does a thing in sequence.
19:15And so I wanted to build a frontend,
19:17something that I could uh use its
19:20natural ability to do things like uh um
19:23dictation and stuff like that and build
19:26it into an app where I could just do it
19:28myself. I could it's it's a front end.
19:31So here's the here's what the front end
19:34actually looks like, right? The autobook
Live App Tour: Voice-First Story Intake Front-End Breakdown
19:36builder. And at the bottom here at the
19:39bottom here, there is this thing that
19:41says advanced workflow, which I'll show
19:43you in a second. But what we have, there
19:46we go. When you first look at this, and
19:49you'll see right here, it says autobook
19:51builder first uh voice first story
19:54intake with codeex CLI as the local
19:58brain. Okay. if you install CLI uh
20:02codeex uh on your computer and install
20:06the CLI in the background and make sure
20:08I'm pretty sure it does when you install
20:11the actual codeex app it will install
20:14the CLI then you can hook I have a I
20:18have an onboarding uh thing that I am
20:20building out right now and you can have
20:23this basically on your computer using
20:26your subscription to chat GPT P and you
20:31can have it work as the uh background to
20:34this application right here. There right
20:38there. Uh I'm actually it's
20:42anyway. So this application this
20:46application right here is is like
20:48something that I just started thinking
20:50about yesterday and I decided to build
20:54out the front end. I had already worked
20:56on the back end a long time ago, but I
20:58decided I really wanted to build out the
21:00front end. And so that's what I did was
21:02I built out the front end. And uh I put
21:05it in my favorite team's colors. And uh
21:08it's it it works. It works. The actual
Starting a Real Session: Testing out the Space Navy Project Folder
21:13let me see here. You have to start a
21:15session in order to start this whole
21:17thing. And then when you start a
21:19session, it says to you where do you
21:21want to um have this thing actually
21:23happen? say use this folder. You want to
21:26choose a different folder. It actually
21:28opens up my uh my Apple thing. And I'm
21:32going to put in here. I'm going to put a
21:35new folder. We'll call this Yan Rolo.
21:39Space Navy. There we go. Space Navy.
21:44Okay. And basically, I've got I'm
21:47already I've already started this whole
21:50thing up right here. And it's ready to
21:53go. All I have to do is click this. It
21:55asks me to uh allow my microphone and I
21:59talk. Hey, how you doing? I want to
22:02actually write a story about a uh young
22:06woman who uh finds a pendant and it
22:09gives her superpowers. And there it is.
22:12And if you could uh let me know uh if
22:15this is a viable story, it would be
22:18really cool.
22:23I'm g turn off the microphone right
22:25there. Okay. And I turned off the
22:27microphone so that it wouldn't just pick
22:29up my next phrase. And as you can see,
22:31the builder right here responded.
22:34And uh I and it is hooked up to my uh
22:37codeex. It is using codeex as its brain.
22:41And as I am making things, it has out uh
22:44it has places where it can export
22:46things. I have a master save up here. So
22:49I can export things at the master save.
22:51I can launch the autobook builder. I can
22:53run the evaluation. This is the whole
22:56process. I can you know what? I should
22:58probably have that autobook builder on
22:59the other side of this run evaluation.
23:02I'll have to change that later. Okay. So
23:06the start session right launches the uh
23:12book brain builder. You run the
23:14evaluation and the run evaluation runs
23:17the dossia evaluation squad and then you
Advanced Mode Workflow: Configuring Models, Workspace Folders, and Modular Skills
23:20can actually launch the autobook builder
23:22and you can do it all up here. But there
23:24is an advanced section. So if I click on
23:27this advanced section right here and
23:29this advanced section you can pick your
23:32model. You can pick where you want to
23:35put things specific things. You can have
23:38an export folder. You can have a
23:40workspace folder. you can have a place
23:42and you can designate that you want to
23:44use these specific skills. So if you
23:46wanted to collect a bunch of skills or
23:48something like that uh and use the
23:50skills you're using the ones that are in
23:52the codeex folder right here. So and
23:55it'll give you a list of the ones in the
23:58folder. So if you add more it'll add
24:01more for you uh as you add more. At
24:04least I'm pretty sure that's what it'll
24:06do. Uh, but it does have uh access. You
24:08can turn so you can do a big old manual
24:11way of building a bunch of stuff right
24:13here, which is really cool to me. I I
24:17really love the ability to really dig
24:20deep into every single aspect and the
24:23fact that it built all this for me in
24:25order to really say, "Hey, you know, you
24:27have a easy mode and a and a hard mode."
24:30And it made the hard mo
24:32really hard, but it works really well.
24:35And that's my interface for the auto
24:38book builder. It's a lot of fun. I'm
24:42having a lot of fun. And I will probably
24:43have a repo of this up tomorrow. I'm
24:46going to put this video out. I'm pretty
24:48sure I don't even think I really need to
24:51do that much editing on this video
24:54because it flow flow flowed. But other
24:57than that, I hope that you enjoyed this
25:00little primer for what I hope is a
25:03really cool product that is not really a
Prerequisites: Setting Up Codeex, Claude Code CLI, and Full Machine Access
25:06product. It's just an open-source uh
25:09product that you can use yourself. It's
25:11called the Auto Book Builder. Now,
25:15remember, when you start doing this,
25:17you're going to need lots of
25:18prerequisites and stuff like that. All
25:20you have to do is install the codeex
25:22app, install the Claude code app and it
25:28they will both ask you for specific
25:30things and uh and specific types of uh
25:33software and stuff like that and it'll
25:35just get you going and then you can
25:38install this and then it'll say, "Hey,
25:39you don't have this installed." You'll
25:41install that new stuff and you'll give
25:42it permission. Uh Codex has a thing at
25:45the bottom where it gives you full you
25:46can uh give it full access to your
25:48computer. I suggest that you do that and
25:52uh make sure that when you do do that
25:55that you are specifying when you
25:57actually want it to make uh take actions
25:59and when you don't just say out loud I
26:02don't want you to actually do anything
26:03right now. I just want you to look at
26:06this thing or listen to my problem and
26:09figure this thing out. So, this is the
26:12autobook builder. And what's so cool
26:14about it is as you keep going, it starts
26:17filling out your markdown files
26:21automatically inside of a folder that
26:23you've already designated. I have a
26:25onboarding thing and a whole nine yards
26:28that helps you set it up from the
26:30beginning when you open up the repo and
26:33have Codex read the repo and and start
26:36implementing the thing in the repo,
26:38which is probably something that I could
26:39teach you how to do in another video.
26:42All right, everyone. My name is Eel
26:43O'Hara. This is why AI matters, and I
26:46pretty much just showed you a whole new
26:49way to write books, and you can have it
26:53for free. So hopefully I'll have it out
26:56uh either when this video goes out or
26:59the day after this video goes out and
27:01I'll put up like a community post. As a
27:03matter of fact, I'll probably put the
27:05article that I wrote uh about
27:10about this thing. I'll put that article
27:13up on YouTube. All right, everyone. My
27:16name is Eel Herod. This is why AI
27:19matters. And why does AI matter today?
27:22Because if you put your mind to it, AI
27:26can help you publish as many books as
27:29you want, make movies, make anything. I
27:35hope to see all of you in the next
27:36video. Please like and subscribe. And uh
27:41boy, we living in the future, y'all.
27:43Talk to you all soon.