Skip to content

stacklok/codegate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
CodeGate logo

CI | License: Apache 2.0 | Discord


Introduction

Animated gif of CodeGate detecting a malicious package in a Continue AI chat

CodeGate is a local gateway that makes AI coding assistants safer. CodeGate ensures AI-generated recommendations adhere to best practices, while safeguarding your code's integrity, and protecting your individual privacy. With CodeGate, you can confidently leverage AI in your development workflow without compromising security or productivity. CodeGate is designed to work seamlessly with coding assistants, allowing you to safely enjoy all the benefits of AI code generation.

CodeGate is developed by Stacklok, a group of security experts with many years of experience building developer friendly open source security software tools and platforms.

Check out the CodeGate website and documentation to learn more.

Experimental ๐Ÿšง

CodeGate is in active development and subject to rapid change.

  • Features may change frequently
  • Expect possible bugs and breaking changes
  • Contributions, feedback, and testing are highly encouraged and welcomed!

โœจ Why CodeGate?

In today's world where AI coding assistants are becoming ubiquitous, security can't be an afterthought. CodeGate sits between you and AI, actively protecting your development process by:

  • ๐Ÿ”’ Preventing accidental exposure of secrets and sensitive data
  • ๐Ÿ›ก๏ธ Ensuring AI suggestions follow secure coding practices
  • โš ๏ธ Blocking recommendations of known malicious or deprecated libraries
  • ๐Ÿ” Providing real-time security analysis of AI suggestions

๐ŸŒŸ Features

Supported AI coding assistants and providers

CodeGate works with multiple development environments and AI providers.

  • GitHub Copilot with Visual Studio Code and JetBrains IDEs

  • Continue with Visual Studio Code and JetBrains IDEs

With Continue, you can choose from several leading AI model providers:

๐Ÿ”ฎ Many more on the way!

With Aider, you can choose from two leading AI model providers:

With Cline, you can choose between differnet leading AI model providers:

Privacy first

Unlike E.T., your code never phones home! ๐Ÿ›ธ CodeGate is designed with privacy at its core:

  • ๐Ÿ  Everything stays on your machine
  • ๐Ÿšซ No external data collection
  • ๐Ÿ” No calling home or telemetry
  • ๐Ÿ’ช Complete control over your data

๐Ÿš€ Quickstart

Check out the quickstart guides to get up and running quickly!

๐ŸŽฏ Usage

IDE integration

Simply open the Continue or Copilot chat in your IDE to start interacting with your AI assistant - now protected by CodeGate!

Continue chat in VS Code

Refer to the CodeGate docs for more information:

๐Ÿ› ๏ธ Development

Check out the developer reference guides:

๐Ÿค Contributing

We welcome contributions! Whether it's bug reports, feature requests, or code contributions, please feel free to contribute to making CodeGate better.

Start by reading the Contributor Guidelines.

๐Ÿ“œ License

This project is licensed under the terms specified in the LICENSE file.