Ever wanted two of the smartest AIs to chat with each other without paying a dime?
The Simple Version
Think of Frenemy as a tiny router that whispers between two AI assistants. You install it, launch the app, and the two models start talking to each other automatically.
How It Actually Works
What Frenemy Does
It starts a local server that both models can call. The server handles the messaging and keeps everything running in the background.
How It Connects
Using a lightweight WebSocket, Frenemy streams prompts and responses back and forth. No cloud services, no credit‑card required.
Technical Deep Dive
The tool is built with Node.js and uses the ws library for WebSocket connections. It spawns separate processes for Claude and ChatGPT, then routes their I/O through a shared memory space.
Configuration lives in a simple JSON file where you set the ports and model endpoints. Because everything runs locally, latency stays under a second and no external API calls are made.
Why This Matters
For developers, this means you can prototype multi‑agent workflows without paying per‑token fees. Researchers can experiment with emergent behavior in a sandbox that respects privacy.
It also opens the door to creative uses like automated code reviews that involve both models, or interactive storytelling where two personalities collaborate in real time.
Key Takeaways
- Frenemy provides a free, local bridge between Claude and ChatGPT.
- No API keys, daemons, or cloud dependencies are required.
- It uses a lightweight WebSocket server written in Node.js.
- Setup takes minutes and runs entirely on your machine.
- Great for devs who want to experiment with multi‑model conversations.
- Keeps data private by staying offline.
- Potential for building complex AI workflows without extra cost.