mkagent

作者 MkThingsHQ已验证

A local-first, Pi-powered AI agent workspace for Desktop, WebUI, and CLI

109
Stars
28
Forks
TypeScript
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/MkThingsHQ/mkagent

快速入门

使用 mkagent 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

MkAgent

MkAgent

A local-first, Pi-powered AI agent workspace for Desktop, WebUI, and CLI.

Apache License 2.0 Bun 1.3.14 or later Electron 39

Website · Documentation · 中文 README · 中文文档 · Quick Start · Community ·

MkAgent is an open-source, local-first AI agent workspace for anyone who wants more control over their AI work. Download and use it through Desktop, WebUI, or CLI, or extend its open-source foundation to build your own desktop agent product. Powered by the Pi agent runtime, it combines persistent local workspaces, model flexibility, browser tools, and document tools in one application. Application state stays under your local data directory, and credentials are stored through the operating system credential manager.

MkAgent local-first, Pi-powered AI agent workspace

Features

  • Local-first workspaces — keep sessions, files, settings, and workspace history on your machine.
  • Flexible model connections — use ChatGPT Plus, Claude Pro/Max, provider API keys, OpenAI-compatible or Anthropic-compatible endpoints, and local Ollama models.
  • Desktop, WebUI, and CLI — work through the Electron app, a browser-based renderer, or an RPC command-line client backed by the same runtime.
  • Agent workflows — create and branch sessions, build plans, use Skills, resume work, manage follow-ups, and run multiple windows.
  • Built-in tools — browse the web, work with attachments, render Markdown and code, and inspect or transform common document formats.
  • Explicit control — choose Explore, Ask, or Execute permission modes, configure a network proxy, and switch between English and Simplified Chinese.

Tech Stack

  • Bun — Workspace runtime, package manager, scripts, and tests.
  • Electron — Cross-platform desktop application shell.
  • React and TypeScript — Shared user interface and typed application code.
  • Vite and Tailwind CSS — Renderer tooling and styling.
  • Pi — Agent runtime, model providers, sessions, and tool execution.

Interfaces

InterfaceBest forCommand
DesktopFull local experience and browser panebun run electron:dev
WebUIBrowser access to the headless serverbun run server:prod
CLIScripting, remote control, and terminal workflowsbun run apps/cli/src/index.ts --help

Getting started

Prerequisites

  • Bun 1.3.14 or later
  • Node.js 18 or later
  • Git
  • Python 3.12 and uv for the complete document-tool test suite

Run the Desktop app

git clone https://github.com/MkThingsHQ/mkagent.git
cd mkagent
bun install --frozen-lockfile
bun run electron:dev

MkAgent creates its default workspace at ~/.mkagent/workspaces/default. The configuration root can be isolated for development or testing with CONFIG_DIR=/path/to/directory.

Common commands

CommandDescription
bun run electron:devStart the Electron development environment
bun run electron:startBuild and launch Electron once
bun run server:prodBuild and start the headless server with WebUI
bun run cli:buildBuild the CLI bundle
bun run testRun unit and isolated tests
bun run validate:ciRun the full type, test, document-tool, and localization gate

More commands and environment variables are documented in the development guide.

Architecture

MkAgent is a Bun workspace with a shared runtime and renderer across its three interfaces:

apps/
  electron/              Electron main, preload, renderer, and Browser pane
  webui/                 Browser adapter for the shared renderer
  cli/                   RPC command-line client
packages/
  core/                  Stable DTOs, events, and error contracts
  shared/                Configuration, credentials, prompts, Skills, theme, and i18n
  ui/                    Shared React UI and content renderers
  server-core/           RPC transport, sessions, and runtime orchestration
  server/                Headless server
  pi-agent-server/       Pi agent subprocess
  session-tools-core/    Plans, Skills, browser, and session tools

Read the architecture guide for runtime boundaries, process ownership, and data flow.

Documentation

The complete documentation is available in English and Simplified Chinese.

Contributing

Contributions are welcome. Fork the repository, create a focused branch, include tests and documentation with behavioral changes, and run the relevant checks before opening a pull request. For the complete local gate:

bun run validate:ci
git diff --check

Use GitHub Issues for bugs and feature requests.

Links

Project lineage

MkAgent started from selected architecture and code in Craft Agents OSS v0.11.2 (a60ebc1a5a7c) and continues with an independent Git history and product boundary. MkAgent is not affiliated with or endorsed by the upstream project. See NOTICE for attribution and the comparison guide for the current differences.

Author

OpenFox is an independent developer building products and developer tools. His products include:

  • MkAgent — A local-first, Pi-powered AI agent workspace for Desktop, WebUI, and CLI.
  • TanStarter — Ship Faster with TanStack, Cost Less with Cloudflare.
  • MkSaaS — Make Your AI SaaS Product in a Weekend.
  • MkImage — Make Any Images Possible.
  • Mkdirs — Launch AI-powered directory in 30 minutes.
  • MkDollar — The all-in-one platform to help you make first dollar online.

License

Licensed under the Apache License 2.0. You may use, modify, and distribute the code, including for commercial purposes, subject to the license terms and the attribution in NOTICE.

常见问题

What is mkagent?

mkagent is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by MkThingsHQ. A local-first, Pi-powered AI agent workspace for Desktop, WebUI, and CLI. It has 109 GitHub stars.

Is mkagent safe to use?

Yes. mkagent passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install mkagent?

Clone the repository with "git clone https://github.com/MkThingsHQ/mkagent" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is mkagent written in?

mkagent is primarily written in TypeScript. It is open-source under MkThingsHQ on GitHub, so you can review or fork the full source.

Are there alternatives to mkagent?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh mkagent against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情