Notice: This article was created with AI.
What’s It About?
Coding assistants are no longer chat windows next to the IDE. As agents, they take on entire tickets: They read the code, modify several files, start the build, evaluate error messages and try again. For Java teams this is appealing, because compilers, type systems and mature testing tools serve as guardrails. Framework magic, multi-module builds and container tests, on the other hand, can throw agents off track.
Frontier models from the cloud are an option as models, but so are locally operated alternatives. They can be connected via tools such as llama.cpp, Ollama, LM Studio and LiteLLM.
Background & Context
At its core, a coding agent is a loop of model, tools and feedback. The model plans, the tools act (file access, shell, search, MCP servers), and compilers, tests and linters determine the next round. Typically, the agent first captures the task description, files, project structure and existing errors. From these it derives work steps, changes code and configuration within the granted permissions, checks the result and corrects it if something fails.
Early plugins such as GitHub Copilot and Continue passed open files or highlighted lines of code to the model as context. Today the difference lies less in writing source code than in connecting the language model with tools: After each step, the agent evaluates the result and adjusts the process. As a result, minutes to hours pass between prompt and result instead of seconds. The human sets the goal and reviews a diff or pull request at the end.
There are differences among the agents themselves. Codex and Claude Code are known for their tight integration with OpenAI and Anthropic models respectively, but like OpenCode and GitHub Copilot they can be switched to local runtimes. Kilo Code and Qwen Code are further open-source agents that integrate their own models, for example via Ollama or vLLM.
OpenCode separates roles: The plan agent reads code, suggests changes and creates plans, but does not modify files or run bash commands. The build agent has access to all tools and implements requirements. Subagents for specialized tasks start automatically or via @ mention in the chat.
Local models offer full control over your own data. Since agents execute tools and make decisions on their own, the models need many capabilities. That usually means large models and high hardware requirements; developers with plenty of RAM benefit most. According to a field report, OpenCode appears to be designed primarily for large frontier models such as Claude or ChatGPT.
In a systematic test run with five models, the free, local Gemma was suitable for smaller programming tasks, as a sparring partner and for learning coding agent environments such as Claude Code. For complex code analyses and in-depth automation, the test recommended GLM, which is described as inexpensive and fast, or Claude Opus with superior autonomy. A locally operated Qwen documented a project cleanly, but did not find the code inconsistencies that top models discovered, and failed locally because of performance. For professional scenarios, the test recommends larger models that run in your own cloud or someone else’s.
With Bionic, LM Studio offers an agent for open models that is built on MLX and llama.cpp and runs locally. For demanding tasks, the provider names open frontier models such as GLM, Kimi and DeepSeek V4 Pro. According to its own statements, its cloud services work without data retention (Zero Data Retention).
For recurring tasks, Copilot Code (Frontier) offers automations. These are saved tasks that run on your own device on a schedule or on demand. They use the same plug-ins, capabilities and safeguards as the rest of the work, approvals also apply during execution, and every run can be reviewed. For scheduled runs, the device and the Microsoft Copilot app must be available.
What Does This Mean?
- The quality of the feedback is decisive: Projects with a solid build configuration, type checking and tests give agents reliable signals, while complex multi-module and container setups lead them astray more easily.
- Choosing a model is a trade-off: Local LLMs provide data control, but cost hardware and, in the test run, fall behind large hosted models in autonomy and solution quality.
- Because agents execute tools on their own, permission management, separate plan and build roles, and acceptance via diff or pull request become central control points.
Sources
Code-Assistenten mit Frontier-Modellen und lokalen LLMs (heise online)
Der eigene, lokale KI-Coding-Assistent mit OpenCode (viadee)
Lokale LLMs im Entwickler-Alltag (codecentric)
LM Studio Bionic – Agent for Work and Code (LM Studio)
Arbeit mit Copilot Code (Frontier) automatisieren (Microsoft Learn)
This article was created with AI and is based on the listed sources as well as the language model’s training data.
Further Reading: From Text Generator to Digital Employee: How AI Is Changing the World in Four Stages
Hands-on projects to build yourself
- Sending the AI Weekly Review Automatically by Email to Subscribers: A Step-by-Step Guide with n8n, WordPress and MailPoet Newsletter
- An Automatic Podcast with n8n, Google Text-to-Speech and WordPress: A Step-by-Step Guide
- An Automated Weekly Review with Claude Cowork or ChatGPT Codex
Free AI training courses to download
- Free AI Training: Learn Better with AI – The Methods That Really Work [Download]
- Free AI Training: Microsoft 365 Power User & Copilot Agents: Two AI Courses for M365 [Download]
- Free AI Finance Masterclass: Your Complete AI Stack for Finance [Download]
- Free AI Training: Your AI Coach for Difficult Leadership Situations [Download]
- Free AI Training: Generative AI & Prompt Engineering [Download]
Background and analysis
