Prerequisites
- Python 3.11+
- A Civic account at app.civic.com with a configured toolkit
- A Civic token (generate from Install → MCP URL)
- An API key for your chosen LLM provider (e.g., Anthropic, OpenAI)
Installation
Install the Hermes agent with MCP support using uv:Environment Variables
Get Your Credentials
How to generate a Civic token and configure toolkit URL parameters
Configuration
Create aconfig.yaml that points Hermes at your Civic MCP gateway:
Running the Agent
Telegram Bot
Hermes also supports running as a Telegram bot. Add your bot token to.env:
Production Configuration
Lock to a Toolkit
For production agents, always lock to a specific toolkit using theprofile URL parameter:
Multi-Account Setup
For organization accounts, include theaccountId parameter:
Pre-load Skills
Load specific Skills at session start using theskills parameter:
Reference Implementation
A complete reference implementation including CLI agent and Telegram bot is available at: github.com/civicteam/hermes-reference-implementation-civicNext Steps
Agent Deployment
Production deployment guide: profile locking, URL params, authentication
Guardrails
Constrain what tools your Hermes agent can use
Audit Trail
Query what your agent did via Civic Chat
Get Credentials
Token generation and URL parameter reference

