Inside Hermes Agent: The AI That Rewrites Its Instructions
Yadnesh Salvi
0:00 / 0:00
Inside Hermes Agent: The AI That Rewrites Its Instructions
88 просмотров · 12 дней назад
Yadnesh Salvi
8 подписчиков
88 просмотров · 12 дней назад
Hermes Agent is the open-source AI that rewrites its own instruction manual, here's how it's built.
Somewhere right now a ten-dollar Linux box is reading someone's Telegram, finishing a coding task, and then without being asked writing itself a note so it does the job better next time. That program is Hermes Agent from Nous Research: 236,000 GitHub stars in six months, MIT-licensed, runs any model you like on hardware you control. This video opens it up, mechanism by mechanism, and explains every concept for beginners with real-life examples before the developer version.
You'll learn what an AI agent actually is (a cook tasting soup vs a cookbook), why the system prompt is built in three tiers to protect the prompt cache, how compaction keeps a three-hour session alive without leaking an API key, how a tool registry finds itself, the seven sandboxes a command can run in, the four safety gates that stop `rm -rf /`, why "execute code" beats thirty tool calls, subagents with amnesia, memory that is just two files plus a search engine, skills as the agent's own manuals — and then the learning loop as the code really does it: two counters, a shadow agent with four tools and a two-second cancel, a weekly curator, and the honest line between what the model decides and what the code guarantees. Plus the always-on gateway, cron vs heartbeat vs goals vs kanban, a fair comparison with Claude Code and Codex, and the training-data flywheel Nous is building but hasn't yet closed.
Ends with five ideas to steal for any agent you build.
Chapters
0:00 The box that writes itself a note
0:43 What is an agent?
1:54 What happens in one turn?
3:03 Why the system prompt has three tiers
4:06 When the conversation gets too long
5:13 A tool registry that finds itself
6:18 Seven places a command can run
7:21 The four gates that stop a wipe
8:30 One script instead of thirty tool calls
9:31 Helpers with amnesia
10:33 Memory is two files and a search engine
11:46 The manual writes itself
12:51 The shadow agent that learns
13:56 Who decides what gets written?
15:12 The house with the lights on
16:14 Cron, heartbeat, goals, kanban
17:25 Versus Claude Code and Codex
18:39 The flywheel and the caveats
19:50 Five ideas to steal
Sources and further reading
The Hermes Agent repo: https://github.com/NousResearch/herme...
Hermes Agent docs: https://hermes-agent.nousresearch.com...
The full article this video is based on: https://x.com/yadnesh_sa88965/status/...
#AIAgents #HermesAgent #OpenSource