来源: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 工作流。
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
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.
macOS — install with Homebrew:
brew install --cask duxweb/tap/codux
如果文章对你有用,欢迎阅读原文并给作者 Star。