freshcrate
Skin:/

edgee

Open-source AI gateway written in Rust, with token compression for Claude Code, Codex... and any other LLM client.

Why this rank:Strong adoptionRecent releaseHealthy release cadence

Description

Open-source AI gateway written in Rust, with token compression for Claude Code, Codex... and any other LLM client.

README

Edgee

Open-source LLM gateway written in Rust. Route, observe, and compress your AI traffic.

License Edgee Docs Twitter


Edgee is a lightweight LLM gateway that sits between your application and AI providers. It gives you a single control point for routing, observability, and cost optimization, without changing your existing code.

Think of it as an open-source alternative to LiteLLM or OpenRouter, written in Rust for speed and low resource usage, with a built-in token compression engine that reduces your AI costs automatically.

ai-gateway-horizontal-light

Why Edgee

  • One gateway, any provider — Unified API for Anthropic, OpenAI, and other LLM providers. Switch models without touching your app code.
  • Token compression — Edgee analyzes request context and strips redundancy before it reaches the model. Same output, fewer tokens, lower bill.
  • Real-time observability — See exactly how many tokens you're sending, how many you're saving, and what it costs.
  • Rust-native — Fast startup, minimal memory footprint, no runtime dependencies. Runs anywhere Docker runs.

Install

macOS / Linux (curl)

curl -fsSL https://edgee.ai/install.sh | bash

Homebrew (macOS)

brew install edgee-ai/tap/edgee

Windows (PowerShell)

irm https://edgee.ai/install.ps1 | iex

Installs to %LOCALAPPDATA%\Programs\edgee\. You can override the directory with $env:INSTALL_DIR before running.


Quickstart

Use with AI coding assistants

Edgee can wrap your coding assistant and compress traffic automatically:

# Claude Code
edgee launch claude

# Codex
edgee launch codex

# Opencode
edgee launch opencode

Use as a standalone gateway

Point any OpenAI-compatible client at Edgee:

# Start the gateway
edgee serve

# Your app talks to Edgee instead of the provider directly
export OPENAI_BASE_URL=http://localhost:1207/v1

Features

Token compression

Edgee's compression engine analyzes tool outputs (file listings, git logs, build output, test results) and removes noise before they enter the LLM context. The compression is lossless from the model's perspective — responses are identical, but prompts are leaner.

Multi-provider routing

Route requests across Anthropic, OpenAI, and other providers through a single endpoint. Switch models, load-balance, or failover without code changes.

Usage tracking

Real-time visibility into token consumption, compression savings, and cost per request.


Supported setups

Tool Setup command Status
Claude Code edgee launch claude ✅ Supported
Codex edgee launch codex ✅ Supported
Opencode edgee launch opencode ✅ Supported
Cursor edgee launch cursor 🔜 Coming soon
Any OpenAI-compatible client edgee serve ✅ Supported

Acknowledgments

The token compression engine in Edgee is derived from RTK, created by Patrick Szymkowiak and contributors at rtk-ai Labs. RTK pioneered local tool-output compression for AI coding assistants, and we built on their work to bring the same optimizations to a gateway architecture.

RTK is licensed under the Apache License 2.0. All derived files retain the original copyright notice and are individually marked with a modification history. See LICENSE-APACHE and NOTICE for full details.

If you're looking for a local-first compression tool, check out RTK directly, it's excellent for individual developer workflows.


Contributing

Edgee is Apache 2.0 licensed and we genuinely want your contributions.

git clone https://github.com/edgee-ai/edgee
cd edgee
cargo build

See CONTRIBUTING.md for the full guide. For bigger changes, open an issue first so we can align before you build.


Community

Release History

VersionChangesUrgencyDate
v0.2.7## What's Changed * chore: bump edgee-cli to 0.2.6 by @github-actions[bot] in https://github.com/edgee-ai/edgee/pull/91 * feat(gateway-http): HTTP passthrough endpoints + local-gateway CLI by @KokaKiwi in https://github.com/edgee-ai/edgee/pull/83 * docs: add OSS-ready documentation by @KokaKiwi in https://github.com/edgee-ai/edgee/pull/94 * feat(cli): check for newer release on startup by @CLEMENTINATOR in https://github.com/edgee-ai/edgee/pull/97 * fix(launch): use renamed setSessionGitRepHigh6/4/2026
v0.2.6## What's Changed * feat(cli): edgee alias installs PATH shims for non-interactive shells by @SachaMorard in https://github.com/edgee-ai/edgee/pull/90 **Full Changelog**: https://github.com/edgee-ai/edgee/compare/v0.2.5...v0.2.6High5/11/2026
v0.2.5## What's Changed * chore: bump edgee-cli to 0.2.4 by @github-actions[bot] in https://github.com/edgee-ai/edgee/pull/77 * feat(cli): report CLI version on session start by @NicolasGirardot in https://github.com/edgee-ai/edgee/pull/78 * feat: add --no-statusline flag to edgee launch claude by @CLEMENTINATOR in https://github.com/edgee-ai/edgee/pull/79 * feat(launch/claude): pre-allow mcp__edgee__addSessionCommit by @NicolasGirardot in https://github.com/edgee-ai/edgee/pull/80 * feat(cli): maHigh5/7/2026
v0.2.4## What's Changed * chore: bump edgee-cli to 0.2.3 by @github-actions[bot] in https://github.com/edgee-ai/edgee/pull/74 * docs: document that flags after `launch <agent>` are forwarded by @SachaMorard in https://github.com/edgee-ai/edgee/pull/75 * fix(launch): forward --help to underlying agent binary by @SachaMorard in https://github.com/edgee-ai/edgee/pull/76 **Full Changelog**: https://github.com/edgee-ai/edgee/compare/v0.2.3...v0.2.4High4/24/2026
v0.2.3## What's Changed * Edgee 1308 add claude code status bar showing live compression stats by @NicolasGirardot in https://github.com/edgee-ai/edgee/pull/54 * Bump version to 0.2.2 by @github-actions[bot] in https://github.com/edgee-ai/edgee/pull/59 * ci: switch release workflow to crate-specific tags by @KokaKiwi in https://github.com/edgee-ai/edgee/pull/61 * feat: bootstrap edgee-compression-layer with gateway-core foundation by @KokaKiwi in https://github.com/edgee-ai/edgee/pull/55 * ci: usHigh4/23/2026
v0.2.2Latest release: v0.2.2High4/15/2026
v0.2.1## What's Changed * cleanup commands by @CLEMENTINATOR in https://github.com/edgee-ai/edgee/pull/52 **Full Changelog**: https://github.com/edgee-ai/edgee/compare/v0.2.0...v0.2.1High4/9/2026
v0.2.0## What's Changed * fix: auto-add edgee to PATH on Windows install by @SachaMorard in https://github.com/edgee-ai/edgee/pull/43 * refactor: migrate to cargo workspace with crates/cli structure by @KokaKiwi in https://github.com/edgee-ai/edgee/pull/39 * fix: use plural /sessions/ in console URL path by @NicolasGirardot in https://github.com/edgee-ai/edgee/pull/44 * OpenCode Support by @TeckniX in https://github.com/edgee-ai/edgee/pull/45 * feat: multi-profile support with per-project credentMedium4/9/2026
v0.1.11## What's Changed * Bump version to 0.1.10 by @github-actions[bot] in https://github.com/edgee-ai/edgee/pull/37 * Revise README with updated installation and launch info by @SachaMorard in https://github.com/edgee-ai/edgee/pull/38 * feat: add Windows support by @SachaMorard in https://github.com/edgee-ai/edgee/pull/40 * v0.1.11 by @SachaMorard in https://github.com/edgee-ai/edgee/pull/41 **Full Changelog**: https://github.com/edgee-ai/edgee/compare/v0.1.10...v0.1.11Medium3/30/2026
v0.1.10Release v0.1.10Medium3/26/2026
v0.1.9Release v0.1.9Medium3/25/2026
v0.1.8## What's Changed * Bump version to 0.1.7 by @github-actions[bot] in https://github.com/edgee-ai/edgee/pull/26 * chore: push version bump directly to main via BYPASS_TOKEN by @SachaMorard in https://github.com/edgee-ai/edgee/pull/27 * feat/codex by @CLEMENTINATOR in https://github.com/edgee-ai/edgee/pull/28 * chore: use admin PR merge instead of direct push to main by @SachaMorard in https://github.com/edgee-ai/edgee/pull/29 * Bump version to 0.1.8 by @SachaMorard in https://github.com/edgeMedium3/24/2026
v0.1.7## What's Changed * feat: add auth status command and improve login output by @SachaMorard in https://github.com/edgee-ai/edgee/pull/25 **Full Changelog**: https://github.com/edgee-ai/edgee/compare/v0.1.6...v0.1.7Low3/20/2026
v0.1.6## What's Changed * Bump version to 0.1.5 by @github-actions[bot] in https://github.com/edgee-ai/edgee/pull/21 * fix: allow hyphen values in launch passthrough args by @CLEMENTINATOR in https://github.com/edgee-ai/edgee/pull/22 * feat: add org slug callback by @NicolasGirardot in https://github.com/edgee-ai/edgee/pull/23 ## New Contributors * @CLEMENTINATOR made their first contribution in https://github.com/edgee-ai/edgee/pull/22 **Full Changelog**: https://github.com/edgee-ai/edgee/cLow3/19/2026
v0.1.5## What's Changed * Bump version to 0.1.4 by @github-actions[bot] in https://github.com/edgee-ai/edgee/pull/18 * feat: change session page by @NicolasGirardot in https://github.com/edgee-ai/edgee/pull/19 * Feat/change url by @NicolasGirardot in https://github.com/edgee-ai/edgee/pull/20 **Full Changelog**: https://github.com/edgee-ai/edgee/compare/v0.1.4...v0.1.5Low3/19/2026
v0.1.4## What's Changed * feat: add session info + better by @NicolasGirardot in https://github.com/edgee-ai/edgee/pull/2 ## New Contributors * @NicolasGirardot made their first contribution in https://github.com/edgee-ai/edgee/pull/2 **Full Changelog**: https://github.com/edgee-ai/edgee/compare/v0.1.3...v0.1.4Low3/18/2026
v0.1.3## What's Changed * Bump version to 0.1.2 by @github-actions[bot] in https://github.com/edgee-ai/edgee/pull/14 * Add self-update command by @SachaMorard in https://github.com/edgee-ai/edgee/pull/15 * Bump version to 0.1.3 by @github-actions[bot] in https://github.com/edgee-ai/edgee/pull/16 * Add self-update command by @SachaMorard in https://github.com/edgee-ai/edgee/pull/17 **Full Changelog**: https://github.com/edgee-ai/edgee/compare/v0.1.2...v0.1.3Low3/17/2026
v0.1.2## What's Changed * Bump version to 0.1.1 by @github-actions[bot] in https://github.com/edgee-ai/edgee/pull/12 * chore: install ui improvement by @SachaMorard in https://github.com/edgee-ai/edgee/pull/13 ## New Contributors * @github-actions[bot] made their first contribution in https://github.com/edgee-ai/edgee/pull/12 **Full Changelog**: https://github.com/edgee-ai/edgee/compare/v0.1.1...v0.1.2Low3/17/2026
v0.1.1## What's Changed * Add --version flag to CLI by @SachaMorard in https://github.com/edgee-ai/edgee/pull/9 * Auto-bump Cargo.toml and Cargo.lock version on release by @SachaMorard in https://github.com/edgee-ai/edgee/pull/10 * Fix bump-version: open PR instead of pushing directly to main by @SachaMorard in https://github.com/edgee-ai/edgee/pull/11 **Full Changelog**: https://github.com/edgee-ai/edgee/compare/v0.1.0...v0.1.1Low3/17/2026
v0.1.0## What's Changed * Add EDGEE_CONSOLE_URL and EDGEE_API_URL env var overrides by @SachaMorard in https://github.com/edgee-ai/edgee/pull/1 * Feat/install and ghactions by @SachaMorard in https://github.com/edgee-ai/edgee/pull/3 * Fix release workflow: remove bundled feature flag by @SachaMorard in https://github.com/edgee-ai/edgee/pull/4 * Auto-update Homebrew tap on release by @SachaMorard in https://github.com/edgee-ai/edgee/pull/5 * Fix Windows build: guard Unix-only permissions and HOME Low3/17/2026

Dependencies & License Audit

Loading dependencies...

Similar Packages

hatch3rInstall an agentic coding setup that adds multiple AI agents, skills, and rules to enhance automation across GitHub, Azure DevOps, or GitLab repositories.main@2026-06-04
planoPlano is an AI-native proxy and data plane for agentic apps — with built-in orchestration, safety, observability, and smart LLM routing so you stay focused on your agents core logic.0.4.23
meerkatMeerkat - A modular, high-performance agent harness built in Rust.v0.6.34
zeroclawFast, small, and fully autonomous AI personal assistant infrastructure, ANY OS, ANY PLATFORM — deploy anywhere, swap anything 🦀v0.7.5
ai-orchestratorPortable multi-agent AI developer setup for Claude Code + Ollama. Role-based local LLM orchestration via Bash — plan, code, review, commit. Zero Dependency. Works with any language stack.v1.0.17

More in Infrastructure

tensorzeroTensorZero is an open-source LLMOps platform that unifies an LLM gateway, observability, evaluation, optimization, and experimentation.
planoPlano is an AI-native proxy and data plane for agentic apps — with built-in orchestration, safety, observability, and smart LLM routing so you stay focused on your agents core logic.
modelsThis repository contains comprehensive pricing and configuration data for LLMs. It powers cost attribution for 200+ enterprises running 400B+ tokens through Portkey AI Gateway every day.
patent_mcp_serverFastMCP Server for USPTO data