# KunAgent/Kun

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

Repository: https://github.com/KunAgent/Kun
Canonical: https://ross.abutalabs.com/products/kun
Homepage: https://www.kun-agent.com
Language: TypeScript
License: NOASSERTION
License Family: other
Topics: agentic-workflow, ai-agent, ai-assistant, ai-design, automation, coding-agent, deepseek, desktop-app, electron, llm, local-first, mcp, multi-agent, openai-compatible, productivity, react, tui, typescript, writing-assistant
Last push: 2026-08-26T14:22:48+00:00

## Health v2 (maintenance only)
Score: 80/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 98, longevity 7
- inputs: {"age_days": 104, "days_push": 7, "days_rel": 13, "gap_med": 1, "n_releases_24m": 50}
- flags: young, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6255, forks 593 (observed 2026-08-28T04:09:41.038811+00:00)

## What it is
Kun is a local-first AI agent workspace that lets AI plan, execute, verify, and deliver real work in coding, writing, design, research, and automation tasks. It provides a desktop GUI and a terminal TUI sharing one local runtime, with task plans, approvals, and evidence kept continuous across both interfaces.

## Use cases
- run an AI coding agent that edits files, runs tests, and reviews diffs locally
- draft and organize documents, analyze PDFs and spreadsheets with an AI assistant
- automate repetitive workflows with scheduled tasks, loops, hooks, and MCP tools
- switch between desktop GUI and terminal TUI without losing session state
- connect multiple LLM providers including OpenAI, Anthropic, DeepSeek, and self-hosted models
- prototype designs and hand off design context to code in one task

## When to choose
- you want a local-first agent workspace with full control over tool permissions and approvals
- you need both a desktop GUI and a keyboard-driven TUI backed by the same runtime
- you want one tool covering coding, writing, document analysis, and automation
- you want to use various model providers or self-hosted models without vendor lock-in

## When to avoid
- you need a fully permissive open-source license — it uses PolyForm Noncommercial 1.0.0
- you only need a lightweight CLI agent without a desktop app
- you require commercial usage rights
- you want a purely cloud-hosted agent service rather than a local runtime

## Facets
- artifact type: application
- maturity: active
- function: agent-framework, mcp, chat-interface, developer-tools, workflow-automation
- domain: large-language-models, developer-tools
- platform: windows, cli
- tags: local-first, coding-agent, tui, gui, multi-agent, openai-compatible, writing-assistant, design-canvas, scheduled-tasks, ai-agents, automation, macos, linux, desktop, electron

## Member repositories
- KunAgent/Kun (main) score 80

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:41.038811+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:46:35.352878+00:00, confidence not recorded.
  - readme: https://github.com/KunAgent/Kun (fetched 2026-08-28T04:09:41.038811+00:00, sha feec2b3d8d82)
  - homepage: https://www.kun-agent.com (fetched 2026-08-29T08:43:27.473396+00:00, sha 8331a146458d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
