There is nothing to learn here — a single call takes a question and returns an answer, which is the right shape when all you want is to fill a gap in what your assistant knows. Everything rests on the underlying command-line tool being installed and configured, because the server is a thin passthrough to it.
A small server with a single tool: it passes your question to the Gemini command-line tool and returns the answer, giving an assistant a route to real-time information.
- query — send a question to an agent that can search real-time internet data, and get an answer back with current information
- A streaming HTTP transport, so clients connect to an endpoint instead of spawning a process
- Clean shutdown on interrupt and termination signals
The Gemini command-line tool installed and configured on the machine running the server, since the server invokes it directly. Runs under Node from a checkout; clients connect over HTTP.
Build from source — clone the repository and build it, then point your client at the binary
