Codux:为 AI 编程而生的高性能终端
来源:GitHub 仓库 duxweb/codux
⭐ 195 | 语言:Rust | License:GNU General Public License v3.0
⬛ A native connected terminal for AI agent development. 为 AI Agent 开发而生的原生互联终端。
项目简介
Codux 是一款面向 AI Agent 开发的高性能原生终端,基于 Rust + GPUI 构建。它把 Codex、Claude Code 等 8+ AI 编程 CLI 统一到一个工作空间里,提供实时 Agent 状态、Token 分析、本地记忆、凭证隔离的 SSH/数据库访问,以及加密设备链路来接管长时间运行的 Agent 工作流。
核心能力
- 多 CLI 统一:集中管理 Codex、Claude Code 等主流 AI 编程 CLI。
- 实时 Agent 状态:查看当前 Agent 运行状态,避免黑箱。
- Token 分析:记录和统计各 CLI 的 Token 消耗。
- 本地记忆:本地存储上下文,提高连续任务效率。
- 凭证隔离:SSH 和数据库访问与主环境隔离,降低安全风险。
- 加密设备链路:可在手机/桌面/服务器之间接管长时间运行的 Agent 会话。
仓库信息
- GitHub:https://github.com/duxweb/codux
- Stars:195
- 主要语言:Rust
- License:GNU General Public License v3.0
README 摘要
Codux
The high-performance AI coding terminal — desktop, phone, and server, one workspace
Built with Rust + GPUI, Codux unifies Codex, Claude Code, and 8+ AI coding CLIs with live agent status, token analytics, local memory, credential-isolated SSH & database access, and encrypted device links for taking over long-running agent work from anywhere.
Website ·
Docs ·
Download ·
Mobile ·
Contact ·
Feedback

https://github.com/user-attachments/assets/cabf21a9-8649-4e65-9e8a-db27ccaccdf3
Why Codux
AI coding CLIs are incredibly powerful — and incredibly easy to lose control of. Real work sprawls across projects, Git worktrees, terminals, sessions, tokens, remote shells, and context you half-remember. Codux turns that chaos into one durable, native workspace built for serious AI coding.
| When AI coding gets messy | Codux gives you |
|---|---|
| Every AI CLI has its own state | One project-aware view across Codex, Claude Code, OpenCode, Kiro CLI, Kimi Code, CodeWhale, MiMo Code, and Agy. |
| Long agent runs are hard to resume | Live status, local history, session restore, and context that follows each worktree. |
| Parallel tasks collide | A worktree-first model where every task keeps its own terminals, Git state, files, and AI sessions. |
| Token spend is a black box | Usage by tool, model, project, worktree, and day — no spreadsheets. |
| Context evaporates between sessions | Local memory for habits, project profiles, and module notes, injected back into supported CLIs automatically. |
| Credentials end up in prompts | Saved, tested SSH and database profiles, plus codux-ssh / codux-db commands agents can use without ever seeing your credentials. |
| You walk away mid-run | Pair your phone over P2P / relay links and keep driving the session from anywhere. |
| The code lives on another machine | Connect a headless host — a server, spare Mac, or Linux box — and drive its terminals, Git, and AI as if they were local. |
Codux is not another editor. It’s the control plane for developers who live in AI coding CLIs and need a rock-solid way to run multi-project, long-running agent work.
Quick Start
macOS — install with Homebrew:
1 | brew install --cask duxweb/tap/codux |
如果文章对你有用,欢迎阅读原文并给作者 Star。
- 标题: Codux:为 AI 编程而生的高性能终端
- 作者: lxiol
- 创建于 : 2026-07-07 00:00:00
- 更新于 : 2026-07-07 19:49:37
- 链接: https://blog.lxiol.cn/2026/07/07/codux-ai-coding-terminal/
- 版权声明: 本文章采用 CC BY-NC-SA 4.0 进行许可。