🧭 Decision Guide
Why trending now: 无法从材料判断
Try it if you
-
You need the same agent identity to serve Slack channels, group messages, and the web.The README Features section lists “Slack and web” and states that the same identity and configuration carry between Slack and the web app.
-
You need each person and room to have isolated memory, files, permissions, crons, and a sandbox.The README Overview states that each person and room has its own scoped memory, files, keychain view, permissions, crons, web apps, and durable sandbox.
-
You want to use your own models, keys, and cloud environment, with the ability to switch between models.The README says “Run it in your own cloud, with your own models and keys,” and explains that Pi supports multiple providers.
-
You want agents to keep working through crons, watches, or inbound webhooks.The README Features section explicitly lists “Background work.”
Skip it if you
-
You cannot provide Postgres or maintain DATABASE_URL.The Architecture section says “Core requires Postgres: set DATABASE_URL,” and tests also require a database.
-
You only accept vendor-hosted models and vendor-managed cloud, and do not want to maintain deployment directories and infrastructure.The Overview says QM runs in your cloud; Customize and run your source requires maintaining deployment configuration, tools, skills, and infrastructure separately.
-
Your security requirements do not allow tool calls to bypass human approval in Dangerous mode.The Security and secrets section says Dangerous mode has “no tool approval gates.”
-
You will not configure command policy but need recursive deletes or destructive SQL blocked by default.The Security and secrets section says command policy ships with no rules, so administrators must add approval rules and hard denials.
Requirements
- Core requires Postgres: set DATABASE_URL.
- Tests require a database; the README gives DATABASE_URL= npm test, which creates a throwaway database per test file and per test app.
- Install dependencies from the source checkout with npm ci.
- Deploying modified services requires completing the provider setup in deployment.md.
- Keep custom deployment configuration, tools, skills, plugin images, and infrastructure in a private source fork under deploy/layers//, or in a separate private deployment repository.
- Service builds do not replace the sandbox image build; follow the provider guide for sandbox image builds.
First step (verbatim from README)
npm ci
Watch out
-
Without --build-from, deployment selects published images, so source edits do not reach the runtime.The Customize and run your source section explicitly says the normal deployment path selects published images.
-
For testing against a real model and real Postgres, use dev-instance:web, dev-instance:slack, or dev-instance:both.The Architecture section lists npm run dev-instance:web, npm run dev-instance:slack, and npm run dev-instance:both.
-
Auto is the default security posture, but it blocks private-network access.The Security and secrets posture list explicitly states Auto (default) — blocks private-network access.
-
With enforce enabled, flagged content is quarantined pending release approval.The Security and secrets section explicitly describes the behavior of securityScreen.mode=enforce.
Alternatives
-
Agent 37:Better when you want the fully hosted option and do not want to deploy QM yourself.README Setup
-
DigitalOcean:Better when you want to run QM through the DigitalOcean Marketplace.README Setup
-
E2B:Better when you want to run QM using E2B's agents/QM documentation.README Setup
Not stated in the README
- The README does not specify a Node.js version requirement, so the runtime version cannot be confirmed from the material.
- The README does not specify a Postgres version or minimum CPU, memory, or disk requirements.
- The README does not list the specific model providers supported by Pi or their configuration methods.
- The README does not describe Slack App creation, permission scopes, or OAuth setup.
- The README does not provide costs or quotas for DigitalOcean, E2B, Render, Superserve, or Agent 37.
- The README does not specify per-scope resource limits or concurrency limits for crons, webhooks, or background tasks.
- The README does not explain the release cadence or long-term maintenance commitment represented by 10 contributors and 5 releases.
- The README does not provide the number or severity of unresolved issues among the 1,175 issues.
💡 Deep Analysis
6
Yes
I need to keep organization-specific skills and tools in a private repository, modify the TypeScript Core, and ensure deployments actually use the new code; does QM fit this source-customization workflow?
Yes, because QM explicitly separates organization-specific customization from the generic Core and provides commands for validation, planning, building, deployment, and live checks. Service and sandbox images must still be managed separately.
- The README places organization config, custom tools, skills, sandbox images, and infrastructure in a deployment directory, stored either in a private source fork or a separate private deployment repository.
- The Core uses TypeScript/Node, Slack uses Bolt, and the web UI uses Vite and Lit, giving a TypeScript-oriented team clear extension points across runtime and interfaces.
- The README specifically warns that without
--build-from, deployment selects published images, so source edits do not affect the runtime. The CLI providescheck,plan,up, andlivechecks. - The
qmCLI validates and deploys the deployment directory, whileqm ui publishcan update the static UI bundle without restarting Core.
This is a good fit for teams that need versioned and reviewable organizational customization. Service builds must not be confused with sandbox builds, and secrets must not be committed to source or deployment repositories.
- How it works: "Everything specific to one team ... lives in a deployment directory"
- Customize and run your source: "Keep deployment configuration, tools, skills, plugin images, and infrastructure in deploy/layers// in a private source fork"
- Customize and run your source: "Without --build-from ... editing source alone does not change the deployed runtime."
- How it works: "The core runs TypeScript directly on Node"; "qm ui publish"
node cli/bin/qm.ts check --config <deployment-dir>/qm.config.jsonc
Yes
I want to deploy QM in my own cloud with my own models and API keys, using Postgres for persistence; is the README’s deployment approach suitable for me?
Yes, because deployment, model selection, and key ownership remain under your organization’s control, although this is not a zero-configuration service.
- The README explicitly says, “Run it in your own cloud, with your own models and keys,” and lists DigitalOcean, E2B, Render, and Superserve deployment paths.
- The Core runs directly on Node.js/TypeScript with Fastify, while Postgres stores sessions, memory, queue, and other durable state. Core requires
DATABASE_URL. - Organization configuration, tools, skills, sandbox images, and infrastructure live in a separate deployment directory managed by the
qmCLI, which fits teams maintaining private deployment configuration. - Pi supports models from many providers, avoiding single-vendor lock-in. However, sandbox image construction is a separate step and is not replaced by service image builds.
This is a strong fit if you already operate cloud resources, Postgres, and model-provider configuration. It is a poor fit if you expect a fully managed, zero-ops product.
- Overview: "Run it in your own cloud, with your own models and keys."
- Architecture: "Core requires Postgres: set DATABASE_URL."
- How it works: "The core runs TypeScript directly on Node and uses Fastify for HTTP."
- How it works: "Pi runs models from many providers"; "deployment directory"
node cli/bin/qm.ts check --config <deployment-dir>/qm.config.jsonc
Yes
I want the team to keep using the agent in Slack while exposing the same identity on the web, with personal memory isolated from channel, group-message, and project context; can QM meet this constraint?
Yes, because QM treats Slack, the web, and scope isolation as one agent model rather than two separate bots.
- The Features section says that “Slack and web” share the same identity and configuration, allowing users to move between both interfaces.
- The Overview states that every person and room has its own scoped memory, files, permissions, crons, web apps, and durable sandbox, directly covering personal, channel, group-message, and project boundaries.
- Shared skills belong to scopes and are shared by grant; administrators can gate promotion to the whole organization, separating personal capabilities from organization-wide capabilities.
- Administrators can set organization-level configuration, security posture, and sharing posture, as well as choose available models. This governs not only context separation but also sharing behavior.
However, isolation does not mean every historical item can be instantly withdrawn. The project insight says that after a member leaves a room, new searches no longer discover that room’s content, while existing replies may remain. Membership and sharing behavior must therefore be validated before rollout.
- Features: "Slack and web. The same identity and configuration carries between Slack and the web app."
- Overview: "Each person and each room has its own scoped memory, files, keychain view, permissions, crons, web apps, and durable sandbox."
- Features: "Shared skills are scope-owned and shareable by grant"
- Features: "Admin control. Set org-level configuration, security and sharing postures."
npm run dev-instance:both
It depends
I need organization-level control over models, tool approvals, destructive SQL, recursive deletion, and content screening; is QM sufficient as a security boundary?
It depends: QM offers a stronger governance surface than an ordinary chatbot, but neither the README nor the project insight supports treating it as a single boundary that eliminates agent risk.
- Features provides organization-level security and sharing postures and lets administrators choose available models. The project insight also identifies Strict, Auto, and Dangerous security postures.
- The project insight describes tool-call approvals, private-network restrictions, content screening, audit logs, and approval or hard-deny rules for recursive deletion and destructive SQL.
- Scope isolation covers memory, files, permissions, keychain views, and sandboxes, reducing the risk of cross-user or cross-room data mixing.
- However, Dangerous mode provides no tool approval and content screening may be observe-only. The agent still acts with user credentials and permissions, so prompt injection, erroneous instructions, and overprivileged credentials remain risks.
QM is suitable as a configurable governance layer, not as the only isolation boundary. If production databases and private networks must be unreachable, additional network, identity, and database controls are required but are not specified in the README.
- Features: "Admin control. Set org-level configuration, security and sharing postures. Choose which models are available."
- Project insight: "提供Strict、Auto和Dangerous三种组织安全姿态"
- Project insight: "支持工具调用审批、私有网络访问限制、内容筛查和审计日志"
- Project insight: "为递归删除、破坏性SQL等操作配置审批规则或硬拒绝规则"
It depends
I have a TypeScript/Node.js repository and want QM to run tests, inspect CI, check system logs, and open pull requests in a durable sandbox; is it suitable for this engineering workflow?
It depends: QM’s sandbox and tool interface fit long-running engineering tasks, but safe and reliable code operations depend on the image, credentials, and command policies.
- The README explicitly lists “run tests, open PRs, monitor CI, check system logs,” which closely matches this workflow.
- Through the fixed
executetool, the agent runs commands inside each scope’s isolated sandbox, and “installed tools stay installed,” which suits repositories requiring persistent dependencies. - Each person or room has separate files, permissions, keychain views, and a durable sandbox, helping isolate personal repository work from shared channel context.
- However, operators must maintain the sandbox image separately; building service images does not build the sandbox. The README also does not promise reliable success for complex code changes, CI diagnosis, or log analysis.
It is worth adopting when you can provide a reproducible image and least-privilege repository credentials. It should not be treated as a deterministic pipeline or given unrestricted production write access by default.
- What you can do with it: "Work in an existing repository: run tests, open PRs, monitor CI, check system logs"
- How it works: "execute ... runs commands in the scope's own isolated sandbox"
- How it works: "its durable computer, where installed tools stay installed"
- Customize and run your source: "service builds do not replace that step"
node cli/bin/qm.ts plan --config <deployment-dir>/qm.config.jsonc --build-from .
It depends
I want QM to summarize email and documents on cron schedules, respond to webhooks, and query databases while I am offline; is it suitable for these background automations?
It depends: QM natively supports continuous execution and multi-source retrieval, but background tasks involving credentials, external input, and database operations depend on permission and security configuration.
- Features provides crons, watches, and inbound webhooks, while the Overview says agents continue working on schedules and webhooks while users are away.
- What you can do with it lists combined search across internal notes, email, documents, databases, and the web. It also describes scheduled inbox triage with labels and reply drafts.
- Each scope has its own keychain view, permissions, files, and sandbox, which can separate personal email processing from shared project context.
- However, the project insight warns that broad credentials, disabled content screening, or missing command rules increase prompt-injection and unauthorized-access risk. The agent is also not a deterministic workflow engine.
It is a good fit for querying, summarization, and draft generation. Direct email sending, database writes, or irreversible actions should not rely solely on default agent behavior.
- Features: "Background work. Crons, watches, and inbound webhooks work while you're away."
- What you can do with it: "Search internal notes, email, documents, databases, and the web together"
- What you can do with it: "triage your inbox on a schedule — labels and reply drafts included"
- Overview: "Each person and each room has its own scoped memory, files, keychain view, permissions, crons..."
✨ Highlights
-
Slack and web share the same identity and configuration
-
Each scope has isolated memory, files, and a sandbox
-
Supports background work with crons, watches, and inbound webhooks
-
Postgres stores sessions, memory, queues, and durable state
-
Strict, Auto, and Dangerous security postures differ substantially
-
16,266 stars, 2,020 forks, and an MIT License
🔧 Engineering
-
The core uses Fastify for HTTP APIs, while Pi runs the agent loop across models.
-
Each scope gets isolated memory, a keychain view, permissions, and a durable sandbox.
-
The CLI command qm ui publish updates the web UI without restarting core.
-
Shared skills can be granted by scope and imported as skill packs from Git repositories.
⚠️ Risks
-
The core depends on Postgres, and both deployment and tests require DATABASE_URL.
-
Dangerous mode has no tool approval gates, and content screening is capped at observe.
-
Command policy ships with no rules, so administrators must configure denials or approvals for recursive deletes.
-
Deployment configuration, tools, and infrastructure must be kept in a private source fork.
👥 For who?
-
Developers building team agents with both Slack and web entry points.
-
Infrastructure teams able to maintain Postgres, Node, deployment directories, and sandbox images.
-
Organizations that want to bring their own models, keys, and cloud environment instead of using one vendor.