Codewhale logo
Codewhale
★ 41.1k
vs
Kun logo
Kun
★ 6.3k

Codewhale vs Kun

Codewhale: Codewhale is an open-source coding agent for the terminal, written in Rust, that reads the repository, edits files and runs commands until a task is done. It ships more than 40 built-in providers plus any OpenAI-compatible endpoint and local runtimes like Ollama, vLLM and SGLang, defaulting to DeepSeek. Plan, Work and Operate modes combine with Ask, Auto-Review and Full Access permissions; /receipts lists files changed, commands run and web/MCP calls, and /undo and /restore roll work back.; Kun: Kun is a local-first desktop AI workspace where code, documents and agent chats share one local runtime, with sessions, memory and settings kept on your machine. It has Code and Work modes, a design canvas, chats and group rooms with Codex, Claude Code and OpenCode, and a terminal TUI on the same kun serve runtime.

01

TL;DR

Codewhale logo
CodewhaleCode Assistant · ★ 41.1k

A terminal coding agent on cheaper or local models

Kun logo
KunCode Assistant · ★ 6.3k

Hand a project folder to a local coding agent with approvals

02

Side-by-Side Comparison

Field
Codewhale logoCodewhale
Kun logoKun
Category
Code Assistant
Code Assistant
Stars
★ 41.1k
★ 6.3k
License
MIT
NOASSERTION
Install Command
curl -fsSL https://codewhale.net/install.sh | sh
—
Updated
1d ago
1d ago
Open Source
Yes
Yes
Tags
coding-agent, terminal, rust
desktop-agent, local-first, coding-agent
03

Features

Codewhale logoCodewhale
0140+ built-in providers, any OpenAI-compatible endpoint, and local models via Ollama, vLLM or SGLang
02Plan, Work and Operate modes with Ask, Auto-Review and Full Access permissions
03/receipts audit trail of files, commands, web and MCP calls and approvals
04/undo and /restore to roll back a request or the whole workspace
05codewhale exec for headless runs in scripts and CI, with an optional workspace sandbox
Kun logoKun
01Code mode with project, terminal, Git and diff in one place
02Work mode for documents, papers and research material
03Private chats and group rooms with Codex, Claude Code and OpenCode
04Tools, directories and permissions require approval by default
05Provider presets for DeepSeek, Kimi, GLM, Qwen and Ollama
04

Use Cases

Codewhale logoCodewhale
↳A terminal coding agent on cheaper or local models
↳Fixing failing tests or refactoring with an audit trail of what changed
↳Running agent tasks in CI with codewhale exec
Kun logoKun
↳Hand a project folder to a local coding agent with approvals
↳Organize papers and documents with an assistant
↳Coordinate several coding agents in one chat room
05

Best For

Codewhale logoCodewhale
Most Popular
Kun logoKun
—
FAQ

FAQ

What is the difference between Codewhale and Kun?
Both Codewhale and Kun are in the Code Assistant category. Codewhale has 41.1k stars, while Kun has 6.3k stars.
Which is better, Codewhale or Kun?
The best choice depends on your use case. Choose Codewhale if A terminal coding agent on cheaper or local models, and Kun if Hand a project folder to a local coding agent with approvals.
Is Codewhale free or open source?
Yes, Codewhale is open source on GitHub (MIT).
Is Kun free or open source?
Yes, Kun is open source on GitHub (NOASSERTION).
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
→

Related