On July 31, 2026, Y Combinator did something unusual: it open-sourced the internal AI system it uses to run its own company. QM (short for Quartermaster) is not another chatbot wrapper or prompt-chaining library. It is a multiplayer agent harness β a production runtime that gives every employee in an organization their own isolated AI workspace with scoped memory, files, credentials, scheduled jobs, and a durable sandbox, while still letting them collaborate with the same agent in Slack channels, group messages, and projects.
- What Problem Does QM Actually Solve?
- Architecture: How QM Works Under the Hood
- Harness Agnosticism: Why It Matters
- Security Model: Three Postures, One Hard Floor
- Skills System: Org-Wide Knowledge, Scope-Level Control
- Deployment: Your Cloud, Your Data
- QM vs. the Landscape: Where Does It Fit?
- Agent Harness vs. Agent Framework
- Single-Player vs. Multiplayer Harnesses
- QM vs. Enterprise RPA Platforms
- Real-World Use Cases YC Runs on QM
- How to Evaluate QM for Your Organization
- Getting Started: The Minimum Viable Deployment
- What QM Gets Right β and Where It Falls Short
- The Bigger Picture: Agent Harnesses as Enterprise Infrastructure
- Frequently Asked Questions
- Is QM free to use?
- Can QM replace our existing RPA platform?
- Which LLM models does QM support?
- How does QM compare to OpenClaw?
- Is QM production-ready for enterprise deployment?
- Key Takeaways
- External References
The repository hit 650+ points on Hacker News the day it dropped, crossed 7,000 GitHub stars inside three days, and sits above 13,000 stars two weeks later. YC says it runs QM across accounting, legal, events, and engineering β including building QM itself β and calls the release βearly and buggy,β which, in YC tradition, means production-tested enough to ship.
For RPA professionals and agentic AI architects, QM matters because it occupies a category most enterprise platforms have not clearly addressed: company-wide agent orchestration with per-user isolation. UiPath, Automation Anywhere, and Power Automate all offer attended and unattended bot infrastructure, but none of them ship a Slack-native, harness-agnostic runtime where each employeeβs agent context is scoped and sandboxed by default. QM fills that gap β and it does so under the MIT license.
This guide breaks down QMβs architecture, security model, deployment mechanics, and where it fits in the broader landscape of RPA-to-agentic-AI transitions β with enough technical depth that you can decide whether to deploy it, fork it, or steal its design patterns for your own automation platform.
What Problem Does QM Actually Solve?
Most AI agents are designed as personal assistants. You prompt them, they respond, and the context window resets or leaks depending on the vendor. When organizations try to scale a single assistant across an entire company, complexity explodes. Different departments need different tools, different credentials, different memory, and different permission boundaries β but they also need to collaborate through the same agent in shared channels.
QMβs README frames this directly: βYou can make one work for a whole company, but it quickly gets complex.β The solution is a harness that treats scope isolation as a first-class primitive. Every person and every Slack room gets its own:
- Scoped memory β the agent remembers context per user and per room, not globally
- Files β each scope has its own file store that other scopes cannot access
- Keychain view β credentials are scoped so the legal teamβs API keys never leak into the engineering agentβs context
- Permissions β admins set org-level defaults; narrower scopes can only tighten them, never loosen
- Crons and watches β scheduled background jobs per scope, not per organization
- Web apps β the agent can spin up custom internal apps scoped to the right people
- Durable sandbox β an isolated compute environment where installed tools persist between sessions
This is fundamentally different from both personal coding agents (Claude Code, Codex, OpenCode) and enterprise RPA bots. A personal coding agent is a single-player tool. An enterprise RPA platform manages unattended bots at scale but does not give each human employee a persistent, memory-rich AI workspace. QM sits between these worlds.

Architecture: How QM Works Under the Hood
QMβs architecture is clean enough to diagram in one frame. Every turn runs through a headless core that handles four concerns: API routing, identity resolution, policy enforcement, and job scheduling. The core drives an agent loop that can use any supported harness β Pi, OpenCode, Codex, or Claude Code β to generate responses.
The Core
The core is a TypeScript application running directly on Node.js with Fastify for HTTP. It is intentionally generic: everything specific to a particular organization β config, custom tools, sandbox images, infrastructure wiring β lives in a separate deployment directory that the qm CLI validates and deploys. This separation means the core can evolve upstream without breaking org-specific customizations.
Every substrate (harness, session store, sandbox, memory) sits behind an interface. Production implementations swap in via one wiring file. This is the same dependency-inversion pattern that enterprise Java developers have used for decades, but applied to AI agent infrastructure β and it is what makes QM harness-agnostic.
Persistence Layer
A PostgreSQL database holds sessions, memory, user data, and a durable job queue. This is a deliberate choice: Postgres is battle-tested, widely hosted, and its transactional guarantees matter when you are managing per-scope state that the agent modifies during execution. There is no vector database in the core architecture β memory is scope-isolated and session-based, not a global RAG index.
The Agent Loop
The agent has a small, fixed tool surface. One of those tools is execute, which runs commands in the scopeβs own isolated sandbox. The sandbox is durable: installed tools stay installed between sessions. This means an accounting agent can have csvkit and custom Python scripts permanently available, while an engineering agent has git, npm, and a full build toolchain β without either scope polluting the other.
Plugins
The web UI, admin panel, and public portal are optional plugins over the coreβs HTTP API. Slack integration uses the Bolt framework and runs as an in-process plugin that the core starts and supervises through a direct service client. The web UI builds with Vite and renders with Lit (not React β an uncommon but deliberate choice for performance and bundle size).
This plugin architecture means you can run QM as a Slack-only agent, a web-only agent, or both β and add custom surfaces without touching the core.
Harness Agnosticism: Why It Matters
A May 2026 study by MBZUAI, analyzing Claude Codeβs source code, quantified that approximately 98.4% of a production agent is harness infrastructure β permissions, context management, sandboxing, tool routing, recovery β and only about 1.6% is AI decision logic. Googleβs Addy Osmani further noted that harness design alone can create up to 6x performance variation on the same model.
These findings explain QMβs design philosophy. By abstracting the harness behind an interface, QM lets organizations swap between Pi, OpenCode, Codex, and Claude Code without rewriting their agent infrastructure. A deployment is not tied to any single vendor, which matters enormously for enterprises evaluating cost, latency, and capability trade-offs across rapidly evolving model providers.
For RPA teams accustomed to vendor lock-in β where migrating from UiPath to Automation Anywhere means rewriting every workflow β this is a radical departure. QMβs harness-agnostic architecture is conceptually closer to what the Model Context Protocol (MCP) aims to do for tool connectivity: establish a standard interface so that the infrastructure layer outlives any individual model or vendor.
Security Model: Three Postures, One Hard Floor
QM follows the security pattern of local coding agents: the agent acts as the person it works for, with their credentials and permissions, and everything it does is audited. But it adds org-level governance that personal agents lack.
An organization picks one of three security postures, which narrower scopes can only tighten:
| Posture | Behavior | Best For |
|---|---|---|
| Strict | Every harness tool call pauses for human approval, except two no-effect turn enders | Regulated industries, early deployments, compliance-sensitive teams |
| Auto (default) | A classifier screens provenance-labeled external data and tool results before they reach the model; deployments can point the classifier at their own screening proxy | Most organizations β balances productivity with safety |
| Dangerous | No content screening, no pauses between tool calls | Development sandboxes, internal tooling teams with high trust |
Critically, a predeclared command policy applies in every posture, including Dangerous. This policy enforces approval rules and hard denials for destructive operations β recursive deletes, destructive SQL, and similar irreversible actions. Think of it as the guardrails that never come off, regardless of how much autonomy you grant the agent.
For agentic AI architects coming from an RPA background, this model will feel familiar. UiPath Orchestrator separates robot permissions from process-level governance. QM does something analogous but at the agent-turn level rather than the process-execution level: every tool call is evaluated against the posture and the command policy before it runs.
Skills System: Org-Wide Knowledge, Scope-Level Control
QMβs skills are reusable capabilities that can be authored per scope, shared by explicit grant, and promoted org-wide through admin approval. Skill packs can also be imported from git repositories, which means an organization can maintain a curated library of approved agent capabilities versioned in source control.
This is where QM overlaps most directly with enterprise RPA concepts. In UiPath, reusable automation components live in libraries published to Orchestrator. In Automation Anywhere, they are bot packages in the Control Room. QMβs skill system serves the same purpose β standardizing and governing reusable agent capabilities β but operates at the LLM-agent level rather than the RPA-workflow level.
The skill lifecycle follows a deliberate escalation path:
- An individual creates a skill in their personal scope
- They share it with specific colleagues by grant
- An admin reviews and promotes it to the entire organization
- External skill packs from git repos can be imported and governed through the same flow
This mirrors the governance patterns that mature RPA Centers of Excellence have built over years β review, approve, publish, version β applied to a fundamentally different kind of automation primitive.
Deployment: Your Cloud, Your Data
QM deploys to the operatorβs own cloud account. There is no hosted SaaS tier. The qm init CLI command scaffolds a deployment repository targeting either Fly.io or AWS, then walks through infrastructure setup, web sign-in configuration, connector credentials, optional Slack access, and live verification.
Sign-in defaults to a built-in broker that emails a one-time link. An external identity provider (Okta, Azure AD, Google Workspace) can replace it. Each deployment runs in isolation β QM does not phone home, and Y Combinator does not see your data.
For organizations that want deeper customization, QM supports a private fork pattern: a plain clone (not a GitHub Fork) of the repo that keeps the core byte-identical to upstream while allowing org-specific customizations in deploy/layers/<org>/. Two built-in skills maintain the boundary: update-qm merges upstream changes in, and upstream-pr sends org-agnostic fixes back β checking outgoing diffs for org identifiers before pushing.
The realistic deployment target is a startup or mid-sized company (roughly 10β500 people) with at least one platform engineer comfortable with infrastructure. Larger enterprises can run it but should audit the security model first β the SECURITY.md file lays out the threat model, operator assumptions, and known limitations.
QM vs. the Landscape: Where Does It Fit?
The agent tooling ecosystem in 2026 has three distinct layers, and QM occupies a specific spot in each.
Agent Harness vs. Agent Framework
An agent framework (LangGraph, CrewAI, AutoGen/AG2, Mastra) defines agent logic, routing, and tool wiring. An agent harness (Claude Code, OpenCode, Codex, QM) is the production runtime that wraps a model to add tool execution, state management, guardrails, and observability. You can combine both β a framework-built agent can use a harness for infrastructure β but they solve different problems at different stages.
Single-Player vs. Multiplayer Harnesses
Claude Code, OpenCode, and Codex are single-player harnesses: one developer, one session, one sandbox. QM is a multiplayer harness: many users, many scoped sessions, shared collaboration surfaces, org-level governance. The closest comparator is OpenClaw (382k+ stars), which also provides company-wide agent capabilities β but OpenClawβs architecture is more personal-assistant-oriented, while QMβs scope isolation and Slack-native design target team-level workflows.
QM vs. Enterprise RPA Platforms
| Capability | QM | UiPath Orchestrator | Automation Anywhere Control Room |
|---|---|---|---|
| Primary automation type | LLM agent (text/code) | RPA bots (UI/API) | RPA bots (UI/API) |
| Per-user isolation | Scoped memory, files, sandbox per person/room | Robot accounts with folder-level access | Bot Runner with role-based access |
| Model/harness flexibility | Pi, OpenCode, Codex, Claude Code (swap freely) | UiPath Autopilot (tied to UiPath AI) | AA AI Agent Studio (tied to AA models) |
| Collaboration surface | Slack channels, web UI, projects | Orchestrator dashboard, Action Center | Control Room, AARI |
| Background jobs | Per-scope crons and watches | Scheduled triggers, queue-based | Scheduled triggers, queue-based |
| Governance | Three security postures + command policy | Role-based access + governance policies | Role-based access + governance policies |
| Deployment | Self-hosted (Fly.io / AWS), MIT license | Cloud/on-prem, commercial license | Cloud/on-prem, commercial license |
| Cost | Free (MIT) + infrastructure + model API costs | Commercial licensing per robot | Commercial licensing per runner |
The key insight: QM is not a replacement for UiPath or Automation Anywhere. It operates in a different layer. RPA platforms excel at deterministic, high-volume process automation β invoice processing, data entry, system migrations. QM excels at knowledge work augmentation β searching documents, drafting communications, triaging inboxes, tracking projects, building internal tools. The most capable organizations will run both: RPA for structured processes, QM (or a similar harness) for unstructured agent work.
Real-World Use Cases YC Runs on QM
Y Combinatorβs own usage provides concrete examples of what company-wide agent deployment looks like in practice:
Accounting and Legal
Financial teams search internal notes, email, documents, and databases together through the agent. Legal operations use scoped memory to maintain case context across sessions without leaking privileged information between matters. The keychain-per-scope model means financial API credentials never surface in an engineering channel.
Events and Operations
QM tracks projects in shared Slack channels, posting updates and follow-ups automatically. Crons run background monitoring β checking event logistics, vendor status, and deadlines β and surface issues before humans need to ask.
Engineering
Engineering teams work in existing repositories: running tests, opening PRs, monitoring CI, and checking system logs. The durable sandbox means a developerβs agent remembers their project setup, installed tools, and environment configuration between sessions. YC builds QM itself using QM.
Inbox Triage
QM learns a userβs writing voice from past sends, then triages their inbox on a schedule β applying labels and drafting replies. This runs as a per-user cron, not a shared process, so each personβs triage rules and voice model are private.
How to Evaluate QM for Your Organization
Before deploying QM, run through this checklist:
| Question | If Yes | If No |
|---|---|---|
| Do you have a platform engineer who can manage Postgres + Fly.io/AWS? | Proceed | QM is not turnkey β consider a managed alternative |
| Do 10+ employees need AI agent access with different contexts? | QMβs multiplayer model pays off | A single-player harness may suffice |
| Is Slack your primary collaboration tool? | QMβs Slack-native design is a natural fit | Web-only mode works, but you lose the collaboration surface |
| Do you need to control which models/harnesses are available? | QMβs admin controls and harness agnosticism help | Any personal agent will work |
| Are you in a regulated industry requiring audit trails? | QMβs security postures and auditing are designed for this | Still useful, but less differentiating |
| Do you already run RPA for structured processes? | QM complements RPA for unstructured knowledge work | QM alone can handle agent-level automation |
Getting Started: The Minimum Viable Deployment
The fastest path to a running QM instance does not require cloning the repository:
# Create an org-owned deployment repo
npm exec --yes --package=@yc-software/qm@latest -- \
qm init . --org your-company --target fly
# Install dependencies
npm install
# The init command materializes a deployment skill that walks through:
# 1. Infrastructure setup (Postgres, compute)
# 2. Web sign-in configuration (built-in broker or external IdP)
# 3. Connector credentials (for services the agent will access)
# 4. Optional Slack app access
# 5. Deployment and live verification
The qm init command scaffolds a deployment directory with all the configuration needed. The deployment skill then guides you through each step interactively. For the full walkthrough, see the official getting-started.md and deployment.md in the repository.
What QM Gets Right β and Where It Falls Short
Strengths
Scope isolation is the right default. Most organizations that have tried deploying a shared AI agent hit the same wall: context pollution. One teamβs instructions bleed into another teamβs sessions. QM solves this architecturally, not through prompting tricks.
Harness agnosticism protects your investment. The AI model landscape shifts quarterly. Being locked to one vendorβs agent runtime is the 2026 equivalent of being locked to one RPA vendorβs workflow engine in 2018. QMβs interface-based substrate design means you can swap harnesses as the market evolves.
The skill system mirrors enterprise governance patterns. Create β share β review β promote is the same lifecycle that RPA Centers of Excellence built for bot libraries. QM applies it to agent capabilities with git-backed skill packs as a bonus.
Self-hosted by design. No data leaves your infrastructure. For healthcare, legal, financial services, and defense organizations, this is not a feature β it is a requirement.
Limitations
YC calls it βearly and buggy.β This is production software at YC, but it has not been battle-tested across thousands of organizations. Expect rough edges, incomplete documentation for advanced scenarios, and breaking changes as the project matures.
Contributions must be human-written text, not code. QMβs CONTRIBUTING.md explicitly requires that contributions come as informal descriptions in .txt or .md files β the YC team handles implementation. This is an unusual model that may slow community-driven development.
No GUI workflow builder. RPA platforms provide visual workflow designers. QM is entirely code-and-prompt-driven. If your automation team relies on low-code/no-code tooling, QM requires a mindset shift.
Slack dependency for the best experience. QM works without Slack via the web UI, but the multiplayer collaboration features are designed around Slack channels and messages. Teams on Microsoft Teams or Discord would need to build their own surface plugin.
The Bigger Picture: Agent Harnesses as Enterprise Infrastructure
QMβs release signals a broader trend. In 2024, the agentic AI conversation centered on frameworks β LangChain, AutoGen, CrewAI. By mid-2026, the conversation has shifted to harnesses: the production infrastructure that makes agents safe, observable, and manageable at organizational scale.
The emerging stack looks like this:
- Models (GPT-5.x, Claude Opus/Sonnet 5, Gemini 3.x, open-weight models like Muse Glimmer) provide the reasoning engine
- Frameworks (LangGraph, CrewAI, Mastra) define multi-agent logic and routing
- Harnesses (QM, Claude Code, OpenCode, Codex, OpenClaw) provide the production runtime β sandboxing, permissions, state, observability
- Connectivity standards (MCP, A2A) standardize how agents discover and call tools
- Observability (Langfuse, LangSmith, OpenTelemetry) provide the monitoring layer
For organizations already running RPA, the practical implication is clear: your existing RPA infrastructure handles deterministic, high-volume process automation. Agent harnesses like QM handle the unstructured, judgment-intensive knowledge work that RPA was never designed for. The two are complementary, not competitive.
The organizations that move fastest will be those that treat agent harness selection with the same rigor they applied to RPA platform selection five years ago: evaluating security models, governance capabilities, vendor independence, deployment flexibility, and total cost of ownership. QMβs open-source, self-hosted, harness-agnostic design gives it a structural advantage on most of those criteria β at the cost of requiring more engineering investment to deploy and maintain.
Frequently Asked Questions
Is QM free to use?
QMβs source code is MIT-licensed and free. You pay for your own cloud infrastructure (Fly.io or AWS), Postgres hosting, and model API costs (OpenAI, Anthropic, etc., depending on which harness and model you configure). There is no per-seat or per-agent license fee from Y Combinator.
Can QM replace our existing RPA platform?
No β and it is not designed to. QM handles knowledge work augmentation (document search, inbox triage, project tracking, internal app generation). RPA platforms handle deterministic process automation (data entry, invoice processing, system integration). Most organizations will run both, with QM covering the unstructured work that RPA cannot reach.
Which LLM models does QM support?
QM is harness-agnostic. It supports any model accessible through its supported harnesses: Pi, OpenCode, Codex, and Claude Code. Through these harnesses, you can use OpenAI (GPT-5.x), Anthropic (Claude), Google (Gemini), DeepSeek, Kimi, or custom local models. Swapping between them does not require rewriting your agent configuration.
How does QM compare to OpenClaw?
OpenClaw (382k+ GitHub stars) is the most popular open-source agent platform, but it is architecturally a personal assistant that connects to 50+ tools. QM is a multiplayer harness designed for company-wide deployment with per-user/per-room isolation, admin governance, and Slack-native collaboration. Choose OpenClaw for individual productivity; choose QM for team-level agent infrastructure.
Is QM production-ready for enterprise deployment?
QM is production-tested at Y Combinator, but YC itself describes it as βearly and buggy.β It is mature enough for startups and mid-sized companies (10β500 people) with engineering support. Large enterprises should pilot it in a limited scope and audit the security model (documented in SECURITY.md) before broad deployment.
Key Takeaways
- QM is the first open-source multiplayer agent harness designed for company-wide deployment, not personal use. Every user and every Slack room gets isolated memory, files, credentials, crons, and a durable sandbox.
- Harness agnosticism prevents vendor lock-in. Pi, OpenCode, Codex, and Claude Code all plug into the same core, so organizations can swap models and harnesses without rewriting infrastructure.
- The security model adds enterprise governance that personal coding agents lack: three postures (Strict, Auto, Dangerous) with a hard floor of command-policy denials that apply in all modes.
- QM complements RPA, it does not replace it. Use QM for unstructured knowledge work (search, triage, drafting, project tracking). Use RPA for deterministic process automation (data entry, invoice processing, system integration).
- MIT-licensed and self-hosted. No data leaves your infrastructure, no per-seat fees, no vendor lock-in β but you need at least one platform engineer to deploy and maintain it.
- The skill system mirrors RPA Center of Excellence governance: create, share by grant, admin-promote to org, import skill packs from git. Mature RPA teams will recognize the pattern instantly.
- Best fit today: startups and mid-sized companies (10β500 people) using Slack, with at least one engineer comfortable managing Postgres and cloud infrastructure.
External References
- QM GitHub Repository β MIT-licensed source code, README, and documentation
- QM Official Project Page β Y Combinatorβs landing page for QM
- QM SECURITY.md β Threat model, operator assumptions, and known limitations
- QM Getting Started Guide β End-to-end first run documentation
- MarkTechPost: Y Combinator Open-Sources QM β Coverage of the QM release (August 3, 2026)
- Startup Fortune: Y Combinator Open-Sources QM β Analysis of QMβs deployability and target audience
- The Agent Report: YC Open-Sources QM β Deep analysis of QMβs architecture and reception
- ExplainX: YC QM Open-Source Multi-Agent Harness β Technical overview and deployment guide
- Atlan: Agent Harness vs Agent Framework β The distinction between harnesses and frameworks (2026)
- MindStudio: Agent Harness vs Framework β Framework for understanding where harnesses fit in the agent stack






