Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Readme requires update #1158

Merged
merged 3 commits into from
Mar 2, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
124 changes: 44 additions & 80 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,54 +21,35 @@

---

# CodeGate: AI Development environments simplified.
# CodeGate: Security, Workspaces and Muxing for AI Applications, coding assistants, and agentic frameworks.

**From [Stacklok](https://stacklok.com)**
**By [Stacklok](https://stacklok.com)**

CodeGate is the ultimate toolkit for developers using coding assistants to build AI applications. It streamlines multi-environment workflows, enabling you to consume AI with confidence from development to production. It empowers ongoing AI application management by optimizing model routing, prompt tracking and security enforcement, ensuring privacy, compliance, and robust operational integrity.
CodeGate is an agent designed to make AI applications, coding assistants and agentic frameworks, safer and easier to consume and manage. It provides a centralized, abstracted environment for managing prompts, model provider configurations, model muxing, and more. Additionally, CodeGate offers security analysis of AI-generated code, ensuring that recommendations follow best practices and safeguard your code's integrity.

---

## CodeGate Architecture
With CodeGate, you can configure all your AI coding assistants and agents to use a single workspace
and benefit from a unified view of all the interactions between your AI coding assistants and your
models.

<picture>
<source media="(prefers-color-scheme: dark)" srcset="./static/diagram-dark.png">
<img alt="CodeGate dashboard" src="./static/diagram-light.png" width="1100px" style="max-width: 100%;">
</picture>

---
## ✨ Why choose CodeGate?

## 🚀 Why Developers Love CodeGate

AI unlocks new levels of productivity, but you need to use consume
with confidence. CodeGate helps you do just that, by providing a suite of
features that make AI development safe and efficient.

### Key Features

- **Workspaces**: Organize and personalize your AI tooling and environments.
- **Prompt & Alert History**: Track AI suggestions and security insights in one place.
- **Model Muxing**: Switch seamlessly between AI models per project or route
specfic file types to a particular model or provider.
- **Custom Instructions**: Tailor your AI’s behavior to match your coding style,
by providing custom prompts or instructions per project or workspace.
- **Prompt Database**: Leverage a growing collection of developer-contributed
prompts or create and store your own, to make them available across all your
projects and workspaces.

🔒 Built-in Security, Zero Effort
AI coding assistants are powerful, but they can inadvertently introduce risks and configurations
can sprawl across multiple IDE extensions, plugins and agent systems. CodeGate simplifies the management of AI model and provider configurations and provides additional features to help you keep your development process safe.

- **Secrets Protection**: Prevent sensitive data from leaking to AI cloud
service providers.
- **Malicious Package Detection**: Block risky dependencies before they reach
your code, using Stackloks free AI / ML inteligence threat detection pipeline.
- **Command Execution Monitoring**: Stop AI-generated shell commands from running
unsafe actions within your agent or coding assistant.
- **PII Protection**: Prevent personally identifiable information from being
exposed to AI cloud service providers, such as credit card numbers,
social security numbers, and more.
- 🌐 Centralize and manage all your AI coding assistants in one place
- 🔄 Mux / Route prompts to different AI models based on workspaces or file types
- 🔑 Centrally configure and manage your provider credentials and API keys
- 🛡️ Protect your development process from accidental exposure of secrets and sensitive personal data to the cloud
- 🔒 Ensure that the recommendations provided by your AI coding assistants follow secure coding practices
- 🚫 Prevent malicious or deprecated libraries from being recommended to you by an LLM

---

## 🚀 Quickstart

### Prerequisites
Expand Down Expand Up @@ -106,11 +87,8 @@ documentation.

CodeGate includes a web dashboard that provides:

- **Manage workspaces** and AI model / provider routing rules.
- **Track security risks** detected by CodeGate.
- **Manage project prompts** and apply them across all your projects and
workspaces.
- **History of interactions** between your AI coding assistant and your LLM.
- A view of **security risks** detected by CodeGate
- A **history of interactions** between your AI coding assistant and your LLM

<picture>
<source media="(prefers-color-scheme: dark)" srcset="./static/dashboard-dark.webp">
Expand All @@ -128,55 +106,33 @@ To learn more, visit the
---
## 🔐 Features

### Workspaces

<picture>
<source media="(prefers-color-scheme: dark)" srcset="./static/workspace-light.png">
<img alt="CodeGate logo" src="./static/workspace-dark.png" width="800px" style="max-width: 100%;">
</picture>

Workspaces are a way to organize your AI tooling and environments. You can
create multiple workspaces to switch between them as needed.

Workspaces can be used to:

- Switch between different AI models or providers.
- Apply different prompts or instructions to different projects.
- Isolate projects by applying different settings or rules.

Workspaces are then available within all the different AI coding assistants
and tools that CodeGate supports (i.e. Aider, Cline, Continue, Copilot, Open-Interpreter, etc.)

### Prompt Database

<picture>
<source media="(prefers-color-scheme: dark)" srcset="./static/prompts-light.png">
<img alt="CodeGate logo" src="./static/prompts-dark.png" width="800px" style="max-width: 100%;">
</picture>
### Workspace management

The Prompt Database is a collection of prompts that you can use across all your
projects and workspaces. You can also contribute your own prompts to the
database.
CodeGate allows you to create workspaces, each with its own set of AI
models, configurations, prompts and chat history to help you manage your AI application
and development environment more effectively. [Learn more](https://docs.codegate.ai/features/workspaces)

### Model Muxing

<picture>
<source media="(prefers-color-scheme: dark)" srcset="./static/mux-light.png">
<img alt="CodeGate logo" src="./static/mux-dark.png" width="800px" style="max-width: 100%;">
</picture>

CodeGate lets you route traffic between multiple AI models using a configurable
model muxer. This feature is useful when you want to use different models for
different purposes, such as code generation, summarization, documentation, etc.
[Learn more](https://docs.codegate.ai/features/model-muxing)

Model Muxing is a feature that allows you to route different workspaces or
to different AI models or providers, even down the level of a single file.


### Secrets encryption
### Secrets Redaction

CodeGate helps you protect sensitive information from being accidentally exposed
to AI models and third-party AI provider systems by redacting detected secrets
from your prompts using encryption.
from your prompts.
[Learn more](https://docs.codegate.ai/features/secrets-encryption)

### Personal Identifiable Information (PII) detection and redaction

CodeGate helps you protect personal data from being accidentally exposed to AI
models and third-party AI provider systems by redacting detected PII from your prompts.

Should CodeGate sense that a prompt contains PII, such as credit card numbers, social security numbers, or other sensitive information, it will automatically redact the PII from the prompt before sending it to the AI model, to then unredact the response before sending it back to the client.

### Dependency risk awareness

LLMs’ knowledge cutoff date is often months or even years in the past. They
Expand Down Expand Up @@ -231,6 +187,14 @@ or potential vulnerabilities to help you adopt more secure coding practices.
- The Copilot plugin works with **Visual Studio Code (VS Code)** (JetBrains is
coming soon!)

### OpenIntepreter

- **Local / self-managed:**
- Ollama
- **Hosted:**
- Anthropic
- OpenAI and compatible APIs

---
## 🛡️ Privacy first

Expand Down Expand Up @@ -284,4 +248,4 @@ Start by reading our

Made with [contrib.rocks](https://contrib.rocks).

<!-- markdownlint-disable-file first-line-heading no-inline-html -->
<!-- markdownlint-disable-file first-line-heading no-inline-html -->