Free · Daily brief + weekly playbookDaily 60-sec AI Voice Brief + Weekly Production AI Agent PlaybookGet the brief →
ReleaseCode / SDK · ActionableHabr AI→ original

MyLLM moves Claude Code, Grok and GPT to a server: a laptop needs only one token

Claude Code and Grok Build are usually installed on every laptop, and each one needs its own login, key and network setup. The MyLLM gateway moves the agent's "brain" to a rented virtual private server (VPS), while file reads, edits and go test stay in your repository. The laptop needs only the gateway address and a token, and all requests to the providers go out from a single server. This makes it easier for a team to deploy agents without configuring every machine.

AI-processed from Habr AI; edited by Hamidun News
MyLLM moves Claude Code, Grok and GPT to a server: a laptop needs only one token
Source: Habr AI. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceHabr AI ↗
Editor-in-Chief
Key metric #1The gateway is open source under AGPL-3.0, with a plugin for VS Code and Cursor and the myllm CLI
Agents get seven toolsread_file, edit_file, grep, bash and others
OpenAI-compatible APIin the SDK you change only base_url and the key

Imagine a team where every developer works with Claude Code or Grok Build. Each person has their own login, their own key and their own network setup on their laptop. If someone switches providers, goes on a business trip or reinstalls the system, everything has to be configured again. Developer alanforester proposed a different scheme and published it on GitVerse under the name MyLLM. The model itself, that is, the agent's "brain," runs on a VPS, an ordinary rented virtual server. The agent's "hands," meaning file reading and editing, search, commands, build, tests and git, stay on your machine, in a real repository. The laptop needs only the gateway address and a token.

The author starts from a simple idea: the agent does not really need a laptop. It needs a project directory, access to the provider's API and a stable address. A regular VPS covers the last two requirements well.

How "brain on the server, hands at home" works in practice

MyLLM consists of three parts: an open gateway under the AGPL-3.0 license, a plugin for VS Code and Cursor, and the myllm command-line client. You type a request, the plugin sends it to the gateway over WebSocket, and the gateway passes it to the agent. When the agent needs to read a file, find a line or run go test, the gateway sends that call back over the same socket. It is executed by myllm bridge, a small Go executor that the plugin carries with it.

Edits land directly in your project, and commands run in your environment, with your git and dependencies. The session directory on the server stays empty. Logging in to Claude, Grok and other services is done on the gateway server. So for the provider it looks like one user on one machine, and not a single request goes from the laptop to the providers.

One protocol for three agents

Clients talk to the gateway over ACP (Agent Client Protocol, JSON-RPC over WebSocket). The gateway then negotiates with each tool in its own language.

  • Grok Build can expose its file system and terminal to the client. The gateway only needs to forward those requests to the plugin.
  • Claude Code cannot do this. The gateway disables its built-in file and command tools (with the --tools flag) and connects a session MCP server with seven tools: read_file, write_file, edit_file, list_dir, grep, glob, bash. Reads and searches run immediately, while writes and commands ask for confirmation unless auto mode is enabled.
  • GPT works through the OpenAI Responses API and receives the same seven tools.

There is an amusing detail. Grok has its own list_dir and grep, which always look in the server directory, and in agent stdio mode they cannot be turned off. The author solved this with a polite request: through _meta.rules, the gateway tells the agent that the server directory is empty and that it should search using myllm tools. The agent complies.

There is also protection built in. The gateway translates session paths into your project paths and strips server environment variables from commands: Grok passes server variables in terminal/create, including HTTP_PROXY with the proxy password. The executor on your side does not let tools leave the project root, does not follow symbolic links outside it, and does not write to .

git. Models do not substitute for one another: if you ask for claude-opus and Claude is not available on the server, you get a clear error, not a silent answer from Grok. The model menu comes from the gateway, so a new version appears without updating the plugin.

In the author's example, this includes Grok 4.7 with a 256K or 500K context window, and Claude Opus, Sonnet and Haiku with a 1M window. To guard against breakage after tool updates, all providers share a set of contract tests that run in CI.

Plugin, CLI and API

In the plugin, sessions are arranged in tabs and bound to a project, so the agent cannot start editing the wrong code. You can switch the model and effort level, watch how full the context window is, and compress the conversation. The active file and the selection are added to the context automatically, and a screenshot can be pasted from the clipboard. The plugin is not yet in the marketplaces; it is installed from a .vsix file downloaded from GitVerse.

The myllm command-line client works the same way: the agent reasons on the gateway, while tools run in the launch directory. With the --ask flag, every edit and command waits for your "y" or "n."

For services that do not use an agent, the gateway serves a standard OpenAI API at /v1/. In the official SDK, you only need to change base_url and the key. The model name determines the route. grok- goes to xAI through a Grok subscription, opus, sonnet, haiku and claude- go to the Claude Code CLI on the gateway, and gpt-* goes to OpenAI if a key is set. If claude is not on the server, you get a 503. The request body can include a session field, and the gateway will remember the last 40 messages and delete any conversation that has been silent for two weeks.

What to consider

The project is not affiliated with xAI, Anthropic or OpenAI, and the author states this directly. A shared-access scheme relies on the terms of specific subscriptions, so reread the providers' rules before deploying. The gateway becomes a single entry point and a store of credentials, and it needs to be protected like any other infrastructure. If you deploy agents for a team, such a gateway removes the need to configure each laptop.

Story

Key Questions Answered

How "brain on the server, hands at home" works in practice?

MyLLM consists of three parts: an open gateway under the AGPL-3.0 license, a plugin for VS Code and Cursor, and the myllm command-line client. You type a request, the plugin sends it to the gateway over WebSocket, and the gateway passes it to the agent. When the agent needs to read a file, find a line or run go test, the gateway sends that call back over the same socket. It is executed by myllm bridge, a small Go executor that the plugin carries with it.

What are the key details on One protocol for three agents?

Clients talk to the gateway over ACP (Agent Client Protocol, JSON-RPC over WebSocket). The gateway then negotiates with each tool in its own language. Grok Build can expose its file system and terminal to the client. The gateway only needs to forward those requests to the plugin. Claude Code cannot do this. The gateway disables its built-in file and command tools (with the --tools flag) and connects a session MCP server with seven tools: read_file, write_file, edit_file, list_dir, grep, glob, bash.

What are the key details on Plugin, CLI and API?

In the plugin, sessions are arranged in tabs and bound to a project, so the agent cannot start editing the wrong code. You can switch the model and effort level, watch how full the context window is, and compress the conversation. The active file and the selection are added to the context automatically, and a screenshot can be pasted from the clipboard. The plugin is not yet in the marketplaces; it is installed from a .vsix file downloaded from GitVerse.

ZK
Zhemal Khamidun — Head of AI at Alpina Digital · MIPT (academic supervisor of the Tech Entrepreneurship department). Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Free · Waitlist · Hermes + DeepSeek

Free 2-Day Vibecoding & AI Agents Intensive

Day 1: the autonomous Hermes + DeepSeek AI agent — vibecoding and development on par with Claude Code / Codex / Gemini. Led by Jemal Hamidun, Head of AI at Alpina Digital and academic supervisor at MIPT. Right after you register with our bot Nika: the recording + 11 materials from the previous intensive.

Join the waitlist →Nomad AI Workspace
Jemal Hamidun

Editor-in-chief · Cite this analysis

Jemal Hamidun

Head of AI at Alpina Digital · Academic Supervisor of the Tech Entrepreneurship Department at MIPT

Head of AI & CPO of AlpinaGPT at Alpina Digital, Academic Lead of Tech Entrepreneurship at MIPT. Founder of Hamidun News and Vibe Academy.

Ready-to-paste citation for journalists, blogs and Telegram channels

Source: Hamidun News — MyLLM moves Claude Code, Grok and GPT to a server: a laptop needs only one token https://news.hamidun.com/en/news/18987/myllm-moves-claude-code-grok-and-gpt-to-a-server-a-laptop-ne

What do you think?
Loading comments…