Kakao Pay Insurance’s jorgit cuts token costs per PR by about 60% with role-based multi-agents
Key point
Kakao Pay Insurance reduced average token costs per PR by about 60% after model tiering and cost optimization in jorgit, while maintaining review quality.
Details
- jorgit’s operational case presents a design that manages reliability and cost together through role-based multi-agents, cross-validation, and controls over inputs, tools, and models, rather than simply adding more of the latest models.
- Monitoring that compared the period immediately after multi-agents were introduced with the period after model tiering and cost optimization showed that average token costs per PR fell by about 60%, while review quality was maintained.
- Compared with June 2026, when there was a single agent, the average number of PRs reviewed per day over the most recent 3 months as of November 2026 increased by about 6x, and the number of repositories using the agent increased by about 2.6x.
- Analyst finds issues and Verifier checks their validity, after which Analyst reviews them again and rebuts them; verification continues until there is nothing left to rebut, and only issues with confidence 80 or higher are posted.
Verification and team composition
- Applying a new model helped find more issues, but false positives and hallucinations remained, so cross-validation was introduced. Confidence 80 is an initial threshold intended to balance reducing false positives against missing valid issues, and can be adjusted based on actual review results and the false-positive rate.
- Analyst and Verifier form a verification team, while the default code review team and conventions review team operate in parallel. Leader assigns tasks and consolidates results to assemble the final review, while new perspectives are incorporated by adding a team responsible for them without changing existing teams.
Input and cost management
- Pre Checker filters the items to review, after which PR Content Reader and Custom Rule Loader retrieve files, metadata, and convention rules. A cache is used for questions or repeat requests on the same commit; for modified files, both the full contents and the changes are passed along, while added, deleted, and renamed files are passed along as summaries only.
- Previous review summaries are provided instead of conversation history, and convention rules are passed to a team only when they have been registered. Closed PRs, Draft PRs, and commits that have already been reviewed are excluded before the call.
- With default input C=10K and F=3K per file, sequential retrieval was calculated as n×C+F×n(n+1)/2, and upfront injection as C+n×F. For 20 files, the difference is 830K vs. 70K, or about 11.9x; for 40 files, it is 2,860K vs. 130K, or about 22x. This is a comparison of cumulative input volume, not a prediction of actual costs, and excludes prompt caching. The actual cost increase may be smaller, but the structure in which input is passed again with every call remains, and the gap may grow when multiple agents are used.
- Claude models were in use at the time of writing and can be replaced as needed. Costs increase in the order Haiku<Sonnet<Opus; Leader uses a cheaper model and only the tools it needs, while Analyst has a file lookup structure. Verifier, which has high inference costs, is given the basic materials in advance, and its additional tools and number of tool calls are limited.
Automatic approval and the human role
- jorgit supports PR analysis, comments on defects and areas for improvement, Q&A, re-review after changes, and team-specific convention reviews, and classifies severity as CRITICAL, MAJOR, or MINOR.
- When a team has chosen to use automatic approval, jorgit approves the PR once all the issues it flagged have been resolved; if third-party consensus is requested, it sends a notification via Slack.
- 41.8% of all review outcomes in October 2026 ended in automatic approval. After jorgit was adopted, developers focused more on business context and overall architectural decisions than on basic conventions and issues in the code itself. The third-party consensus feature was designed to help team members follow discussions with AI, understand the context, and participate in the review.
- The author explains that the system should be continuously improved in response to issues that emerge during operation, and that controls over AI’s autonomous judgments and actions outside its role, cost management, and stability amid changes to models and AI resources should be designed together.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.