Skip to content

Latest commit

 

History

History
110 lines (80 loc) · 3.67 KB

index.md

File metadata and controls

110 lines (80 loc) · 3.67 KB
title description sidebar_position
Introduction
CodeGate is the local, open source prompt gateway that keeps your secrets safe and your code secure.
1

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.

sequenceDiagram
    participant Client as AI coding<br>assistant
    participant CodeGate as CodeGate<br>(local)
    participant LLM as AI model<br>(remote)

    Client ->> CodeGate: Prompt
    activate CodeGate
    CodeGate ->> LLM: Enhanced prompt
    deactivate CodeGate
    activate LLM
    LLM -->> CodeGate: Response
    deactivate LLM
    activate CodeGate
    CodeGate -->> Client: Response
    deactivate CodeGate
Loading

Key features

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

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: