Journalism begins where hype ends

,,

The rise of powerful AI will be either the best, or the worst thing, ever to happen to humanity. We do not yet know which."

—Stephen Hawking

Singapore Foreign Minister Builds ‘Second Brain’ AI Agent for Diplomatic Work

Singapore Foreign Minister Vivian Balakrishnan has published a blueprint for a "second brain" AI agent built for diplomatic work. It doesn't rely on what the model remembers. It answers from a ranked stack of his own framing, a curated knowledge base and cited web sources, and it flags any conflicts between them.
Illustration of a robot holding an AI document beside a portrait of Singapore Foreign Minister Vivian Balakrishnan
November 23, 2026 12:46 PM IST | Written by Vaibhav Jha

Singapore Foreign Minister Vivian Balakrishnan has built a custom “second brain” AI agent designed for “diplomatic work”. Originally built as a NanoClaw agent on a Raspberry Pi, he has now tested it in Claude Duet as a server-free cloud agent that can remain always-on, using a private GitHub-based knowledge base ordered by source authority.

In a post on GitHub, Singapore Foreign Minister Vivian Balakrishnan said that he has been running the “second brain” on Raspberry Pi for the past nine months but due to the requirement of a dedicated hardware, he decided to built it on Claude Duet- a pro-active AI agent from Anthropic that helps users monitor connected tools and works in background.

Explaining the need for a customized second diplomat brain, Balakrishnan says that unlike regular AI chatbots that responds from vast training data and open web, the AI agent designed by him responds through a three layer setup, where the information-official speeches, transcripts, statements and treaties- is curated and is checkable and has an order of authority.

 

“The principal’s own framing comes first, the curated knowledge base second, the web third. The model’s own background knowledge is never used as evidence, and any disagreement between layers is shown, never hidden,” said Balakrishan.

According to Balakrishnan, the AI system is built around a private GitHub repository that serves as its sole memory store. A short “primer” distilled from the minister’s own speeches sits at the top of a strict evidence hierarchy and below it is a curated wiki of Markdown pages drawn from official speeches, statements, and source documents.

The minister says web search is used only to fill gaps and must be cited. Model background knowledge is never treated as evidence. Conflicts between layers are explicitly surfaced, with the higher-authority source prevailing.

“Together, the wiki and the source documents work as a context compiler. For each question the agent compiles a short brief from the primer, the relevant wiki pages and the raw passages they cite, checks it, then answers from that brief and the web alone. The curated sources are the input, the brief is the compiled output, and the model’s own memory is never part of either,” said Balakrishnan.

Balakrishnan’s blueprint is not a finished government system. He presents the Duet version as an experiment, and he is clear that sensitive material has no place in a cloud-hosted agent. It can read, compile and summarize, but only the record counts as evidence. For governments across the Global South, including India’s, the lesson may lie less in the tool than in that discipline.

Also Read: Meet PMX AI: Malaysia’s Prime Minister Anwar Ibrahim Debuts an AI Avatar

Author

  • Vaibhav Jha, editor and co-founder at AI FrontPage

    Vaibhav Jha is an Editor and Co-founder of AI FrontPage. In his decade long career in journalism, Vaibhav has reported for publications including The Indian Express, Hindustan Times, and The New York Times, covering the intersection of technology, policy, and society. Outside work, he’s usually trying to persuade people to watch Anurag Kashyap films.

    LinkedIn