Skip to main content

Introduction

What is CodeGate?

CodeGate is a local prompt gateway that sits between your AI coding assistant and LLM to enhance privacy and security. CodeGate performs code security reviews, identifies vulnerabilities in package dependencies, and prevents sensitive data like secrets from being shared with AI models.

Key features

CodeGate includes several key features for privacy, security, and coding efficiency, including:

  • Secrets PII redaction to protect your sensitive credentials and anonymize personally identifiable information
  • Dependency risk awareness to update the LLM's knowledge of malicious or deprecated open source packages
  • Model muxing to quickly select the best LLM provider/model for your current task
  • Workspaces to organize and customize your LLM interactions

Supported environments

CodeGate supports several development environments and AI providers.

AI coding assistants / IDEs:

  • Aider with Ollama and OpenAI-compatible APIs

  • avante.nvim (Neovim plugin) with OpenAI

  • Cline in Visual Studio Code

    CodeGate supports Ollama, Anthropic, OpenAI and compatible APIs, OpenRouter, and LM Studio with Cline

  • Continue with Visual Studio Code and JetBrains IDEs

    CodeGate supports the following AI model providers with Continue:

    • Local / self-managed: Ollama, llama.cpp, vLLM
    • Hosted: Anthropic, OpenAI and compatible APIs, and OpenRouter
  • GitHub Copilot with Visual Studio Code (JetBrains coming soon!)

  • Kodu / Claude Coder in Visual Studio Code with OpenAI-compatible APIs

  • Open Interpreter with OpenAI-compatible APIs

We're continuing to add more AI assistants/agents and model providers based on community feedback.

How to get involved

CodeGate is an open source project. To view the code, contribute, or report an issue, please visit the CodeGate GitHub repository.

We are eager to gather feedback to help shape the future direction of the project. Please join us in the #codegate channel on the Stacklok community Discord server.

Next steps

Follow one of the the quickstart guides to get up and running quickly:

Review the installation instructions.

Learn more about CodeGate's features: