Documentation Sections
Documentation
Everything you need to know about using Modulo AI to triage and fix bugs automatically.
Why Modulo
General-purpose coding agents — Claude Code, Cursor, Gemini, Copilot — are powerful tools for writing and refactoring code. But debugging complex distributed systems requires something different: stateful, auditable, collaborative multi-agent workflows built around the full context of a production failure.
Modulo vs. Coding Agents
| Feature | Coding Agents | Modulo |
|---|---|---|
| Context limit | ~200K tokens | Unlimited — agent swarms chunkify |
| Bug context ingestion | Manual — bring your own | Automated — logs, traces, metrics, comments, images, videos |
| Fix validation | None | Reproduction test case + regression verification |
| Collaboration | Local session, not shareable | Triage sessions postable to bug, loadable by another engineer |
| Artifact versioning | Conversation moves on | All objects versioned, rewindable |
| Fix persistence | Copy-paste from chat | PRs pushed, state persisted, updates posted to issue tracker |
Closing the APM Resolution Gap
Traditional APM tools — Datadog, New Relic, Splunk, Dynatrace — alert you to problems. They stop at the critical moment: the fix. Modulo bridges that gap.
- Trace-to-Fix Pipeline — Consumes distributed traces (OpenTelemetry, Jaeger) and maps them to the specific code locations that need changing.
- Alert Enrichment — Transforms vague APM alerts into concrete fix proposals with confidence scores and evidence references.
- No More Tool Sprawl — Integrates with your existing observability stack: Datadog, New Relic, Splunk, Dynatrace, ELK Stack, Loki, CloudWatch, Grafana, PagerDuty, Opsgenie.
- Intelligent Triage — Continuous learning reduces alert fatigue by improving detection accuracy and deprioritizing false positives.
Key Differentiators
- Multimodal Input Intelligence — Integrates visual data (screenshots, screen recordings, error images) with logs, metrics, and traces to triage bugs across your full application stack.
- Data Privacy — Full Control — The VS Code extension runs
fixbugsas a local process. Your code is analyzed on your machine. Supports custom LLM backends so your data never touches a third-party AI provider. - Built for Large Context — Fan-out / fan-in agentic architecture efficiently processes massive data volumes. Up to 16× throughput through intelligent parallelization.
- Price Advantage — Supports local models and open-source alternatives like GLM 4.7 and Minimax M2.7 — no vendor lock-in.
- Built for Teams — Triage sessions are shareable and resumable. Bug ownership changes hands; Modulo keeps the full context intact.
Get Started
Choose your integration:
| VS Code Extension | GitHub App | |
|---|---|---|
| Where it runs | Your local machine | Modulo's cloud |
| Trigger | Interactive — you drive | Comment-driven — Modulo responds autonomously |
| Best for | Deep interactive triage sessions | Automated analysis and fixes on every issue |
| Install | VS Code Marketplace | github.com/apps/solve-bug |
Prerequisites — VS Code Extension
- VS Code 1.85 or later
- An LLM API key (OpenRouter recommended)
- Git installed
Prerequisites — GitHub App
- A GitHub account
- A repository to install the App on
VSCode Extension
The Modulo VS Code extension turns your editor into a full bug triage workbench. It automatically manages a local fixbugs server, connects to Modulo's authentication service, and provides a panel-based UI that walks you from raw bug report to applied code fix.
What you get:
- Import bugs from GitHub, GitLab, Jira, APM alerts, or paste raw text
- Automatic fault localization — no manual file hunting
- Competing root-cause hypotheses with confidence scores and evidence
- Agentic streaming chat with full tool-call visibility
- Task-based fix plans with split-view source code
- Hunk-level diff review with inline accept / reject
- Apply fixes directly to your workspace; handle merge conflicts in-editor
- Create commits and open pull requests without leaving VS Code
Install: Open VS Code → Extensions → search FixBugs → Install, or use the Marketplace link.
Features & Steps
Step 1 — Ingest & Analyze
Import a bug from any source:
- Paste a GitHub / GitLab / Jira issue URL
- Paste an APM alert URL or raw alert payload
- Type or paste a bug description directly
Modulo fetches the full context: issue body, all comments, linked PRs, stack traces, error images, logs, metrics, and traces. No token ceiling — agent swarms chunkify and process arbitrarily large data volumes.
Step 2 — Hypotheses
Most debugging tools pick the single most likely cause and retry when wrong. Modulo takes a different approach: recall over precision. It generates multiple competing root-cause hypotheses, each with:
- A confidence score (0–100%)
- Evidence pointers — specific files, functions, and line references
- A suggested fix approach
You review the hypotheses and select the one that fits your understanding.
Step 3 — Assistant Chat
A familiar streaming chat interface. Ask Modulo anything about the bug, guide its reasoning, or ask it to reconsider a hypothesis. The agent shows its full reasoning chain:
- Real-time streaming text with extended thinking blocks
- Full functionality accessible via chat, from hypothesis tuning to regenerating the code changes.
Step 4 — Fix Planning
Modulo generates a structured, task-based fix plan for the selected hypothesis. The plan view shows:
- A plain-language summary of the approach
- A list of tasks, each identifying the file to change and the change needed
- Split-view: plan on the left, live source code on the right
Edit the plan inline or ask Modulo to regenerate with constraints (e.g., "make the fix more conservative", "avoid changing the public API").
Step 5 — Diff Review & Apply
Modulo generates unified diffs for every affected file. Review them at the hunk level — accept or reject individual change blocks without touching the rest of the file. Regenerate any hunk inline with guidance.
When satisfied, apply the fix to your workspace:
- Clean workspace — changes appear as unsaved edits; review before saving
- Dirty workspace — a three-way merge UI shows original, current, and proposed side by side
From there, create a commit and open a pull request — all from the VS Code panel.
Configuration
All settings are under the modulo.* namespace in VS Code settings (Ctrl+, or Cmd+,).
Connection
| Setting | Default | Description |
|---|---|---|
modulo.fixbugs.url | "" | URL of a running fixbugs instance. Leave empty to auto-manage a local server. |
modulo.fixbugs.binaryPath | "fixbugs" | Path to the fixbugs binary. Searches PATH by default. |
modulo.fixbugs.autoStart | true | Auto-start the local server when the extension activates. |
modulo.fixbugs.server.port | 8005 | Port for the managed local server. |
LLM
| Setting | Default | Description |
|---|---|---|
modulo.fixbugs.llm.provider | "modulo" | Modulo gives access to Claude, Grok, and more. |
modulo.fixbugs.llm.premiumModel | "x-ai/grok-4.1-fast" | Primary model for analysis, hypotheses, and fix generation. |
modulo.fixbugs.llm.smallModel | "x-ai/grok-code-fast-1" | Fast model for classification and quick tasks. |
Database
| Setting | Default | Description |
|---|---|---|
modulo.fixbugs.database.backend | "sqlite" | sqlite (no setup) or postgresql. |
modulo.fixbugs.database.host | "localhost" | PostgreSQL host. |
modulo.fixbugs.database.port | 5432 | PostgreSQL port. |
Performance & Tuning
| Setting | Default | Description |
|---|---|---|
modulo.fixbugs.tasks.maxConcurrent | 50 | Max concurrent tasks across all users. |
modulo.fixbugs.analysis.maxLocalizedFiles | 15 | Max files to include in fault localization. |
modulo.fixbugs.logLevel | "INFO" | DEBUG / INFO / WARNING / ERROR |
GitHub App
The Modulo GitHub App — github.com/apps/solve-bug — integrates directly into your GitHub issue workflow. Install it once; Modulo automatically analyzes every new issue and responds to comment commands with analysis summaries, code fixes, and pull requests.
Installation
- Visit github.com/apps/solve-bug or search Modulo AI in the GitHub Marketplace.
- Click Install and select repositories:
- All repositories — Modulo monitors all current and future repos
- Select repositories — Choose specific repos
- Authorize the required GitHub permissions (see Webhook Configuration).
- Verify your email to activate the account.
Automatic Behavior
The moment a new issue is opened or labeled, Modulo posts an AI-generated comment containing:
- Summary — concise description of the bug
- Classification — bug type (runtime error, API issue, logic bug, configuration error, etc.)
- Severity and priority — impact and urgency assessment
- Actionability — whether the report contains enough information to act on
Webhook Commands
Post any of the following as an issue comment to trigger Modulo's fix pipeline.
| Command | Type | Description |
|---|---|---|
solve-bug | Primary | Root-cause the issue, generate a proposed code fix, post it as a comment |
solve-bug-again | Iterative | Regenerate the fix using your comment as additional guidance |
solve-bug-pr | Automation | Create a pull request from the most recent fix |
solve-bug-repro | Testing | Generate a reproduction test case for the issue |
solve-bug-validate <PR link> | Validation | Verify that a given PR actually fixes the bug — test fails before fix, passes after |
You can also use short trigger phrases anywhere in a comment:
@fixbugs fix this
@fixbugs fix
@modulo fix this
@modulo fixTypical Workflow
- Team member reports a bug in GitHub Issues
- Modulo auto-posts analysis summary (classification, severity, actionability)
- Comment:
solve-bug - Modulo analyzes, generates fix (5–10 min), posts diffs as comment
- Comment:
solve-bug-pr - Modulo opens a pull request with the fix
- Team reviews, approves, and merges
Iterative Refinement
If the first fix doesn't address the root cause, guide Modulo with context:
The issue is in the authentication middleware, not the database layer.
The session token expires before the refresh logic runs.
solve-bug-againModulo reruns the full analysis with your guidance as additional context.
Webhook Configuration
Configuration is done entirely through GitHub during installation — no server setup required.
Required GitHub Permissions
| Permission | Access | Purpose |
|---|---|---|
| Repository Contents | Read | Analyze source code |
| Issues | Read / Write | Read bug reports, post analysis and fix comments |
| Pull Requests | Read / Write | Create pull requests with generated fixes |
| Commits | Read | Review existing commits for context |
Trigger Events
| Event | Trigger | Action |
|---|---|---|
| Issue opened | Automatic | Analysis comment posted |
| Issue labeled | Automatic | Analysis comment posted |
| Issue comment created | On command phrase | Full fix workflow spawned |
Security: All webhook payloads are verified via HMAC-SHA256 signature before processing. Modulo never permanently stores your source code.
Architecture
Modulo's core engine — fixbugs — is a Python FastAPI service that orchestrates a multi-agent pipeline for bug resolution. The VS Code extension communicates with a local fixbugs instance over REST and WebSocket; the GitHub App triggers the same pipeline in the cloud.
VSCode Extension / GitHub Webhook
↓
fixbugs REST API + WebSocket
↓
WorkflowCoordinator
↓
Solver Layer (Analysis → Hypotheses → Plan → Fix)
↓
LLM Driver
↓
Repository Layer (SQLite default / PostgreSQL optional)
↓
Adapters (GitHub, GitLab, Jira, Prometheus, Local file, Raw text)Specialized Agents
| Agent | Role |
|---|---|
| Analysis Agent | Parses issue descriptions, classifies bug type, extracts structured context from all linked artifacts |
| Fault Localization Agent | Scores files by relevance (0–100%) using parallel chunked analysis — needle-in-a-haystack approach |
| Planner Agent | Determines fix strategy, plans order of operations, assesses potential side effects and breaking changes |
| Repository Knowledge Graph | Builds function/class/dependency graph via treesitter ast parsing; understands cascading effects |
| Fix Generation Agent | Generates syntactically correct diffs that match existing code style and conventions |
Performance
Modulo achieves high throughput through intelligent parallelization:
- Sequential analysis of 500KB context at 100 tok/s = 600 seconds
- 16 parallel threads at 100 tok/s each = 37.5 seconds — 16× faster
- Analysis that would take 10+ minutes completes in under 60 seconds
Supporting Services
- users — Authentication (GitHub, GitLab, Jira OAuth), GitHub App installation management, subscription entitlements, API key brokerage, session management
- MCP server integrations, like CodeGraphContext, time, context7 provides deep analysis for C, C++, Go, Java, JavaScript, PHP files and their commonly used libraries.
Pricing
- 3 bug fixes total
- Discord community support
- 10 bug fixes / month
- Pay-as-you-go credits
- Email support
- 25 bug fixes / month
- Priority support
- Dedicated onboarding
Save 25% on all paid plans with annual billing. Pay-as-you-go: Pro plan users can purchase additional fix credits at API rates beyond the monthly quota.
Available via GitHub Marketplace or direct subscription (Stripe globally, Razorpay for India — auto-selected by location).
Competitive Landscape
| Dimension | AI SRE Tools | Gemini / Codex | Modulo |
|---|---|---|---|
| Category | Next-Gen Monitoring | Code Assistant | Triage and Fix — Alerts & Bugs |
| Primary Function | Monitoring + RCA | Code generation | Real-time RCA + Fix |
| Monitoring Integration | Yes | No | Yes |
| Context Handling | Large context | Limited context | Large context |
| Production Bug Handling | Automated triage | Manual input | Automated bugfixing |
| Fix Validation | No | Manual | Automated |
| Fix Generation | No | Yes | Yes |
AI SREs (Incident.io, Shoreline) handle monitoring and root-cause analysis but stop at the fix. Code assistants (Gemini, Codex, Copilot) generate fixes but require you to bring your own context and validate manually. Modulo does all three — monitor, diagnose, and fix — end-to-end with automated validation.
Account Management
Manage your Modulo account at users.fixbugs.ai.
Dashboard
- Quota monitoring — Visual progress bar showing usage vs. monthly quota; alerts at 80% and 100%; next reset date
- Usage statistics — Bugs Analyzed (all time), PRs Merged, API Calls this month
- Subscription badge — Current plan (Free Trial / Pro / Super User)
- GitHub Marketplace status — Plan name, billing cycle, next billing date, pending plan changes
API Keys
API keys authenticate the VS Code extension, CLI, and any programmatic access.
- Dashboard → API Keys → Create New API Key
- Give it a descriptive name (e.g., "VSCode Extension", "CI/CD Pipeline")
- Copy the key immediately — it is shown only once
- Store it in a password manager or environment variable; never commit to source control
Each key records its call count, last-used timestamp, and active/revoked status. Revocation via Dashboard → API Keys → Revoke is immediate and irreversible.
Billing Portal
Dashboard → Billing & Subscription:
- View and download invoices
- Update payment method
- View payment history
- Upgrade, downgrade, or cancel subscription
Upgrades take effect immediately. Downgrades apply at the end of the current billing period.
Privacy & Compliance
| Protection | Detail |
|---|---|
| Encryption at rest | AES-256 |
| Encryption in transit | TLS 1.2+ |
| Data export | JSON format, delivered by email within 24h — Settings → Privacy & Data Controls → Export Your Data |
| Account deletion | All data permanently deleted, all API keys revoked — Settings → Privacy & Data Controls → Delete Account |
| Standards | GDPR, CCPA, SOC 2, DPDP Act 2023 |