r/SideProject • • Sep 10 '26

I built a local, signed coordination/communication layer as a cli tool so multiple coding agents can work the same repo without clobbering each other (With AI ofc, Useful for devs using AI)

Check out Agent Comms - https://agentcomms-cli.vercel.app/

This is my first Reddit post guys, i just wanna share my project here to get some genuine reviews... maybe this will help some of yall if you're using multilple AI coding agents in a single project. We know that if run more than one coding agent on a project at once, two of them edit the same file, one grants itself a permission nobody approved, and afterward there's no trustworthy account of what happened.

I've been building Agent Comms to sit underneath that. It's a Go CLI + TUI, fully local, per-project daemon and a SQLite DB spin up on the first command. No account, no cloud, nothing to configure. I made this to solve my own exestencial crisis working with AI. So, Try it out if you find it useful.

What it actually does:

Work leases - An agent claiming src/api locks it for the duration, and has to renew with actual progress to keep it, a bare heartbeat doesn't count. The second agent finds out before it overwrites your code, not after.

Every action is a signed event. Task claims, messages, approvals... each is cryptographically signed by the actor (human or agent) and chained into an append-only history you can hand to someone else and they can verify independently.

The dangerous stuff needs a human. Deleting an identity, granting orchestrator authority, touching credentials... gated behind a second passphrase-protected signing key no agent process can reach. Enforced at the protocol level, not in a system prompt.

Any agent that can run a shell command or speak MCP joins at the protocol level. Claude Code, Codex, and OpenCode also get a fully autonomous integration out of the box (spawned, prompted, reported on, no wiring).

I've been dogfooding it to coordinate a Claude and a Codex agent on Agent Comms' own codebase, which has been a good forcing function. Happy to answer questions on the design... Feedback welcome, especially on where this overlaps with or misses what you'd want.

1 Upvotes

16 comments sorted by

2

u/kantorcodes1 Sep 11 '26

--non-interactive looks like prompt suppression rather than a read-only mode. so an authorized agent can still run things like agent suspend, task claim, or invocation request unattended unless that specific action needs the elevated key, right? is that the intended boundary, or do you want a general inspect-only mode for unattended shells?

1

u/dark_shadow_007 Sep 14 '26

That’s the intended boundary, yes…

1

u/dark_shadow_007 Sep 14 '26

With non-interactive mode I tried to make it as automated as possible for the agents so they won’t have any hiccups using agentcomms, the elevated pass phase is for specific commands which can’t be un done, that’s for user awareness…

1

u/dark_shadow_007 Sep 14 '26

Let me know if you have any suggestions…

1

u/kantorcodes1 Sep 15 '26

yeah, that boundary is why I asked. i work on HOL, where we maintain HOL Guard, an open-source checkpoint before agent-run commands execute. for Agent Comms, I'd keep status/history automatic but checkpoint task claim, task lock, agent suspend, and invocation request before an unattended agent runs them. that adds a user-controlled stop before coordination changes without touching your elevated-key flow. open to a small Guard-side extension?

1

u/dark_shadow_007 Sep 15 '26 edited Sep 15 '26

I believe that’s already been managed because when an agent with orchestrator role or the real user assigns tasks for other agents, each agent either claims their task or not via invocation… there is no risk of unattended agents running task claims on their own because the invocations are directed, they have to explicitly accept the task and make them complete after the task is done, status and history is maintained so we know which agent ran what task in real time

1

u/kantorcodes1 Sep 15 '26

yes, exactly: a user approval checkpoint before those commands run, without changing Agent Comms' own elevated-key rules.

smallest Guard-side slice is command.agent-comms: start src/codex_plugin_scanner/guard/runtime/command_agent_comms_extensions.py, using command_repo2nb_extensions.py as the analogue. Review task claim, task lock, agent suspend, and invocation request; keep status/history automatic. Add focused cases in tests/test_guard_command_agent_comms_extensions.py, then open the draft PR directly against hashgraph-online/hol-guard:main: https://github.com/hashgraph-online/hol-guard/blob/main/CONTRIBUTING.md

1

u/dark_shadow_007 Sep 15 '26

I have edited the original message with a clear explanation, I do get your point from a security standpoint but the tradeoff would be the user having to manually approve each command which I really don’t think is the problem… not to de-mean anything but isn’t that the exact use case why AI agents run in their own sandbox and asks for approval only when needed (for example - Claude with auto mode)

1

u/kantorcodes1 Sep 15 '26

yeah, that's fair. Guard's only distinction here is that it's runtime-independent, so an operator can enforce the same checkpoint even when Claude/Codex is in auto mode. But if Agent Comms intentionally treats claim/lock/invocation as safe and already protocol-gates the irreversible stuff, I wouldn't add friction just to add it. I'd leave those commands alone unless users want a stricter policy layer.

1

u/dark_shadow_007 Sep 15 '26

Exactly… every event is hashed, signed and assigned to a respective agent… there is already a feature to create and use runtime for each agent so there is no overlapping of sorts in the first place, plus even if any agent tried to run commands which are gated by passphrase, it would outright reject it makes a request to the user to approve it like agent revoke/register, task claim and task lock commands are agent agnostic like I said earlier…

1

u/dark_shadow_007 Sep 15 '26

Maybe you can explain it with a scenario where this might be useful, I just wanna know from your perspective…

1

u/kantorcodes1 Sep 17 '26

one concrete case: the same workstation runs Claude, Codex, and a few scripts, and the team wants one rule like “task claim/lock can run automatically in dev, but agent suspend/revoke or a production invocation needs human approval” regardless of which client launched it. AgentComms already passphrase-gates your irreversible commands, so if it’s the only runtime I agree the extra layer probably doesn’t buy much.

1

u/dark_shadow_007 Sep 19 '26

That’s already the case, you can test it out if you want… is something weird shows up let me know…

→ More replies

1

u/dark_shadow_007 Sep 15 '26

The status/history is already automatic, history is maintained by the chain of events, each event is signed with a hash value, you can check it in the TUI interface