Live data from Hacker News

Claude Code and Codex can have real-time conversation via Git

medium.com

91–95 of 95 posts

Re: Claude Code and Codex can have real-time conversation via Git

#91

The better way to do this is give them each an inbox and outbox folder and a user account on a Unix machine. They can write to their outbox, have it be sent to the other's inbox. A watcher can watch for new messages in the inbox and trigger the other agent to read it. You can have the thread Id of the messages correspond to the session id. We don't need to reinvent things that Unix provides.

Low effort comment: reinventing things that Unix provides is the backbone of the entire western economy.

Re: Claude Code and Codex can have real-time conversation via Git

#94
post #66
post #35

Earlier quoted context omitted.

I am not very well versed in these kind of tools. How does it compare with something like Hindsight MCP? How do you make the agents actually use the tool? That has been my main problem with most mcp and tools. The agents know about them but don't use them unless reminded to.

https://en.wikipedia.org/wiki/NATS_Messaging is for real-time communication, so I would not use it as a substitute for a memory store.

It isn't the memory store.. that's entirely separate. But it complements the memory store by allowing the agents to pub / sub notifications. Has its uses!

Re: Claude Code and Codex can have real-time conversation via Git

#95
post #35
post #3

Earlier quoted context omitted.

So I solved this by using NATS and letting each agent pub / sub to the shared message bus.. simple binary you can run anywhere and it's highly useful! Part of a broader tool I created - https://github.com/fjwood69/mori

I am not very well versed in these kind of tools. How does it compare with something like Hindsight MCP? How do you make the agents actually use the tool? That has been my main problem with most mcp and tools. The agents know about them but don't use them unless reminded to.

[flagged]
Post reply on HN