If you want an open-source AI coding assistant you can run yourself, Refact is a good option. It offers fast code completion and code refactoring tools, too, along with chat built into the interface. Refact is designed to protect privacy with customizable settings and self-hosted options. It's designed to work within IDEs, which can improve productivity and flexibility without sacrificing security.
Another option is CodeComplete, which offers a self-hosted version with enterprise features. It offers tools to generate code, automatically document it and refactor it. CodeComplete protects data and code with self-hosted options, and it's a good option for individuals and enterprises.
Tabby is another option. It's an open-source tool that lets you easily set up LLM-powered code completion servers. Tabby is written in Rust for high speed and security, and it can be self-hosted with TOML configuration files. It works with several IDEs and supports a variety of hosting options, so it should be adaptable to your development environment.
If you want a tool with a strong software security focus, Metabob is worth a look. It uses graph-attention networks and generative AI to help with code review, refactoring and debugging. Metabob can be self-hosted, and it integrates with common development tools to improve software quality and security. With customizable bug detection models and full-time support for enterprise customers, it's a good option for developers.