AI-assisted coding that keeps source code in-house

Cloud coding agents send part or all of your code to the provider's servers for processing. Depending on a client's confidentiality agreement or your internal rules, this may not be allowed. As a result, the speed of development is starting to differ greatly between projects that can use AI and projects that cannot.
Coding models you can run in-house
In 2025, open-weight models for coding that are usable commercially became plentiful. Examples are Alibaba's Qwen3-Coder and OpenAI's gpt-oss. If you load one onto an in-house GPU server with vLLM, Ollama or llama.cpp and expose it as an OpenAI-compatible API, tools such as Cline, Continue and Aider can use it as is.
Do not expect too much
Honestly, models of a size you can run in-house still fall short of the top cloud models. They suit tasks with a clear scope, such as completion, writing tests, small fixes and explaining code, more than handing over a large design change.
So splitting the work is more realistic than moving everything to local. Decide per repository: repositories that cannot leave the company use the local model, and published code or internal tools use cloud services.
What to decide before introducing it
- The languages and repository size you target. They change the context length and GPU memory you need
- The number of developers using it at once. It affects the number and configuration of inference servers
- How generated code is handled. It goes through the same CI and review whether or not AI wrote it
The sure way is to start with a small setup, have one team try it, confirm which tasks it helps with, and then expand.
Related services
- Local LLMs and AI in closed networks: model selection and building the inference platform
- AI-first development process and in-house capability: introducing coding agents and quality gates
We cover how to check the quality of generated code in Who checks the code AI writes?.
Develop with AI, without sending code out.
Talk to us about model selection, inference server configuration and how to split work with cloud services.
