YouTube2Text

Tiny Software Factories: Agentic Engineering DONE WRONG — Transcript

by IndyDevDan · 3,375 words · 499 segments · language en · Watch on YouTube

Full transcript

  1. 0:00Welcome to Tiny Software Factories
  2. 0:02lesson one. Tiny Software Factories is a
  3. 0:04crash course mini-series where we build
  4. 0:07small useful software factories that
  5. 0:10work for you around the clock so you can
  6. 0:12move from being stuck in the loop to
  7. 0:14being near the loop. In each lesson,
  8. 0:16you'll see an empty factory and a
  9. 0:18running factory. This lets you
  10. 0:20understand the capabilities first and
  11. 0:22then you can apply them to a real
  12. 0:24problem. In lesson one, you'll dive into
  13. 0:27the world of Tiny Software Factories and
  14. 0:29learn agentic engineering done wrong.
  15. 0:32Now, I know it's a little weird. Why
  16. 0:34would you want to learn agentic
  17. 0:35engineering incorrectly? Let me explain.
  18. 0:38Tiny Software Factories is a crash
  19. 0:40course on incrementally scaling your
  20. 0:42agentic engineering to the closest
  21. 0:45[music] useful threshold. In TSF, you're
  22. 0:47going to learn many dark patterns of
  23. 0:50agentic engineering that will not scale.
  24. 0:53In exchange, you'll move fast, break
  25. 0:55things, fix them, and ship. But, these
  26. 0:58are anti-patterns. So, I want to make
  27. 0:59this super clear. Tiny Software
  28. 1:01Factories is a highly compressed lossy
  29. 1:04version of the infinite agentic
  30. 1:06engineering core lesson set. Here, we
  31. 1:08focus on near-loop agentic engineering.
  32. 1:11[music] IA3 focuses on the much
  33. 1:13higher-leverage but more challenging
  34. 1:15out-loop agentic engineering where we
  35. 1:17build fully autonomous systems that
  36. 1:19operate for you without you. What you'll
  37. 1:21see here is not recommended as long-term
  38. 1:24solutions. These anti-patterns are meant
  39. 1:26to move you from zero to value at the
  40. 1:28cost of basically everything except
  41. 1:31getting the job done. This is
  42. 1:32blitzscaling for agentic engineering.
  43. 1:34[music] This is the quick fix. It's not
  44. 1:36meditation, it's Xanax. It's not working
  45. 1:39out, it's a GLP-1. This is a useful
  46. 1:42local maximum for getting results at all
  47. 1:44costs. Now that that's out of the way,
  48. 1:46just because it isn't technically
  49. 1:48correct doesn't mean your tiny software
  50. 1:50factories can't be incredibly useful. In
  51. 1:53TSF, [music] we stop worrying about
  52. 1:55getting things right and we focus on
  53. 1:57getting things shipped. If these ideas
  54. 1:59[music] interest you and you want to get
  55. 2:00things done at the speed of agents,
  56. 2:03let's build some tiny software [music]
  57. 2:05factories.
  58. 2:11So, let's start by asking an obvious
  59. 2:14question. What is a tiny [music]
  60. 2:16software factory? A tiny software
  61. 2:18factory is a software factory built to
  62. 2:20solve one specific problem where a
  63. 2:22proactive agent works around the clock
  64. 2:25in a durable environment with you near
  65. 2:28the loop instead of in it. There are key
  66. 2:30pieces of this definition we need to
  67. 2:32highlight. Built to solve one problem
  68. 2:34with a proactive agent around the clock
  69. 2:37in a durable environment with you near
  70. 2:39the loop, not in the loop. You're going
  71. 2:42to see these properties as repeat themes
  72. 2:44as you master the tiny software factory.
  73. 2:46Now that we're aligned on a definition,
  74. 2:48let's ask the next important question.
  75. 2:50Why is this valuable? What makes a tiny
  76. 2:53software factory more valuable than
  77. 2:55sitting in the terminal and prompting an
  78. 2:57agent back and forth? In loop versus
  79. 3:00near loop. The big advantage of your
  80. 3:02tiny software factory is that you are
  81. 3:04not required in the loop. Instead, you
  82. 3:07move near the loop to give feedback,
  83. 3:09make decisions, and approve work your
  84. 3:11agent has already done. The feedback you
  85. 3:14give your near loop agent creates a data
  86. 3:16flywheel where the factory improves with
  87. 3:18each signal you give it. Let's face it,
  88. 3:21the facts are you and I are the
  89. 3:23bottleneck, and 80% or more of the work
  90. 3:26we're doing right now can run without us
  91. 3:28with the right system in place. The tiny
  92. 3:31software factory gets us there fast. In
  93. 3:34loop, you prompt. Near loop, you
  94. 3:36respond. The trick is having the right
  95. 3:38system in place so you aren't stuck with
  96. 3:40your bot in your dev chair. What else
  97. 3:42makes a tiny software factory so
  98. 3:44valuable? As you'll see, the tiny
  99. 3:45software factory is rapidly deployable.
  100. 3:48It's designed to be changed. With one
  101. 3:51meta skill and one command, bam, you can
  102. 3:53mount a new factory next to your code
  103. 3:56base to solve a specific problem. Point
  104. 3:58it at your repo, drop it in a sandbox,
  105. 4:00and you go from zero to working agentic
  106. 4:03system in minutes. Building a scalable
  107. 4:05software factory takes a ton of time
  108. 4:08even with powerful language models. The
  109. 4:09result is always one more feature away,
  110. 4:12and then you realize it doesn't do
  111. 4:14everything for every scenario you're
  112. 4:16trying to build for. The tiny software
  113. 4:18factory gives you a massive advantage
  114. 4:20because it's a highly compressed working
  115. 4:22system with great defaults you can
  116. 4:24rapidly deploy over and over. It's a
  117. 4:27quick fix, and that's the point. What
  118. 4:29else makes the tiny software factory
  119. 4:31architecture you'll see so valuable?
  120. 4:33It's extensible by design. It's designed
  121. 4:37to be customized. Every prompt, tool,
  122. 4:39hot key, extension, theme is all
  123. 4:42accessible to you and your in-loop
  124. 4:44agent. This means you can rapidly build
  125. 4:47the system that builds the system,
  126. 4:48speeding up your transition from in the
  127. 4:51loop to near the loop. You can change it
  128. 4:53so it bends to solve whatever problem
  129. 4:56you need to solve. Initialize,
  130. 4:58configure, specialize. Last but not
  131. 5:00least, the tiny software factory
  132. 5:02architecture is special because the
  133. 5:04near-loop agents inside them don't stop
  134. 5:07working for you. They contain a durable
  135. 5:09agent plus a trigger inside a sandbox to
  136. 5:12give you a proactive agent. You can
  137. 5:14configure it so it starts working before
  138. 5:17you wake up, and when you check in, the
  139. 5:18work is already waiting for your review.
  140. 5:21It doesn't wait for you to work, it
  141. 5:23works for you, then waits. We have a
  142. 5:25rapidly deployable agentic system you
  143. 5:28can spin up at a moment's notice to
  144. 5:30consistently solve one specific problem
  145. 5:32around the clock with a proactive agent.
  146. 5:35But, what [music] does a tiny software
  147. 5:37factory actually look like?
  148. 5:44Throughout tiny software factories,
  149. 5:46we'll incrementally reveal features for
  150. 5:49the tiny software factory using a
  151. 5:50feature map. We're going to work through
  152. 5:52four factory levels, and each factory
  153. 5:54level contains unique features we'll
  154. 5:56work through incrementally one by one.
  155. 5:59Every feature sits on one of three
  156. 6:01dimensions: effort required to unlock,
  157. 6:04the value you get for putting in the
  158. 6:06effort to build and use that feature.
  159. 6:08And then every feature also has a
  160. 6:10certain skill requirement that you must
  161. 6:13meet. To keep this simple in the true
  162. 6:15spirit of tiny software factory, we'll
  163. 6:17[music] focus on value and effort.
  164. 6:24The first and most important property of
  165. 6:27tiny software factories is the empty
  166. 6:29factory. The empty factory is the
  167. 6:32template. It's fully built out. It has
  168. 6:34every feature you need to specialize,
  169. 6:36but no specialization yet. The empty
  170. 6:38factory has no purpose until you give it
  171. 6:41one. Let's take a look at a real empty
  172. 6:43factory right now. In the browser, you
  173. 6:46can see we have an empty factory here.
  174. 6:49It's a minimal user interface with
  175. 6:51[music] two sidebars we're going to work
  176. 6:53through right now. Every feature we work
  177. 6:55through is a capability you have [music]
  178. 6:57that you can specialize to solve your
  179. 6:59specific problems.
  180. 7:06Let's look at what's inside the empty
  181. 7:08factory with our next feature, the agent
  182. 7:10on your right. Here, this is a durable
  183. 7:13agent inside your factory that's always
  184. 7:15on, always one message away. If we open
  185. 7:18up the right sidebar here and right
  186. 7:20ping, you can see we have a classic
  187. 7:22agent ready to work for you. This is
  188. 7:24something you're very familiar with.
  189. 7:26Every application can be supercharged
  190. 7:28with an agent so you move at the agentic
  191. 7:30speed. Every software factory must
  192. 7:32operate on something. What does this
  193. 7:34empty factory operate on?
  194. 7:41That brings us to our third feature. We
  195. 7:44have lists on your left. Every product
  196. 7:47is a list of something. What's in your
  197. 7:50list? On the left here, we have pages.
  198. 7:52So these are pages that you and your
  199. 7:54agent operate on. As you'll see, this is
  200. 7:56designed to be replaced. But with just
  201. 7:59these three features, we can start
  202. 8:00operating our tiny software factory.
  203. 8:02Explain the basics of Python,
  204. 8:05TypeScript, and Rust nested folders in
  205. 8:07our pages. We'll kick that off. So you
  206. 8:09can see Python, TypeScript, Rust in
  207. 8:11folders in the tiny software factory.
  208. 8:13It's creating these pages. It's
  209. 8:15populating the tiny software factory.
  210. 8:17There are pages we can go ahead and open
  211. 8:19up every one of these and we can see
  212. 8:21them. We have a start here and you can
  213. 8:22see that our center view [music] has now
  214. 8:24focused on the content.
  215. 8:31That brings us to our next feature.
  216. 8:33Focus is in the center. The primary
  217. 8:35thing you and your agent work on is
  218. 8:37located in the center of your tiny
  219. 8:39software factory. Focus your attention
  220. 8:41here. So for our empty software factory,
  221. 8:43we have a simple generative UI based
  222. 8:45application where we have pages, we have
  223. 8:47artifacts, we have simple markdown
  224. 8:49documents that our agent can operate,
  225. 8:51build, tweak, and tune on our behalf.
  226. 8:54You can see here we have the language
  227. 8:55basics for Python, for TypeScript, and
  228. 8:58for Rust generated by our agent and it's
  229. 9:01all here for us to analyze, to look at,
  230. 9:03and to tune and [music] tweak. But these
  231. 9:05two calls our agent has just run hints
  232. 9:07at a very important property of the tiny
  233. 9:09software [music] factories.
  234. 9:15The next key feature of the tiny
  235. 9:17software factory is agent access parity.
  236. 9:20Everything you can do, your agent can
  237. 9:22do. Every control in the UI has a
  238. 9:24matching agent tool. This has serious
  239. 9:27implications that let you move much
  240. 9:29faster than your competitors because
  241. 9:31this allows you to move at the agentic
  242. 9:33speed, the speed of agents. Let's focus
  243. 9:36in on our agent here. List pages tools.
  244. 9:38And our agent is listing all the tools
  245. 9:40it has here for operating its pages. Our
  246. 9:43agent truly has access to everything we
  247. 9:45have inside [music] the tiny software
  248. 9:47factory. Let's look at another core
  249. 9:49feature and I'll show you exactly what I
  250. 9:51mean.
  251. 9:56You do not truly own your agent if you
  252. 9:59do not have core four control. Context
  253. 10:02model, prompt, tools. A true software
  254. 10:05factory must give you full control over
  255. 10:07your agents. In our user interface here,
  256. 10:10we have that exactly. If we go to the
  257. 10:12settings here, you can see we have a
  258. 10:14comprehensive list of settings. We have
  259. 10:16the essentials, we have the core four,
  260. 10:17and then we have our advanced settings.
  261. 10:19Let's talk about the core four, because
  262. 10:20this is what makes up your agent. If you
  263. 10:22master the core four, you'll master your
  264. 10:25agent. And if you can configure and
  265. 10:26customize it, you can build agents no
  266. 10:28one else can. And in your tiny software
  267. 10:30factory, that means everything. You can
  268. 10:32see here, we have a context bar, we have
  269. 10:34auto compaction at 200k, force
  270. 10:36compaction at 500k. Once our agent
  271. 10:39crosses the 200k threshold, it'll start
  272. 10:41compacting in the background. We'll talk
  273. 10:43about durable agents more in a moment,
  274. 10:45but this is a key feature of them. You
  275. 10:46can see we have model selection and
  276. 10:48thinking level broken down into tiers.
  277. 10:50This is very important. You don't want
  278. 10:52to fix it on one model, you want to use
  279. 10:53the right model for the job at the right
  280. 10:55performance, cost, speed trade-off. We
  281. 10:58have a system prompt that we have prompt
  282. 11:00engineered. It does very specific things
  283. 11:02inside the software factory. And then of
  284. 11:03course, we have our tools. You can see
  285. 11:05all the tools our agent has there. And
  286. 11:07then we have some settings. So now we
  287. 11:09have a couple key features stacking up
  288. 11:11here. And we can showcase this. If we go
  289. 11:13into the settings for the core four, you
  290. 11:15can see context focus there. We have
  291. 11:17auto compaction on. We can see our model
  292. 11:19details. We can see all of our prompts
  293. 11:21broken down, custom prompts, extension
  294. 11:24prompts, which we'll get to, and custom
  295. 11:26prompts that we can append to our agent
  296. 11:28at any time. And of course, all the
  297. 11:30tools our agents have access to, we can
  298. 11:31see them in quick view mode here. We can
  299. 11:34show the description of each, and then
  300. 11:35we can show the full parameters in
  301. 11:37whatever syntax we like to ingest our
  302. 11:40tools in. But our features are starting
  303. 11:41to stack up now. So let me show you what
  304. 11:43it really means for your agent to have
  305. 11:45agentic access parity. I'll close our
  306. 11:47main view, focus on our agent, and then
  307. 11:49I'll run disable all coding tools,
  308. 11:51update thinking level to max. I'll kick
  309. 11:53this off, and our agent can modify
  310. 11:56itself. This is one of the key
  311. 11:57advantages of having a durable agent
  312. 12:00with the right tools. This is reflection
  313. 12:02for agents. If you open our settings
  314. 12:04now, you can see that our thinking is
  315. 12:06now set to high. And if we go to our
  316. 12:07tools, you can see that all of the
  317. 12:09coding tools, read, write, edit, bash,
  318. 12:11have now been disabled. Our agent has a
  319. 12:14specific set of tools that we can tweak
  320. 12:15and it can self-modify itself up to some
  321. 12:18useful limit that again you can set.
  322. 12:20Obviously, this capability can be very
  323. 12:22dangerous if you don't control it
  324. 12:24properly, but agentic access parity lets
  325. 12:27your agent do everything you can do and
  326. 12:29the most important customizations any
  327. 12:31agentic engineer can make now is the
  328. 12:33configuration of your agents and the
  329. 12:35code surrounding your agents. And if you
  330. 12:37can do that at the agentic speed, you'll
  331. 12:39move a lot faster. We can [music]
  332. 12:41customize the core four with agentic
  333. 12:43access parity.
  334. 12:49That leads us to another big feature
  335. 12:52that the tiny software factory has that
  336. 12:54you can tap into. You can build an
  337. 12:56extensible harness. This tiny software
  338. 12:58factory near loop agent is built on
  339. 13:01slices of capability. What do I mean by
  340. 13:03that? If we hop back into the settings
  341. 13:05menu and we go down to our advanced
  342. 13:07settings, inside of harness, you can see
  343. 13:09that this agent is a composition of
  344. 13:12several agent harnesses. We have the
  345. 13:14factory harness. We have our coding
  346. 13:16tools, which you can see here we've
  347. 13:17fully disabled. We then have our page
  348. 13:20harness. We have our image generation
  349. 13:22harness, which is another layer of
  350. 13:23capability, and then we have our factory
  351. 13:25controls. Excluding the default coding
  352. 13:27agent settings, we have four additional
  353. 13:30layers we've stacked on top of this. And
  354. 13:32this is fully customizable as you'll see
  355. 13:34in subsequent lessons. We'll showcase
  356. 13:35how to harness engineer new capabilities
  357. 13:38inside your tiny software factory near
  358. 13:40loop agent. Tools that feel great to
  359. 13:42operate make for a better [music]
  360. 13:44experience. And better experiences means
  361. 13:46you're more willing to invest in the
  362. 13:48tools you're building and using.
  363. 13:55Which is why our next feature of our
  364. 13:56tiny software factory is so important,
  365. 13:58customizable DX UX. You can customize
  366. 14:02your tiny software factory to the core.
  367. 14:03We're talking themes, we're talking
  368. 14:04updating the nav bars, we're talking hot
  369. 14:06keys, animations. Shape your factory to
  370. 14:08how you do your work. As you've likely
  371. 14:11noticed, I've been opening the settings
  372. 14:13with another hot key. If you want to
  373. 14:14move fast, the tools you use must enable
  374. 14:17you to do that. And the Tiny Software
  375. 14:19Factory was built with this in mind.
  376. 14:21What do I mean by that? Let's keep
  377. 14:22extending on our theme here. So, I'll
  378. 14:24run this. I'll say update to another
  379. 14:26dark theme, then add context bar to the
  380. 14:28agent nav bar, then add status in the
  381. 14:31global nav bar on the left side. We'll
  382. 14:33let our agent kick off, and it's going
  383. 14:34to check the themes. It has full agent
  384. 14:37access, and it's updated our settings.
  385. 14:39So, couple things have changed. We have
  386. 14:41our agent status in the nav bar. you saw
  387. 14:43we updated our theme. So, once again, we
  388. 14:45have agentic access to everything we can
  389. 14:47do in the UI. This means we can move at
  390. 14:49the speed of agents. And I mean full
  391. 14:52agentic access parity, even simple
  392. 14:54things like this. On select the page.
  393. 14:56Everything you can do, your agent can do
  394. 14:58as well. It's the small operations that
  395. 15:01you take, that I take, that stack up big
  396. 15:04over time. This context bar is a little
  397. 15:06scrunched here. Move context bar into
  398. 15:08full width mode. This is going to give
  399. 15:10us more space. It's going to push it
  400. 15:11down. There we go. You can take this.
  401. 15:13You can customize it. You can really do
  402. 15:14whatever you want with it. You can make
  403. 15:16it your own. We're not going to use that
  404. 15:17much context, so we're going to say drop
  405. 15:18context bar. I don't quite like this
  406. 15:20theme, so we're going to hop back into
  407. 15:21our theme here in the settings, and I'm
  408. 15:23just going to update this. We're going
  409. 15:24to switch to a midnight. We can continue
  410. 15:26to customize to our heart's content. Of
  411. 15:28course, in the nav bar, you can see
  412. 15:29exactly how our agent is organizing the
  413. 15:32user interface. Fully customizable,
  414. 15:34fully extendable. We can update the
  415. 15:35animation so we can understand when our
  416. 15:38agent is working versus when it's not.
  417. 15:39And then we have hot keys. fully
  418. 15:41configure, customize the application to
  419. 15:43move very, very quickly. In a world
  420. 15:45where software can change at light
  421. 15:47speed, our core tooling, our core
  422. 15:50applications must be built with that in
  423. 15:52mind. This is liquid software. It's
  424. 15:54meant to be changed. It's meant to be
  425. 15:56customized. [music] That's a key
  426. 15:57property of the Tiny Software Factory.
  427. 16:00Switch back to default TSF theme. What
  428. 16:02else makes the Tiny Software Factory
  429. 16:04[music] so powerful?
  430. 16:10If you want to move near the loop and
  431. 16:12eventually out the loop, you're going to
  432. 16:14need cron, and specifically cron
  433. 16:16prompts. These are exactly what you
  434. 16:18think they are. It's prompts on a
  435. 16:20schedule. It's run by your agent while
  436. 16:22you're away. Let's take a look at this
  437. 16:24because this is a massive up level for
  438. 16:26your agentic engineering because with
  439. 16:28the tiny software factory, this idea is
  440. 16:30rapidly deployable against any problem
  441. 16:33you have. So, out of the box, the hot
  442. 16:35key for cron is R. You can see here,
  443. 16:36every cron has a simple set of items,
  444. 16:39right? It has a name, it has a schedule,
  445. 16:41and then it has a prompt. That's really
  446. 16:43it. This lets you get up and running
  447. 16:45with repeat schedules, repeat jobs
  448. 16:47instantly with zero cost. Let's create a
  449. 16:50cron and really start getting value out
  450. 16:51of our near loop agent here. I'll say
  451. 16:53add cron, every minute add a new file to
  452. 16:55each of our programming languages
  453. 16:58because remember we had it write out
  454. 16:59some language basics here. And then I'll
  455. 17:01say breakdown one new concept each.
  456. 17:04We'll kick that off. Let's see what our
  457. 17:05agent thinks about that. Two blockers,
  458. 17:07has no file rights. That's fine. It
  459. 17:08shouldn't need this. Every 3 minutes.
  460. 17:10That's a lot per day. That's fine.
  461. 17:12Confirm anyway. Use page tools. TSF
  462. 17:15cron. There it goes. There it is. It's
  463. 17:17kicking off that workflow every minute.
  464. 17:18It's going to read the pages and it's
  465. 17:20going to add a new fundamental into our
  466. 17:22folders for every one of our languages.
  467. 17:24Obviously, this is just a random example
  468. 17:27to showcase what this really looks like,
  469. 17:28what this really feels like inside your
  470. 17:30tiny software factory. But you can see
  471. 17:32here, we got context managers for
  472. 17:34Python, classic width statements,
  473. 17:35context manager decorator looks great.
  474. 17:37TypeScript utility types looks great. We
  475. 17:40got why it matters, common mistakes at
  476. 17:41the bottom. Awesome. And then Rust
  477. 17:43lifetimes, label of borrow, tell
  478. 17:45compiler how long it's valid, why it
  479. 17:47matters, common mistakes. Fantastic.
  480. 17:49Here we are. We're getting to that point
  481. 17:51where minute's almost complete and now
  482. 17:53our agent is going [music] to get that
  483. 17:54event once again. There it is. The cron
  484. 17:56is running and it doesn't matter if
  485. 17:58we're here. This is the important part.
  486. 18:00I can close this. This is a durable
  487. 18:02application. I can refresh as much as I
  488. 18:04want. I can close this browser window if
  489. 18:06I want and our agent is just going to
  490. 18:08keep working, keep stacking up features.
  491. 18:10Cron prompts are an incredibly
  492. 18:12important, powerful, and fast, simple
  493. 18:15way to add repeat jobs into your tiny
  494. 18:18software factory. You're moving fast.
  495. 18:20You're getting done, and now
  496. 18:21[music] with this next feature, you're
  497. 18:23turning your empty software factory into
  498. 18:25a
  499. 18:26>> [music]

About this transcript

This page contains the full transcript of Tiny Software Factories: Agentic Engineering DONE WRONG by IndyDevDan, generated from the public captions YouTube serves with the video. The transcript has 3,375 words across 499 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.