{"id":"a24f2e4b-2243-4588-87e9-5b0308ca98cd","entityType":"agent","slug":"crewai-aryika78-multi-agent-bug-detective","name":"multi-agent-bug-detective","canonicalUrl":"https://www.xpersona.co/agent/crewai-aryika78-multi-agent-bug-detective","canonicalPath":"/agent/crewai-aryika78-multi-agent-bug-detective","generatedAt":"2026-10-10T07:40:03.647Z","source":"GITHUB_REPOS","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-09T23:24:37.167Z","emptyReason":null},"description":"Multi-agent bug diagnosis system using CrewAI that analyzes bug reports, searches logs, reproduces issues, and outputs root-cause analysis with patch plans Bug Detective - Multi-Agent Bug Diagnosis System A multi-agent system built with **CrewAI** that ingests a bug report and application logs, reproduces the issue with a minimal test script, and outputs a root-cause hypothesis with a patch plan. Architecture Agents (5 Total) | Agent | Role | Tools | |-------|------|-------| | **Triage** | Extracts symptoms, prioritizes hypotheses | None (reasoning only) | | **Log Analy","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. Last updated 10/9/2026.","installCommand":null,"sourceUrl":"https://github.com/aryika78/multi-agent-bug-detective","homepage":null,"primaryLinks":[{"label":"View Source","url":"https://github.com/aryika78/multi-agent-bug-detective","kind":"source"}],"safetyScore":66,"overallRank":18,"popularityScore":0,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"Multi-agent bug diagnosis system using CrewAI that analyzes bug reports, searches logs, reproduces issues, and outputs root-cause analysis with patch plans Bug "},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-09T23:24:37.167Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[{"label":"crewai","status":"self-declared"},{"label":"multi-agent","status":"self-declared"}],"verifiedCount":0,"selfDeclaredCount":3,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"},{"key":"crewai","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"},{"key":"multi-agent","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile capability:crewai|supported|profile capability:multi-agent|supported|profile"}},"adoption":{"evidence":{"source":"no-adoption-signals","verified":false,"confidence":"low","updatedAt":"2026-10-09T23:24:37.167Z","emptyReason":"No source adoption metrics were available."},"stars":0,"forks":0,"downloads":null,"packageName":null,"latestVersion":null,"tractionLabel":null},"release":{"evidence":{"source":"agent-index","verified":false,"confidence":"medium","updatedAt":"2026-10-09T23:24:37.161Z","emptyReason":null},"lastUpdatedAt":"2026-10-09T23:24:37.167Z","lastCrawledAt":"2026-10-09T23:24:37.161Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-16T23:24:37.161Z","lastVerifiedAt":null,"highlights":[]},"execution":{"evidence":{"source":"GITHUB REPOS","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":null,"setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/crewai-aryika78-multi-agent-bug-detective/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/crewai-aryika78-multi-agent-bug-detective/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/crewai-aryika78-multi-agent-bug-detective/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/crewai-aryika78-multi-agent-bug-detective/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/crewai-aryika78-multi-agent-bug-detective/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/crewai-aryika78-multi-agent-bug-detective/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"GITHUB_REPOS","generatedAt":"2026-10-10T07:40:03.646Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/crewai-aryika78-multi-agent-bug-detective/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/crewai-aryika78-multi-agent-bug-detective/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/crewai-aryika78-multi-agent-bug-detective/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/crewai-aryika78-multi-agent-bug-detective/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"GITHUB REPOS","verified":false,"confidence":"high","updatedAt":"2026-10-09T23:24:37.167Z","emptyReason":null},"readme":"# Bug Detective - Multi-Agent Bug Diagnosis System\n\nA multi-agent system built with **CrewAI** that ingests a bug report and application logs, reproduces the issue with a minimal test script, and outputs a root-cause hypothesis with a patch plan.\n\n## Architecture\n\n```\nBug Report + Logs + Mini Repo\n        |\n   +----v----+\n   | Triage  | - extracts symptoms, prioritizes hypotheses\n   +----+----+\n        |\n   +----v--------+\n   | Log Analyst  | - searches logs for evidence, filters noise\n   +----+---------+      (tools: Search Logs, Extract Stack Traces)\n        |\n   +----v-----------+\n   | Reproduction    | - writes and runs a minimal failing test\n   +----+------------+   (tools: Search Codebase, Read File, Run Test Script)\n        |\n   +----v-----------+\n   | Fix Planner     | - proposes root cause + patch plan\n   +----+------------+   (tools: Search Codebase, Read File)\n        |\n   +----v-----------+\n   | Reviewer        | - challenges findings, checks edge cases\n   +----------------+\n        |\n   +----v-----------+\n   | Output JSON     |\n   +----------------+\n```\n\n## Agents (5 Total)\n\n| Agent | Role | Tools |\n|-------|------|-------|\n| **Triage** | Extracts symptoms, prioritizes hypotheses | None (reasoning only) |\n| **Log Analyst** | Searches logs for evidence and patterns | `search_logs`, `extract_stack_traces` |\n| **Reproduction** | Writes and runs minimal failing test | `search_codebase`, `read_file`, `run_test_script` |\n| **Fix Planner** | Proposes root cause and patch plan | `search_codebase`, `read_file` |\n| **Reviewer** | Challenges assumptions, verifies fix safety | None (reasoning only) |\n\n## Tools\n\n| Tool | Method | Purpose |\n|------|--------|---------|\n| `search_logs` | Regex search over log file | Find error patterns, warnings, evidence |\n| `extract_stack_traces` | Parse ERROR/WARN entries | Get all errors and warnings grouped |\n| `search_codebase` | Regex search over Python files | Find relevant code paths |\n| `read_file` | Read file with line numbers | Examine source code in detail |\n| `run_test_script` | Write and execute Python script | Run reproduction tests |\n\n## The Bug (Mini Repo)\n\nA small order processing system with an intentional bug:\n- **Bug:** Discount codes are calculated but not applied before charging the customer\n- **Impact:** Customers are charged full price even with valid discount codes\n- **Location:** `input/mini_repo/order_service.py` - `process_order()` method\n- **Evidence:** Logs show receipt total != charged amount for all discounted orders\n\n## Setup & Run\n\n### Prerequisites\n- Python 3.10+\n- Azure OpenAI API key with `gpt-4.1-mini` deployment\n\n### Installation\n\n```bash\ngit clone <repo-url>\ncd assessment2-bug-detective\n\npython -m venv venv\n\n# Windows PowerShell\n.\\venv\\Scripts\\Activate.ps1\n# Linux/Mac\nsource venv/bin/activate\n\npip install -r requirements.txt\n```\n\n### Configuration\n\n```bash\ncp .env.example .env\n```\n\nEdit `.env` with your Azure OpenAI credentials:\n```\nAZURE_OPENAI_API_KEY=your-key-here\nAZURE_OPENAI_ENDPOINT=https://your-resource.openai.azure.com\nAZURE_OPENAI_API_VERSION=2025-01-01-preview\nDEPLOYMENT_MAIN=gpt-4.1-mini\n```\n\n### Run\n\n```bash\npython main.py\n```\n\n### Docker (Alternative)\n\n```bash\ndocker-compose up --build\n```\n\n## Output\n\n| File | Description |\n|------|-------------|\n| `output/diagnosis.json` | Structured diagnosis (JSON) with root cause, evidence, patch plan |\n| `output/repro_test.py` | Minimal reproduction script generated by the Reproduction agent |\n| `output/trace.log` | Agent step-by-step trace log |\n\n### Sample Output Structure\n\n```json\n{\n  \"bug_summary\": {\n    \"title\": \"Discount not applied before payment charge\",\n    \"symptoms\": [\"Overcharge\", \"Receipt mismatch\"],\n    \"severity\": \"Critical\",\n    \"scope\": \"All orders with discount codes\"\n  },\n  \"evidence\": {\n    \"log_lines\": [\"L12: receipt_total=$799.99, charged=$999.99\"],\n    \"code_references\": [\"order_service.py:47 - charges subtotal instead of discounted total\"]\n  },\n  \"reproduction\": {\n    \"script_path\": \"output/repro_test.py\",\n    \"command\": \"python repro_test.py\",\n    \"expected_failure\": \"AssertionError: total_charged != total_on_receipt\"\n  },\n  \"root_cause\": {\n    \"hypothesis\": \"Payment is charged with subtotal before discount is applied\",\n    \"confidence\": \"high\",\n    \"code_location\": \"order_service.py:47\"\n  },\n  \"patch_plan\": {\n    \"files_impacted\": [\"order_service.py\"],\n    \"approach\": \"Apply discount before calling payment.charge()\",\n    \"risks\": [\"Verify discount validation prevents negative totals\"]\n  },\n  \"validation_plan\": {\n    \"tests_to_add\": [\"test_discount_applied_before_charge\"],\n    \"regression_checks\": [\"test_no_discount_order\", \"test_zero_amount\"]\n  },\n  \"open_questions\": [\"How many customers were affected?\", \"Refund process needed?\"]\n}\n```\n\n## Traceability\n\nAgent traces are available in:\n1. **Console output** - real-time verbose logs from CrewAI showing each agent's reasoning and tool calls\n2. **`output/trace.log`** - persistent log file with each task's output\n\n## Project Structure\n\n```\nassessment2-bug-detective/\n├── main.py                    # CLI entry point + CrewAI orchestration\n├── config.py                  # Configuration and LLM factory\n├── requirements.txt\n├── Dockerfile\n├── docker-compose.yml\n├── .env.example\n├── input/                     # Bug scenario inputs\n|   ├── bug_report.md          # Bug description\n|   ├── app_logs.txt           # Application logs with evidence + noise\n|   └── mini_repo/             # Small Python app with intentional bug\n|       ├── app.py\n|       ├── order_service.py   # Contains the bug\n|       ├── payment.py\n|       ├── inventory.py\n|       └── tests/\n|           └── test_order.py\n├── agents/                    # CrewAI agent definitions\n|   ├── triage_agent.py\n|   ├── log_analyst_agent.py\n|   ├── reproduction_agent.py\n|   ├── fix_planner_agent.py\n|   └── reviewer_agent.py\n├── tools/                     # Tools agents call programmatically\n|   ├── log_search.py          # Regex search + error extraction\n|   ├── code_search.py         # Codebase search + file reader\n|   └── test_runner.py         # Write and execute test scripts\n└── output/                    # Generated at runtime\n    ├── diagnosis.json\n    ├── repro_test.py\n    └── trace.log\n```\n\n## Tech Stack\n\n- **CrewAI** - Role-based multi-agent orchestration (sequential process)\n- **Azure OpenAI (GPT-4.1-mini)** - Agent reasoning\n- **Python subprocess** - Test execution\n- **Regex** - Log and code search\n- **Docker** - Containerized deployment\n","readmeExcerpt":"Bug Detective - Multi-Agent Bug Diagnosis System A multi-agent system built with **CrewAI** that ingests a bug report and application logs, reproduces the issue with a minimal test script, and outputs a root-cause hypothesis with a patch plan. Architecture Agents (5 Total) | Agent | Role | Tools | |-------|------|-------| | **Triage** | Extracts symptoms, prioritizes hypotheses | None (reasoning only) | | **Log Analy","codeSnippets":[],"executableExamples":[{"language":"text","snippet":"Bug Report + Logs + Mini Repo\n        |\n   +----v----+\n   | Triage  | - extracts symptoms, prioritizes hypotheses\n   +----+----+\n        |\n   +----v--------+\n   | Log Analyst  | - searches logs for evidence, filters noise\n   +----+---------+      (tools: Search Logs, Extract Stack Traces)\n        |\n   +----v-----------+\n   | Reproduction    | - writes and runs a minimal failing test\n   +----+------------+   (tools: Search Codebase, Read File, Run Test Script)\n        |\n   +----v-----------+\n   | Fix Planner     | - proposes root cause + patch plan\n   +----+------------+   (tools: Search Codebase, Read File)\n        |\n   +----v-----------+\n   | Reviewer        | - challenges findings, checks edge cases\n   +----------------+\n        |\n   +----v-----------+\n   | Output JSON     |\n   +----------------+"},{"language":"bash","snippet":"git clone <repo-url>\ncd assessment2-bug-detective\n\npython -m venv venv\n\n# Windows PowerShell\n.\\venv\\Scripts\\Activate.ps1\n# Linux/Mac\nsource venv/bin/activate\n\npip install -r requirements.txt"},{"language":"bash","snippet":"cp .env.example .env"},{"language":"text","snippet":"AZURE_OPENAI_API_KEY=your-key-here\nAZURE_OPENAI_ENDPOINT=https://your-resource.openai.azure.com\nAZURE_OPENAI_API_VERSION=2025-01-01-preview\nDEPLOYMENT_MAIN=gpt-4.1-mini"},{"language":"bash","snippet":"python main.py"},{"language":"bash","snippet":"docker-compose up --build"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[],"languages":["python"],"docsSourceLabel":"GITHUB REPOS","editorialOverview":"Multi-agent bug diagnosis system using CrewAI that analyzes bug reports, searches logs, reproduces issues, and outputs root-cause analysis with patch plans Bug Detective - Multi-Agent Bug Diagnosis System A multi-agent system built with **CrewAI** that ingests a bug report and application logs, reproduces the issue with a minimal test script, and outputs a root-cause hypothesis with a patch plan. Architecture Agents (5 Total) | Agent | Role | Tools | |-------|------|-------| | **Triage** | Extracts symptoms, prioritizes hypotheses | None (reasoning only) | | **Log Analy","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":399,"uniquenessScore":63,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-09T23:24:37.167Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-09T23:24:37.167Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-10T07:40:03.647Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/github_repos","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}