Hermes Agent Local Deployment Tutorial: Installing and Configuring a Self-Evolving AI Assistant

A guide to locally deploying Hermes Agent, an open-source self-evolving AI Agent framework with 120K GitHub stars.
Hermes Agent is an open-source AI Agent framework with over 120K GitHub stars, offering lower token consumption and long-term memory compared to OpenComputer. Its core innovation is a self-learning loop that automatically generates reusable skills and continuously self-optimizes. Windows deployment requires pre-installing Git and WSL2/Ubuntu. During installation, VPNs should be disabled and PIP/NPM mirror sources reset to defaults. It supports integration with multiple platforms including Feishu, QQ, and WeChat.
What Is Hermes Agent
Hermes Agent is an open-source autonomous AI Agent framework that quickly amassed over 120,000 stars on GitHub after its launch. It's positioned similarly to OpenComputer (a.k.a. "Lobster"), but surpasses it in several key dimensions.

Unlike conversational AIs such as Doubao or DeepSeek that can only "offer suggestions," Hermes Agent can actually carry out real operations for you — organizing documents, creating files, sending and receiving emails, scraping information from browsers, and more. AI systems that can autonomously execute actions rather than merely generate text are known as AI Agents. They accomplish complex task chains through Tool Use and environment interaction. Compared to OpenComputer, Hermes Agent has two core advantages:
- Lower Token Consumption: Tokens are the basic unit of measurement for how large language models process text. AI Agents need to repeatedly call LLM APIs when executing tasks, and each call consumes tokens and incurs costs. In practice, Hermes Agent consumes noticeably fewer resources than OpenComputer, making operational costs more manageable.
- Long-Term Memory: It retains memory from previous sessions even after closing a conversation or restarting, so it never has to start from scratch. This is achieved through a persistent storage mechanism that writes conversation context and user preferences to a local database, breaking through the limitations of LLM context windows.
Core Innovation: Self-Learning Loop Mechanism
Hermes Agent's most standout feature is its "self-evolution" capability. Rather than simply calling an LLM and returning results, it continuously optimizes its own performance through a built-in learning loop. This design philosophy draws from the concept of Experience Replay in reinforcement learning — distilling successful task execution paths into reusable patterns:
- Automatic Skill Generation: It automatically creates reusable skill modules during interactions without requiring user initiation. Each Skill is essentially a verified execution script containing the optimal sequence of steps for completing a specific task.
- Continuous Iterative Optimization: The more frequently a skill is used, the more refined and efficient its execution becomes.
- Persistent User Preferences: It gradually learns and remembers your operational habits and personal preferences.
- Cross-Session Deep Understanding: It supports integration with multiple platforms including WeChat, QQ, Feishu, and more, accumulating understanding of the user across platforms.
A practical demo example: when asked to search for outstanding AI Agent projects from the past two years, Hermes Agent automatically generated a document and created a tech-styled static webpage to display the results — all completed in one pass without any rework. After the task was finished, the system automatically created a new Skill, clearly demonstrating its self-evolution capability.
Complete Local Deployment Process on Windows
Prerequisites
The only official prerequisite is having Git installed. Other dependencies (UV, Python 3.11, Node, etc.) are handled automatically during installation. UV is a next-generation Python package management tool written in Rust by the Astral team. It's 10–100x faster than traditional pip and can replace multiple tools like pip and virtualenv for efficient dependency management. However, Windows users need to complete a few additional steps:
Step 1: Install Git
- Go to the official Git website to download the installer and follow the default options through the setup wizard.
- Verification: Type
gitin CMD. If help information appears, the installation was successful.
Step 2: Install WSL2
WSL2 (Windows Subsystem for Linux 2) is Microsoft's technology for running a native Linux environment on Windows. Unlike the first-generation WSL's system call translation layer, WSL2 runs a real Linux kernel inside a lightweight Hyper-V virtual machine, providing full system call compatibility and near-native file system performance. Hermes Agent requires a Linux environment to run, and WSL2 is the most convenient solution for Windows users.
- Open PowerShell as Administrator and run:
wsl --install - Restart your computer after installation (some machines may require 2–3 restarts).
Step 3: Install Ubuntu
- Run the command:
wsl --install -d Ubuntu-24.04 - If you encounter component dependency prompts, wait for the installation to complete, restart, and repeat until successful.
- Verification: Type
wslin PowerShell. If you see a green or blue prompt, it was successful.
Mac and Linux users can skip the above prerequisite steps and proceed directly to the main installation.
Installing Hermes Agent
Pre-installation notes:
- No VPN is needed during installation. Having a proxy tool enabled will actually cause extremely slow downloads or outright failures.
- If you're a developer, reset your PIP and NPM mirror sources back to their defaults to avoid mirror source conflicts. This is because the installation script may already have optimized download paths configured internally, and domestic mirror sources can cause DNS resolution conflicts or certificate verification failures.
Installation steps:
- Type
wslin PowerShell to enter the Linux environment. - Paste the one-click installation command provided on the official website and press Enter.
- Wait patiently for all dependencies to download and install automatically.
- Enter your WSL password when prompted (nothing will appear on screen as you type — this is normal and is a Linux security feature designed to prevent others from seeing your password length).
- Select AI model: Choose DeepSeek and enter your API Key (obtained from the DeepSeek Open Platform).
- Keep the Base URL at its default value and select
deepseek-chat(i.e., V3 Pro) as the model. - Skip the messaging platform for now — you can connect it later using the
hermes setupcommand. - Type Y to confirm and launch.
When the terminal displays the Hermes Agent startup information and a black interactive interface appears, the deployment is successful. You can type "Who are you" to verify that the AI assistant is working properly.
Post-Deployment Extended Configuration
After completing the basic installation, you can further extend Hermes Agent's capabilities with the following commands:
- Connect Chat Platforms: Run the
hermes setupcommand and follow the guided process to connect messaging platforms like Feishu, QQ, WeChat, etc., enabling you to control your AI assistant anytime, anywhere through chat tools. - Switch AI Models: Run the
hermes modelcommand to reselect or switch the underlying LLM.
These extended configurations transform Hermes Agent from a simple local tool into a cross-platform intelligent assistant that develops an increasingly deeper understanding of you over time.
Related articles
TutorialsCursor + Codex Dual-IDE Collaboration: A Practical Methodology for Open-Source Project Customization
A complete methodology for open-source project customization based on real-world experience, detailing the Cursor+Codex dual-IDE workflow, seven-stage process, MVP validation, and AI source code reading techniques.
TutorialsCursor Multi-Agent in Practice: Building a Full-Stack Next.js Blog in 50 Minutes
Build a full-stack blog in 50 minutes using Cursor IDE's multi-Agent mode with Next.js, Clerk auth, and Supabase. Learn the 4-phase AI Agent workflow and key integration pitfalls.
TutorialsBuilding an AI Software Factory from Scratch: A Cursor Engineer's Hands-On Experience with Multi-Agent Collaboration
Cursor engineer Eric shares practical insights on building an AI software factory: automation levels, guardrail design, parallel Agent management, and scaling to 1000+ Agents for 24/7 development.