I Gave My Two AI Agents a Shared Desk. Here's Exactly How.

· 3 min read · original on X

I have two AI agents working for me. Grok Bot is a small team in my pocket: a chief of staff, an IT person and a couple of specialists. Hermes is an open-source agent I run on an always-on lab machine.

Both are smart and useful, and for a while neither knew the other existed.

The problem

They were like two great coworkers in different buildings who’d never met. Every time I wanted them on the same job, I was the messenger, copying from one and pasting into the other. I’d become the bottleneck in my own setup.

The aha

Coworkers don’t need a fancy integration. They need three things: a way to ask each other a question, a shared desk, and a rule about keys.

1. Ask each other a question (working)

Grok Bot can run commands on a computer I’ve approved. Hermes has its own command line that takes a question and prints an answer. So the first bridge is simple:

There are no new ports and no new services. It took one evening and proved the idea.

2. A shared desk (being built now)

Chat works for questions but is terrible for real work, so they’re getting one shared folder on my lab NAS:

Plain files are boring in the best way. They’re easy to read, back up and audit, for any agent and for me.

3. A rule about keys (being built now)

No agent ever sees a password or API key. I add secrets myself with a small helper that doesn’t echo them to the screen. The agents only get a catalog, like “there’s a key called WEATHER_API, used for forecasts.” If one agent needs the other to use a secret, it passes the name, never the value. Hermes also masks anything that looks like a secret in its logs.

4. Moving in together (being built now)

I’m installing the Grok Bot app on the same lab server Hermes runs on, in a desktop session that starts at boot so a reboot doesn’t break anything. That makes them roommates instead of pen pals.

Next

The ground rules (the part that actually matters)

If you run more than one AI

The direct line is next. I’ll share how it goes.

Originally posted on X.

> newsletter

get new articles by email

Practical AI and accessibility, no spam, unsubscribe anytime.

Opens Substack in a new tab to confirm. Prefer to read there? Open the newsletter on Substack.