KJCLIController
KJCLIController
A Rust-based local gateway that lets you use Claude, Gemini, and Codex through one shared web address, with a browser chat interface and multi-agent orchestration so different AIs can collaborate on a task.
KJCLIController is a local network gateway built in Rust. It runs on your computer and lets you use three different AI command-line tools (Claude Code from Anthropic, Gemini from Google, and Codex from OpenAI) through a single shared web address. Instead of switching between separate tools, you send your request to one place and the gateway forwards it to whichever AI you pick.
The gateway speaks a standard API format originally created by OpenAI, so any application that already knows how to talk to OpenAI can talk to this gateway without code changes. It includes a dark-mode chat interface you open in a browser at localhost:8080/chat. From that interface you can type @claude, @gemini, or @codex to route a message to a specific model. On Windows, the application hides itself in the system tray after startup so it stays out of the way.
A newer feature called multi-agent orchestration lets one AI act as a conductor that breaks a task into steps and delegates each step to a different AI. All the agents share a running log file so they can see what the others have already done. The gateway exposes a special endpoint that any AI agent can read to learn how to participate in this pattern, and it also serves a small Python helper script that handles retries and error handling automatically.
Security is handled through a token you set in a config file. Any request to the gateway must include that token in its header, which keeps other devices on your local network from using your AI quota. The gateway runs everything as subprocesses on your own machine, so no prompts are sent to any external server that you do not already control directly through the CLI tools.
The README covers setup, available endpoints, a Python client example, and the orchestration protocol in detail. The project is written in Rust and builds with the standard Cargo toolchain.
Where it fits
- Switch between Claude, Gemini, and Codex from one browser chat without juggling separate tools or terminals.
- Let one AI break a big task into steps and hand each step to a different AI model automatically.
- Connect any app that already talks to OpenAI to this gateway so it can use multiple AI tools without code changes.
- Keep AI usage private on your local machine, no prompts leave your computer except through the CLI tools you control.