Kun

Local-first AI agent workspace for coding, writing, design, research, and automation — one runtime for desktop GUI and TUI.

What is Kun?

Local-first AI agent workspace for coding, writing, design, research, and automation — one runtime for desktop GUI and TUI.

Overview of Kun

What it is

Kun is a local-first AI agent workspace that runs as a desktop application. It provides a unified runtime for coding, writing, design, research, and automation, supporting both GUI and TUI modes. Sessions, memory, and settings remain on the local machine, and users connect their own AI models.

Key features

  • Code / Design: Integrates project management, terminal, Git, and diff. Design canvas allows comparing multiple screens, states, and plans before implementation.
  • Work / Papers: Organizes conversations and files with tabs, split-view, and inline text actions (rewrite, expand, quote). Dedicated paper library for imports, reading, notes, and related sessions.
  • Conversation / Agent Collaboration: Chat with personal agents, Codex, Claude Code, OpenCode individually or in groups. Assign tasks to agents and track progress.
  • Reports / Artifacts: Generate reports with metrics, charts, and explanations from actual data; save to artifact library with thumbnails.
  • Connections / Extensions: Unified management of GitHub, Gmail connections; extend workflows via MCP/Skills, Loops, and Extension platform. Local model gateway reuses provider configuration.
  • Additional features: reminders, scheduled tasks, storage management, terminal TUI, remote access from phone, Kun account, and wardrobe.

Use cases

  • Coding projects: manage code, terminal, Git changes, and agent-assisted implementation.
  • Document and paper processing: read, annotate, and analyze papers; rewrite or expand selected text.
  • Design exploration: compare multiple design states and plans on a canvas before coding.
  • Task automation: set up reminders, scheduled tasks, and agent workflows.
  • Research: organize papers, notes, and conversations in a dedicated library.

Getting started

  1. Download and install from Releases for your platform (macOS .dmg/.zip, Windows .exe, Linux .AppImage/.deb).2. On first launch, connect a model by entering an API key or logging into an existing subscription. Supports OpenAI/Anthropic compatible APIs and local models.3. Open a project folder for Code, or drag materials into Work. Agents will ask for confirmation before acting.To run from source (Node.js 22.19+):bashgit clone --branch develop https://github.com/KunAgent/Kun.gitcd Kun && npm ci && npm run devFor TUI mode: keep the desktop app running and use kun --no-start in the project directory, or run kun standalone after quitting the desktop app.

License and pricing

Kun is open source under the PolyForm Noncommercial 1.0.0 license, which permits learning, research, and non-commercial use only. Commercial use, hosting services, or integration into commercial products requires separate written authorization from the author.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/kunagentkun.svg)](https://yunodb.com/tools/kunagentkun?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/kunagentkun?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/kunagentkun.svg" alt="Featured on YunoDB" height="20"></a>