---
title: kxen
description: 面向复杂软件工程任务的本地 Coding Agent Harness，桌面覆盖 macOS、Windows、Linux，也可经浏览器访问。
---

kxen 是一个面向复杂软件工程任务的 Coding Agent Harness。它让用户在一个本地应用或浏览器中组织工作目录、会话、模型、目标、Agent 执行过程和可重复运行的独立 Bot。

当前版本是开发预览。安装包已在 GitHub Releases 公开，桌面应用内置自动更新。

## 下载

下载链接指向 GitHub Releases 的稳定 asset，始终解析到最新版本。

### Headless CLI 快速安装

安装器自动识别系统与架构，默认同时安装 kxen 无头 server 和 kxen-agent，不安装桌面 App。

macOS 和使用 glibc 的 Linux:

```bash
curl --proto '=https' --tlsv1.2 -fsSLo install-kxen.sh https://kxen.ai/install.sh
bash install-kxen.sh
```

Windows PowerShell:

```powershell
Invoke-WebRequest https://kxen.ai/install.ps1 -OutFile install-kxen.ps1
.\install-kxen.ps1
```

保存到文件执行时，安装器会先用 GitHub 仓库维护的 SHA-256 sidecar 校验自身。只安装 server 或 agent、固定版本、自定义目录、PATH 和完整性规则见 [CLI 安装](https://kxen.ai/getting-started/cli-installation)。

桌面应用:

- macOS： [Apple Silicon](https://github.com/StringKe/kxen/releases/latest/download/kxen-macos-aarch64.dmg) / [Intel](https://github.com/StringKe/kxen/releases/latest/download/kxen-macos-x86_64.dmg)。DMG 经 Developer ID 签名和 Apple 公证，打开后把 Kxen.app 拖入「应用程序」。需要 macOS 14 及以上版本。
- Windows： [x64](https://github.com/StringKe/kxen/releases/latest/download/kxen-windows-x86_64-setup.exe) / [ARM64](https://github.com/StringKe/kxen/releases/latest/download/kxen-windows-aarch64-setup.exe)。安装包暂未做 Authenticode 签名，SmartScreen 提示时选择 More info -> Run anyway。
- Linux x86_64： [AppImage](https://github.com/StringKe/kxen/releases/latest/download/kxen-linux-x86_64.AppImage) / [deb](https://github.com/StringKe/kxen/releases/latest/download/kxen-linux-x86_64.deb)。
- Linux ARM64： [AppImage](https://github.com/StringKe/kxen/releases/latest/download/kxen-linux-aarch64.AppImage) / [deb](https://github.com/StringKe/kxen/releases/latest/download/kxen-linux-aarch64.deb)。

kxen 无头 server（在服务器或本机运行后用浏览器访问全部功能）:

- macOS： [Apple Silicon](https://github.com/StringKe/kxen/releases/latest/download/kxen-macos-aarch64.tar.gz) / [Intel](https://github.com/StringKe/kxen/releases/latest/download/kxen-macos-x86_64.tar.gz)。
- Linux： [x86_64](https://github.com/StringKe/kxen/releases/latest/download/kxen-linux-x86_64.tar.gz) / [ARM64](https://github.com/StringKe/kxen/releases/latest/download/kxen-linux-aarch64.tar.gz)。
- Windows： [x64](https://github.com/StringKe/kxen/releases/latest/download/kxen-windows-x86_64.zip) / [ARM64](https://github.com/StringKe/kxen/releases/latest/download/kxen-windows-aarch64.zip)。

kxen-agent 独立 autonomous CLI（不启动 server，适合本地终端、CI 和 worker）:

- macOS： [Apple Silicon](https://github.com/StringKe/kxen/releases/latest/download/kxen-agent-macos-aarch64.tar.gz) / [Intel](https://github.com/StringKe/kxen/releases/latest/download/kxen-agent-macos-x86_64.tar.gz)。
- Linux： [x86_64](https://github.com/StringKe/kxen/releases/latest/download/kxen-agent-linux-x86_64.tar.gz) / [ARM64](https://github.com/StringKe/kxen/releases/latest/download/kxen-agent-linux-aarch64.tar.gz)。
- Windows： [x64](https://github.com/StringKe/kxen/releases/latest/download/kxen-agent-windows-x86_64.zip) / [ARM64](https://github.com/StringKe/kxen/releases/latest/download/kxen-agent-windows-aarch64.zip)。

每个版本附带 SHA256SUMS 和 updater 签名，可用于校验下载产物。全部 asset 与历史版本见 [GitHub Releases](https://github.com/StringKe/kxen/releases/latest)。

## 产品文档

- [产品概览](https://kxen.ai/overview/)
- [开始使用](https://kxen.ai/getting-started/)
- [Web 模式](https://kxen.ai/getting-started/web-mode)
- [Workspace](https://kxen.ai/workspace/workspace/)
- [Session 与对话分支](https://kxen.ai/workspace/session/)
- [模型与 Provider](https://kxen.ai/models/)
- [Agent 与任务](https://kxen.ai/agent/)
- [Bots](https://kxen.ai/bots/)
- [知识与定制](https://kxen.ai/knowledge/)
- [集成能力](https://kxen.ai/integrations/)
- [恢复与隔离](https://kxen.ai/recovery/)
- [参考手册](https://kxen.ai/reference/)
- [核心概念](https://kxen.ai/concepts/)
- [DCP](https://kxen.ai/concepts/dcp)
- [kxen-agent](https://kxen.ai/agent-cli/)

## 稳定边界

- 桌面平台覆盖 macOS（Apple Silicon 和 Intel）、Windows（x64 和 ARM64）、Linux（x86_64 和 ARM64）;kxen 无头 server 覆盖同样的六个平台。
- 应用形态是 Tauri 2 桌面应用、kxen 无头 server 和独立的 kxen-agent CLI；桌面 webview 与浏览器是同一内嵌服务的两个平等客户端，经同一个 /ws 端点使用全部功能。当前不提供 TUI 或公开 HTTP API。
- Rust 后端拥有运行状态，SolidJS 前端负责交互和呈现。
- 所有模型调用进入统一资源管理层。
- 高风险工具调用在执行层统一审批或拒绝。
- 每个 Bot 使用自己的受限 self-builder 对话、独立 revision、permission snapshot、Run 和 Recovery；Bot-to-Bot 不合并成员权限。
- 对话分支隔离 Session 历史、队列、运行和草稿，但共享 Workspace 当前文件；文件实验使用 Worktree 隔离。
- 文件删除进入废纸篓，不直接执行不可恢复删除。
