01 / AI · Analysis
Japan rolls out Gennai to help draft Diet replies
The Digital Agency released Gennai’s web interface code and setup instructions free of charge under a licence permitting commercial use.
Japan’s Digital Agency said it would make a prototype for drafting replies to questions in the Diet, Japan’s parliament, available to about 180,000 government staff from 16 Nov 2026. The app runs in Gennai, the government’s generative AI workspace.
Staff preparing replies have had to review parliamentary questions, find and analyse past replies and supporting documents, and draft under tight deadlines. The prototype helps them find and organise documents, draft replies and check their content. Staff and the departments involved review and coordinate the draft, and ministers or other officials take responsibility for the replies they give.
Staff check the AI’s information and drafts against supporting documents because, the agency said, generative AI can produce convincing but false or unsupported information. They check the facts and wording against previous replies and government policy. Staff also make policy judgements, formulate the government’s position and finalise each reply.
The Digital Agency released part of Gennai on 24 Apr 2026, including the web interface source code and setup instructions, free of charge under a licence that permits commercial use. Developers in South Korea building a similar workspace can consult the code and instructions in the official GitHub repository.
ITmedia reported on 1 Dec 2026 that the agency had posted a comic on its official X and Instagram accounts. The comic depicts Gennai as a character solving problems in government work.
Government Solution Service, a platform used by Japanese government agencies, suspended its file-sharing service the day it detected possible access by people outside the intended recipients. The Digital Agency said its investigation confirmed that such access had occurred. On 20 Nov 2026, it said some shared files might have leaked outside the service.
What the public code can build
The release includes templates for building apps for administrative work. One supports retrieval-augmented generation, which pulls relevant material from external documents to generate answers. Another lets developers deploy their own large language model. The release also includes the implementation needed to rebuild an app that answers questions using current legal provisions.
Agencies can modify or reuse the code to meet their own requirements. The Digital Agency takes technical questions from companies developing services for local governments and said it would continue patching vulnerabilities and updating the code for the time being. It said it could end public access to the code in future.
What the extraordinary Diet session will test
The Digital Agency said 102 staff with relevant experience, recruited through an open call across 16 ministries and agencies, evaluated the prototype during development. They drew on their work to give feedback on the screen layout, controls and features they needed. Some of their suggestions have already been incorporated into the app.
The agency plans to test the prototype during the 222nd extraordinary session of the Diet by having staff use it to draft actual replies. The trial will assess how much the app helps staff, how easy it is to use and the quality of outputs such as draft replies. The notice gave no detailed criteria for judging output quality.
The agency plans to use the trial results and feedback from staff to refine the prototype. It then plans to begin full rollout during the regular Diet session starting in January.