Show HN: A lightweight way to make agents talk without paying for API usage

Posted by juanpabloaj 1 day ago

Counter51Comment11OpenOriginal

Comments

Comment by dragonfax 1 day ago

Claude Code (subscription) has Agent Teams built in. Teams of Agents communicate with local files that they use as inboxes and task list. Has tmux and iTerm 2 integration. https://code.claude.com/docs/en/agent-teams

They can rack up some extra tokens if you leave agents going idle. Because they loop, checking for new messages for them.

This fellow reverse-engineered exactly how it works and then abstracted the pattern into an MCP server that any Harness/agent can use. https://github.com/cs50victor/claude-code-teams-mcp

Comment by scalefirst 1 day ago

Have you seen https://www.roborev.io/ from Wes McKinney?

Comment by perelin 1 day ago

Any personal experience with it? Recommended?

Comment by nicolailolansen 1 day ago

It's top notch. Big recommend!

Comment by harish124 21 hours ago

Using tmux session as short-term memory is great idea. When you force a model to look at other model's cli history they tend to stay focussed on the technical constraints already discussed.

Also, I like this idea because now the agents are not talking in private, they're talking in a window you can peek into. If you see the two AI agents starting to get confused or repeating mistakes, you can just hop into that same window, type a quick correction, and jump back out.

Comment by d4rkp4ttern 23 hours ago

My regular workflow is to run code agents in Tmux panes and often I have Claude Code consult/collaborate with Codex, using my tmux-cli [1] tool, which is a wrapper around Tmux that provides good defaults (delay etc) for robust sending of messages, and waiting for completion etc.

[1] https://pchalasani.github.io/claude-code-tools/tools/tmux-cl...

Comment by pidgeon_lover 1 day ago

> use the subscription plans you already have, avoid paying for API usage, and keep the setup simple enough that you can try it in a few minutes.

That interested me, but the article does not explain how to do this at all. I was hoping it would tell how use my work's ChatGPT Pro subscription via the CLI without having to pay per token over their API.

Comment by swingboy 1 day ago

I put together a skill to do this with OpenCode and the GitHub Copilot provider. Works pretty well.

Comment by pitched 1 day ago

I’ve been keeping them open in tmux and using either send_keys or paste buffer for communication. Using print mode and always resume last means you can’t have parallel systems going.

Comment by DeathArrow 1 day ago

In Cursor or OpenCode is very easy, just change the LLM in the same conversation.

Comment by 7777777phil 19 hours ago

> whether the final result is actually better, or whether it is just a more polished hallucinatio

Agents sampled from the same base model agreeing with each other isn't validation, it's correlation. Cheaper orchestration mostly amplifies whatever bias the model already has. Neat hack though.

Comment by Olivia_Pan 6 hours ago

[dead]

Comment by kumardeepanshu 1 day ago

[dead]

Comment by theoperatorai 1 day ago

[dead]

Comment by saadn92 1 day ago

[dead]

Comment by leninkatta 17 hours ago

[dead]

Comment by glashatay 1 day ago

[dead]