# Repository Briefing: BigPizzaV3/CodexPlusPlus
> Source: https://repoforai.com/repo/BigPizzaV3/CodexPlusPlus (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/BigPizzaV3/CodexPlusPlus
- **Official Docs / Website**: https://codexpp.cc/
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: Rust
- **License**: AGPL-3.0
- **Engineering Health**: A (86/100 · Maintenance 35/35 · Adoption 20/25 · Releases 20/20 · License 11/20)
- **Latest Release**: v2.9.3 (2026-12-02) — https://github.com/BigPizzaV3/CodexPlusPlus/releases
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: Self-Hosted, MCP
- **Momentum**: 33,502 ★ total (+19 24h / +170 7d) · 2,197 forks
- **When to Use**: Best for: Developers who run several coding agents on one workstation and want shared provider routing, usage diagnostics, and per-agent MCP controls alongside desktop enhancements. Skip if: Native settings already cover one client and one provider, you need an independently operated gateway, or you cannot tolerate desktop enhancements breaking after a client update.

## Overview
```text
### Architecture & Core Mechanics
Codex++ combines a Rust 2024 workspace with a Tauri desktop manager. The workspace separates `codex-plus-core`, `codex-plus-data`, `codex-plus-launcher`, and the manager's `src-tauri` backend; the frontend lives in `apps/codex-plus-manager`, and renderer injection scripts live in `assets/inject`. Manifest dependencies include Tokio, reqwest with streaming, rustls, and system-proxy support, and rusqlite with bundled SQLite and backup support.

The client connection mode determines the request path. In aggregate mode, the client sends requests through the local gateway, which selects an upstream and translates protocols as needed. In supported direct modes, the manager writes provider settings into the client's own configuration instead. Desktop enhancements use launch-time attachment rather than edits to the official installation files. A `codexpp.json` extension package can add UI, commands, and tools exposed via MCP, or attach to tool hooks and gateway request/response handling.

### Key Capabilities & Differentiators
The shared provider pool serves Codex, Claude Code, Claude Desktop, and more than 50 agent integrations, including Gemini CLI, OpenCode, and Zed. The gateway translates among Anthropic, Chat Completions, Responses, and Gemini. It can route by bare model name, pin a provider-qualified model, or select a named group with policies such as round-robin, weighting, quota, or speed. Providers can hold multiple accounts or keys; cooldowns and provider failures can trigger failover. Native Responses WebSocket is conditional: the client must enable `supports_websockets`, and the upstream must support WebSocket.

The manager shows routing decisions, retry status, time to first token, token and cache usage, and estimated costs. It also manages MCP and Skills per agent, imports dsh tool plugins through managed MCP, and consolidates Codex, Claude Code, and Grok sessions for export and other operations. Per-provider Codex instances isolate configuration, sessions, and user data. Cross-agent sharing of desktop and browser control is macOS-only.

### Trade-offs & Limitations
Compared with native agent configuration, Codex++ reduces duplicated provider setup and adds failover and usage visibility, but aggregate clients now depend on the manager's local service. An optional exit setting restores direct mode for supported clients. Compared with a standalone model gateway, Codex++ also owns desktop attachment and session workflows; that is useful on a developer workstation, but the documented lifecycle is not that of an independently operated service. Protocol translation is also a compatibility layer, not a guarantee that every upstream preserves every tool, reasoning, or multimodal feature.

Desktop enhancements depend on client UI structure, CDP, and local data formats, so upstream desktop updates can require adaptation even though installation files are untouched. Back up provider configuration and sessions before changes. Treat extensions with hooks, background processes, or request middleware as executable code: curated installs are pinned to reviewed commits, while community extensions are unreviewed and disabled on installation. AGPL-3.0-only also matters if you distribute the software or give users network access to a modified version.

### Hardware & Deployment Guide
Install the Windows x64 or ARM64 setup package or the universal macOS DMG, add a provider using an API key or a supported subscription login, select a connection mode, and launch Codex from the manager. The gateway is self-hosted on the workstation; that does not make upstream inference offline. The API routing path does not require dedicated GPU capacity. Local sizing depends on active desktop clients, concurrent streams, extensions, and retained data. The v2.9.1 release added Windows ARM64 builds and an Arch Linux local packaging script; the latter is not equivalent to a published Linux installer.

For source validation, install frontend dependencies with `npm ci` in `apps/codex-plus-manager`, then run `npm run check` and `npm run vite:build`. The Rust workspace provides `cargo test` and `cargo build --release` from the root. After changing renderer injection fragments, regenerate the artifact with `node scripts/assemble-renderer-inject.mjs`. The v2.9.2 release fixed protocol conversion problems including duplicate outbound tool calls and reasoning items. The v2.9.3 release improved provider attribution for late-arriving usage records and stopped reading MCP configuration for hidden agents.
```

## Key Capabilities
```text
- Routing: Bare model names pool enabled providers; provider-qualified names pin an upstream; named groups apply explicit routing policies.
- Protocol bridge: Translates among Anthropic, Chat Completions, Responses, and Gemini; native Responses WebSocket needs support at both ends.
- Configuration lifecycle: Backs up agent configuration before gateway integration and restores only the settings it changed on disconnect.
- Extension surface: codexpp.json packages can contribute UI, MCP tools, lifecycle hooks, background services, and gateway middleware.
- Observability: Per-request status, retry, time-to-first-token, cache, and estimated cost complement breakdowns by agent, provider, and model.
- Desktop isolation: Runs separate Codex instances per provider identity with independent configuration, sessions, and user-data directories.
```

## Quick Start / Clone
```bash
# 前端检查（先在 apps/codex-plus-manager 安装项目依赖）
cd apps/codex-plus-manager
npm ci
npm run check
npm run vite:build

# Rust 检查（回到仓库根目录）
cd ../..
cargo fmt --all -- --check
cargo test
cargo build --release
```
