pm-agents
A multi-agent product-management copilot that automates morning briefings, metrics answers, knowledge lookups over an Obsidian vault, and PRD/ticket drafting.
README
pm-agents
A multi-agent product-management copilot that automates a PM's operating rhythm: morning briefings, metrics answers, grounded knowledge lookups over an Obsidian vault, and PRD/ticket drafting — each a specialised backend agent with real integrations and hard guardrails.
Built and used daily by a working product manager. Runs locally on Windows against a Claude subscription (no per-token API billing) by driving the logged-in claude CLI in print mode, with tools exposed as a local stdio MCP server.
Agents
A single-agent orchestrator (all tools) plus four specialists:
| Specialist | Does | External creds |
|---|---|---|
knowledge |
Vault Q&A grounded in a local RAG index; guarded note upkeep | none (local only) |
metrics |
PostHog + Jira analytics, anomaly/OKR watch (read-only) | PostHog, Jira |
briefing |
Morning briefing + EOD dump written into the daily notes | Jira, Slack, Notion, PostHog, Gmail |
prd_ticket |
Draft + create PRDs (Notion) and Jira tickets, on confirmation | Notion, Jira |
Architecture notes
- Print-mode + MCP, not the streaming SDK. The Agent SDK's streaming stdio transport does not complete its control handshake with the native
claude.exeon Windows (verified: hangs on initialize).claude -pworks reliably, so the runner drives that directly and exposes the Python tools via--mcp-configpointing atpm_agents.mcp_server. Pragmatism over purity. - Allowlist-only tool execution. Tools are pre-approved through an explicit
--allowedToolsallowlist plus--strict-mcp-config— no blanket permission bypass. Each specialist gets the minimum tool set for its job. - Guardrails in code, not prompts (
pm_agents/guardrails.py): production-database references are hard-blocked by regex before any tool executes; write operations require explicit confirmation. The model is never trusted to self-police. - Grounded-only answers. The knowledge agent must quote retrieved chunks; if retrieval returns nothing it says so instead of improvising.
- One agent, one prompt file. Each agent's behaviour lives in a single markdown file under
pm_agents/prompts/— reviewable, diffable, no prompt spaghetti. - Scheduling: Windows Task Scheduler entries (
scripts/schedule_tasks.ps1) drive the morning/EOD/weekly runs.
Setup
python -m venv .venv && .venv/Scripts/activate
pip install -r requirements.txt
cp .env.example .env # fill in your own tokens — nothing is committed
python scripts/smoke_test.py
Layout
pm_agents/
agents/ # the four specialists
integrations/ # jira, notion, slack, gmail, posthog clients (thin, typed)
prompts/ # one behaviour file per agent
tools/ # vault + RAG tools
guardrails.py # hard safety checks (prod-DB block, allowlists)
mcp_server.py # stdio MCP server exposing the tools
scripts/ # entrypoints: morning brief, EOD, weekly, chat, diagnostics
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。