Kkagent banner
Ken-u Ken-u

Kkagent

Design community

Description

A lightweight Rust coding agent with a clean terminal UI — a fast, low-memory alternative to Claude Code, Codex CLI, and Kimi Code.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

kkagent

[English](README.en.md) | 简体中文

[![CI](https://github.com/Ken-u/kkagent/actions/workflows/ci.yml/badge.svg)](https://github.com/Ken-u/kkagent/actions/workflows/ci.yml) [![Release](https://github.com/Ken-u/kkagent/actions/workflows/release.yml/badge.svg)](https://github.com/Ken-u/kkagent/actions/workflows/release.yml) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) [![Rust: 1.88+](https://img.shields.io/badge/rust-1.88%2B-orange.svg)](https://www.rust-lang.org/)

用 Rust 实现、面向生产使用的终端 Coding Agent,核心交互与运行时对齐 kimi-code CLI。 TUI 与 Agent Server 可分离,中间走 RPC(默认进程内 memory transport;也支持独立 `server` 模式)。

  • 低内存、高性能
  • 支持 Win / macOS / Linux(x86_64 / arm64)
  • 权限模式:manual / yolo / auto / plan
  • 内置工具:Read / Write / Edit / Grep / Glob / Bash / TodoList / Goal / Task / AskUser / SelectTools / Cron / Web / Media / Skill / Plan
  • 会话、事件、turn 队列和后台 Agent 任务统一持久化到 ~/.kkagent/transcripts.db
  • Bash 系统隔离:Linux Bubblewrap、macOS Seatbelt、Windows Job Object
  • MCP / Skills / Hooks / 插件市场(配置驱动)

快速安装

macOS / Linux(推荐)

curl --proto '=https' --tlsv1.2 -fsSL https://raw.githubusercontent.com/Ken-u/kkagent/main/install.sh | sh

安装器会自动识别 macOS/Linux 与 x86_64/arm64,下载最新 Release 并校验 SHA-256。Linux 默认使用 musl 静态包(`unknown-linux-musl`),无需系统 OpenSSL。`/usr/local/bin` 可写时安装到该目录,否则自动使用 `~/.local/bin`。也可指定目录、版本或 glibc 包:

curl --proto '=https' --tlsv1.2 -fsSLO https://raw.githubusercontent.com/Ken-u/kkagent/main/install.sh
KKAGENT_INSTALL_DIR="$HOME/bin" KKAGENT_VERSION=0.2.0 sh install.sh
KKAGENT_TARGET=x86_64-unknown-linux-gnu sh install.sh

安装完成后会同时安装 `kkagent-update`,以后直接执行该命令即可升级,且会沿用原安装目录。TUI 默认每 24 小时在后台检查一次 GitHub Release;只显示提示,不会自动下载。可在配置中设置 `[ui] check_updates = false` 关闭。

手动下载

从 [GitHub Releases](https://github.com/Ken-u/kkagent/releases/latest) 下载对应平台的 tar.gz / zip,按 `SHA256SUMS` 校验后将 `kkagent` 放到 `PATH` 中即可。

当前发布矩阵:

平台 架构 产物
macOS x86_64 / arm64 kkagent-x86_64-apple-darwin.tar.gz