← Talk overview

Devoxx Belgium 2026 ↗

I 'Vibe Coded' a Novel: Applying Software Engineering to AI-Assisted Storytelling

Antwerp, Belgium · 2026 · English

Raphaël Semeteys

Using distributed-systems thinking, Git-style versioning and command-line workflows to build AI-assisted novels, lore and transmedia storytelling pipelines.

If the player is unavailable, use the timestamp links.

Read transcript
  1. 0:03 [music]
  2. 0:10 BACK.
  3. 0:12 [music]
  4. 0:20 [music]
  5. 0:22 DOWN.
  6. 0:26 [music]
  7. 0:31 HELLO. HI.
  8. 0:33 Hello everyone. Thanks for being here
  9. 0:37 during the lunch break.
  10. 0:39 I know we're only at day two of Devoxx
  11. 0:43 and already maybe you had a lot
  12. 0:45 of talks on AI and you start to feel a
  13. 0:48 bit of AI fatigue already.
  14. 0:50 >> This one is all about AI also but it's
  15. 0:53 the talk I've been dreaming of giving
  16. 0:56 because today is about the
  17. 0:58 intersection of technology and
  18. 1:00 creativity and the intersection
  19. 1:03 is me right we're going to explore
  20. 1:06 how to use AI to step out of the IDE or
  21. 1:09 the CLI to do technical stuff and move
  22. 1:12 from developers to world builders
  23. 1:15 authors and beyond.
  24. 1:18 So as it's about writing books for
  25. 1:22 instance like this one. It's
  26. 1:25 organized as a book. So there's a
  27. 1:27 prologue, an epilogue and then three
  28. 1:29 chapters in between. So today in front
  29. 1:33 of you, you have two sides of me right?
  30. 1:35 You have Raphaël. Okay. I'm an architect,
  31. 1:38 software architect. I work at Worldline.
  32. 1:40 I do enterprise architecture, tech
  33. 1:43 advocacy. And I use my creativity
  34. 1:46 through technology to design systems
  35. 1:49 for users. Right. On the other side, I
  36. 1:52 am Raphiki. That's my pen name. I
  37. 1:56 started the designing worlds when I was a
  38. 1:58 teenager like more than 40 years ago
  39. 2:00 already. I also draw or used to draw
  40. 2:04 and I express my creativity through arts
  41. 2:07 to design universes where people will
  42. 2:10 play inside.
  43. 2:12 And what I want to show you is
  44. 2:15 building a universe building a lore
  45. 2:19 is just like system architecture and in
  46. 2:21 between that's me. There's another face
  47. 2:23 or side of me. I'm a certified yoga
  48. 2:26 teacher but there's no link with this
  49. 2:28 particular presentation today. Just for
  50. 2:30 you to have some background and to
  51. 2:32 understand where I come from. So this is
  52. 2:34 I started with game books. Whoever
  53. 2:36 played the role playing games? Tabletop
  54. 2:38 role playing games right? So
  55. 2:41 very very quickly when I was still a
  56. 2:43 teen I became game master and then
  57. 2:46 very quickly I created my own games with
  58. 2:49 my own universe. So this is one of those
  59. 2:51 like many many years ago with my own
  60. 2:54 drawings. The interesting part of it
  61. 2:56 is this was one of the very first open
  62. 2:58 source role playing games at that time.
  63. 3:00 It's before the year 2000.
  64. 3:04 lately [laughter] I got embarked on a
  65. 3:07 project by friends. They wanted to make
  66. 3:09 easy money, you know, with the NFT. Who
  67. 3:11 remembers Web3 and NFT collectible
  68. 3:13 craziness. So, I had to try to combine
  69. 3:15 the two sides of me like understand
  70. 3:17 what is Web3 smart contract and
  71. 3:19 stuff, design the stuff and also be part
  72. 3:21 of the creative project. So, we created
  73. 3:23 those BabyKams whatever. What
  74. 3:26 I never succeeded in doing is
  75. 3:30 to go over the wall and to create
  76. 3:34 and write novels, right?
  77. 3:37 and I tried many time many times but I
  78. 3:39 guess I'm too impatient right it's
  79. 3:43 taking too much time and don't like to
  80. 3:46 write dialogues I think that's basic but
  81. 3:48 that's basically because I'm a game
  82. 3:50 master so I delegate that to the players
  83. 3:52 right or you write the dialogue or
  84. 3:54 create the story all together anyway I
  85. 3:56 never I never succeeded in such an
  86. 3:59 enterprise but that changed last year
  87. 4:01 with the use of AI and my architecture
  88. 4:05 skill and that's what I will show you. I
  89. 4:07 finally succeeded in creating one. So
  90. 4:10 this is this one. It's real. It's on
  91. 4:13 Amazon. There is a QR code you can
  92. 4:15 always scan if you want to check. And
  93. 4:17 I want to tell you in the
  94. 4:19 first chapter how I did that, right? So
  95. 4:22 it's called The Human Protocol. So what
  96. 4:24 is the human protocol about? It's a
  97. 4:27 techno-thriller. So it's basically in 10
  98. 4:30 years from now in a dystopian universe
  99. 4:32 where we don't really want to be.
  100. 4:35 geopolitics are a little bit extremes.
  101. 4:37 There are two blocs US and China with
  102. 4:41 their own AI. So there's only one AI,
  103. 4:43 right? And without consulting
  104. 4:46 humans, the AI start after 10 years
  105. 4:49 fighting each other, they start to merge
  106. 4:51 and the AI becomes a little bit
  107. 4:52 schizophrenic and in the m in the middle
  108. 4:55 in between you have the European Union
  109. 4:57 who's trying to be sovereign and defend
  110. 4:59 the citizens, right?
  111. 5:00 >> So it's about artificial omnipotence and
  112. 5:03 ultimately the purpose of this book
  113. 5:05 that's why it's called The Human
  114. 5:07 Protocol and if you read it you'll
  115. 5:08 understand why a bit deeper but what
  116. 5:10 does it mean to be human when
  117. 5:13 machines and technology is becoming
  118. 5:15 super intelligent the way I did
  119. 5:18 it I decided to drink my own champagne
  120. 5:20 so for now you understood that I'm
  121. 5:22 French maybe because of my accent so I
  122. 5:24 don't eat dog food I drink champagne
  123. 5:26 right so I decided to use AI to write
  124. 5:30 about AI to go through the wall I was I
  125. 5:32 was mentioning before but also because I
  126. 5:35 thought it was a mise en abyme that's a
  127. 5:37 French word we will I will use it a
  128. 5:39 little bit later and to use AI
  129. 5:43 to write about AI looks like a inception
  130. 5:46 stuff I like the idea right but I didn't
  131. 5:49 drink the glass until the end
  132. 5:50 because I decided to write in English
  133. 5:52 which is not my mother tongue and this
  134. 5:54 is because of my postulate right as I
  135. 5:58 said I'm an architect in real life. I
  136. 6:00 mean I'm paid for that. So I wanted
  137. 6:02 to separate two different parts of the
  138. 6:05 this project. I am the human
  139. 6:07 architect. So I delegate through an AI
  140. 6:10 workflow that we will visit the task of
  141. 6:13 writing the chapters writing the book.
  142. 6:15 All right. To compile what I
  143. 6:19 designed on my part which is I will
  144. 6:21 build the universe what I call the lore
  145. 6:24 right. Define all that is human
  146. 6:26 related the emotion psychological
  147. 6:30 profiles sensations that kind of stuff
  148. 6:32 but basically I'm the showrunner and
  149. 6:34 then I delegate to an executant to
  150. 6:37 agents through AI workflow the actual
  151. 6:40 work of writing so this is the global
  152. 6:43 workflow that I have we'll deep dive
  153. 6:46 in some of the box these
  154. 6:49 boxes but just for you to have the
  155. 6:50 global overview basically what I did is
  156. 6:53 I used
  157. 6:54 AI agentic AI development workflow
  158. 6:58 AI SDLC or spec-driven development you
  159. 7:00 call it as you wish but I applied it
  160. 7:03 to writing a book so the book is kind of
  161. 7:05 the outcome of a workflow so the
  162. 7:09 first step is lore as code we will go
  163. 7:11 through it then I also designed the harness
  164. 7:13 then I have the first writing loop I
  165. 7:15 do compile all the chapters when it's
  166. 7:18 finished I do some QA with the help
  167. 7:21 of other agents and LLM then when
  168. 7:24 it's ready we have to deploy it on
  169. 7:25 Amazon and then monitor right and there
  170. 7:28 is this outer review loop also
  171. 7:32 reviewing the book as a whole
  172. 7:34 for the tools that I use here it was
  173. 7:36 last year I used Gemini CLI which doesn't
  174. 7:39 exist anymore there should be another
  175. 7:41 harness now but what I exposed there
  176. 7:43 is very generic it can be any other
  177. 7:46 any other tool to do that as you will
  178. 7:48 see so two deep dive the first part is
  179. 7:52 what I call the foundation
  180. 7:54 And it's definitely the part
  181. 7:56 where I spent most of the time during
  182. 7:58 the few months that I was working on
  183. 8:00 this project. That's where I spent most
  184. 8:02 most of the time, right? It's defining the
  185. 8:05 universe, what I call lore as code. So
  186. 8:07 here you have an extract of all the MD
  187. 8:09 files that I created to describe
  188. 8:13 the characters the factions because
  189. 8:16 there are different factions in this
  190. 8:17 universe. The world itself and
  191. 8:20 every character is like how he speaks,
  192. 8:22 how she will she's wearing, what
  193. 8:25 kind of clothes, what are the inner
  194. 8:27 conflicts that he or she has, the
  195. 8:30 outer conflicts, what is the evolution
  196. 8:32 of the character through the story,
  197. 8:35 what are the relationships between the
  198. 8:36 different characters, what are the
  199. 8:38 factions the characters are attached to,
  200. 8:40 do they stay to the same faction? Do
  201. 8:42 they move from one faction to another?
  202. 8:44 Blah blah blah blah blah blah. and the
  203. 8:46 world also because it's sci-fi it's
  204. 8:48 based on the world we know but in 10
  205. 8:51 years so what is the technology there
  206. 8:53 how to what is the glossary the
  207. 8:55 vocabulary that we should use and stuff
  208. 8:58 so I spent a lot of time there I used
  209. 9:00 Gemini as a sparring partner from time
  210. 9:02 to time just to challenge me right and
  211. 9:04 also to formalize at the end in a
  212. 9:07 nice way my constitution the foundation
  213. 9:10 what I call the lore as code first part
  214. 9:12 most important one then also I designed
  215. 9:15 The AI harness, right? The AI harness is
  216. 9:18 the rule or are the rules of engagement.
  217. 9:21 How the agent the rest of the
  218. 9:24 workflow will use the lore as code in
  219. 9:26 the loop that comes right after. Right?
  220. 9:29 So what is the scenario? Because the
  221. 9:31 scenario for me is just part of the
  222. 9:32 harness. The lore is the lore. The
  223. 9:34 universe is the universe and the
  224. 9:36 scenario is one story in this universe.
  225. 9:38 Right? How to write what are the
  226. 9:41 rules? what are what are the
  227. 9:43 different steps that you the harness
  228. 9:46 has to follow etc once it's done
  229. 9:50 then comes the inner loop so the inner
  230. 9:53 loop is an agile writing loop so I am
  231. 9:56 still a human in the in the loop here
  232. 9:59 and it's at chapter level so the
  233. 10:02 writing procedure is write chapter by
  234. 10:04 chapter in the AI harness the
  235. 10:07 whole scenario is already described
  236. 10:09 synopsis detailed scenario very detailed
  237. 10:11 scen scenario etc everything is
  238. 10:13 described right so now we have to
  239. 10:16 write implement the scenario right so
  240. 10:19 based on the rules from the
  241. 10:21 AI harness first context injection grab
  242. 10:24 all the MD files from the lore as code
  243. 10:27 that are relevant to the writing of this
  244. 10:29 particular chapter then f do
  245. 10:32 a first structural draft for me to check
  246. 10:34 and then expansions through different
  247. 10:37 passes until I say and that's me say
  248. 10:40 okay that's Okay, let's move to the next
  249. 10:42 chapter. Right, once I did that with all
  250. 10:46 the different chapters, so in white you
  251. 10:48 have the foundation and the
  252. 10:50 inner loop. Then we go into the outer
  253. 10:52 loop. The outer loop is about the
  254. 10:55 the book itself, right? So what I need
  255. 10:59 to do is to compile the book to create
  256. 11:01 the book. So for that I have a compile
  257. 11:03 phase. Basically it's a it's a script
  258. 11:05 using Pandoc because everything is in
  259. 11:07 markdown and I have two targets for
  260. 11:11 generation. The first one is PDF. PDF
  261. 11:13 will be used to do the paperback version
  262. 11:15 of the book. This one and the second one
  263. 11:18 is EPUB that will be the
  264. 11:21 the how do you call that for the
  265. 11:24 book for Kindles and the ebook. Yes.
  266. 11:26 Sorry. Right. So just again I
  267. 11:29 have my source and then I compile it
  268. 11:32 and I have different instructions to
  269. 11:34 add the cover and to have specific
  270. 11:37 formatting depending on the target.
  271. 11:40 Right? Once the book is
  272. 11:41 compiled then I go through a QA phase
  273. 11:44 and for that I use LLM as judge. All
  274. 11:47 right or as judges because I used
  275. 11:50 three. So I used Gemini CLI as the lore
  276. 11:53 guardian. Okay. So checking that everything
  277. 11:56 is coherent even if I had my harness and
  278. 11:59 stuff just like we do with AI SDLC
  279. 12:02 agentic workflows put this verification
  280. 12:04 part in the loop right so check that
  281. 12:06 everything is coherent with what I
  282. 12:08 described in the lore and everything
  283. 12:12 the Codex and the GPT models behind
  284. 12:15 it was the dramatic analyst so it was
  285. 12:18 not about the lore it was about the way
  286. 12:21 the scenario and the writing is done is
  287. 12:23 it fulfilling
  288. 12:25 the best practices of
  289. 12:27 storytelling, right? Is there enough
  290. 12:30 suspense? How it is written, what is
  291. 12:33 the rhythm of the story? Even if I did
  292. 12:36 inject that in the beginning again, but
  293. 12:38 still verify that and challenge
  294. 12:40 challenge the book, right? and Mistral.
  295. 12:43 Yes, I use it because I'm French, but
  296. 12:45 also even if it's not an American
  297. 12:47 model for the stylistic editor, I'd
  298. 12:50 like I wanted to have a view on how the
  299. 12:53 style is the style of the book of the
  300. 12:56 writing from a model that was not
  301. 12:59 American, right? So, and that many
  302. 13:02 loops. All right, because yes, I took
  303. 13:04 into consideration some of the
  304. 13:07 recommendations or the remarks or the
  305. 13:09 reviews from those different models and
  306. 13:11 then up we go and we go several loops
  307. 13:13 like that, right? So we go when it's
  308. 13:16 ready then the book is ready, right? But
  309. 13:19 you still have to deploy it just like
  310. 13:21 any software that we will deploy, right?
  311. 13:23 This time we enter a jungle that's
  312. 13:26 called the Amazon jungle. Sorry
  313. 13:28 for the pun, but that's real. It's
  314. 13:30 first a jungle because there's a lot of
  315. 13:31 tools to use to publish on Amazon.
  316. 13:35 you can first review both the paperback
  317. 13:37 and the Kindle versions. So for that you
  318. 13:40 use for the Kindle version you use
  319. 13:42 Kindle Previewer to see how your EPUB
  320. 13:46 will look like when it will be compiled
  321. 13:48 by Amazon and served as an ebook
  322. 13:53 on their platform. Then you can also
  323. 13:55 have to design the covers as I mentioned
  324. 13:57 the blurb the description. So all the
  325. 14:00 metadata that will appear on Amazon
  326. 14:02 books right
  327. 14:04 then you also have to define prices how
  328. 14:07 much will the book cost marketplace
  329. 14:10 where the book will be sold and
  330. 14:13 campaigns if you want to do marketing
  331. 14:14 campaigns and then when you've done all
  332. 14:17 that and you tested everything then
  333. 14:19 yes you can go and publish your book
  334. 14:21 it's on Amazon it's there right so
  335. 14:24 here you have and you know you
  336. 14:26 know Amazon I guess so you have the two
  337. 14:28 versions the Kindle and the paperback
  338. 14:30 one. Right? So this is this one, right?
  339. 14:36 the point is that yes, here you have
  340. 14:38 your workflow, but there's the
  341. 14:41 last part. We do observability when we
  342. 14:43 design systems. I'm as an architect, I'd
  343. 14:45 like to know what's going on in my
  344. 14:47 system. So I want to know what's going
  345. 14:48 on about my book because basically if I
  346. 14:50 wrote a book is to tell a story. Maybe I
  347. 14:52 want people to read the story or give me
  348. 14:55 feedback on that. So the last part is
  349. 14:57 monitoring, right? For that you have
  350. 14:58 Amazon Author Central which is yet
  351. 15:01 another tool. But then you discover
  352. 15:03 the real jungle and the real jungle is
  353. 15:05 not the jungle of tools it's the jungle
  354. 15:07 jungle of books because Amazon makes it
  355. 15:10 so easy to publish books and AI so easy
  356. 15:12 to write them that every day you have
  357. 15:14 hundreds of new books on the platform
  358. 15:16 right so how to exist how to be visible
  359. 15:19 well you can tell your friends your
  360. 15:21 colleagues your cats your dogs you give
  361. 15:24 talks in conferences wink
  362. 15:27 try to be visible the point is
  363. 15:30 that many years ago, I had to choose
  364. 15:33 in my studies between engineering
  365. 15:35 and business. And guess what? I didn't
  366. 15:36 choose the la last one, right? I prefer
  367. 15:39 designing systems, not selling them.
  368. 15:41 And that's why I discovered
  369. 15:44 the hard way that there's a part missing
  370. 15:46 in my workflow. It's the advertisement
  371. 15:48 part, right? How to make your book
  372. 15:50 visible. And to do that, you might
  373. 15:54 need some agency there. So maybe it's a
  374. 15:56 human one. So people who are already
  375. 15:59 that's their job and they know how
  376. 16:01 to promote your book and make it known
  377. 16:02 on different platforms, different
  378. 16:04 forums, communities and stuff. Or maybe
  379. 16:06 you could design your own agent. So I'm
  380. 16:08 thinking about maybe I should use
  381. 16:10 Cowork or OpenClaw to flood the
  382. 16:13 internet with things on my book. But
  383. 16:16 that's not what was I was interested
  384. 16:18 in really and actually that that's a
  385. 16:20 loop also right instead of that I said
  386. 16:23 no I want to concentrate and focus on
  387. 16:26 the book itself and yet I used the
  388. 16:30 mise en abyme name which is a very very
  389. 16:32 posh and literary way to say fractal
  390. 16:36 right so in my book I my pen name as I
  391. 16:39 said is Raphiki but Raphiki is also a
  392. 16:42 character in the universe right so it's
  393. 16:44 a kind of Inception stuff he's
  394. 16:48 the author of the book's interludes
  395. 16:50 because you have some interludes in the
  396. 16:52 in the book. He's the author of the book
  397. 16:54 itself but in the universe he's the author
  398. 16:56 of the interludes and it's a kind of
  399. 16:59 alter ego of myself a dystopian self in
  400. 17:02 3036 or 2036 sorry well why I
  401. 17:06 did that because I found it cool.
  402. 17:08 I wanted to have this special feature in
  403. 17:10 my book and it's also the dream
  404. 17:13 of every game master to get to play a
  405. 17:15 real character, not only the
  406. 17:17 non-player characters, you know. So I
  407. 17:19 have my own characters in the story. I'm
  408. 17:20 happy, right? So here we are.
  409. 17:23 The book is ready. It's here. You have
  410. 17:25 the QR code you can scan. But then
  411. 17:27 and actually that was from the early
  412. 17:29 beginning. I decided to go further than
  413. 17:31 that because as I said the book is only
  414. 17:34 one output of my lore. So that leads us
  415. 17:37 to chapter two, transmedia storytelling
  416. 17:40 because Lore as Code as I said
  417. 17:42 is a foundation. That's where I spend
  418. 17:44 most of my time. That's what I like to
  419. 17:46 do. That's what I like to design and
  420. 17:47 create, right? And the book was just one
  421. 17:50 output of that. You can have some
  422. 17:52 expansion or other outputs based on the
  423. 17:54 same lore. So I decided to create an
  424. 17:57 alternate reality game. Do you know what
  425. 17:59 it is? Alternate reality game. Just a
  426. 18:01 game actually. is the form of a website
  427. 18:04 and we will deep dive into that where
  428. 18:06 readers can access some online
  429. 18:08 archive and have more content about
  430. 18:11 the story about the lore. I tried
  431. 18:14 also I started visual rendering the
  432. 18:16 book. So I have a graphic novel version
  433. 18:18 of the book and since the
  434. 18:21 start it's it has always been a series
  435. 18:23 in my mind. So I already have part
  436. 18:26 two and part three, right? Because
  437. 18:28 basically the book from the
  438. 18:31 reader's point of view is only the gateway
  439. 18:33 to this lore to this universe. And then
  440. 18:35 when you enter it and that's the case
  441. 18:37 with this book like in page
  442. 18:43 175 after a very hardcore chapter,
  443. 18:47 very emotionally intense chapter,
  444. 18:49 there's this QR code. This one you
  445. 18:51 won't be able to scan because it's
  446. 18:53 for the people who bought the book you
  447. 18:56 understand why. And there is this
  448. 18:58 sentence scan if you are still human
  449. 19:00 right and then when the reader is doing
  450. 19:02 that then slightly he's shifted from the
  451. 19:06 book to the ARG right to the website
  452. 19:10 that I created
  453. 19:12 which is in-universe. So you see or you
  454. 19:14 don't see but the copyright is 2036
  455. 19:17 right.
  456. 19:19 So that's alternate reality game. What
  457. 19:21 it is it's a portal. You have
  458. 19:24 riddles and games that you have to
  459. 19:26 solve. And as you solve the riddles, you
  460. 19:28 enter first the portal and then you
  461. 19:30 go through different clearance
  462. 19:32 levels. And as long as you unlock the
  463. 19:35 those clearance levels, you have access
  464. 19:37 to extra content, extra lore, extra
  465. 19:39 unpublished chapters or maybe preview
  466. 19:43 of the ne next books in the
  467. 19:45 series. I might inject into that the
  468. 19:48 the graphic novel version that kind of
  469. 19:50 stuff right the idea is to
  470. 19:51 embark people in my universe in the lore
  471. 19:54 right and I also made my own
  472. 19:57 monitoring console just to check
  473. 20:00 how many people did scan from the book
  474. 20:02 that's why it's only can only be scanned
  475. 20:04 there what are the where are the
  476. 20:06 people in different levels and I can
  477. 20:09 activate or deactivate the
  478. 20:11 clearance level as I see fit right so to
  479. 20:15 create the application the
  480. 20:18 ARG there's a workflow this one is more
  481. 20:20 classic I mean it's software right it's
  482. 20:22 just the part lore as code is always there
  483. 20:24 because it's what is unifies the whole
  484. 20:27 universe right and then yes I have my AI
  485. 20:30 harness I did some kind of spec-driven
  486. 20:32 development with architecture meaning
  487. 20:34 what is the ARG about the why so what
  488. 20:37 is the strategy what would I want to
  489. 20:39 achieve with that the what is what
  490. 20:42 is the UX/UI what is it how it
  491. 20:45 will be constructed and the how sorry
  492. 20:48 is the architecture part and the tech
  493. 20:50 part right then yes building
  494. 20:53 it's a dockerized application TypeScript
  495. 20:55 basic stuff and then I have my transmedia
  496. 20:58 storytelling loop as each time
  497. 21:01 I add new content on the on the portal
  498. 21:04 then it's regenerated and redeployed
  499. 21:06 right so the URL the QR
  500. 21:10 code here if you scan it or if you go on
  501. 21:12 the-human-protocol.com
  502. 21:14 then you access this ARG and then you
  503. 21:17 can start trying to solve. You might
  504. 21:19 need the book to solve because the clues
  505. 21:22 of most of the riddles are hidden in the
  506. 21:24 book. So there's kind of a
  507. 21:27 mystery there, right?
  508. 21:28 Okay. So that was the first expansion.
  509. 21:30 The second one I tried is a novel
  510. 21:33 adaptation. So how to visually render
  511. 21:35 the story. So here are some
  512. 21:40 examples of the outcome. It's a work
  513. 21:42 in progress. Still but still it's
  514. 21:45 the same idea. It's grounded in the
  515. 21:48 Lore as Code and in the book in the
  516. 21:50 actual chapters of the book, right? So
  517. 21:52 the story in the cartoon is the same as
  518. 21:55 in the book because it's the same
  519. 21:56 source, right? But there's more
  520. 21:59 human labor here because I decided
  521. 22:02 that I wanted to position myself the
  522. 22:04 bubbles and the text to have more
  523. 22:06 control of the on the output, right? So
  524. 22:09 it's a bit less automated. It's not
  525. 22:10 finished yet, so it's taking time. So
  526. 22:12 yeah, but well the results are kind of
  527. 22:15 interesting because I had to anchor
  528. 22:17 everything in visual references, right?
  529. 22:20 To make sure that Elara who
  530. 22:22 is the main character of the story has
  531. 22:24 the same face, has the same gears,
  532. 22:27 the universe is coherent, right?
  533. 22:30 And last part is lore
  534. 22:32 expansion. So of course now I'm working
  535. 22:34 on translating the book in French. And
  536. 22:37 here I have an issue now because French
  537. 22:39 is my native language. So when I read
  538. 22:40 what the LLM is writing even
  539. 22:43 with all my instructions I would have
  540. 22:46 written that differently. So my first
  541. 22:48 postulate is a little bit different.
  542. 22:50 That's why I wanted to start in
  543. 22:52 English because as an experiment, right?
  544. 22:54 Of course as I said I always had book
  545. 22:56 three and book two in mind.
  546. 22:59 actually there's a big cliffhanger at
  547. 23:01 the end in the epilogue of book one
  548. 23:03 announcing that it's not finished at
  549. 23:05 all. same universe, different point of
  550. 23:07 view, same lore, you know, and the
  551. 23:12 same basic questions behind all the
  552. 23:15 the different books is visiting what it
  553. 23:17 means to be human, right? Raphiki
  554. 23:20 actually might be a little bit more
  555. 23:22 present, you know, the meta author,
  556. 23:24 right? So yes, the main issue there when
  557. 23:27 you do things like that is to relax
  558. 23:29 yourself and not go too fast. You know,
  559. 23:31 give time to people to engage with the
  560. 23:33 first part of the series before writing
  561. 23:35 the second and the third one because
  562. 23:38 okay, I can write for myself. That's
  563. 23:39 fine. But just relax and give time.
  564. 23:42 You know, human needs time. That's
  565. 23:44 important especially now.
  566. 23:48 Because of that, I decided to do
  567. 23:50 something else in between, right? when
  568. 23:53 part two and part three are maturing. So
  569. 23:55 I had this other experiment that is
  570. 23:59 called The First Pattern. So that's
  571. 24:00 chapter 3 different style different
  572. 24:03 universe. So what is The First Pattern? As I
  573. 24:06 said it started as an experiment. I
  574. 24:08 wanted to test two things. First the
  575. 24:11 way LLMs that did evolve from last year
  576. 24:14 are able to express things that are far
  577. 24:16 more complex. So I created a universe
  578. 24:18 and a lore that is really really complex
  579. 24:20 right on purpose to see how could I
  580. 24:25 could we navigate that with the
  581. 24:27 agents right and I wanted also to do
  582. 24:30 multimodality from the start so both in
  583. 24:33 my design phase when I designed the lore
  584. 24:36 designed the lore textually but also
  585. 24:39 visually based on what I did with the
  586. 24:41 cartoon later on right in The Human
  587. 24:44 Protocol book right I also wanted to
  588. 24:47 test things technically and to use
  589. 24:50 agent skills that I did I didn't use
  590. 24:53 in the first time and the ChatGPT
  591. 24:56 Site feature I don't know anybody knows
  592. 24:58 ChatGPT Site feature it's just
  593. 25:00 something in Codex or ChatGPT where you
  594. 25:03 can host create your application
  595. 25:06 and host it and it's hosted by OpenAI
  596. 25:08 right so for me it's a third modality so
  597. 25:11 multimodality text image and website
  598. 25:14 application right and results were kind
  599. 25:16 of first results were kind of promising. So
  600. 25:18 I decided to do something different. I
  601. 25:21 don't want to go on Amazon anymore. This
  602. 25:22 this jungle is a bit scary. Is to
  603. 25:26 publish gradually the chapter online
  604. 25:28 right so here's the website
  605. 25:31 the-first-pattern.raphiki.net
  606. 25:33 and it's published as
  607. 25:36 every chapter are produced. So what
  608. 25:39 is this universe about? Just for you to
  609. 25:42 grasp how complex it is. So now I go
  610. 25:44 back to Fantasy, not sci-fi. So I have a
  611. 25:47 whole universe with different laws.
  612. 25:49 and it's a thriller again, but there's
  613. 25:51 conspiracy, metaphysical danger, and
  614. 25:54 reality-bending suspense because
  615. 25:56 reality in this universe is a little
  616. 25:59 bit complex. It's a woven system of
  617. 26:01 different layers of worlds, right? So the
  618. 26:04 wake world where we are here,
  619. 26:07 everybody knows it, but you have other
  620. 26:09 worlds around and above and beneath it,
  621. 26:12 right? Most people only live in one
  622. 26:15 layer. Okay. But some are able to
  623. 26:19 interact with others and they're called
  624. 26:21 Dimension Weavers and they're also tasked
  625. 26:24 to repair the threads that bind all the
  626. 26:27 layers together because some are trying
  627. 26:29 to undo that and that's going to be not
  628. 26:32 cool for the different people in the
  629. 26:34 world. So, it's a bit complex and you
  630. 26:36 can see on the image. I don't know if
  631. 26:37 it's if it's visible, but here you can
  632. 26:39 see an image where you already see
  633. 26:41 three layers that are as overlays in the
  634. 26:45 same image. The guy in the front,
  635. 26:47 there's something in the back and then
  636. 26:48 in the far back there's another layer
  637. 26:50 there, right? So, it's a kind
  638. 26:52 of complex lore kind of crazy idea, the
  639. 26:54 kind of stuff that I can create. So
  640. 26:58 to do that I used the same kind of
  641. 27:00 workflow that I did for The Human
  642. 27:02 Protocol but I did extensive lore as
  643. 27:06 code like far more deeper than I did
  644. 27:08 with The Human Protocol. So yes,
  645. 27:10 describe the universe, the characters,
  646. 27:12 also the visual references to ground
  647. 27:14 everything, the different worlds and
  648. 27:17 layers of reality that have different
  649. 27:19 laws, different artifacts, different
  650. 27:22 factions, and on the AI harness. Also,
  651. 27:25 I went a little bit deeper into the
  652. 27:26 scenario, the writing protocol because I
  653. 27:28 learned from my first experience how to
  654. 27:31 design the scene, the detail plan,
  655. 27:34 the writing style, everything.
  656. 27:36 And to use that, I anchored everything
  657. 27:38 with two skills. The first one is the
  658. 27:40 image grounding skill that helps when I
  659. 27:43 have to create an image it will anchor
  660. 27:46 itself and grab all the reference sheets
  661. 27:49 from my visual references in my lore as
  662. 27:51 code corpus let's say and I have a
  663. 27:55 storytelling skill that I created
  664. 27:57 because after writing or while writing
  665. 27:59 The Human Protocol I started to read
  666. 28:02 books about storytelling narratology
  667. 28:04 dramaturgy right what are the best
  668. 28:06 practices to write a scenario to make it
  669. 28:08 interesting testing and stuff but I
  670. 28:10 don't have time to. So I said okay I
  671. 28:13 read some I just looked or went
  672. 28:16 through and I decided to create with AI
  673. 28:18 skills I have my top golden rules to
  674. 28:21 have a good scenario and stuff and I
  675. 28:22 created a skill with that and I used the
  676. 28:24 skill also in my writing loop so I won't
  677. 28:27 go into the workflow it's the same
  678. 28:30 kind of I just want to show you some
  679. 28:31 visual references that I created with
  680. 28:34 AI. So basically you have two references
  681. 28:37 for two of the characters. I have many
  682. 28:40 characters in this story and
  683. 28:43 references for factions that are
  684. 28:46 entities from another layered world.
  685. 28:49 Right. Okay. So you can see how the
  686. 28:53 their outfits are their
  687. 28:55 expressions emotions, faces, their gear,
  688. 28:58 spec specific equipment with some
  689. 29:01 instructions.
  690. 29:04 So what I wanted to do for this in
  691. 29:07 this event it was to write live a
  692. 29:10 chapter for you but it takes around
  693. 29:13 20 minutes so it doesn't fit. So what I
  694. 29:15 did is I recorded few days ago my
  695. 29:19 session and then I edited the video,
  696. 29:21 removed the waiting part and accelerated
  697. 29:23 some others so it can fit in less than
  698. 29:25 5 minutes. Right? Okay. So here
  699. 29:27 you have the QR code to go on the
  700. 29:29 the website and now let's start the
  701. 29:32 video. I don't know if you can see
  702. 29:33 properly but if you can't just
  703. 29:36 believe me I will comment a little bit
  704. 29:38 on top right. So I'm in codex. I'm in
  705. 29:41 my project Reality Weaver I have different
  706. 29:43 conversations. I'm in the conversation
  707. 29:45 about chapters. I wrote chapter five.
  708. 29:48 Now I said let's write chapter six.
  709. 29:50 Right? What the system does based on the
  710. 29:53 harness and the lore says okay you
  711. 29:56 asked me to write the chapter six. Okay
  712. 29:58 let me see the protocol confirms that I
  713. 30:00 should it's checking the scenario. What
  714. 30:03 is the chapter six about? And based on
  715. 30:06 that it's grabbing all the necessary
  716. 30:09 markdown files that are in my lore as
  717. 30:12 code corpus right he writes that's
  718. 30:14 accelerated so you have the first
  719. 30:17 version of the chapter it's in markdown
  720. 30:19 right but it's not finished because in
  721. 30:21 the writing loop I also added some
  722. 30:23 verification so now he's trying to
  723. 30:26 check and he used the storytelling
  724. 30:29 skill to check if the golden rules of
  725. 30:31 storytelling are fulfilled he's anal
  726. 30:33 analyzing also the different text
  727. 30:36 from the chapters the chapter
  728. 30:39 sorry and he detected that he
  729. 30:42 created some extra lore to write the
  730. 30:45 book right and I and I always said I
  731. 30:48 want the lore as code and the and the book
  732. 30:49 to be completely aligned just like I'm
  733. 30:51 an architect when I design the system I
  734. 30:53 like the architecture to be
  735. 30:55 live and real right so he
  736. 30:58 wrote the chapter so that's the
  737. 31:00 first MD file but he also updated other
  738. 31:04 documents which are the reference sheets
  739. 31:06 of two characters that are in this
  740. 31:09 specific scene of the chapter six.
  741. 31:11 Right? So it just did that and it
  742. 31:14 checked that the continuity of the
  743. 31:17 story is complete and is okay. Now
  744. 31:20 I move to the second conversation
  745. 31:22 where I want to generate the image that
  746. 31:25 will illustrate this particular chapter.
  747. 31:27 So that's the image for the chapter
  748. 31:29 five. Now I say okay move on generate
  749. 31:31 the image for chapter six. I explicitly
  750. 31:33 ask to use the skill that I created for
  751. 31:36 that. Now it's compacting the context by
  752. 31:38 the way. Okay. Now let's move on. I say
  753. 31:41 okay now I will use the skill. Well
  754. 31:44 that's what I asked you. That's good.
  755. 31:46 so he continues and he said okay now
  756. 31:49 I'm reading the chapter to know what's
  757. 31:51 what's the chapter is about and what
  758. 31:53 should I design to illustrate it. So
  759. 31:57 he's giving me a resume of a summary of
  760. 32:00 what is the chapter about and
  761. 32:03 then he's grabbing all through the AI
  762. 32:05 harness that I created all the
  763. 32:07 references that he will use
  764. 32:10 whether they are text but also images.
  765. 32:12 So here you know he fetched two reference
  766. 32:14 sheets also and the image from
  767. 32:17 the previous chapter right so based
  768. 32:19 on that now we start to generate but
  769. 32:21 first I said generate prompt I want you
  770. 32:23 to generate the prompt I want to have a
  771. 32:25 trace of everything right so it generated
  772. 32:26 the prompt the image and then I look the
  773. 32:29 arm of the woman is a little bit too
  774. 32:30 long that's a bit scary that's not what
  775. 32:32 I wanted so I said I'm the human in the
  776. 32:35 loop I said please correct that right so
  777. 32:37 it corrects the prompt first and then it
  778. 32:39 corrects the image the image is okay
  779. 32:41 fine for me. So I say let's move on to
  780. 32:43 the last part and I say now publish it
  781. 32:46 update the website and then we will
  782. 32:48 publish it online. Right? So that's what
  783. 32:50 he does. So he is doing the ChatGPT
  784. 32:53 Site tricks. Basically he's creating the
  785. 32:55 application. He's giving some
  786. 32:58 information about what he's doing there.
  787. 33:00 But basically what he will do at the
  788. 33:02 end is he won't deploy the application
  789. 33:04 as a whole. It will be just delta.
  790. 33:07 So only the differences that will be
  791. 33:08 updated on online. Right? So that's it.
  792. 33:11 And then you can see here is the website
  793. 33:14 the chapter six is online and you have
  794. 33:16 another one you have the image and
  795. 33:18 you have the text that is published
  796. 33:22 and at the end of course I say okay do
  797. 33:24 the all the Git and the GitHub magic to
  798. 33:27 have everything saved on GitHub on
  799. 33:30 my private repo right okay so
  800. 33:32 here you see this is in accelerated mode
  801. 33:36 both the loop that I used also
  802. 33:38 to create chapter by chapter my story
  803. 33:41 But my story is already created in my
  804. 33:43 mind it's to implement it. Okay.
  805. 33:45 So maybe it's time now for the epilogue.
  806. 33:47 We have like six minutes left.
  807. 33:50 What did I learn by doing that? Right.
  808. 33:52 Well, I learned that we can transpose
  809. 33:54 things from AI SDLC to other topics. And
  810. 33:58 I mean LLM
  811. 34:00 it's there is language in LLM,
  812. 34:02 right? So basically they're made to
  813. 34:04 write text. So looks fair to try and
  814. 34:07 do something. But what I know here is AI
  815. 34:09 is not replacing me here. I'm still the
  816. 34:12 designer. I'm the architect. I'm used to
  817. 34:14 design systems and delegate the
  818. 34:15 implementation of the system to others
  819. 34:17 because I design big big big systems,
  820. 34:20 right? I can't implement the big big big
  821. 34:22 systems, right? So I'm used to that. So
  822. 34:24 that's my that was my delegation
  823. 34:26 postulate. But what I designed is
  824. 34:29 both the lore but the loops because that
  825. 34:32 was the talk from Guillaume this morning. I
  826. 34:35 don't know if you attended this one.
  827. 34:37 loop engineering, how you design the
  828. 34:39 loop, how you design the harness, how do
  829. 34:41 you design the rules to have now the
  830. 34:45 delegation in place and the agent
  831. 34:47 working for you the way you want to
  832. 34:49 to do it. So here by doing that I am
  833. 34:51 both the artist and the architect. So
  834. 34:53 I'm very happy, right?
  835. 34:56 Then
  836. 34:58 when you're like that and when you're a
  837. 34:59 guy like me, you don't know me, but
  838. 35:02 believe you me, imagination is not a
  839. 35:04 problem with me. And with that kind of
  840. 35:06 of system, your limit is only your imag
  841. 35:09 imagination. So it means that I'm
  842. 35:11 becoming unlimited. I can have so many
  843. 35:14 ideas. I mean crazy worlds that I
  844. 35:16 created, crazy story, crazy project I
  845. 35:18 want to do. Maybe next year I'll
  846. 35:21 come back to you and they say let's
  847. 35:22 write a book all together with your
  848. 35:24 smartphone you know crazy stuff we can
  849. 35:26 imagine right so no more
  850. 35:29 limitation except of course token price
  851. 35:33 everything of course but that's not the
  852. 35:35 real limit the limit is this one my wife
  853. 35:39 [laughter]
  854. 35:40 she said I'm so fed up of you playing
  855. 35:42 with your mistress you know AI is your
  856. 35:45 new mistress you're spending all of your
  857. 35:47 time when you work on AI when you're
  858. 35:49 not working. You're on your book or
  859. 35:51 you're trying to make a comic or you're
  860. 35:52 trying to do other things. I'm fed up
  861. 35:54 about that. And she doesn't know that
  862. 35:56 there is not one AI. It's AIS. So I have
  863. 35:59 many mistresses. But don't tell her
  864. 36:01 that, right? So we have limitations
  865. 36:04 because we are humans. So as a
  866. 36:06 conclusion, what I say is we have to
  867. 36:08 make sure that we stay grounded. That's
  868. 36:10 the yoga teacher now speaking here and
  869. 36:12 humans because I mean we can go too far
  870. 36:15 we can go so fast that we forgot what
  871. 36:17 why we were doing the things in the
  872. 36:19 first place right that's why I had to
  873. 36:20 change between my different projects and
  874. 36:22 stuff and the way I managed to deal
  875. 36:25 with my wife is I just embarked her on a
  876. 36:27 new project
  877. 36:30 okay
  878. 36:30 because she's a yoga teacher like me so
  879. 36:34 I can't say everything but it's about
  880. 36:35 game yoga and there's a bit of AI inside that.
  881. 36:40 So now it's okay. She's on
  882. 36:42 board, right? So thank you very much
  883. 36:44 for your attention. I hope it was
  884. 36:46 entertainment entertaining. Yeah. You
  885. 36:49 learned things. You have the two QR codes
  886. 36:52 for the book that is on Amazon and
  887. 36:53 the one that is online. I don't know
  888. 36:56 if we have time for questions, but if
  889. 36:58 not or few questions, yes, you can
  890. 37:01 always bump into me. Yeah.
  891. 37:02 >> Hi, I'm a student from the University of Toronto.
  892. 37:15 Do you check each chapter to see if it's accurate to the story?
  893. 37:16 That depends that depends on my mood.
  894. 37:19 But generally what I do is I go
  895. 37:21 through it and I check that that's the
  896. 37:23 idea I got in the beginning of the when
  897. 37:25 I designed the scenario because I
  898. 37:27 know what the chapter will be about. But
  899. 37:29 then with some of the rules it will
  900. 37:31 extend it will complete or enrich the
  901. 37:34 scenario. So I have to check if I'm not
  902. 37:38 happy with that then it might
  903. 37:40 take more time. For instance the
  904. 37:42 the longest time in the 20 minutes
  905. 37:44 that I accelerated there is the
  906. 37:46 image creation the text is going very
  907. 37:48 very fast h very very fast it's image
  908. 37:51 generation that takes a lot of time and
  909. 37:52 it took a lot of time because the image
  910. 37:54 was buggy so I said oh you have to fix
  911. 37:57 the image okay let me understand and
  912. 37:59 that's what took time the text it's a
  913. 38:00 few minutes it's not 20 minutes
  914. 38:08 yeah yeah yeah sometimes I browse
  915. 38:11 through it. Sometimes I just stop and say
  916. 38:13 something wrong here you know just and
  917. 38:15 then yes there's a discussion that's why
  918. 38:17 I have I have this these discussions
  919. 38:18 these different threads in my project
  920. 38:20 in codex here so yeah it's a
  921. 38:23 collaboration with I still review
  922. 38:26 things
  923. 38:31 no more yes maybe there yes there a
  924. 38:34 question you'll have to shout
  925. 38:39 okay I can't hear you
  926. 38:41 >> what's the timeline?
  927. 38:43 >> Ah timeline. Yeah. Oh, that's a tough
  928. 38:45 question because as I said most of the
  929. 38:47 time I spent was before when I was
  930. 38:49 designing the lore and it was not
  931. 38:51 something that I sat down and I say
  932. 38:54 let's design the lore and I stop when
  933. 38:56 it's finished. Right? So it took several
  934. 38:58 months for me because the idea was
  935. 39:00 maturing in my mind and then when the
  936. 39:02 lore is done then writing the book is
  937. 39:04 not that long. It's so most of the time
  938. 39:06 but it's several months. several months.
  939. 39:09 But it depends on what you want to do.
  940. 39:10 Definitely.
  941. 39:11 >> Is it fun?
  942. 39:13 >> Yeah, of course. The fun part
  943. 39:15 is you create the you create the
  944. 39:17 characters, you describe them so well,
  945. 39:19 right? And then you start you see
  946. 39:21 them becoming alive and starting to
  947. 39:24 talk with each other. That's fun. Yeah.
  948. 39:28 >> How many tokens?
  949. 39:29 Oh, no. That at the beginning I want
  950. 39:31 at one moment I said I should check
  951. 39:32 that, you know, really, but it was too
  952. 39:34 late. I already I was already gone,
  953. 39:36 right? But I definitely want it. So
  954. 39:38 that's something that I will do in my in
  955. 39:40 my new adventures is in the writing
  956. 39:42 protocol to log everything and hype
  957. 39:44 the make some graphs and you know
  958. 39:46 things that we architects and IT people
  959. 39:49 would like to have right. So that I will
  960. 39:51 do certainly in the future but I didn't
  961. 39:53 this time.
  962. 39:57 Fine.
  963. 39:59 Okay. Thank you very much.
Watch on the original platform ↗
Slide 1 of —

Loading slides…