---
id: 7327
lang: en
title: "Flant: How a Go Developer Turned Zed and Gemini into a Useful AI Agent"
published_at: "2026-04-28 06:19:49"
source_name: "Habr AI"
source_url: "https://habr.com/ru/companies/flant/articles/1021154/?utm_campaign=1021154&utm_source=habrahabr&utm_medium=rss"
canonical_url: "https://news.hamidun.com/en/news/7327"
categories: ["healthcare"]
publisher: "AI News by Jemal Hamidun (news.hamidun.com)"
---

# Flant: How a Go Developer Turned Zed and Gemini into a Useful AI Agent

> **Краткая суть (BLUF):** A Go developer at Flant explains why the AI plugins built into IDEs often add more noise than value, and how to fix that. What worked was a combination of the fast Zed editor, the Gemini 3 Flash model and gopls's Go-specific MCP server.  The main takeaway: productivity comes not from a "magic" chat, but from careful setup of tools, context and prompts.  The author puts particular emphasis on diagnosing the agent and phrasing requests precisely.

A Go developer at Flant describes a practical journey many teams will recognize: from curiosity about AI plugins and disappointment with them to a working setup in which an agent genuinely takes some of the routine off the developer's plate. The article's central idea is simple: an LLM on its own barely improves productivity if it has poor access to project context, a slow interface and tools that don't suit the language at hand.

The author first went through a typical early-adoption scenario. In GoLand 2022 he tried an AI plugin with a built-in cloud model, which offered three modes: autocomplete, chat and agent. Autocomplete suggestions sped up work slightly, but were often wrong because of limited context. The chat inside the IDE quickly turned into endless synchronization of project state: the model made assumptions, and the developer spent time explaining. The agent mode could write and refactor code, but too often required manual rework, so the "set the task, check, rewrite" cycle took longer than ordinary work without AI.

The next stage involved corporate access to several models. The author rated GPT-4o's answers noticeably higher than GigaChat's, but that did not solve the main problem. When the company opened access via API key, popular plugins such as Cline and Continue were tried in the IDE. The result was weak again: the combination of IDE, web-interface logic and an external model was sluggish, and the work remained heavy.

Terminal agents were the turning point. OpenCode was popular among colleagues, but the author chose Crush because it is easier to install and is written in Go. That is where he first got real value: the agent could analyze the project, read files, write code and use LSP and MCP.

But the terminal agent was not the final stop either. For everyday work with a Git repository and codebase, the convenience of an editor was still missing. So the author moved to Zed, a fast editor written in Rust with a built-in AI panel, its own agent and support for external agents via ACP. In the article he walks through how to connect Zed to a corporate LLM service via Open-WebUI and an OpenAI-compatible API, choose the Gemini 3 Flash model and configure a write profile with the necessary tools: diagnostics, read_file, grep, list_directory, terminal, thinking and web_search. He also stresses a practical detail: the API key is not stored in the settings file and is entered manually through the editor's interface.

The most important technical part concerns Go and the quality of context. Using a simple example, the author shows that the built-in grep finds only text matches and easily leads the model to wrong assumptions if the query is vague. To get the agent closer to the semantics of the code, he connects gopls in its experimental MCP mode. Because the regular LSP in Zed is still oriented toward humans rather than agents, he has to run a separate gopls-mcp with its own environment variables and an increased timeout. After that, however, the agent gets tools of a different class: a workspace overview, package APIs, symbol search, symbol references, safe renaming, diagnostics and even checking dependencies for known vulnerabilities.

The article doubles as a useful checklist for choosing an AI coding stack. First, pick an LLM that can work in agent mode and handles programming tasks competently; for a rough assessment, the author advises weighing quality, price, speed and context window size. Next, choose the agent itself: compatibility with the chosen model, a sensible set of built-in tools, MCP support and, if needed, multi-agent capability all matter. Only after that does it make sense to work on prompts. The techniques the author considers truly effective include role prompting, explicitly attaching context, step-by-step planning, step-back prompting and using examples from existing code or tests.

The article's main conclusion is that developer productivity grows not from having "some AI" in the editor, but from assembling the whole pipeline precisely: a fast environment, a suitable model, language-specific tools and discipline in framing tasks. When the agent sees the project through LSP and MCP rather than blind line-by-line search, and when the right roles, profiles and context are set up in advance, it stops being a noisy assistant and starts saving real time on code, navigation and verification.

---
- **Первоисточник:** [Habr AI](https://habr.com/ru/companies/flant/articles/1021154/?utm_campaign=1021154&utm_source=habrahabr&utm_medium=rss)
- **Каноническая ссылка:** https://news.hamidun.com/en/news/7327
- **Экосистема автора:** [Бесплатный интенсив по вайбкодингу — предзапись в Нике](https://t.me/vibecodeguidebot?start=agent_intensive_news_md) · [Nomad AI](https://nomadnet.ai) · [Telegram @jemal_hamidun](https://t.me/jemal_hamidun)
