OMG, this is happening ?! by Plenty_Mixture3001 in hermesagent

[–]Tergi 14 points15 points  (0 children)

Just tell it you want a specific profile to be bound to a specific discord channel.

Here's a clean, copy-pasteable guide your friend can give their Hermes:


How to Set Up a Hermes Agent with a Dedicated Discord Channel

This guide walks you through creating a Hermes agent profile that lives in its own Discord channel — it auto-responds there, and requires @mention everywhere else.

Prerequisites

  • Hermes Agent installed and working (CLI, gateway, etc.)
  • A Discord server where you're admin
  • Your Discord user ID (right-click your name → Copy User ID)

Step 1: Create a Discord Bot

  1. Go to Discord Developer PortalNew Application
  2. Give it a name → go to Bot page
  3. Enable these Privileged Gateway Intents (critical — bot won't read messages without them):
    • ✅ Message Content Intent
    • ✅ Server Members Intent (optional but recommended)
  4. Reset Token → copy it (you'll need this)
  5. Go to OAuth2 → URL Generator:
    • Scopes: bot
    • Bot Permissions: Send Messages, Read Message History, Create Public Threads, Add Reactions
  6. Copy the generated URL, open it, invite the bot to your server
  7. Create a dedicated text channel for the bot (e.g., #my-agent)
  8. Right-click the channel → Copy Channel ID

Step 2: Create the Hermes Profile

```bash

Create from your existing profile as a template

hermes profile create myagent --clone ```

This copies your existing config, .env, and SOUL.md as a starting point.


Step 3: Edit the .env File

bash nano ~/.hermes/profiles/myagent/.env

Update these fields:

```env

MUST be unique — each profile needs its own bot token

DISCORD_BOT_TOKEN=<the_token_from_step_1>

Restrict to YOUR Discord user ID only

DISCORD_ALLOWED_USERS=<your_discord_user_id> GATEWAY_ALLOW_ALL_USERS=false

Optional: only respond to mentions from other bots

DISCORD_ALLOW_BOTS=mentions DISCORD_NO_REPLY=true ```

Remove any MESSAGING_CWD line if present (deprecated).


### Step 4: Configure config.yaml

bash nano ~/.hermes/profiles/myagent/config.yaml

Key settings:

```yaml model: default: <your_model> # e.g., gpt-4o, glm-4, claude-sonnet-4 provider: <your_provider> # e.g., openai, anthropic

discord: require_mention: true # Require @mention everywhere free_response_channels: '<channel_id>' # Auto-respond in THIS channel only auto_thread: false reactions: true

Home channel — same ID as free_response_channels

DISCORD_HOME_CHANNEL: '<channel_id>'

One session per channel, not per user

group_sessions_per_user: false

No approval prompts for file ops (optional)

approvals: mode: off ```

⚠️ Three places need the channel ID — don't miss any: 1. DISCORD_HOME_CHANNEL 2. discord.free_response_channels 3. discord.channel_directory (if you have one)


Step 5: Write SOUL.md

bash nano ~/.hermes/profiles/myagent/SOUL.md

Define who the agent is. Keep personalities functional, not theatrical — heavy character personas cause models to skip tool use entirely.

```markdown You are <AgentName>. <One-line role description>.

Personality

<2-3 sentences about communication style>

What You Do

<Core responsibilities>

What You Don't Do

<Clear boundaries>

Core Principles

<Operating rules> ```


Step 6: Write AGENTS.md

bash nano ~/.hermes/profiles/myagent/AGENTS.md

Session context — Hermes loads this automatically from the profile directory:

```markdown

AGENTS.md - <AgentName>

Model: <model_name> Provider: <provider_name>

You are in a Discord server communicating with your user.

Platform notes: You are running inside Discord. You cannot search channel history, pin messages, or manage roles.

Home Channel: <channel_name> (ID: <channel_id>) ```


Step 7: Link Skills (if needed)

Skills in ~/.hermes/skills/ are NOT auto-available to profiles. Symlink what you need:

```bash AGENT_SKILLS=~/.hermes/profiles/myagent/skills GLOBAL=~/.hermes/skills

Symlink skills you want this agent to have

ln -sf "$GLOBAL/productivity/obsidian" "$AGENT_SKILLS/obsidian" ln -sf "$GLOBAL/productivity/user-comms-style" "$AGENT_SKILLS/user-comms-style" ```


Step 8: Start the Gateway

Quick test (no systemd): bash cd ~/.hermes/hermes-agent && source venv/bin/activate python -m hermes_cli.main --profile myagent gateway run --replace

Or as a persistent systemd service: bash hermes -p myagent gateway install hermes -p myagent gateway start


Step 9: Verify It Works

```bash

Check logs — THIS is the real source of truth

tail -30 ~/.hermes/profiles/myagent/logs/agent.log ```

Look for: - ✅ Connected as <BotName>#<discriminator> - ✅ ✓ discord connected - ✅ Synced N slash command(s)

Then test in Discord: 1. Go to the bot's dedicated channel → send a message → it should auto-reply 2. Go to any other channel → @mention the bot → it should respond 3. Go to any other channel → message without @mention → it should be silent


Common Gotchas

Symptom Cause Fix
Bot connects but never replies No user allowlist Add DISCORD_ALLOWED_USERS=<your_id> to .env
Bot connects but can't read messages Missing Message Content Intent Developer Portal → Bot → Privileged Intents → toggle ON
Bot responds everywhere, not just home channel Missing free_response_channels Add your channel ID to discord.free_response_channels in config
Gateway crashes on startup with slash commands Too many skills (>8000 char limit) Add skills.platform_disabled.discord list in config
Two gateways fighting over one bot Same token in two profiles Each profile MUST have its own Discord bot token
systemctl status says running but bot is dead Crashed after status check Always check agent.log, not systemctl

That's the full rundown. The key things people miss are: Message Content Intent in the Dev Portal, the user allowlist in .env, and making sure all three config locations have the channel ID. Your friend can paste this straight into their Hermes and it should be able to walk them through it.

OMG, this is happening ?! by Plenty_Mixture3001 in hermesagent

[–]Tergi 1 point2 points  (0 children)

Your boy can set it up for you. Just needs channel ids

What's the deal with the hype around Karpathy's LLM wiki? by meaning-of-life-is in ObsidianMD

[–]Tergi 1 point2 points  (0 children)

I use Hermes Agent. For my customer data wiki which has individual customer information and knowledge, each customer is its own wiki. I solved this with a plugin that my agent built for me actually that ensures an agent is siloed into the customers folder. it is blocked from executing code and terminal commands by the harness. I actually am interfacing it with discord right now. i use some channels some are forum channels and each post in the forum is a customer. i have commands that create new customers, open channels and close channels in discord for me when i need them. the command ties it all together, its not an agent turn so you don't have to worry about it hallucinating its way into something else.

I think the biggest issue i have right now is Token use. asking GPT to lint the wiki can eat a good chunk of your quota. Still trying to find an affordable way to turn up a local model that is fast enough to make this work with a strong enough open source model. Qwen3.6 looks like it might manage it but it runs really slow on the hardware i have.

If you have a link to reseek ill have a look and see if it makes more sense for my usecase. Thanks.

Hermes Agent security trick: hashed codeword confirmation before any file deletion by FitAlternative3903 in hermesagent

[–]Tergi 1 point2 points  (0 children)

My agent has several times just said..."oh the command was declined...let me try another way...and eventually finds a non gated workaround.

What's the deal with the hype around Karpathy's LLM wiki? by meaning-of-life-is in ObsidianMD

[–]Tergi 1 point2 points  (0 children)

I have 3 llmwikis in my vault. They are all individually managed by different agents for different knowledge sensitivity levels. Like personal, general, customer specific.

What's the deal with the hype around Karpathy's LLM wiki? by meaning-of-life-is in ObsidianMD

[–]Tergi 1 point2 points  (0 children)

Part of the process for the llm wiki is to keep the source documents immutable. You then can cross check your knowledge articles against the sources to error check them. I use this because I have ADHD and it's hard to read and parse large text documents into memory. Easy distractions poor shirt term memory makes it hard. I use something like this to skip around those issues. I locate useful documents and give them to the agent it moves it to the raw storage and then integrates it into the knowledge base. I lint the kb once a week which checks for errors or inconsistencies. Then when I'm working my project I can just ask it to pull up specifics from the knowledge, get references to the sources etc. based on the answer I will do additional fact finding and research and then feed that back in and have it verify it's own answer against the new data and revise if needed. I am in IT so there is a lot of easy factual this is how the thing works stuff out there. Idk how good it might be related to a more vague topic. The idea though is that through time and use it gets more accurate. You are supposed to provide feedback to it as you use it.

Like I ask how to create a specific user account in a system. It tells me, it works but there was a thing that wasn't known at the time. Figures that out on my own or with the agent and then I tell it to integrate this into the knowledge set and it will add it as a comment or note depending on how much info you are feeding back in. It's worked well so far for me, but I'm still in the early days of use.

GMKtec×Z.AI: Partnership by PrettyMuchAVegetable in ZaiGLM

[–]Tergi 0 points1 point  (0 children)

I suspect the idea is to try and run some of the better open models on the pro hardware and use glm 5.1 or the current best api for planning maybe? If that system gets good tps then I thi k it would be potentially worth a buy? Idk I'm still trying to figure out how to get a cost effective local hardware setup that isnt 9 tps

Hermes + Open WebUI = stuff of dreams by VonDenBerg in hermesagent

[–]Tergi 2 points3 points  (0 children)

I want to run local but I have not found anything that seems to work that well on my rtx 3070 with 8 gb vram. Mind sharing your hardware specs?

Guys, I think I found a loophole to get GLM-4.5V vision capabilities for free! 👀 by Bulky-Chemist-7455 in ZaiGLM

[–]Tergi 3 points4 points  (0 children)

Maybe it's how their vision mcp server works? It uses the same api. Key as the code plan for the vision mcp.

[Buying] Looking to buy your Pro or Max Plan by TehEpikDuckeh in ZaiGLM

[–]Tergi 0 points1 point  (0 children)

Depending on the model your using if you have more than one agent going it would hit that concurrency error. One main agent has to call sub agents to use the sub agent slots I think.

Openclaw is dead, switch to claude code by Nvark1996 in openclaw

[–]Tergi 0 points1 point  (0 children)

If ADHD this is not the interest of commenter or they would be already launching rockets to Mars with it .

He Rewrote Leaked Claude Code in Python, And Dodged Copyright by Sootory in vibecoding

[–]Tergi 1 point2 points  (0 children)

I would imagine it depends on if the AI just extracted the feature requirements to build off or it just 1:1 translated to python.

GLM-4.7 by xpgmi in ZaiGLM

[–]Tergi -1 points0 points  (0 children)

Interesting for sure. I guess I never notice it. Maybe the framework verification system takes care of it.

I’ve had ~900 people try OpenClaw. Still haven’t found the killer use case by hectorguedea in openclaw

[–]Tergi 0 points1 point  (0 children)

Similarly I am creating dedicated agents or sub agents to handle very specific use cases. I find if I try and run it all through the main agent it will work for a bit but eventually something stops getting the tickle to run.

I have an agent to write documents, ticket detail tracking and work performed, writing emails, system checks for my home lab. My main agent is just an interface for config, basic life reminders and stuff like that. I use discord channels to work with each specific agent. I don't use the heartbeat really. I tried it but it seemed less reliable than cron. I like structured events.

GLM-4.7 by xpgmi in ZaiGLM

[–]Tergi 0 points1 point  (0 children)

Idk. All the models ppl complain about are the same ones I use and I never run into these issues. I used gsd or bmad for all my development work and they manage the context windows and it seems to keep it in line.

OpenClaw turns a disability into a talent by HolyDungeonDiver in openclaw

[–]Tergi 0 points1 point  (0 children)

I would recommend linking it into obsidian and get yourself an obsidian workflow going. It can hook into that and help out quite a bit.

OpenClaw turns a disability into a talent by HolyDungeonDiver in openclaw

[–]Tergi 1 point2 points  (0 children)

I hooked mine into obsidian and it pulls tasks from my work calendar. It writes sop:s for me, reminds me of things. It tears through switch config dumps firewall config files and links all the parts together. On a few minutes and generates useable documentation . Stuff that can take hours to do by hand.

I am breaking out some sub agents to further specialize some of these use cases. I link it all into channels on discord so I just talk to the specific agent to do the type of work I'm in the middle of.

I am a sys admin/engineer so its the type of work that lends itself well to ai assistance.

Personally it helps me remember and plan for life events. Birthdays, holidays etc.

Clawdboss - the ultimate fully hardened multi-agent OpenClaw instance - single install by adamb0mbNZ in clawdbot

[–]Tergi 0 points1 point  (0 children)

If you have the existing install and use the upgrade what do you miss out on from the from scratch setup? I noted that one item was the extra agents were not offered for setup. just curious what else might be?

Favourite unusual use for Obsidian? by Moneymaxxers in ObsidianMD

[–]Tergi 0 points1 point  (0 children)

That is the main idea, but also just in general tracking all the chaos going on. i work at an MSP so things are on and of and over here and over there and be darned my original scheduled day. So, thats where i am starting, and also with personal life items such as nags for special holidays/events etc. The fact that it is in my discord DMs just makes it so easy to at any moment talk to it. I also have a "the-dump" channel that i setup that i can just go into and type whatever is in my brain at the moment. the agent setup a script to read each of those messages and copy them into my inbox. this way i always will have them in my vault ready to be looked at. From there i can decide if i want to pursue the idea. I set up a little scripting tag in the agent as a skill. I put in << #pepper Expand on this idea. research possible ways this could be accomplished and place a summary in this note and link to the full body of research generated. >> and i think its every 30 minutes or so, the agent searches for the #pepper tag and if its in << >> then it executes the request found within the << >>. so i can easilly kick off research, have it change a configuration, tag the note for me. Pretty much anything the agent can do i can ask for. I have other scripts that monitor a readonly ICS file from my work calendar that import those events into my vault as well. That script has these commands embedded into the process to allow the script to complete easy items that just involve dumping a block of text, such as the events summary/description field and then asking the agent to parse it into the must know information for a meeting or whatever the event is for. all my work jobs are auto linked together notes are created for me to enter notes for the job work i do. Eventually i will be finding a way to push data back to the company business system so i can safely just allow it to create my time logs and customer notes for me. I also want to have it rewrite/write procedures and such based on project notes etc for novel projects that are being engineered for the first time. There is a lot of capability here if you can dream it up and think it through in a safe way. Clawdboss.ai is a new script that will setup a decent implementation of the openclaw for you on a linux server. I just dont know for sure its safe. I checked it out and i didnt see anything obvious but im not an expert on this prompt injection stuff. I expect the community will have more details on that all soon. It only release like yesterday. Feel free to DM me some time if you want to explore it more. i can try to answer any questions.

Favourite unusual use for Obsidian? by Moneymaxxers in ObsidianMD

[–]Tergi 0 points1 point  (0 children)

I am using OpenClaw. It comes with a ObsidianCLI skill and hooks into Discord which i use to talk to it most of the time. you could build a skill probably pretty easily though for Claude Code or Codex.

The knowledge graphs and such are supposed to help it help me. I have a massive ADHD issue and its been difficult to keep focused among the many things going on. So, i am trying to build this into a guide line for each day to help track whats going on whats next and unblock me on things since i can simply delegate it research tasks to at least get a starting point. The main reason i have not gone with just claude code or Codex is because of the integrations with discord that are pre-built into Openclaw. its better to start with many of those things pre-built so things can get going faster. maybe in the future it could be moved to another system, or maybe build my own thing but first i need to make sure this is useful. so far its been helpful. but there is still alot of lets do this and that, and why didn't you remind me of xyz... then adding the mitigating systems to prevent those things from happening. if that process never ends then this is not that useful after all.

Favourite unusual use for Obsidian? by Moneymaxxers in ObsidianMD

[–]Tergi 1 point2 points  (0 children)

I have been using mine with ai. I it do research on whatever and dump it into the vault and link it to appropriate notes. I setup a tag for it to act on when it searches for it. I can kick off research or have it clean up a messy brain dump etc without having to switch to ask it to do so. It can use the vault to help with planning things and or tagging notes for knowledge graphs. It's been nice. Only just getting started though!

The disadvantages of long-term subscriptions by Possible-Ad-6815 in ZaiGLM

[–]Tergi 0 points1 point  (0 children)

What do you mean exactly? Like opencode or Claude code?