Case study 1 of 5

BRD AgentA bilingual agent that writes business requirements documents

Upload meeting notes and slides; get a twelve-section requirements report in English or Japanese.

For
JERA (Japan), through Dataiku
When
2026
My role
Designed and built it; in production
Documents a year
1,000+about 100 projects, 10 to 13 documents each
Projected saving
¥185M≈ $1.23M a year, the client's estimate
Cost per report
≈ $1to generate one full report

The problem

Before a software project starts, someone has to write down what it must do. At JERA, a large Japanese energy company, that work belonged to an enterprise-architecture group serving the company's business analysts and project planners. It ran about 100 IT projects a year, and each one needed 10 to 13 requirements documents: more than a thousand documents a year.

Most of those documents were written by outside consultants. That cost money every year, tied the company to its vendors, and meant the knowledge of how its own systems should work lived outside the company. A proof of concept had shown AI could help. The goal now was a working assistant that the analysts would use themselves.

What I built

An assistant in the company's internal agent hub. You start a conversation in English or Japanese, upload your meeting transcripts, slide decks and existing documents, and pick the sections you need from a menu of twelve: business context, functional requirements, risks, solution approach and the rest. The agent writes each section from your own material and hands back one report in the language you chose, which need not be the language you typed in.

If a section is wrong, you say so, choose the sections to redo, and it rewrites only those. When you are happy, you download the final report as Markdown.

How it works

It is not a chatbot with a long prompt. It is a graph of more than 50 blocks, and each block knows exactly when it runs. Every message first meets a router that looks at what the conversation already holds (a language, uploaded files, a section list, a draft report) and sends it to the one step that is missing.

each messagerouterreads stateno languageno filesno sectionsready to writereport readyrewrite chosen1 LanguageDetect the user's languageAsk: report in English or Japanese?5 ReviewAssemble the reportSatisfied? Keyword checkyes: download · no: rewrite2 UploadSpot attachments by typeAsk until all files are inEmbed, tagged by conversation3 Choose sectionsParse numbers, ranges, namesShow the draft listSort into dependency order4 Write, one section at a timeFetch template and queriesRun 5 searches in parallelWrite the sectionSave it for evaluationlanguage modelcodeplatform tooleach messagerouterreads stateif no language1 LanguageDetect the user's languageAsk: English or Japanese report?if no files2 UploadSpot attachments by typeAsk until all files are inEmbed, tagged by conversationif no sections3 Choose sectionsParse numbers, ranges, namesShow the draft listSort into dependency orderwhen ready to write4 Write, one section at a timeFetch template and queriesRun 5 searches in parallelWrite the sectionSave it for evaluationwhen the report is ready5 ReviewAssemble the reportSatisfied? Keyword checkno: rewrite chosen sectionslanguage modelcodeplatform tool
Every message enters at the router. It checks which state the conversation already holds and runs the first stage still missing, so each turn resumes exactly where the last one stopped. Redrawn from the project's architecture notes.

Step by step

Five steps, in the order you meet them. The router sends each message to the first step still missing, and a step once done stays done, so the conversation only moves forward. Plain code handles everything that has a right answer; the language model detects language, asks questions and writes.

StepWhat happensHow it is built, and why
1Language You write in English or Japanese. The agent detects which, then asks which language the report should be in. The two can differ. Language modelEvery prompt is written natively in both languages, not translated. A fixed English-to-Japanese heading map and requirement IDs (FR-, NFR-, BR-…) kept the same in both mean the two reports can be compared line by line.
2Upload You attach meeting transcripts, slide decks and existing documents. The agent asks until everything is in. Code Platform toolCode spots attachments by type; a platform tool embeds each file for search, tagged with the conversation it belongs to.
3Choose sections You pick the sections you need from a menu of twelve, by number, range or name. CodeA parser reads the choice and sorts it into a fixed dependency order. Reading a list needs no language model.
4Write The agent writes one section at a time, each given everything written before it, so the executive summary is written after the requirements it summarises. Code Language modelFive searches run in parallel per section. Some searches came back empty, so each asks for three times as many results and skips the blanks. Writing in order costs a few minutes; the gain is a report that agrees with itself.
5Review The report is assembled. If you are happy, you download it; if not, you name the sections to redo, and only those are rewritten. Code“Are you satisfied?” is a plain keyword check, not a model call. A rewrite reruns only the chosen sections.

Making it reliable

How it grew

The agent did not start as it is now. It grew in steps, each one asked for by the client after using the version before.

  1. One report, straight through. Upload, and get a full report in English or Japanese.
  2. Choose your sections. Write only the sections you need, from the twelve.
  3. Rewrite a section. Redo a section you are not happy with, and keep the rest.
  4. Upload more, then rewrite. Add material mid-conversation and rewrite with it.
  5. Talk in one language, get the report in the other. Converse in English or Japanese and get the report in either: any combination works.

Outcome

≈ $1to generate one twelve-section report, from upload to download.

The client projected that automating this phase would cut its outsourcing spend by 40%, about ¥185 million ($1.23 million) a year, and keep the knowledge of its own systems in-house.

It is in production, used by JERA's own team to write and revise requirements documents, and it became an official Dataiku customer case study.

My role and the team

I designed and built the agent, including the parallel retrieval code and the fix for empty search results, and wrote its architecture documentation and user guide. It was delivered through Dataiku's Agent Accelerator Program, working directly with the client's team in Japan.

Stack