Latest / AI Fire Daily / #112 Robin: Claude Code + Hermes Can Build an AI Agent That Keeps Learning
Transcript
- 0:00You know, you spend hours, literally hours teaching
- 0:03an AI exactly what you want. Oh yeah. You feed
- 0:05it all your specific rules and formatting preferences.
- 0:08Right. It learns your unique style perfectly,
- 0:10you know, during a long, intense session. It
- 0:13really feels like you finally have the perfect
- 0:15digital assistant. Until you don't. Exactly.
- 0:19Because then you close your laptop for the night
- 0:21and the next morning it just starts from zero.
- 0:24all over again. It has complete and total amnesia
- 0:27about your previous work together. Which is,
- 0:30I mean, a deeply frustrating experience for anyone
- 0:32building serious systems. Yeah, it really is.
- 0:35So welcome to the deep dive. Today we are analyzing
- 0:38a very specific architectural setup. We are looking
- 0:42closely at Claude code paired with Hermes. Right.
- 0:45And our mission today is exploring how this setup
- 0:48actually solves AI amnesia. because we are going
- 0:52to explore how dividing labor fundamentally changes
- 0:55your workflow. You essentially split the daily
- 0:57work between a dedicated builder and an operator.
- 0:59Yeah, and they are linked together permanently
- 1:02by a shared memory layer. Right, and that memory
- 1:05connection allows you to create a self -improving
- 1:08AI agent. A specialized agent that learns from
- 1:11its own failures automatically over time. It
- 1:14actually gets better and more efficient while
- 1:15you're sleeping. It really is a massive paradigm
- 1:18shift for automated workflows, you know? You
- 1:21are moving away from having one massive AI do
- 1:24everything for you. We are splitting the actual
- 1:26work into highly specialized software roles.
- 1:29Exactly. You get a digital ecosystem that accumulates
- 1:32real wisdom over time. Beat. Well, let us define
- 1:35the clear division of labor required here first.
- 1:37Right. You need a strict boundary between these
- 1:39two distinct software tools. Giving each tool
- 1:42one clear job creates a much stronger system
- 1:45overall. So first, we have Claude Code acting
- 1:48as the dedicated system builder. You sit at your
- 1:50keyboard for focused, active building sessions.
- 1:54You give it complex instructions and review what
- 1:56it builds carefully. You test the immediate result
- 1:59and make necessary structural changes together.
- 2:01Right, like it could build a website, a script,
- 2:04or complex business automations. You use it to
- 2:07create the entire system architecture from scratch,
- 2:09basically. But you know, it has one really annoying
- 2:12weakness on its own. The amnesia. Exactly. When
- 2:16your active session ends, the useful project
- 2:18context disappears completely. Claude is absolutely
- 2:21brilliant at building complex software systems
- 2:24from scratch. But it lacks permanence in its
- 2:26standard default form today. Right. It simply
- 2:29forgets the nuanced technical decisions you made
- 2:32together recently. And that is exactly where
- 2:34Hermes comes into the picture for us. Hermes
- 2:36acts as the dedicated, always -on operator in
- 2:39this unique setup. Once that initial system exists,
- 2:42Hermes keeps it running independently forever.
- 2:45You can run Hermes locally on your own desktop
- 2:47machine, right? Yeah. Or you can deploy it remotely
- 2:49on a dedicated cloud server. So you assign it
- 2:52schedule jobs and let it monitor background work.
- 2:55Right. And it handles the daily grind without
- 2:57needing constant supervision. But its primary
- 3:00weakness is handling heavy coding work completely
- 3:03from scratch. Right. You would not use Hermes
- 3:06to build serious software systems initially.
- 3:09That specific difference in their fundamental
- 3:11capabilities really matters here, I think. Yeah,
- 3:14there is naturally some overlap between the two
- 3:17distinct AI tools. I mean, quad code can automate
- 3:20some basic daily tasks in a limited way. And
- 3:24Hermes can technically work with complex code
- 3:26when it really has to. But you get much better
- 3:29results respecting their individual core strengths.
- 3:31Exactly. You build the system first using quad
- 3:34code entirely. Then you hand it over to Hermes
- 3:36to keep running daily. Beat. You know, it is
- 3:40a fascinating dynamic. I like to think about
- 3:42it like commercial real estate, actually. Oh,
- 3:44how so? Well, Claude is the high -priced architect
- 3:47who designs the office building. OK, yeah. The
- 3:49architect draws the intricate blueprints and
- 3:52eventually leaves the site. Right. They are not
- 3:54sticking around to check the daily plumbing issues.
- 3:57Exactly. Hermes is the 247 property manager keeping
- 4:00the lights on constantly. The property manager
- 4:03handles the daily maintenance and routine building
- 4:06security. They have completely different skill
- 4:08sets and totally different daily priorities.
- 4:11You would not ask your expensive architect to
- 4:13fix a leaky pipe. Right. But what happens when
- 4:15the building actually needs a structural upgrade?
- 4:18I mean, does Hermes ever try to rewrite? Claude's
- 4:21core code if it spots a bug. Well, usually Hermes
- 4:24just spots the bug and gathers the diagnostic
- 4:27data. It flags the underlying problem so the
- 4:30original builder can address it. It knows its
- 4:32own limits when it comes to massive structural
- 4:35changes. Got it. Hermes flags the issue, but
- 4:38Claude... does the actual remodeling. Exactly.
- 4:42Because the architect and property manager have
- 4:44very different technical skills. We really need
- 4:46to see how they manage real projects today. Let
- 4:49us look at them operating out in the wild. Website
- 4:51monitoring is a really great starting point to
- 4:53understand this. Yeah, so Cloud Code builds the
- 4:56initial site and the complex backend infrastructure.
- 4:59It builds the detailed sign -up flow and any
- 5:01surrounding automations required. But building
- 5:03the actual website is really only the first part
- 5:05today. Right. The site needs to be closely watched
- 5:08and maintained carefully afterward. So after
- 5:10the public launch, Hermes takes over the ongoing
- 5:13daily monitoring work. It watches for new user
- 5:16signups and email open rates constantly. It monitors
- 5:20conversion rate changes and looks closely for
- 5:22broken pages. It watches for sudden unexplained
- 5:25drops in important daily performance metrics.
- 5:28And flags them for Claude. So websites are a
- 5:31great example of monitoring static digital infrastructure.
- 5:34But what if the required output is something
- 5:37highly creative instead? Oh, that is where it
- 5:39gets really fun. Right. Like, can an operator
- 5:42like Hermes actually help with something totally
- 5:45subjective? Yes. This setup gets even more interesting
- 5:48with video content creation. OK, walk me through
- 5:50that. So Claude Code builds a custom video editing
- 5:54skill for you initially. You define exactly how
- 5:57the video cuts should feel dynamically. Like
- 5:59you define how fast the individual scenes should
- 6:02move along smoothly. Right. specific editing
- 6:05choices you want the system making. Then Hermes
- 6:07looks closely at what happens after the video
- 6:09launches. And it does not just check the basic
- 6:11public view counts alone. Right. It goes deeper.
- 6:14Much deeper. It takes the time series data from
- 6:17your video analytics dashboard directly. Oh wow.
- 6:20Yeah. It analyzes second by second viewer retention
- 6:23across the entire published video. It sees exactly
- 6:26where human viewers lose attention. and lead
- 6:29immediately. It notices exactly where your vocal
- 6:32delivery slows down too much. It spots precisely
- 6:35where a section feels too long for viewers. Low.
- 6:38Imagine an AI analyzing second -by -second human
- 6:41attention drops to direct its own future edits.
- 6:45Wait, hold on. Are you saying the AI is literally
- 6:47watching the timeline data? Yes, exactly. It
- 6:50is analyzing the data to see where humans actually
- 6:53get bored. Yeah, it is a profound shift in how
- 6:55we think about creative feedback loops. It uses
- 6:58that precise engagement data to direct its future
- 7:01edits. Right. Hermes creates a short technical
- 7:03brief explaining what should change next. And
- 7:05that brief goes directly back into Claude code
- 7:07for immediate improvements. So each finished
- 7:09video creates valuable new information for the
- 7:12next one. This system learns what holds human
- 7:14attention and what completely fails. The exact
- 7:17same operational structure also works perfectly
- 7:20for client operations. Oh, like building deliverables.
- 7:23Yeah, Claude builds the technical deliverables
- 7:25you sell to your clients regularly. And then
- 7:28Hermes helps with everything that happens after
- 7:30the final client delivery. It tracks client activity
- 7:33and watches for unfinished administrative tasks
- 7:36closely. It catches operational issues early
- 7:40before they become much bigger problems. So Claude
- 7:42builds what the client needs initially to get
- 7:46started properly. While Hermes helps keep the
- 7:48entire business operation moving forward steadily.
- 7:51But there is a crucial foundational rule for
- 7:55all these new workflows. Which is? None of these
- 7:57complex systems will work perfectly on day one.
- 8:00Right, obviously. You build the first version
- 8:02and let Hermes run it alone. Just observe it.
- 8:04Yeah. You fix the obvious weak points and stabilize
- 8:07the system completely. Only then do you add more
- 8:10complexity to it safely. Start with one stable,
- 8:13simple workflow before building the next one.
- 8:15You have to establish a really solid foundation
- 8:17first every single time. But... You know, is
- 8:21this workflow entirely dependent on these specific
- 8:23tools? Like, can you swap out Claude code for
- 8:26something else entirely? Yes, absolutely. You
- 8:28just need a capable builder and a reliable operator.
- 8:31You could use different models if they support
- 8:33the same architecture. Makes sense. ChatGPT or
- 8:36Codex can build. The split roles are what matters.
- 8:38Yeah, exactly. Beat. But there's an obvious problem
- 8:41with this entire theoretical setup, right? What
- 8:43is that? Well, Hermes writing a video brief for
- 8:46Claude is actually completely useless. Ah! It
- 8:51is entirely useless if Claude cannot actually
- 8:54read the brief. Yes, the communication gap. How
- 8:57do we get the property manager's notes delivered
- 8:59reliably? How does the architect actually see
- 9:02what needs to change next? Well, by default,
- 9:05these AI tools do not share any knowledge natively.
- 9:08Right. A conversation on your phone with Hermes
- 9:10stays totally isolated forever. It will not magically
- 9:13transfer over to Claude code later on. And the
- 9:16exact same thing happens in reverse during active
- 9:18building sessions. You spend an hour explaining
- 9:20a complex project to Claude code. And Hermes
- 9:23does not automatically get any of that essential
- 9:25background context. So you end up explaining
- 9:28the exact same thing twice to different tool.
- 9:31I have to admit, I still wrestle with prompt
- 9:33drift myself. Oh, it's the worst. Constantly
- 9:36repasting context into a fresh window is an exhausting
- 9:40daily process. It really is. It often feels like
- 9:43you're taking two steps forward and one back.
- 9:45Yeah, it is a very common frustration for most
- 9:48people building things today. Right. But that
- 9:50is exactly where AI agent memory comes into play
- 9:53perfectly. Both of these distinct tools connect
- 9:55to the exact same shared memory layer. You can
- 9:59conceptualize this memory layer as one shared
- 10:02digital notebook. Commies can write something
- 10:04new into this shared notebook absolutely anytime.
- 10:06And Claude code can read that stored information
- 10:08later when it builds. Claude can also save a
- 10:10new structural decision for Hermes to use. They
- 10:13basically leave permanent notes for each other
- 10:15to find later. To connect them securely, Hermes
- 10:18just needs your unique API key, which is basically
- 10:22a secret code letting programs securely talk
- 10:25together. Exactly. You just make sure both tools
- 10:28use the exact same memory ID. And there are a
- 10:30few different memory providers available on the
- 10:32market today. Memono is probably the easiest
- 10:35place for you to start experimenting. Because
- 10:37it is incredibly fast, simple to set up, and
- 10:40totally free. ZEPP is highly useful for tracking
- 10:43how information changes over time naturally.
- 10:47It tracks what was actually true before information
- 10:50was updated recently. Letta gives you much more
- 10:53direct visibility into the memory itself. Oh,
- 10:56so you can closely inspect how that memory actually
- 10:59gets updated internally. Yeah, and SuperMemory
- 11:01is highly useful for a simpler local machine
- 11:04setup completely. You do not need to overthink
- 11:07this specific part initially today, though. No,
- 11:09just pick one memory provider and connect both
- 11:11of your tools together. So after setup, you should
- 11:14test the connection with something incredibly
- 11:15simple. Oh, I love this test. Right. Tell Claude
- 11:18your favorite food is fish and chips. Tell it
- 11:21your second favorite is warm truffle pizza. Then
- 11:24you open Hermes and ask for your top favorite
- 11:26foods. If Hermes gives the same exact answer,
- 11:30the shared memory works perfectly. You now have
- 11:32tools carrying context across different complex
- 11:35jobs effortlessly. They can finally learn from
- 11:38each other in real time constantly. Does setting
- 11:43up this memory layer require ripping out existing
- 11:47memory systems? I mean, does it break the internal
- 11:50memory inside Claude or Hermes? No, not at all.
- 11:52It is designed to be highly modular and completely
- 11:55non -destructive. It integrates smoothly without
- 11:58replacing their core internal operating systems.
- 12:01Right, so this memory layer just sits peacefully
- 12:03on top of your existing tools. Exactly. Once
- 12:05they share a single brain, the entire system
- 12:08changes fundamentally. It moves from just running
- 12:10tasks to actively learning daily. It starts learning
- 12:13from its own mistakes over time without prompting.
- 12:16Right. Imagine Hermes is running a workflow and
- 12:18something fails completely. Maybe an important
- 12:20client email gets missed during a busy week.
- 12:23Or maybe a conversion rate suddenly drops for
- 12:25no apparent reason. Hermes inspects what happened
- 12:27and figures out the actual root cause. And then
- 12:31it updates the specific instructions it follows
- 12:33for next time automatically. That behavioral
- 12:36correction gets saved into the shared agent memory
- 12:38forever. For example. Hermes saves a new rule
- 12:42about your active clients. Always verify the
- 12:45current client status before sending the weekly
- 12:48report. That important lesson does not disappear
- 12:50after one quick passing conversation. It becomes
- 12:53a permanent, reliable behavior for the workflow
- 12:56going forward. The system improves silently through
- 12:59its normal daily background work. Hermes sees
- 13:02the flawed result and you correct the mistake
- 13:04quickly. That specific lesson gets stored and
- 13:07reused for the future automatically. The entire
- 13:10workflow becomes much more reliable over long
- 13:12periods. It keeps accumulating small corrections
- 13:14instead of repeating past failures constantly.
- 13:17The full improvement loop looks exactly like
- 13:19this in practical terms. Cloud Code builds the
- 13:21system and Hermes runs it daily. Hermes learns
- 13:24on the job and the shared memory keeps the lesson.
- 13:27Then Cloud Code upgrades the underlying system
- 13:29when it is needed. You are not manually rebuilding
- 13:32the workflow every single time anymore. Right.
- 13:34And it happens completely organically over long
- 13:37stretches of time. You know, this mirrors human
- 13:39neuroplasticity in a really fascinating way,
- 13:42conceptually. It really does. Termes handles
- 13:45the small daily synaptic adaptations and routine
- 13:49operational adjustments. While Claude handles
- 13:51the major foundational learning and deep structural
- 13:54changes required. It is a beautiful division
- 13:56of cognitive labor in software design. It mimics
- 13:59exactly how our own brains handle new habits
- 14:02daily. But who decides when a small daily tweak
- 14:05is not enough? Like, who decides when a massive
- 14:08Claude upgrade is actually required? Well, when
- 14:11a specific error persists constantly, you must
- 14:14step in and escalate. Hermes flags the recurring
- 14:17failure, demanding a much deeper a technical
- 14:20fix from the builder. Okay, so Hermes hits a
- 14:22hard wall, and you tag Claude back in. Yeah,
- 14:26that's exactly it. Before you hand over the keys
- 14:28to this fully autonomous loop, though, you need
- 14:30stripped guardrails to prevent quiet background
- 14:32disasters from happening. The system could quietly
- 14:35drive off a cliff without them installed safely.
- 14:37Yeah, there are five practical tips for setting
- 14:39this workflow up safely today. Let's go through
- 14:42them. Tip one. First, you must intentionally
- 14:45split your AI models by operating cost. You want
- 14:48to use your absolute strongest model when Claude
- 14:51is building. That is where you want stronger
- 14:53reasoning and much fewer mistakes. But you should
- 14:56run Hermes on a cheaper or local model instead.
- 14:59Hermes just handles the daily repeat background
- 15:02tasks for you tirelessly. This strategic split
- 15:05keeps your expensive computational reasoning
- 15:07focused where it matters most. Exactly. Tip two
- 15:10is to design the handoff from the very beginning.
- 15:13You need to explicitly tell Cloud Code that Hermes
- 15:15will run the system. So Cloud then creates clearer
- 15:18instructions and much cleaner outputs for it.
- 15:20It creates simpler modular commands that Hermes
- 15:23can call easily anytime. Tip 3 is to enforce
- 15:26strict self -verification on all tasks performed.
- 15:30Right. You add a simple instruction to every
- 15:32single important task generated. You tell the
- 15:34system to verify the result before marking the
- 15:37task complete. This one simple verification step
- 15:40catches a surprising number of silent failures.
- 15:43Like if Hermes updates a text file, it must open
- 15:46and check the file. If it changes a live web
- 15:48page, It confirms the page actually works. It
- 15:51sounds basic, but it works. But can an AI reliably
- 15:55verify its own work like that? I mean, can an
- 15:57AI that just made a mistake catch that same exact
- 16:01mistake? Well, it checks the final output state,
- 16:04which reveals its own earlier mistakes. It forces
- 16:07the model to objectively re -evaluate the actual
- 16:10finished product. It's not flawless, but asking
- 16:13it to double -check catches a shocking amount
- 16:15of errors. Yeah, it really does. We're going
- 16:19to take a brief moment right here. This deep
- 16:21dive is supported by the dedicated team at Framework.
- 16:24When you are designing complex systems, your
- 16:26physical environment really matters. Absolutely.
- 16:29Framework builds beautiful, height -adjustable
- 16:31desks for deep, highly focused work. They use
- 16:33premium solid wood and incredibly quiet dual
- 16:36motors inside. It is the perfect physical foundation
- 16:38for your daily building sessions. You can find
- 16:40their entire lineup at frameworkdesks .com. Now,
- 16:44let us get back to the system architecture discussion.
- 16:46Okay, so tip four. Tip four is establishing strict
- 16:49approval gates for overall system safety. Low
- 16:53-risk background work is perfectly fine on its
- 16:55own, mostly. But you must require human approval
- 16:59for any potentially risky actions. Like sending
- 17:02external emails or spending real money should
- 17:05require your explicit permission. Deleting important
- 17:09files or publishing content publicly should need
- 17:12your human eyes first. You never want an AI executing
- 17:15those specific actions completely unchecked.
- 17:18Definitely not. Tip 5 is setting up clear escalation
- 17:21protocols for strange recurring errors. Let Hermes
- 17:24actively call Claude code when it needs deep
- 17:27technical help. Hermes might notice the exact
- 17:29same error appearing every single week. It hands
- 17:31the complex problem back to Claude for a deep
- 17:34structural fix. It gets the underlying system
- 17:36updated and continues running smoothly afterward.
- 17:38You can also create a dedicated coder profile
- 17:40specifically for this escalation process. It
- 17:43acts as an emergency contact when the operator
- 17:45gets totally stuck. Right. Let us briefly synthesize
- 17:49this entire deep dive together right now. The
- 17:51era of massive monolithic AI chats is quickly
- 17:55shifting away. We are definitely moving into
- 17:58modular AI workflows right now today. You carefully
- 18:01separate the complex roles into a dedicated builder
- 18:04and operator. You bridge their natural gap with
- 18:07a shared persistent memory layer. This creates
- 18:10a digital ecosystem that actually accumulates
- 18:13valuable wisdom over time. It never starts from
- 18:16scratch every single morning for you again. But,
- 18:18you know, this new architectural setup leaves
- 18:19us with a truly fascinating question. Yeah, if
- 18:22we are building autonomous systems where the
- 18:25operator manages its own memory. It carefully
- 18:27audits its own failures and summons its own architect
- 18:30to upgrade its code. Are we rapidly shifting
- 18:33away from being the active creators of our work?
- 18:35It's wild to think about. Are we essentially
- 18:38becoming HR managers for highly capable synthetic
- 18:41employees. Two sec silence. Wow. Thank you for
- 18:45taking this deep dive with us today. Keep questioning
- 18:47the automated software systems you use every
- 18:49single day. Keep exploring what is actually possible
- 18:52in this constantly evolving technological landscape.
- 18:55It is moving fast. We will see you next time
- 18:57on the deep dive.