Inside Hermes Agent: The AI Agent That Can Create and Reuse Its Own Skills

Dileep Solanki


For the past couple of years, I’ve watched AI agent frameworks become increasingly capable. Tools such as AutoGPT, CrewAI, and LangGraph made it possible to connect language models with browsers, APIs, files, databases, and other software.

But I keep coming back to one problem: what happens after the task is finished?

If an agent spends 40 minutes figuring out a complicated Docker configuration or debugging an unfamiliar API, the useful knowledge it gained isn't necessarily preserved as a reusable procedure. When I give it a similar task later, it may have to work through the same problem again.

That is why Hermes Agent, developed by Nous Research, caught my attention.

Hermes is designed around persistent memory and reusable skills. Instead of treating every session as an isolated conversation, it can turn successful solutions into reusable capabilities.

In simple terms, the interesting idea behind Hermes is this:

I don't just want my agent to remember what happened. I want it to remember how to do something.

Here’s how I understand the architecture, where the self-improving aspect comes from, and why I think procedural memory is an interesting direction for local AI agents.


1. The Core Architecture: A Continuous Learning Loop

When I build an AI agent, I usually start with a set of predefined tools.

The developer decides that the agent can:

  • Read files
  • Run commands
  • Search the web
  • Query an API
  • Access a database
  • Perform another predefined action

The limitation is obvious: if the agent encounters a task that doesn't fit those tools, it has to improvise.

Hermes takes a different approach by allowing the agent to develop reusable skills.

The basic concept can be represented like this:

[User Task]
      │
      ▼
[Execution & Discovery]
Try commands, scripts or available tools
      │
      ▼
[Reflection & Verification]
Check whether the task actually worked
      │
      ▼
[Skill Creation]
Turn the successful procedure into a reusable skill
      │
      ▼
[Persistent Skill Library]
Save it for future tasks

The important part for me is the final step.

Instead of treating a successful solution as something that disappears when the conversation ends, the workflow can preserve it as a reusable capability.

That gives the agent something closer to procedural memory.


A Simple Example

Imagine I ask an agent:

“Monitor my Kubernetes cluster and notify me when pod memory usage exceeds a specific threshold.”

On the first attempt, the agent may need to figure out several things.

It might need to:

  1. Inspect the available Kubernetes configuration.

  2. Determine how metrics are exposed.

  3. Query the appropriate metrics.

  4. Process the results.

  5. Connect to the notification system.

  6. Test the workflow.

  7. Verify that the notification actually works.

That's a lot of work for one task.

The interesting part comes afterward.

If Hermes turns that successful procedure into a reusable skill, I can potentially ask it to perform a similar monitoring task later without making it rediscover the entire workflow.

I can change the cluster, threshold, or other parameters while reusing the underlying procedure.

That's fundamentally different from simply remembering a previous conversation.


2. Why Local Execution Matters to Me

One of the things that makes Hermes particularly interesting is its focus on running the agent in environments that can include local infrastructure.

Instead of assuming that every agent must depend entirely on a hosted AI service, I can connect an agent workflow to local inference infrastructure where supported.

That opens up some interesting possibilities.

I could potentially run:

  • A local language model
  • Local development tools
  • Local files
  • Local databases
  • Local automation scripts
  • Persistent agent skills

on infrastructure that I control.

However, I would not describe this as automatically meaning “zero data ever leaves the machine.”

That depends on how I configure the model provider, tools, APIs, integrations, network access, and surrounding infrastructure.

If I connect Hermes to a cloud model, for example, information sent to that model is still subject to that provider's data-handling policies.

So when I evaluate local-first agents, I look at the entire execution path, not just where the agent's code is running.


3. How I Think Hermes Differs From Traditional Agent Frameworks

The biggest difference I see is the emphasis on reusable skills and procedural memory.

CapabilityTraditional Agent ApproachHermes Agent
ToolsUsually defined by developersCan create reusable skills as part of its workflow
MemoryOften focused on conversation/context retrievalIncludes mechanisms for persistent task knowledge and skills
ExecutionPerforms the requested workflowCan turn useful procedures into reusable capabilities
Local DeploymentDepends on framework and modelDesigned to support local and hosted model configurations
Long-term usefulnessOften requires developers to add new toolsCan preserve successful procedures as skills

I would be careful, though, about saying that frameworks such as CrewAI or LangGraph simply “forget everything.”

Those frameworks provide different memory, state, workflow, and persistence mechanisms depending on how they are configured.

The more useful comparison is this:

Hermes puts reusable agent skills and procedural knowledge at the center of the workflow.


4. How I Would Get Started With Hermes

If I wanted to experiment with Hermes, I would start from the official Nous Research repository and documentation rather than copying configuration examples from random tutorials.

The basic installation concept in the original draft looks like this:

git clone https://github.com/nousresearch/hermes-agent.git
cd hermes-agent

python3 -m venv .venv
source .venv/bin/activate

pip install -e .

The exact installation process can change as the project develops, so I would always check the current official documentation before running these commands.


5. Connecting Hermes to a Local Model

One of the areas I would experiment with is connecting Hermes to a locally hosted model through an API-compatible endpoint.

The original configuration concept is:

model:
  name: "Qwen/Qwen2.5-32B-Instruct"
  base_url: "http://localhost:8000/v1"
  api_key: "EMPTY"

execution:
  sandbox_dir: "/home/user/workspace/agent_scratchpad"
  max_iterations: 15

I would treat this as an illustrative configuration, not a guaranteed current Hermes configuration.

The exact configuration keys, supported providers, and model integrations should come from the current Hermes documentation.

This distinction matters because AI-agent projects evolve quickly. A configuration that works today may change after a few releases.


6. Running an Agent Task

Once my environment is configured, the workflow I want is straightforward:

hermes-agent run "Analyze the Nginx access logs and summarize the most common 404 errors."

I would then want the agent to:

  1. Understand the task.
  2. Locate the relevant files.
  3. Analyze the data.
  4. Validate its result.
  5. Produce the requested output.
  6. Preserve a useful procedure when appropriate.

For security-sensitive tasks, I would also keep the agent's permissions tightly restricted.

I don't want an experimental agent to automatically have unrestricted access to my entire filesystem or production infrastructure.


7. The Most Important Part: Self-Writing Skills Need Guardrails

This is the part I would pay the most attention to.

An AI system that can write code is useful.

An AI system that can write, execute and permanently save code deserves considerably more scrutiny.

If a model generates a bad skill, the problem doesn't necessarily end when the current response ends. The generated skill could potentially be reused later.

So I would put several safeguards around the system.

1. Isolated Skill Storage

I would keep generated skills inside a dedicated directory.

For example:

/home/user/hermes-skills/

I would not give the agent permission to arbitrarily modify:

/usr/bin/

or other system directories.

The agent should have only the filesystem permissions it actually needs.


2. Human Review for New Skills

I would treat a newly generated skill as untrusted until reviewed.

My preferred workflow would be:

AI creates skill
       ↓
Skill marked unverified
       ↓
Human reviews code
       ↓
Security checks
       ↓
Skill approved
       ↓
Skill becomes available

This is particularly important if the skill can:

  • Access files

  • Execute shell commands

  • Access credentials

  • Make network requests

  • Modify databases

  • Send external messages

The more powerful the tool, the stronger the approval process should be.


3. Restrict Network Access

I would also control network access.

A local AI agent doesn't necessarily need unrestricted internet access to perform every task.

Where possible, I would restrict outbound connections to approved services.

That reduces the potential impact of a malicious prompt, compromised dependency, or incorrectly generated skill.


4. Keep Secrets Out of the Agent's Workspace

I would never treat an agent's working directory as a secure place for credentials.

API keys, cloud credentials, SSH keys, database passwords, and other secrets should be isolated and exposed only when absolutely necessary.

This becomes particularly important when the agent can generate and execute code.


What I Find Most Interesting About Hermes

The biggest idea here isn't simply that an AI agent can execute commands.

Modern agents can already do that.

What interests me is the transition from:

“AI that performs a task”

to:

“AI that can turn a successful task into a reusable procedure.”

That's a much more interesting direction.

If the system can reliably create, validate and reuse useful skills, then every successful workflow has the potential to become part of the agent's future capabilities.

But I would still distinguish between self-improvement and genuine autonomous learning.

A generated skill is not automatically correct simply because it worked once.

The skill still needs validation, testing, security review and appropriate permissions.


Where I Would Use Hermes

If I were experimenting with Hermes, I would start with relatively contained developer workflows.

For example:

Development automation

I could create reusable procedures for:

  • Log analysis
  • Repository inspection
  • Test execution
  • Data transformation
  • Documentation generation

Infrastructure tasks

I could build controlled skills around:

  • Container diagnostics
  • Configuration checks
  • System monitoring
  • Development environment setup

Research workflows

I could use reusable procedures for:

  • Data collection
  • File analysis
  • Structured reporting
  • Repeated research tasks

I would avoid giving an experimental agent unrestricted control over production infrastructure.


The Bigger Picture

I've spent a lot of time thinking about what actually makes an AI agent useful.

It's tempting to focus entirely on model size or benchmark scores.

But once an agent starts interacting with the real world, another question becomes just as important:

Can it learn useful procedures from experience without becoming impossible to control?

That's where projects like Hermes become interesting to me.

Persistent memory, reusable skills and local execution could make agents more useful over longer periods of time.

At the same time, those capabilities introduce a new security problem.

The more an agent can modify its own tools, the more important it becomes to control:

  • What it can write
  • What it can execute
  • What it can access
  • What it can remember
  • What it can send over the network
  • Which generated skills are trusted

So I don't see self-improving agents as simply “AI that gets smarter by itself.”

I see them as software systems that can accumulate reusable procedures.

And that distinction matters.


Final Thoughts

The part of Hermes Agent that interests me most isn't the idea of an AI that magically becomes smarter every time I use it.

It's much more practical than that.

I can imagine an agent gradually building a library of procedures for the kinds of tasks I repeatedly perform.

The first time I solve a problem, the process may take several iterations.

The next time, a reusable skill could potentially reduce that work.

That's the promise of procedural memory.

But I would keep one principle in mind:

An AI-generated skill should be treated as code written by an untrusted developer until I have reviewed and validated it.

If Hermes and similar systems can combine persistent skills with strong verification, sandboxing and permission controls, I think they represent an interesting direction for the next generation of developer agents.

The future of agents may not simply be about bigger models.

It may be about agents that become more useful because they can accumulate reliable ways of doing things.


Sources & References

  • Nous Research — Hermes Agent: Official GitHub repository
  • Hermes Agent Documentation: Official project documentation
  • NVIDIA Build: Hermes Agent and local AI resources
  • NVIDIA Developer: Research on self-evolving agents and secure deployment

Editorial note: I intentionally removed or softened claims from the original draft that weren't sufficiently supported, including the claim that Hermes literally “writes its own software tools” in every situation, specific automatic skill-generation behavior, guaranteed zero-cloud data transmission, and the exact configuration schema. I would verify those details against the current Hermes documentation before publishing.

3/related/default