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

Introduction and deployment tutorial for Hermes Agent, an open-source AI Agent framework with self-learning capabilities
Hermes Agent is an open-source AI Agent framework with 120K GitHub stars, offering lower token consumption and long-term memory compared to OpenComputer. Its core innovation is a self-learning loop mechanism that automatically generates reusable skills and continuously self-optimizes. Windows deployment requires Git and WSL2/Ubuntu pre-installed, with VPN disabled and mirror sources restored to defaults. It supports integration with Feishu, QQ, WeChat and other platforms.
What is Hermes Agent
Hermes Agent is an open-source autonomous AI Agent framework that quickly gained over 120,000 stars on GitHub after launch. It's positioned similarly to OpenComputer but surpasses it in several key dimensions.

Unlike conversational AIs like Doubao or DeepSeek that can only "give suggestions," Hermes Agent can actually perform real operations for you—organizing documents, creating files, sending/receiving emails, scraping information from browsers, etc. These AI systems that can autonomously execute operations rather than just generate text are called AI Agents. They complete complex task chains through Tool Use and environment interaction. Compared to OpenComputer, it has two core advantages:
- Lower Token consumption: Tokens are the basic unit of measurement for LLM text processing. AI Agents need to repeatedly call LLM APIs when executing tasks, with each call consuming tokens and incurring costs. Hermes Agent consumes noticeably fewer resources than OpenComputer in practice, making operational costs more manageable
- Long-term memory: Retains previous memories even after closing conversations or restarting, never starting from scratch. This is achieved through persistent storage mechanisms that write 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 prominent 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 Experience Replay in reinforcement learning—distilling successful task execution paths into reusable patterns:
- Automatic Skill generation: Automatically creates reusable skill modules during interaction without requiring user initiation. Each Skill is essentially a verified execution script containing the optimal step sequence for completing a specific task
- Continuous iterative optimization: The more frequently used, the more refined and efficient the skill execution becomes
- Persistent user preferences: Gradually learns and remembers your operational habits and personal preferences
- Cross-session deep understanding: Supports integration with WeChat, QQ, Feishu and other platforms, accumulating understanding of users across platforms
A practical demo: when asked to search for excellent AI Agent projects from the past two years, Hermes Agent automatically generated documentation and created a tech-styled static webpage for display, completing everything in one pass without rework. After task completion, the system automatically created a new Skill, intuitively demonstrating its self-evolution capability.
Complete Windows Local Deployment Process
Prerequisites
The only official prerequisite is Git installation. 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, 10-100x faster than traditional pip, capable of replacing pip, virtualenv, and other tools for efficient dependency management. However, Windows users need to complete a few extra steps:
Step 1: Install Git
- Go to the Git official website, download the installer, and follow default options
- Verification: type
gitin CMD; seeing help information means installation succeeded
Step 2: Install WSL2
WSL2 (Windows Subsystem for Linux 2) is Microsoft's technology for running native Linux environments on Windows. Unlike WSL1's system call translation layer, WSL2 uses a real Linux kernel running in a lightweight Hyper-V virtual machine, providing full system call compatibility and near-native file system performance. Hermes Agent requires a Linux environment, 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:
wsl --install -d Ubuntu-24.04 - If you see component dependency prompts, wait for installation to complete, restart, and repeat until successful
- Verification: type
wslin PowerShell; seeing a green or blue prompt indicates success
Mac and Linux users can skip the above prerequisites and proceed directly to the installation.
Installing Hermes Agent
Pre-installation notes:
- No VPN needed during installation; enabling proxy tools will actually cause extremely slow downloads or failures
- If you're a developer, restore PIP and NPM mirrors to default sources to avoid mirror conflicts. 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 from the official website and press Enter
- Wait patiently for all dependencies to download and install automatically
- Enter your WSL password when prompted (nothing displays on screen while typing—this is normal Linux security design to prevent others from seeing password length)
- Select AI model: choose DeepSeek and enter your API Key (obtained from the DeepSeek open platform)
- Keep Base URL at default, select
deepseek-chat(i.e., V3 Pro) as the model - Skip messaging platform for now; you can connect later via
hermes setup - Enter Y to confirm and start
When the terminal shows Hermes Agent startup information and a black interactive interface appears, deployment is successful. Type "who are you" to verify the AI assistant is working properly.
Post-Deployment Extended Configuration
After completing the basic installation, you can further extend Hermes Agent's capabilities with these commands:
- Connect chat platforms: Run
hermes setupto integrate Feishu, QQ, WeChat and other messaging platforms, enabling you to control the AI assistant from anywhere through chat tools - Switch AI models: Run
hermes modelto reselect or switch the underlying LLM
These extended configurations transform Hermes Agent from a simple local tool into a cross-platform intelligent assistant that understands you better over time.
Key Takeaways
- Hermes Agent is an open-source AI Agent framework with 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 skills and self-evolves with use
- Windows users need to install Git and WSL2/Ubuntu before deployment
- Don't use VPN during installation; restore PIP/NPM mirror sources to defaults
- Supports integration with Feishu, QQ, WeChat and other platforms for interactive control
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.