by hAcKlyc
MyAgents - 优雅、易用的 Agent 桌面端 ,一站式 Agent 工作台与任务中心
# Add to your Claude Code skills
git clone https://github.com/hAcKlyc/MyAgents活在你的电脑里,真正能干活的个人 Agent

MyAgents 是一款开源桌面端 AI Agent,同时具备「Claude Code」的强大 Agent 能力和灵活的 IM Bot 交互——二合一,一键安装零门槛。
截止 2026 年 1 月,AI 的智能飞速提升,已经让软件开发者首先变成了十倍百倍生产力的人。而 2026 年注定是智能丰裕的元年,我们希望这股 AI 的力量能被更多的人所掌握,无论你是学生、内容创作者、教育工作者、各种行业专家、产品经理等任何一个「想要去做些什么的人」。我们希望「MyAgents」能为你的电脑注入灵魂,让他成为你的思维放大器,将你的品味、想法变成现实对世界产生更大的影响。
No comments yet. Be the first to share your thoughts!
myagents 命令让 AI 和用户都能通过 Bash 直接管理应用配置;MA 小助理是产品首席客服,能直接帮你诊断问题、配置工具| 供应商 | 模型 | 类型 | |--------|------|------| | Anthropic | Claude Sonnet 4.6, Opus 4.6, Haiku 4.5 | 订阅/API | | DeepSeek | DeepSeek Chat, Reasoner | API | | Moonshot | Kimi K2.5, K2 Thinking, K2 | API | | 智谱 AI | GLM 5, 4.7, 4.5 Air | API | | MiniMax | M2.5, M2.5 Lightning, M2.1, M2.1 Lightning | API | | 火山方舟 Coding Plan | Doubao Seed 2.0 Code, GLM 4.7, DeepSeek V3.2, Kimi K2.5 | API | | 火山方舟 API调用 | Doubao Seed 2.0 Pro, Code Preview, Lite | API | | ZenMux | ZenMux Auto, Gemini 3.1 Pro, Claude 4.6, Doubao Seed 2.0 等 | API | | 硅基流动 | Kimi K2.5, GLM 4.7, DeepSeek V3.2, Step 3.5 Flash 等 | API | | OpenRouter | GPT-5.2 Codex, GPT-5.2 Pro, Gemini 3 等多模型 | API |
git clone https://github.com/hAcKlyc/MyAgents.git
cd MyAgents
./setup.sh
# Debug 构建 (含 DevTools)
./build_dev.sh
# 生产构建 (macOS DMG)
./build_macos.sh
# 生产构建 (Windows NSIS)
# PowerShell: .\build_windows.ps1
| 层级 | 技术 |
|------|------|
| 桌面框架 | Tauri v2 (Rust) + 多 Webview |
| 前端 | React 19 + TypeScript + TailwindCSS + xterm.js |
| Agent Runtime | Node.js v24 + Claude Agent SDK(默认)/ Claude Code CLI / OpenAI Codex CLI / Gemini CLI |
| 社区生态 | Node.js(MCP Server / npm 包 / myagents CLI,统一 runtime,应用内置) |
| 通信 | Rust HTTP/SSE Proxy(reqwest,统一 localhost no-proxy) |
| 终端 | portable-pty(PTY 进程)+ xterm.js(前端渲染) |
| 搜索 | Tantivy + tantivy-jieba(中文分词) |
| 插件 | OpenClaw Plugin Bridge(独立 Node.js 进程加载社区 Channel 插件) |
Session-Centric 多实例 Sidecar 架构 — 每个会话拥有独立的 Agent 进程,严格 1:1 隔离;多 Owner 共享机制让 Tab、定时任务、Agent Channel 安全复用同一 Sidecar;Rust 代理层统一接管所有流量,零 CORS 问题;单一 runtime 内置 Node.js v24(跑 Sidecar / Plugin Bridge / MCP / 社区 npm 生态 / myagents CLI),Windows 还附带静默安装 Git for Windows,用户无需安装任何依赖。
┌────────────────────────────────────────────────────────────────────┐
│ Tauri Desktop App │
├────────────────────────────────────────────────────────────────────┤
│ React Frontend │
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌─────────────────────┐ │
│ │ Chat 1 │ │ Chat 2 │ │ Settings │ │ Agent Channels │ │
│ │ Tab SSE │ │ Tab SSE │ │ 全局 API │ │ TG / 钉钉 / 插件 │ │
│ └────┬─────┘ └────┬─────┘ └────┬─────┘ └──────────┬──────────┘ │
│ │ │ │ │ │
├───────┼─────────────┼─────────────┼───────────────────┼────────────┤
│ Rust │ │ │ │ │
│ ┌────┴─────────────┴─────┐ ┌────┴─────┐ ┌──────────┴──────────┐ │
│ │ SidecarManager │ │ Global │ │ ManagedAgents │ │
│ │ Session:Sidecar 1:1 │ │ Sidecar │ │ Plugin Bridge │ │
│ │ Owner Tab/Cron/Agent │ │ │ │ (OpenClaw) │ │
│ └────┬─────────────┬─────┘ └──────────┘ └──────────┬──────────┘ │
│ ▼ ▼ ▼ │
│ Node.js Sidecar (Claude Agent SDK / CC / Codex / Gemini CLI) │
│ + MCP Server / 社区 npm 生态 / myagents CLI(统一 runtime) │
└────────────────────────────────────────────────────────────────────┘
完整架构说明、Session 切换机制、Owner 生命周期等详见 技术架构文档。
请参阅 CONTRIBUTING.md 了解贡献指南。
MyAgents is an open-source desktop AI Agent that combines the powerful Agent capabilities of "Claude Code" with flexible IM Bot interaction — two-in-one, one-click install, zero barrier.
As of early 2026, AI capability is advancing rapidly — software developers were the first to become 10x or 100x more productive. 2026 is going to be the inaugural year of intelligence abundance. We hope MyAgents brings that power to everyone — students, content creators, educators, domain experts, product managers, anyone who wants to make something. We want MyAgents to be the soul of your computer, an amplifier for your taste and ideas, turning intent into impact.
myagents command lets both AI and you manage app config from Bash; the MA Helper is the in-app support agent that diagnoses issues and configures tools for you| Provider | Models | Type | |----------|--------|------| | Anthropic | Claude Sonnet 4.6, Opus 4.6, Haiku 4.5 | Subscription/API | | DeepSeek | DeepSeek Chat, Reasoner | API | | Moonshot | Kimi K2.5, K2 Thinking, K2 | API | | Zhipu AI | GLM 5, 4.7, 4.5 Air | API | | MiniMax | M2.5, M2.5 Lightning, M2.1, M2.1 Lightning | API | | Volcengine Coding Plan | Doubao Seed 2.0 Code, GLM 4.7, DeepSeek V3.2, Kimi K2.5 | API | | Volcengine API | Doubao Seed 2.0 Pro, Code Preview, Lite | API | | ZenMux | ZenMux Auto, Gemini 3.1 Pro, Claude 4.6, Doubao Seed 2.0 and more | API | | SiliconFlow | Kimi K2.5, GLM 4.7, DeepSeek V3.2, Step 3.5 Flash and more | API | | OpenRouter | GPT-5.2 Codex, GPT-5.2 Pro, Gemini 3 and more | API |