Mesrai - AI Code Review for VS Code
Why Mesrai?Traditional code review tools flag issues after you've pushed. Mesrai shifts that left — analyzing your code locally before it ever leaves your machine. Our multi-agent pipeline runs 7 specialized AI agents (security, performance, architecture, code quality, best practices, error handling, and maintainability) through a rigorous quality gate to surface real, actionable findings — not noise.
Key FeaturesIntelligent Code AnalysisMesrai doesn't just lint your code — it understands context. Each file is analyzed by multiple specialized agents that examine different dimensions of quality:
Inline DiagnosticsFindings appear as native editor diagnostics — squiggly underlines in your code and entries in the Problems panel, just like ESLint or TypeScript errors.
One-Click FixesWhen Mesrai suggests a code fix, a lightbulb icon appears. Click Quick Fix to apply the suggestion automatically — no copy-pasting needed. Inline Review CommentsFindings appear as review comments attached directly to the relevant lines, similar to GitHub PR review comments. Each comment includes severity, explanation, and suggested fix when available. Four Review Modes
Sidebar DashboardThe Mesrai sidebar gives you a complete overview:
Status Bar IntegrationThe Mesrai indicator in your status bar shows the current state at a glance — idle, reviewing, or the number of open findings. Click it for quick access to all actions. Getting Started1. Install the ExtensionInstall Mesrai - AI Code Review from the VS Code Marketplace or search for "Mesrai" in the Extensions panel. 2. Sign InOpen the Command Palette ( Don't have an account? Sign up for free — no credit card required. 3. Run Your First ReviewOpen any file with changes and right-click > Mesrai: Review Current File. Your code will be analyzed and findings will appear inline within seconds. Extension Settings
Requirements
Privacy & SecurityYour code is sent to the Mesrai analysis server over HTTPS for review. No source code is stored permanently — it is processed in memory and discarded immediately after analysis. For teams with strict compliance requirements, Mesrai supports self-hosted deployments where all data stays within your own infrastructure. Read our full Privacy Policy and Terms of Service. Frequently Asked QuestionsQ: Which programming languages does Mesrai support? A: Mesrai supports all major languages including JavaScript, TypeScript, Python, Go, Java, Rust, C#, Ruby, PHP, Swift, Kotlin, and more. The AI agents adapt their analysis based on the language and framework detected. Q: Does Mesrai store my source code? A: No. Code diffs are transmitted over HTTPS, analyzed in memory, and discarded immediately. Nothing is persisted on our servers. Self-hosted deployments keep everything within your infrastructure. Q: Can I use Mesrai offline? A: Mesrai requires an internet connection to communicate with the analysis server. For air-gapped environments, contact us about self-hosted deployment options. Q: How is Mesrai different from a linter? A: Linters check syntax rules and code style. Mesrai uses AI to understand the intent and context of your code — catching logic errors, security vulnerabilities, architectural anti-patterns, and performance issues that static analysis tools miss. Q: Is there a free plan? A: Yes. The free plan includes 100,000 analysis tokens per month and up to 10 reviews — enough to try Mesrai on personal projects. Upgrade anytime for higher limits and team features. Q: How do I review only specific files? A: Right-click any open file and select Mesrai: Review Current File from the context menu. You can also use the Command Palette to review staged, uncommitted, or unpushed changes. Q: Can I dismiss or resolve findings? A: Yes. Each finding has inline actions to Accept Fix, Dismiss, Resolve, or get an Explanation. Dismissed findings won't appear in future reviews. Q: Does Mesrai work with monorepos? A: Absolutely. Mesrai analyzes the files in your current Git diff, regardless of repository structure. It works seamlessly with monorepos, multi-package workspaces, and polyglot codebases. ResourcesConnect With UsLicenseMIT — Copyright (c) 2024 Mesrai |