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