Hermes Agent operations guide
Hermes follows AGENTS.md in the CLI but ignores it in Telegram
Short answer. Compare workspace and instruction-file evidence in both sessions before changing the gateway. In the working CLI session and the affected Telegram conversation, run /context. Record which project file each lists and its status. Use a private chat you already operate.
By CWYN · Last updated · Reviewed against Hermes Agent v0.23.2 · Not affiliated with Nous Research · Published
1. Compare the two sessions
In the working CLI session and the affected Telegram conversation, run /context. Record which project file each lists and its status. Use a private chat you already operate.
2. Identify the project directory
Find the directory containing the intended AGENTS.md. Check which workspace the gateway profile uses. Hermes discovers project rules from the working directory and, within a Git repository, its ancestor chain up to the repository root.
3. Check which instructions won
Look for a higher-priority .hermes.md or HERMES.md. A sibling AGENTS.override.md can also replace the local AGENTS.md. A shadowed file and an absent file call for different changes.
4. Point the intended profile at the project
If the gateway profile starts elsewhere and should always use this project, record its previous terminal.cwd value. Set that field in its configuration to the absolute project directory. Consider every chat served by the profile before changing its default.
5. Verify inside Telegram
Open a fresh conversation with /new when ready. Run /context there and verify that the intended file is loaded. Try a harmless formatting rule from the project. If it still fails, retain the version, workspace and file statuses for support. Leave the original project instructions intact.
Sources · Context file discovery · Slash command reference · Profile setup and cloning · Gateway working-directory report