<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/how-kddi-optimized-rag-performance-with-agent-development-kit-v9weg3nwz" -->

---
title: How KDDI Optimized RAG Performance with Agent...
description: KDDI, a major Japanese telecom, built Buffmee, a consumer RAG app grounding responses in over 100 content sources like books and magazines. The team faced...
canonical: https://daily.dev/posts/how-kddi-optimized-rag-performance-with-agent-development-kit-v9weg3nwz
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: How KDDI Optimized RAG Performance with Agent Development Kit | daily.dev
og:description: KDDI, a major Japanese telecom, built Buffmee, a consumer RAG app grounding responses in over 100 content sources like books and magazines. The team faced...
og:url: https://daily.dev/posts/how-kddi-optimized-rag-performance-with-agent-development-kit-v9weg3nwz
og:image: https://api.daily.dev/og/posts/v9WeG3Nwz.png
og:image:alt: How KDDI Optimized RAG Performance with Agent Development Kit
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How KDDI Optimized RAG Performance with Agent Development Kit

**[Google Cloud](https://daily.dev/sources/gcp)** · 4 min read · 0 upvotes · 0 comments

## Summary

KDDI, a major Japanese telecom, built Buffmee, a consumer RAG app grounding responses in over 100 content sources like books and magazines. The team faced latency issues and hallucination risks at launch, and used Google's Gemini Enterprise Agent Platform Evaluation Service plus the Agent Development Kit (ADK) to address them. Key techniques included automated LLM-as-a-Judge evaluation, binary pass/fail scoring, strategic content sampling across a file-format/media-composition grid (cutting evaluation workload by 75%), product-judgment-calibrated thresholds, and splitting massive system prompts (800+ lines) into modular ADK Skills. Results: 38% reduction in total response latency, ~18% improvement in time-to-first-token, and a 25% improvement in groundedness scores.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://cloud.google.com/blog/topics/customers/how-kddi-optimized-rag-performance-with-agent-development-kit>

## Questions this post answers

### How can I reduce time-to-first-token in a production RAG application with a large system prompt?

Split massive system prompts into modular skills that load dynamically only when needed, rather than keeping everything in one monolithic prompt. KDDI found that system prompts exceeding 800 lines caused LLM attention drift and latency degradation, so they broke prompts into Agent Development Kit Skills, achieving a nearly 18% improvement in time-to-first-token and a 38% reduction in total response latency.

_Teams tuning RAG latency can follow real-world optimization writeups like this on daily.dev._

### How do you evaluate RAG output quality across a large and diverse document corpus without manually reviewing everything?

Classify the corpus along a two-dimensional grid of file format (web articles, EPUBs, PDFs, structured data) and media composition (text-heavy, image-heavy, mixed), then sample representative documents from each cell instead of testing every document. KDDI used this strategic sampling approach combined with LLM-as-a-Judge scoring to cut evaluation workload by 75% while improving groundedness scores by 25%.

_Engineers designing scalable AI evaluation pipelines can track approaches like this on daily.dev._

### Why should I use binary pass/fail scoring instead of a 1-5 rating scale when evaluating LLM outputs?

Binary pass (1) or fail (0) scoring reduces variance and noise compared to ambiguous 1-5 rating scales, making automated evaluation more consistent for critical metrics. KDDI adopted this approach for their Buffmee RAG app evaluation framework alongside product-owner-calibrated thresholds to determine what output quality was good enough to ship.

_Teams building automated LLM evaluation loops can follow practical patterns like this on daily.dev._

## Similar posts on daily.dev

- [Karpathy's Agentic Engineering Finally Has Proper Tooling](https://daily.dev/posts/karpathy-s-agentic-engineering-finally-has-proper-tooling-wm38wjfvk) · Daily Dose of Data Science \| Avi Chawla \| Substack · 0 upvotes · 0 comments
- [How to Evaluate Live & Voice Agents in ADK](https://daily.dev/posts/how-to-evaluate-live-voice-agents-in-adk-mx6s58g3a) · Google Developers · 3 upvotes · 1 comments
- [Hands-on with the Google Agent Development Kit](https://daily.dev/posts/hands-on-with-the-google-agent-development-kit-zcvlgqadp) · InfoWorld · 1 upvotes · 0 comments
- [How RAG for customer support improves accuracy at scale](https://daily.dev/posts/how-rag-for-customer-support-improves-accuracy-at-scale-cby4svi5f) · Meilisearch · 0 upvotes · 0 comments

---

Tags: [#gcp](https://daily.dev/tags/gcp), [#llm](https://daily.dev/tags/llm), [#performance](https://daily.dev/tags/performance), [#rag](https://daily.dev/tags/rag)

[View this post on daily.dev](https://daily.dev/posts/how-kddi-optimized-rag-performance-with-agent-development-kit-v9weg3nwz)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"How KDDI Optimized RAG Performance with Agent Development Kit","url":"https://daily.dev/posts/how-kddi-optimized-rag-performance-with-agent-development-kit-v9weg3nwz","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/how-kddi-optimized-rag-performance-with-agent-development-kit-v9weg3nwz"},"datePublished":"2026-09-08T16:12:21.151Z","dateModified":"2026-11-05T02:13:40.276Z","description":"KDDI, a major Japanese telecom, built Buffmee, a consumer RAG app grounding responses in over 100 content sources like books and magazines. The team faced...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c33435fc89ca71220276036d34de567e?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c33435fc89ca71220276036d34de567e?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Google Cloud","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Google Cloud","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/gcp","url":"https://daily.dev/sources/gcp"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/how-kddi-optimized-rag-performance-with-agent-development-kit-v9weg3nwz","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"gcp,llm,performance,rag","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Google Cloud","item":"https://daily.dev/sources/gcp"},{"@type":"ListItem","position":3,"name":"How KDDI Optimized RAG Performance with Agent Development Kit"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/how-kddi-optimized-rag-performance-with-agent-development-kit-v9weg3nwz#faq","mainEntity":[{"@type":"Question","name":"How can I reduce time-to-first-token in a production RAG application with a large system prompt?","acceptedAnswer":{"@type":"Answer","text":"Split massive system prompts into modular skills that load dynamically only when needed, rather than keeping everything in one monolithic prompt. KDDI found that system prompts exceeding 800 lines caused LLM attention drift and latency degradation, so they broke prompts into Agent Development Kit Skills, achieving a nearly 18% improvement in time-to-first-token and a 38% reduction in total response latency. Teams tuning RAG latency can follow real-world optimization writeups like this on daily.dev."}},{"@type":"Question","name":"How do you evaluate RAG output quality across a large and diverse document corpus without manually reviewing everything?","acceptedAnswer":{"@type":"Answer","text":"Classify the corpus along a two-dimensional grid of file format (web articles, EPUBs, PDFs, structured data) and media composition (text-heavy, image-heavy, mixed), then sample representative documents from each cell instead of testing every document. KDDI used this strategic sampling approach combined with LLM-as-a-Judge scoring to cut evaluation workload by 75% while improving groundedness scores by 25%. Engineers designing scalable AI evaluation pipelines can track approaches like this on daily.dev."}},{"@type":"Question","name":"Why should I use binary pass/fail scoring instead of a 1-5 rating scale when evaluating LLM outputs?","acceptedAnswer":{"@type":"Answer","text":"Binary pass (1) or fail (0) scoring reduces variance and noise compared to ambiguous 1-5 rating scales, making automated evaluation more consistent for critical metrics. KDDI adopted this approach for their Buffmee RAG app evaluation framework alongside product-owner-calibrated thresholds to determine what output quality was good enough to ship. Teams building automated LLM evaluation loops can follow practical patterns like this on daily.dev."}}]}
```

