程式碼審查對於確保品質至關重要,但往往會成為快速開發過程中的瓶頸。Optimal AI 正在改變這種情況。他們的使命是「讓工程師重拾時間」,運用 AI 自動執行工程和法規遵循作業。他們的解決方案包括 Optibot (專注於安全性和法規遵循的 AI 程式碼審查工具),以及由 Gemini API 支援的洞察平台,可提升開發速度。
先前,Optimal AI 在速度和脈絡理解方面面臨挑戰,無法有效進行 AI 程式碼審查。共同創辦人兼技術長 Syed Ahmed 說明:「最大的挑戰在於瞭解脈絡,我們需要一個模型來查看程式碼變更集,並實際瞭解脈絡。」
大幅提升效率
整合 Gemini API 後,Optimal AI 的服務大幅提升:
提升程式碼審查速度和準確度:Optibot 採用 Gemini API 技術,可自動審查提取要求中的安全性漏洞、法規遵循風險和程式碼模式,提供實用意見回饋,大幅縮短審查時間。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],[],[],[],null,["# Fast, accurate nutritional analysis with CalCam and Gemini 2.0 Flash\n\n[](/showcase) \nShare\nAPRIL 9, 2025 \n\nOptimal AI Uses the Gemini API to Cut Code Review Times by 50%\n==============================================================\n\nSyed Ahmed\n\nCo-founder \\& CTO \nVishal Dharmadhikari\n\nProduct Solutions Engineer \n\nCode reviews, while crucial for quality, often become a bottleneck in fast-paced development. [Optimal AI](http://www.getoptimal.ai) is changing that. Their mission: \"give engineers back their time\" using AI to automate engineering and compliance. Their solutions include Optibot, an AI code reviewer focused on security and compliance, and an insights platform powered by the Gemini API that optimizes development velocity.\n\n\n\u003cbr /\u003e\n\n\nPreviously Optimal AI faced challenges with the speed and contextual understanding needed for truly effective AI code review. \"The biggest challenge was contextual understanding---we needed a model that could look at code changesets and actually contextualize them,\" explains Syed Ahmed, Co-founder \\& CTO.\n\nUnlocking Efficiency\n--------------------\n\n\nBy integrating the Gemini API, Optimal AI has significantly enhanced its offerings:\n\n\n\u003cbr /\u003e\n\n\n- **Boosted code review speed and accuracy**: Optibot, powered by the Gemini API, automatically reviews pull requests for security vulnerabilities, compliance risks, and coding patterns, providing actionable feedback and dramatically reducing review times.\n- **Extracted actionable engineering insights**: The Gemini models analyze data from GitHub and Jira to identify bottlenecks and understand engineering performance, effectively differentiating between productive activity and code churn.\n- **Balanced speed and sophistication**: Optimal AI leverages Gemini 2.5 Pro for complex analysis and in-depth code understanding, while Gemini 2.0 Flash provides the speed needed for low-latency tasks like quick summarizations.\n\n\u003cbr /\u003e\n\nHow Optimal AI Uses the Gemini API\n----------------------------------\n\n\nOptimal AI's implementation showcases the Gemini API's flexibility:\n\n\n\u003cbr /\u003e\n\n\n- **Models used:** :\n - Gemini 2.5 Pro: For in-depth code analysis, security checks, contextual feedback on pull requests, and identifying complex engineering patterns for performance insights.\n - Gemini 2.0 Flash: For low-latency tasks such as file tree scanning and generating quick summaries.\n- **Key features \\& implementation:** :\n - **Contextual understanding**: The Gemini models' large context window is crucial for interpreting complex code changesets and understanding broader engineering patterns.\n - **Multi-language support**: The Gemini models's improved ability to handle multiple programming languages and frameworks was a significant win for Optimal AI.\n - **[Google AI Studio](https://aistudio.google.com/)**: The team heavily uses Google AI Studio for rapid prompt testing, model evaluation, and iteration. \"The ability to see outputs alongside the implementation code has made it much easier for our engineers to experiment,\" notes Ahmed.\n\n\u003cbr /\u003e\n\nThe Results: Faster Reviews\n---------------------------\n\n\nThe impact of integrating Gemini has been significant for Optimal AI and its customers. Key results include:\n\n\n\u003cbr /\u003e\n\n\n- **50% reduction in pull request cycle times**: Engineers spend less time waiting for reviews and more time coding.\n- **Rapid customer adoption and expansion**: Companies like MongoDB have significantly increased their usage of Optimal AI after experiencing its benefits, growing from 5 to over 40 engineers.\n- **Successful $2.25 million pre-seed funding round**: This was achieved in private beta, largely driven by the traction and results demonstrated with the Gemini API-powered features.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\"Teams love that Optibot helps them cut PR review times in half, freeing up engineers to spend more time coding instead of waiting on approvals,\" shares Ahmed.\n\n\u003cbr /\u003e\n\nLooking Ahead\n-------------\n\n\nOptimal AI is focused on expanding its suite of AI agents to automate even more repetitive tasks. They are currently developing \"Code Radar,\" an agent designed to autonomously monitor, patch, and secure codebases. Reflecting on their journey with the Gemini API, Syed Ahmed offers this advice to fellow developers:\n\n\n\u003cbr /\u003e\n\n\n\"Go straight to Google AI Studio---it has better tooling, better documentation, and makes experimentation a lot more efficient.\" He also emphasizes, \"Take full advantage of the Gemini model's context window. Feed the models as much relevant context as possible...the more context we provided, the better the AI's reasoning became.\"\n\n\n\u003cbr /\u003e\n\n\nOptimal AI's success demonstrates how the Gemini API can transform software development, enabling teams to build better software, faster.\n\n\n\u003cbr /\u003e\n\n\nReady to build? Explore the [Gemini API documentation](https://ai.google.dev/gemini-api) and get started with [Google AI Studio](https://aistudio.google.com/) today. \n\nRelated case studies\n--------------------\n\n[Langbase\nHigh-throughput, low-cost AI agents with Gemini Flash on Langbase](/showcase/langbase) [Calcam\nFast, accurate nutritional analysis with CalCam and Gemini 2.0 Flash](/showcase/calcam) [Wolf Games\nWolf Games uses Gemini API to boost content generation accuracy to 96% and slash latency to under 20 seconds for their daily crime stories.](/showcase/wolfgames)"]]