hermes-agent
The agent that grows with you
Learn how to add new messaging platform adapters to the Hermes Agent gateway. Integrate custom platforms by subclassing BasePlatform, implementing async methods, and registering your adapter.
How Hermes Agent Integrates with Atropos for RL Training: Architecture & ImplementationDiscover how Hermes Agent integrates with Atropos for RL training. Explore the architecture and implementation details for sandboxed rollouts and deterministic reward computation.
Understanding the Event Hooks System in Hermes Agent: A Complete GuideExplore Hermes Agent's event hooks system to extend functionality with custom Python code. Learn to create your own hooks in ~/.hermes/hooks/ with this complete guide.
How the execute_code Tool Enables Programmatic Tool Calling with RPC in Hermes AgentLearn how the execute_code tool enables programmatic tool calling with RPC in Hermes Agent. LLM-generated Python scripts can invoke tools from a sandboxed child process.
Configuration System Structure and Migration in Hermes CLI: A Complete GuideExplore the Hermes CLI configuration system structure in hermes_cli/config.py. Learn how settings and secrets are managed and discover the automatic config migration process.
How Hermes Agent Implements Prompt Caching with Anthropic's cache_controlDiscover how Hermes Agent slashes API costs by up to 75% using Anthropic's cache_control for efficient prompt caching in multi-turn conversations. Learn about prompt caching.
Hermes Agent ShareGPT Trajectory Format: Structure and ImplementationUnderstand the Hermes Agent ShareGPT trajectory format. Learn how conversations are saved as JSONL records with speaker roles, tool interactions, and metadata for efficient persistence.
How Hermes Agent Implements DM Pairing and User Allowlist SecurityDiscover how Hermes Agent secures gateway access with DM pairing and user allowlist controls across platforms. Learn about its two-layer authorization model for enhanced security.
How Environment Variables Control Provider Routing and Model Selection in Hermes AgentDiscover how environment variables like HERMES_INFERENCE_PROVIDER and HERMES_MODEL control provider routing and model selection in Hermes Agent for dynamic inference.
How batch_runner.py Implements Parallel Trajectory Generation in Hermes AgentDiscover how batch_runner.py in Hermes Agent achieves parallel trajectory generation using multiprocessing for efficient large-scale research runs and fault tolerance.
MCP Integration Pattern in Hermes Agent: A Complete Guide to Connecting External MCP ServersUnderstand the MCP integration pattern in Hermes Agent. This guide details connecting external MCP servers as native tools using a discovery and registration system.
How Hermes Agent Implements Memory and User Modeling Using HonchoLearn how Hermes Agent uses Honcho to build AI-native sessions, manage long-term memory, prefetch user context, and dynamically retrieve user information for enhanced conversations.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →