Edgee is an Agent Gateway: it sits between coding agents and large model providers, intercepting, routing, compressing, metering, and protecting every request, with no changes needed to project code and no changes to how agents work. This repository provides the edgee command-line tool; after installing and logging in, you can start coding agents. The production gateway (routing, compression, metering, billing, observability) is operated by Edgee, is not built from this repository, and self-hosting it here is not supported.
Main capabilities: intelligent routing and budgeting—send tasks to the appropriate model, automatically fall back when the primary model errors or is rate-limited, and mid-task reroute work that no longer needs an expensive model to cheaper open-weight models; visibility—track token cost and usage by developer, repository, PR, model, and environment; token compression—tool output (file lists, build logs, test results, etc.) is trimmed on the gateway side before reaching the model; plug-and-play for coding agents—edgee launch claude (or edgee alias) points the agent to Edgee, compatible with various provider plans (including consumer subscriptions); a Rust-native CLI, supporting macOS, Linux, and Windows, with fast installation and a small size.
Usage: install by platform (curl on macOS/Linux, Homebrew on macOS, PowerShell on Windows; on Windows it installs by default to %LOCALAPPDATA%\Programs\edgee, and can be overridden with $env:INSTALL_DIR). After installation, log in and start coding agents. Extra arguments after a subcommand are forwarded to the underlying agent. Sessions can be rerouted at startup, controlled with --reroute-from, --reroute-provider, --reroute-duration (1 to 1440 minutes); by default all source models are rerouted for 60 minutes, and normal routing resumes after expiration. edgee alias can install aliases or launchers for CLI agents and desktop apps.
Supported scope and limitations: supports Claude Code, Codex, Cursor, VS Code + Copilot, GitHub Copilot CLI, Claude Desktop, the ChatGPT desktop app, etc., but the two desktop chat apps only route their coding features, not chat features. Cursor must be fully quit before starting; Codex requires keeping the terminal open. On macOS, some features require a one-time certificate trust on first launch. Session rerouting is currently not supported by the Cursor launcher. Specific costs, compression effects, and other materials are not provided; please refer to the official sources.