Getting Started
Does ModusBrain require an external database to run?
Does ModusBrain require an external database to run?
What API keys do I need to get started?
What API keys do I need to get started?
- ZeroEntropy — recommended for highest quality retrieval (
ZEROENTROPY_API_KEY) - OpenAI — broadly available, good general-purpose embeddings (
OPENAI_API_KEY) - Voyage AI — alternative high-quality embedding provider (
VOYAGE_API_KEY) - Anthropic — used for LLM-powered compilation and reasoning (
ANTHROPIC_API_KEY)
What is the difference between PGLite and Postgres (Supabase)?
What is the difference between PGLite and Postgres (Supabase)?
- A knowledge base with more than 1,000 documents
- Multi-machine access (e.g., a team sharing one brain over HTTP)
- Production-grade durability and backup strategies
modusbrain init command automatically detects your repo size and suggests Supabase when it’s warranted.Can I use ModusBrain with Node.js instead of Bun?
Can I use ModusBrain with Node.js instead of Bun?
How do I verify that my installation is working correctly?
How do I verify that my installation is working correctly?
modusbrain doctor will print the exact fix command needed to resolve the issue.Operational Skills
What exactly is an 'operational skill'?
What exactly is an 'operational skill'?
- Prose judgment — semantic, context-aware guidelines for reasoning about edge cases
- Structured policy rules — explicit executable logic (e.g.
if amount < 500 => auto_approve) - Provenance record — a full audit trail linking the skill back to every source document, compiler identity, and timestamp
What is the difference between a 'draft' and an 'active' skill?
What is the difference between a 'draft' and an 'active' skill?
What happens when an agent's execution request is blocked by the confidence gate?
What happens when an agent's execution request is blocked by the confidence gate?
- Issue an approval token — a time-limited override that allows one specific agent to bypass the gate for exactly one execution
- Lower the risk tier — recompile the skill with a lower-tier setting if the current threshold is misconfigured
- Submit a correction — provide feedback that improves future confidence scores for this skill
Can I revert a skill to a previous version?
Can I revert a skill to a previous version?
How many skills can I compile from a single document source?
How many skills can I compile from a single document source?
refund-handling, expense-reimbursement, onboarding-checklist) and having multiple agents share the same active skill version.Safety & Compliance
How does confidence gating work?
How does confidence gating work?
What is an approval token and when should I use one?
What is an approval token and when should I use one?
- A legitimate business case requires executing a high-stakes action that falls below the automatic confidence threshold
- An emergency situation requires bypassing the normal approval flow
- You want a human to review an edge case without recompiling the skill
Where are audit logs stored and how do I access them?
Where are audit logs stored and how do I access them?
- The executing agent’s identity
- The skill slug and exact version evaluated
- The full parameter set passed to the execution
- The calculated confidence score
- The final outcome (allowed, blocked, or overridden)
- A timestamp and operator identity for any approval actions
Is ModusBrain compliant with data privacy regulations?
Is ModusBrain compliant with data privacy regulations?
MCP & Integrations
Which AI coding agents and clients does ModusBrain support?
Which AI coding agents and clients does ModusBrain support?
- Claude Code — via
claude mcp add modusbrain -- modusbrain serve - Claude Desktop — via stdio MCP configuration
- ChatGPT — via OpenAI MCP client support
- Codex — via
codex mcp add modusbrain -- modusbrain serve - Cursor — via stdio MCP
- Perplexity — via OAuth-scoped HTTP MCP
Can I connect my agent to a remote brain without installing a full local engine?
Can I connect my agent to a remote brain without installing a full local engine?
Troubleshooting
What do I do if 'modusbrain doctor' shows warnings or failures?
What do I do if 'modusbrain doctor' shows warnings or failures?
modusbrain doctor is a self-healing diagnostic tool. When it reports a warning or failure, it also prints the exact fix command in the output message. Most common issues and their solutions:modusbrain doctor --fix to attempt automatic remediation.A skill's confidence score is consistently too low. How do I improve it?
A skill's confidence score is consistently too low. How do I improve it?
- The source documentation is thin or contradictory — Enrich the relevant docs in your knowledge base, then recompile the skill.
- Conflicting policy documents — Run
modusbrain opskill flag-conflict <slug>to identify and resolve document-level contradictions before recompiling. - The risk tier is too high for the skill’s domain — Review whether the assigned risk tier matches the actual business risk of the operation.
How do I upgrade ModusBrain to the latest version?
How do I upgrade ModusBrain to the latest version?
What does 'schema_version: 0' mean and how do I fix it?
What does 'schema_version: 0' mean and how do I fix it?
schema_version: 0 in your modusbrain doctor output means the database schema has not been initialized or the migrations have not been applied. This typically happens after a fresh install or a failed upgrade.Fix it by running the migration command manually:modusbrain doctor again to confirm all schema checks are green.Is ModusBrain open source? Can I self-host it?
Is ModusBrain open source? Can I self-host it?