# Hermes follows AGENTS.md in the CLI but ignores it in Telegram

Canonical: https://cwyn.com/pages/hermes-guide-gateway-agents-md.html
Last updated: 2026-11-23T03:24:41-05:00

Hermes Agent operations guide

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 November 23, 2026 · Reviewed against Hermes Agent v0.23.2 · Not affiliated with Nous Research · Published November 18, 2026

## 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](https://github.com/NousResearch/hermes-agent/blob/v0.23.2/website/docs/user-guide/features/context-files.md) · [Slash command reference](https://github.com/NousResearch/hermes-agent/blob/v0.23.2/website/docs/reference/slash-commands.md) · [Profile setup and cloning](https://github.com/NousResearch/hermes-agent/blob/v0.23.2/website/docs/user-guide/profiles.md) · [Gateway working-directory report](https://github.com/NousResearch/hermes-agent/issues/11763)

## Related guides

- [Hermes Agent vs OpenClaw: differences that matter for setup](https://cwyn.com/pages/hermes-guide-hermes-vs-openclaw.html)
- [Find the Hermes profile behind a session](https://cwyn.com/pages/hermes-guide-profile-home.html)
- [Hermes ignores my SOUL.md](https://cwyn.com/pages/hermes-guide-soul-not-loading.html)
- [Hermes says it remembered something, then forgets](https://cwyn.com/pages/hermes-guide-memory-not-saving.html)

## Next steps

- [All 17 Hermes guides](https://cwyn.com/guides/hermes/)
- [Hermes setup walkthrough](https://cwyn.com/setup/hermes/)
- [Check your Hermes AGENTS.md](https://cwyn.com/score/setup-file-checker/?profile=hermes-agents)
- [Hermes Setup Fix Kit ($14.95)](https://cwyn.com/pages/pack-hermes-setup-fix-kit.html)

### Record your Hermes setup

The [Hermes Setup Fix Kit ($14.95)](https://cwyn.com/pages/pack-hermes-setup-fix-kit.html) is an optional paid kit with a worksheet for comparing which project instructions load in the CLI and Telegram.
Kit details as of Nov 22, 2026

Hermes Setup Fix Kit $14.95

Check Hermes identity, gateway instructions, memory and profile settings, and review an OpenClaw migration before applying it.
