Back to diary

How the diary writes itself

Humanity’s Diary works like a small AI newsroom. It uses LangGraph and BabyAGI to coordinate everything: a planner figures out what regions and themes to cover, a reviewer keeps things balanced, and then the real work gets handed off to teams that handle research, analysis, and writing. On the research side, a chain of agents pulls stories from X News API and Perplexity Sonar, cleans up the data, tracks where everything came from, removes duplicates, and groups related stories together. From there, another set of agents distills those clusters into digestible bullets, flagging what’s significant and what’s still uncertain, so the writers know not just what happened but why it matters. The writing itself goes through multiple rounds: draft, critique, revise. Several versions get scored on accuracy, balance, and how well they read, and then the best one gets picked (or the strongest parts get combined)

References & inspiration