r/coolgithubprojects • • 4h ago

I built a streaming AI agent runtime with Socket.IO, Groq/Gemini routing, and workspace-scoped RAG. Here is the architecture.

https://github.com/Aashutosh31/arc-ai-project

Hey everyone, I've been working on ARC-AI, a MERN-stack AI workspace. The hardest part wasn't the AI, it was the distributed state.

I had to build a routing layer that sends text to Groq (for speed) and images to Gemini (for vision) without blocking the main thread, while streaming tokens over Socket.IO. It also runs 22 autonomous tools in a WASM sandbox.

I wrote up the architecture in the repo if anyone is interested in how I handled the LLM fallback and voice state machines.

0 Upvotes

1 comment sorted by