Skip to content

Latest commit

 

History

History
94 lines (70 loc) · 2.79 KB

index.md

File metadata and controls

94 lines (70 loc) · 2.79 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

Supported environments

CodeGate supports several development environments and AI providers.

AI coding assistants / IDEs:

  • GitHub Copilot with Visual Studio Code (JetBrains coming soon!)

  • 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:
      • OpenRouter
      • Anthropic
      • OpenAI
  • Aider with Ollama and OpenAI-compatible APIs

  • Cline with Visual Studio Code

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

As the project evolves, we plan to add support for more IDE assistants and AI model providers.

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: