Overview
Hermes-Agent is an AI programming assistant designed for server or local terminal environments. Once configured, you can interact with the Agent through a terminal TUI or messaging platforms like Telegram to perform code generation, file operations, scheduled tasks, and other automated workflows.Prerequisites
Operating System
Hermes-Agent supports the following systems:- Linux (Ubuntu/Debian recommended)
- macOS
- Windows (requires WSL2)
Install Hermes-Agent
Hermes-Agent provides a one-click installation script that automatically handles dependency installation and configuration. Via installation script (recommended):uv(Python package manager)Python 3.9+Node.js(required by some skills)ripgrep,ffmpeg, and other tools
Hermes Agent v0.6.0), the installation was successful.
Subscribe to Step Plan
Before configuring, ensure your account has an active Step Plan subscription. Model calls and quota usage will only work after the corresponding plan or calling permissions are in place. To subscribe or purchase, visit: Step Plan SubscriptionObtain a Step API Key
Get your API Key from the StepFun Open Platform for authentication and request authorization. We recommend creating a new Key via the console and avoiding hardcoding it in your code repository. Best practices:- Store the Key in environment variables
- Or manage the Key through local configuration files
Configuration Steps
Hermes-Agent reads API service addresses and authentication information from environment variables or configuration files.Option 1: Hermes-Agent Setup Wizard
If this is your first installation or you want to re-run the guided setup: Open your terminal and run:- When prompted to select a model provider, choose “More providers” then select “Custom endpoint”.
-
Enter the Base URL:
https://api.stepfun.ai/step_plan/v1 - Enter the API Key you obtained in the first step.
-
For Model ID, enter:
<model_id> - Set the context length as needed. The Step-3.5-flash series currently supports up to 256K context.
Option 2: Configuration File
The Hermes-Agent configuration file is located at~/.hermes/config.yaml.
Open the configuration file, find the model settings, and add or modify the following:
Note: The<model_id>in these examples can bestep-3.5-flash-2603orstep-3.5-flash.
Select Model
After configuration, run the following command to select a model:Test the Integration
After completing configuration, start Hermes-Agent and send a test message:Code Generation Test
Input:File Operation Test
Input:Troubleshooting
Model List is Empty or Won’t Load
Ifhermes model does not show Step-related models, check:
- Whether your network can reach
api.stepfun.ai. - Whether the Base URL is set to
https://api.stepfun.ai/step_plan/v1. - Whether your API Key has Step Plan permissions.
- Whether Hermes-Agent is up to date (
hermes updateto upgrade).
API Key Error
If you see this error:- Whether the Key was copied completely
- Whether the Key belongs to the correct environment
- Whether the Base URL points to the Step Plan endpoint
Connection Timeout or Failure
Check:- Whether your network environment is normal (configure proxy if needed)
- Whether the API endpoint is reachable (
curl https://api.stepfun.ai/step_plan/v1to test connectivity)
Model Returns Errors
Verify that the Model ID is correct, for example:step-3.5-flash-2603(Agent-optimized version, stronger reasoning)step-3.5-flash(Standard version, faster response)
Advanced Configuration (Optional)
Enable Tool Calling
Hermes-Agent supports automatic tool calling. Enable it in~/.hermes/config.yaml:
Configure Memory System
Hermes-Agent’s persistent memory is stored in~/.hermes/memories/. You can use natural language to tell the Agent to remember important information, which will be automatically recalled in future conversations.
Messaging Gateway (Telegram/Discord)
To chat with Hermes-Agent on your phone via Telegram, start the gateway:TELEGRAM_BOT_TOKEN and TELEGRAM_ALLOWED_USERS. You can obtain these from @BotFather on Telegram.