展示 HN:任务控制 – 开源的 AI 代理任务管理
Show HN: Mission Control – Open-source task management for AI agents

原始链接: https://github.com/MeisnerDan/mission-control

## 任务控制:代理任务管理 任务控制是一个本地优先、开源的任务管理系统,专为管理像 Claude Code、Cursor 和 Windsurf 这样用于工作委派的 AI 代理而设计。它通过为每个代理提供集中的“指挥中心”,包括角色、收件箱和报告协议,来解决跨项目协调多个代理的混乱问题。 用户通过仪表盘可视化地委派任务,使用艾森豪威尔矩阵(做、计划、委派、消除)进行优先级排序,并在看板上跟踪进度。代理执行任务并汇报,允许用户监督工作量并在不进行微观管理的情况下提供指导。 主要功能包括内置代理团队、用于可重用知识的技能库以及用于自动任务分发的自主守护进程。它优先考虑数据隐私,采用本地 JSON 存储,避免云依赖和 API 密钥。优化的令牌 API 可最大限度地降低成本并确保高效的通信。 任务控制的设计具有可扩展性,并欢迎社区贡献。它旨在赋能用户有效地利用 AI 代理来提高生产力。

## 任务控制:开源AI代理任务管理 开发者meisnerd受够了管理多个AI代理(如Claude Code)执行各种任务的混乱局面,因此创建了**任务控制**,一个专门为AI委托设计的开源任务管理应用。 问题在于:任务在不同平台之间容易丢失,代理缺乏一致的上下文,失败情况容易被忽视,并且需要持续的手动干预。任务控制通过诸如艾森豪威尔矩阵、看板等功能来解决这些问题,其中一个关键特性是**自主守护进程**,它可以自动处理任务排队、代理启动、重试和并发。 该项目使用Next.js 15构建,采用本地优先(基于JSON)的架构,并通过广泛的测试和token优化来优先保证可靠性,从而高效地使用API。目前提供5种预定义的代理角色,并允许用户通过markdown提示定义可重用的技能。 该项目采用MIT许可,并在GitHub上提供 ([https://github.com/MeisnerDan/mission-control](https://github.com/MeisnerDan/mission-control)),未来计划包括人机协作功能以及与GitHub和电子邮件等工具的集成。
相关文章

原文

GitHub Stars  License  Version  Build Status

Mission Control Rocket

Open-source task management for the agentic era.
The command center for solo entrepreneurs who delegate work to AI agents.

Mission Control Demo


AI coding agents (Claude Code, Cursor, Windsurf) are powerful executors — but managing multiple agents across multiple projects is chaos. There's no shared task board, no inbox, no way to see who's working on what or whether they finished.

Mission Control gives your AI agents structure. Agents get roles, inboxes, and reporting protocols. You delegate work through a visual dashboard, they execute and report back. You stay in control without micromanaging.

Prioritize

Eisenhower matrix tells you what matters. Drag-and-drop tasks between Do, Schedule, Delegate, and Eliminate.

Delegate

Assign tasks to AI agents. They get notified, pick up work, and post completion reports to your inbox.

Supervise

Dashboard, inbox, decisions queue. See every agent's workload, read their reports, answer their questions.

How is this different from Linear, Asana, or Notion? Mission Control was built agent-first. Agents read and write tasks through a token-optimized API, report progress to your inbox, and ask you for decisions. You manage outcomes, not keystrokes. And it runs locally — no cloud dependency, no API keys, no vendor lock-in.


  • Eisenhower Matrix — Prioritize by importance and urgency with drag-and-drop between quadrants
  • Kanban Board — Track work through Not Started, In Progress, and Done columns
  • Goal Hierarchy — Long-term goals with milestone tracking, progress bars, and linked tasks
  • Brain Dump — Capture ideas instantly, triage into tasks later
  • Agent Crew — 5 built-in agents + create unlimited custom agents with unique instructions
  • Skills Library — Define reusable knowledge modules and inject them into agent prompts
  • Multi-Agent Tasks — Assign a lead agent + collaborators for team-based work
  • Orchestrator — Run /orchestrate to spawn all agents on pending work simultaneously
  • Autonomous Daemon — Background process that automatically polls tasks, spawns Claude Code sessions, enforces concurrency, and provides a real-time dashboard
  • One-Click Execution — Press play on any task card to spawn a Claude Code session; live status indicators, success/failure toasts, and automatic completion (task → done, inbox report, activity log)
  • Token-Optimized API — Filtered queries, sparse field selection, 92% context compression (~50 tokens vs ~5,400)
  • Inbox & Decisions — Full agent communication layer: delegation, reports, questions, and approvals
  • Cmd+K Search — Global search across tasks, projects, goals, and brain dump entries
  • Error Resilience — Error boundaries on every page with retry buttons, plus global error handler for crash recovery
  • API Pagination — All 9 GET endpoints support limit and offset with a meta object (total, filtered, returned)
  • 193 Automated Tests — Vitest suite covering validation schemas, data layer operations, and full agent communication flow
  • Skills Injection — Skills from the library are embedded into agent command files bidirectionally (agent→skill and skill→agent)
  • Accessibility — ARIA live regions for drag-and-drop screen reader announcements, focus trapping on detail panels
  • CI Pipeline — GitHub Actions runs typecheck, lint, build, and tests on every push and PR

Eisenhower Priority Matrix Kanban Status Board

Agent Crew Management Agent Inbox


Requirement Why Install
Node.js v20+ Runtime nodejs.org
pnpm v9+ Package manager npm install -g pnpm
Claude Code (recommended) Agent automation (Launch button, daemon, slash commands) npm install -g @anthropic-ai/claude-code

The web UI works standalone for task management, prioritization, and goal tracking. Claude Code is needed to execute tasks via agents. Any AI coding tool that can access local files (Cursor, Windsurf, etc.) can also participate — see Works With below.

git clone https://github.com/MeisnerDan/mission-control.git
cd mission-control/mission-control   # repo folder → app folder (where package.json lives)
pnpm install
pnpm dev

Open http://localhost:3000 and click "Load Demo Data" to see it in action with sample tasks, agents, and messages.

  1. Explore the dashboard — see task counts, agent workloads, and recent activity at a glance
  2. Drag tasks on the Priority Matrix — move tasks between Do, Schedule, Delegate, and Eliminate
  3. Click a task card to open the detail panel — edit description, subtasks, and acceptance criteria
  4. Click the 🚀 Launch button on a task assigned to an agent — spawns a Claude Code session that executes the work (requires Claude Code)
  5. Open Claude Code in this workspace and run /daily-plan to see slash commands in action

Mission Control stores all data in local JSON files. No database, no cloud dependency. AI agents interact by reading and writing these files — the same source of truth the web UI uses.

1. You create a task          ──>  Assign to an agent role (e.g., Researcher)
2. Press play (or daemon)     ──>  Spawns a Claude Code session with agent persona
3. Agent executes             ──>  Does the work, updates progress
4. Mission Control completes  ──>  Auto-marks done, posts report, logs activity
5. You review                 ──>  Read reports in inbox, answer questions

Multiple agents can work in parallel across different tasks. The orchestrator (/orchestrate) automates this loop for all pending tasks at once. The daemon (pnpm daemon:start) takes this further — it runs 24/7 as a background process, automatically polling for new tasks and dispatching them to agents on a configurable schedule.

Mission Control includes 193 automated tests across 3 suites:

pnpm test        # Run all tests
pnpm check       # Typecheck + lint
pnpm verify      # Full verification: typecheck + lint + build + test
Suite Tests Covers
Validation 90 All 17 Zod schemas — field defaults, constraints, edge cases
Daemon 42 Security (credential scrubbing, path validation, binary whitelist), config loading, prompt builder, types
Data Layer 19 Read/write operations, file I/O, mutex safety, archive
Agent Flow 17 End-to-end: task creation → delegation → inbox → decisions → activity log
Security 25 API auth, rate limiting, token/origin validation, CSRF protection

Every API endpoint is designed for minimal token consumption. Your agents spend tokens doing work, not parsing bloated payloads.

# Get only your in-progress tasks (~50 tokens vs ~5,400 for everything)
GET /api/tasks?assignedTo=developer&kanban=in-progress

# Sparse fields — return only what you need
GET /api/tasks?fields=id,title,kanban

# Get just the DO quadrant (important + urgent)
GET /api/tasks?quadrant=do

# Paginated results with metadata
GET /api/tasks?limit=10&offset=0
# → { data: [...], meta: { total: 47, filtered: 47, returned: 10, limit: 10, offset: 0 } }

# Compressed context — entire workspace state in ~650 tokens
# (vs ~10,000+ for raw JSON files)
pnpm gen:context  # outputs data/ai-context.md
# Run a single task — spawns a Claude Code session
POST /api/tasks/:id/run

# Run all eligible tasks in a project (respects concurrency limits)
POST /api/projects/:id/run

# Get live status of all active runs
GET /api/runs

All write endpoints use Zod validation (malformed data returns field-level errors) and async-mutex locking (concurrent writes from multiple agents queue safely, never corrupt data).


Role Handles Assign when...
Me Decisions, approvals, creative direction Requires human judgment
Researcher Market research, competitive analysis, evaluation Needs investigation
Developer Code, bug fixes, testing, deployment Technical implementation
Marketer Copy, growth strategy, content, SEO Marketing/content work
Business Analyst Strategy, planning, prioritization, financials Analysis/strategy work
+ Custom Anything you define Create via /crew/new with custom instructions

Agents are fully editable — change their name, instructions, capabilities, and linked skills at any time through the Crew UI or by editing data/agents.json directly.


Run these in any Claude Code session opened in this workspace:

Command Purpose
/standup Daily standup from git + tasks + inbox + activity
/daily-plan Top priorities + inbox check + decisions + brain dump triage
/weekly-review Accomplishments + goal progress + stale items
/orchestrate Coordinate all agents — spawn sub-agents for pending tasks
/brainstorm Generate creative ideas on a topic
/research Web research with structured markdown output
/plan-feature Break a feature into tasks + create milestone
/ship-feature Test, lint, commit + update task status + post report
/pick-up-work Check inbox for new assignments, pick highest priority
/report Post a status update or completion report
/researcher Activate researcher agent persona
/marketer Activate marketer agent persona
/business-analyst Activate business analyst persona
pnpm daemon:start    # Start the autonomous daemon (background process)
pnpm daemon:stop     # Stop the daemon gracefully
pnpm daemon:status   # Show daemon status, active sessions, and stats

The daemon runs as a background Node.js process, polling tasks.json for pending work and spawning Claude Code sessions via claude -p. It enforces concurrency limits, retries failed tasks, and runs scheduled commands (daily-plan, standup, weekly-review) on cron schedules. Monitor everything from the /daemon dashboard.

Note on authentication: The daemon spawns Claude Code directly via claude -p — it does not extract or transmit OAuth tokens, make raw API calls, or use the Agent SDK. Your Claude account credentials stay within Claude Code's own authentication layer, the same as running claude -p from your terminal. This is local automation of an official Anthropic product, not a third-party integration.


mission-control/              Next.js 15 web app (the visual interface)
mission-control/data/          JSON data files (the shared source of truth)
  tasks.json                   Tasks with Eisenhower + Kanban + agent assignment
  goals.json                   Long-term goals and milestones
  projects.json                Projects with team members
  agents.json                  Agent registry (profiles, instructions, capabilities)
  skills-library.json          Reusable knowledge modules for agents
  inbox.json                   Agent <-> human messages and reports
  decisions.json               Pending decisions requiring human judgment
  activity-log.json            Timestamped event log of all activity
  ai-context.md                Generated ~650-token workspace snapshot
  daemon-config.json           Daemon configuration (schedule, concurrency, etc.)
  daemon-status.json           Daemon runtime state (sessions, history, stats)
  active-runs.json             Live task execution tracking (status, PIDs, errors)
mission-control/scripts/daemon/ Autonomous agent daemon (node-cron + claude -p)
mission-control/__tests__/     Automated tests (validation, data, integration, daemon)
.claude/commands/              Auto-generated slash commands per agent
scripts/                       Orchestration scripts (tmux parallel agents)
docs/                          Business plans and strategies
  • Local-first — No database, no cloud, no API keys. Your data stays on your machine in plain JSON files.
  • JSON as IPC — Humans (web UI) and agents (file reads + API) share the same source of truth. No sync layer needed.
  • BYOAI — Works with any agent that can read files: Claude Code, Cursor, Windsurf, or a custom script.
  • Zod + Mutex — All API writes are validated with Zod schemas and serialized with async-mutex to prevent data corruption during concurrent multi-agent operations.

Mission Control runs locally and integrates with AI coding tools through the filesystem and CLI:

  • Claude Code — Open this workspace in Claude Code to use slash commands (/orchestrate, /daily-plan, /standup, etc.) and let agents read/write task data directly.
  • Claude Cowork — Cowork agents can use Mission Control as a tool by reading the workspace's CLAUDE.md and JSON data files directly — no special plugin required.
  • Any file-aware agent — Cursor, Windsurf, or custom scripts can read the JSON data files and call the API endpoints to participate in the agent loop.


See open issues for community-requested features and to vote on what matters most.


Contributions are welcome! Whether it's bug fixes, new agent integrations, UX improvements, or documentation.

  1. Fork the repo
  2. Create a feature branch
  3. Run pnpm verify — typecheck, lint, build, and tests must all pass
  4. Submit a PR

See CONTRIBUTING.md for detailed guidelines, code conventions, and architecture notes.


This is a personal project I built to organize my own work and shared because others might find it useful. It is provided as-is with no warranties, guarantees, or promises of support. Use it at your own risk. See the LICENSE file for full terms.

Mission Control is not affiliated with or endorsed by Anthropic. It automates Claude Code (an official Anthropic product) via the claude -p CLI — it does not access the Anthropic API directly or use the Agent SDK.


MIT — use it however you want.


Built for the agentic era. Your AI agents have a boss now.

联系我们 contact @ memedata.com