{"id":"6236bc7c-2d37-48fe-846e-134b57760b83","entityType":"agent","slug":"crewai-chathunga2007-ai-code-review-agent","name":"AI-Code-Review-Agent","canonicalUrl":"https://www.xpersona.co/agent/crewai-chathunga2007-ai-code-review-agent","canonicalPath":"/agent/crewai-chathunga2007-ai-code-review-agent","generatedAt":"2026-10-09T14:33:26.275Z","source":"GITHUB_REPOS","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-09T03:24:49.732Z","emptyReason":null},"description":"🤖 Multi-agent AI code reviewer & documentation generator powered by CrewAI, Google Gemini 2.5 Flash, and Streamlit. 🤖 AI Code Review & Documentation Agent $1 $1 $1 $1 $1 An intelligent multi-agent AI system powered by **CrewAI** and **Google Gemini 2.5 Flash** that automatically performs deep code reviews, detects security vulnerabilities, identifies bugs, and generates professional Markdown documentation for your codebase. --- ✨ Key Features - 🕵️‍♂️ **Multi-Agent Architecture (CrewAI)**: - **Senior Code Reviewer Agent**: Inspec","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 3 GitHub stars reported by the source. Last updated 10/9/2026.","installCommand":null,"sourceUrl":"https://github.com/chathunga2007/AI-Code-Review-Agent","homepage":null,"primaryLinks":[{"label":"View Source","url":"https://github.com/chathunga2007/AI-Code-Review-Agent","kind":"source"}],"safetyScore":66,"overallRank":24,"popularityScore":15,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"🤖 Multi-agent AI code reviewer & documentation generator powered by CrewAI, Google Gemini 2.5 Flash, and Streamlit. 🤖 AI Code Review & Documentation Agent $1 "},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-09T03:24:49.732Z","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":"GITHUB REPOS","verified":false,"confidence":"medium","updatedAt":"2026-10-09T03:24:49.732Z","emptyReason":null},"stars":3,"forks":0,"downloads":null,"packageName":null,"latestVersion":null,"tractionLabel":"3 GitHub stars"},"release":{"evidence":{"source":"agent-index","verified":false,"confidence":"medium","updatedAt":"2026-10-09T03:24:49.725Z","emptyReason":null},"lastUpdatedAt":"2026-10-09T03:24:49.732Z","lastCrawledAt":"2026-10-09T03:24:49.725Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-16T03:24:49.725Z","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-chathunga2007-ai-code-review-agent/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/crewai-chathunga2007-ai-code-review-agent/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/crewai-chathunga2007-ai-code-review-agent/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/crewai-chathunga2007-ai-code-review-agent/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/crewai-chathunga2007-ai-code-review-agent/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/crewai-chathunga2007-ai-code-review-agent/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-09T14:33:26.275Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/crewai-chathunga2007-ai-code-review-agent/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/crewai-chathunga2007-ai-code-review-agent/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/crewai-chathunga2007-ai-code-review-agent/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/crewai-chathunga2007-ai-code-review-agent/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-09T03:24:49.732Z","emptyReason":null},"readme":"# 🤖 AI Code Review & Documentation Agent\n\n[![Python](https://img.shields.io/badge/Python-3.10+-3776AB?style=for-the-badge&logo=python&logoColor=white)](https://www.python.org/)\n[![Streamlit](https://img.shields.io/badge/Streamlit-FF4B4B?style=for-the-badge&logo=streamlit&logoColor=white)](https://streamlit.io/)\n[![CrewAI](https://img.shields.io/badge/CrewAI-Multi--Agent-000000?style=for-the-badge)](https://www.crewai.com/)\n[![Google Gemini](https://img.shields.io/badge/Gemini_2.5_Flash-8E75B2?style=for-the-badge&logo=googlegemini&logoColor=white)](https://ai.google.dev/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=for-the-badge)](LICENSE)\n\nAn intelligent multi-agent AI system powered by **CrewAI** and **Google Gemini 2.5 Flash** that automatically performs deep code reviews, detects security vulnerabilities, identifies bugs, and generates professional Markdown documentation for your codebase.\n\n---\n\n## ✨ Key Features\n\n- 🕵️‍♂️ **Multi-Agent Architecture (CrewAI)**:\n  - **Senior Code Reviewer Agent**: Inspects source code for security vulnerabilities, logic errors, edge cases, and performance bottlenecks.\n  - **Technical Documentation Writer Agent**: Transforms technical findings into clear, structured Markdown reports with actionable code recommendations.\n- ⚡ **Powered by Gemini 2.5 Flash**: Utilizes Google's fast and state-of-the-art LLM model for high-accuracy analysis.\n- 🎨 **Modern Streamlit Web UI**:\n  - Upload code files (`.py`, `.java`, `.js`, `.ts`, `.html`, `.css`, `.cpp`).\n  - Direct code editor / text pasting options.\n  - Multi-language support dropdown (Python, Java, JavaScript, TypeScript, C++, HTML/CSS, etc.).\n- 📥 **One-Click Export**: Download generated code review & documentation reports directly as `.md` files.\n- 💻 **CLI & Web UI Modes**: Flexible execution via command line terminal or interactive web dashboard.\n\n---\n\n## 🏗️ Architecture & Workflow\n\n```mermaid\ngraph TD\n    A[User Code Input / File Upload] --> B[Streamlit Web UI / CLI]\n    B --> C[CrewAI Orchestrator]\n    \n    subgraph AI Architecture Crew\n        C --> D[Agent 1: Senior Code Reviewer]\n        D -->|Identifies Bugs & Security Issues| E[Agent 2: Tech Documentation Writer]\n        E -->|Generates Markdown Report| F[Final Output Report]\n    end\n    \n    D --- G[(Google Gemini 2.5 Flash)]\n    E --- G\n    \n    F --> H[UI Display & Markdown File Download]\n```\n\n---\n\n## 🛠️ Tech Stack\n\n- **Framework**: [CrewAI](https://www.crewai.com/) (Sequential Multi-Agent Process)\n- **LLM Engine**: `gemini-2.5-flash` via [Google Gemini API](https://ai.google.dev/)\n- **Frontend / Web UI**: [Streamlit](https://streamlit.io/)\n- **Language**: Python 3.10+\n- **Environment Management**: `python-dotenv`\n\n---\n\n## 🚀 Getting Started\n\n### Prerequisites\n\n- **Python**: `3.10` or higher installed.\n- **Gemini API Key**: Get a free API key from [Google AI Studio](https://aistudio.google.com/).\n\n### Installation\n\n1. **Clone the Repository**:\n   ```bash\n   git clone https://github.com/chathunga2007/AI-Code-Review-Agent.git\n   cd AI-Code-Review-Agent\n   ```\n\n2. **Create & Activate Virtual Environment**:\n   - **Windows (PowerShell)**:\n     ```powershell\n     python -m venv venv\n     .\\venv\\Scripts\\activate\n     ```\n   - **macOS / Linux**:\n     ```bash\n     python3 -m venv venv\n     source venv/bin/activate\n     ```\n\n3. **Install Dependencies**:\n   ```bash\n   pip install crewai streamlit python-dotenv\n   ```\n\n4. **Configure Environment Variables**:\n   Create a `.env` file in the root directory and add your API key:\n   ```env\n   GEMINI_API_KEY=your_google_gemini_api_key_here\n   ```\n\n---\n\n## 💻 Usage\n\n### 1. Launch the Streamlit Web Application (Recommended)\n\nRun the following command in your terminal:\n```bash\nstreamlit run app.py\n```\nThis opens the interactive Web Application in your browser at `http://localhost:8501`.\n\n**How to use the Web App:**\n1. Select your target programming language in the sidebar.\n2. Choose your input method (Upload Code File or Paste Code Text).\n3. Click **🚀 Run AI Review & Generate Docs**.\n4. View the live analysis report and click **📥 Download Markdown Report** to save it!\n\n---\n\n### 2. Run in CLI Mode\n\nYou can also run the terminal script directly:\n```bash\npython agent.py\n```\n\n---\n\n## 📁 Project Structure\n\n```\nAI-Code-Review-Agent/\n│\n├── .env                # Environment variables (GEMINI_API_KEY)\n├── .gitignore          # Git ignore rules\n├── agent.py            # CLI entry point using CrewAI & Gemini\n├── app.py              # Streamlit Web App entry point\n├── sample.py           # Code snippet buffer for evaluation\n└── README.md           # Project documentation\n```\n\n---\n\n## 🤝 Contributing\n\nContributions, issues, and feature requests are welcome! Feel free to open an issue or pull request.\n\n---\n\n## 📜 License\n\nDistributed under the MIT License.\n\n---\n\n<p align=\"center\">\n  Developed By ❤️ <a href=\"https://github.com/chathunga2007\">Chathunga Bimsara</a>\n</p>","readmeExcerpt":"🤖 AI Code Review & Documentation Agent $1 $1 $1 $1 $1 An intelligent multi-agent AI system powered by **CrewAI** and **Google Gemini 2.5 Flash** that automatically performs deep code reviews, detects security vulnerabilities, identifies bugs, and generates professional Markdown documentation for your codebase. --- ✨ Key Features - 🕵️‍♂️ **Multi-Agent Architecture (CrewAI)**: - **Senior Code Reviewer Agent**: Inspec","codeSnippets":[],"executableExamples":[{"language":"mermaid","snippet":"graph TD\n    A[User Code Input / File Upload] --> B[Streamlit Web UI / CLI]\n    B --> C[CrewAI Orchestrator]\n    \n    subgraph AI Architecture Crew\n        C --> D[Agent 1: Senior Code Reviewer]\n        D -->|Identifies Bugs & Security Issues| E[Agent 2: Tech Documentation Writer]\n        E -->|Generates Markdown Report| F[Final Output Report]\n    end\n    \n    D --- G[(Google Gemini 2.5 Flash)]\n    E --- G\n    \n    F --> H[UI Display & Markdown File Download]"},{"language":"bash","snippet":"git clone https://github.com/chathunga2007/AI-Code-Review-Agent.git\n   cd AI-Code-Review-Agent"},{"language":"powershell","snippet":"python -m venv venv\n     .\\venv\\Scripts\\activate"},{"language":"bash","snippet":"python3 -m venv venv\n     source venv/bin/activate"},{"language":"bash","snippet":"pip install crewai streamlit python-dotenv"},{"language":"env","snippet":"GEMINI_API_KEY=your_google_gemini_api_key_here"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[],"languages":["python"],"docsSourceLabel":"GITHUB REPOS","editorialOverview":"🤖 Multi-agent AI code reviewer & documentation generator powered by CrewAI, Google Gemini 2.5 Flash, and Streamlit. 🤖 AI Code Review & Documentation Agent $1 $1 $1 $1 $1 An intelligent multi-agent AI system powered by **CrewAI** and **Google Gemini 2.5 Flash** that automatically performs deep code reviews, detects security vulnerabilities, identifies bugs, and generates professional Markdown documentation for your codebase. --- ✨ Key Features - 🕵️‍♂️ **Multi-Agent Architecture (CrewAI)**: - **Senior Code Reviewer Agent**: Inspec","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":388,"uniquenessScore":62,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-09T03:24:49.732Z","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-09T03:24:49.732Z","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-09T14:33:26.275Z","emptyReason":null},"items":[{"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":"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-04-10T18:48:31.762Z","createdAt":"2026-02-25T03:38:16.584Z","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"}]}}}