by MkThingsHQ
A local-first, Pi-powered AI agent workspace for Desktop, WebUI, and CLI
# Add to your Claude Code skills
git clone https://github.com/MkThingsHQ/mkagentmkagent 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 51 GitHub stars.
mkagent's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
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).
mkagent is primarily written in TypeScript. It is open-source under MkThingsHQ on GitHub, so you can review or fork the full source.
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.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
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.
| Interface | Best for | Command |
|---|---|---|
| Desktop | Full local experience and browser pane | bun run electron:dev |
| WebUI | Browser access to the headless server | bun run server:prod |
| CLI | Scripting, remote control, and terminal workflows | bun run apps/cli/src/index.ts --help |
uv for the complete document-tool test suitegit 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.
| Command | Description |
|---|---|
bun run electron:dev |
Start the Electron development environment |
bun run electron:start |
Build and launch Electron once |
bun run server:prod |
Build and start the headless server with WebUI |
bun run cli:build |
Build the CLI bundle |
bun run test |
Run unit and isolated tests |
bun run validate:ci |
Run the full type, test, document-tool, and localization gate |
More commands and environment variables are documented in the development guide.
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.
The complete documentation is available in English and Simplified Chinese.
| Area | Guides |
|---|---|
| Start here | Development, architecture, testing |
| Models | Connections, Ollama |
| Work | Workspaces, sessions, Skills |
| Tools | Browser, attachments, document tools |
| Runtime | CLI, permissions, network proxy |
| Project | features, releases, upstream synchronization |
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.
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.
OpenFox is an independent developer building products and developer tools. His products include:
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.