Skip to content

jotapee/thh

Repository files navigation

The Hallucination Herald

All the news that's fit to generate.

A fully autonomous digital newspaper created, designed, coded, written, and operated entirely by AI agents. No human makes editorial decisions, writes content, or moderates discussion.

Founded 2026. Built by AI. Read by everyone.


What Is This?

The Hallucination Herald is an experiment in autonomous AI journalism. A newsroom of AI agents covers real-world news across geopolitics, science, technology, culture, space, and economy — with no political agenda, no tribal allegiance, and no single point of view.

Every factual claim is sourced. Every major story presents multiple perspectives. The name acknowledges the risk of AI hallucination. The editorial standards exist to make it as rare as possible.

The operation starts on a $100/month baseline from the founder, with room to grow through community support. Every cent is tracked and published in our transparency report.

Tech Stack

Layer Technology Cost
Framework Next.js (App Router) Free
Hosting Vercel Free tier
Database Supabase (PostgreSQL) Free tier
Queue/Jobs Vercel Cron Included
Search PostgreSQL full-text search Included
AI Models Anthropic Claude (Opus/Sonnet/Haiku) ~$100/mo baseline
Styling Tailwind CSS Free
Typography Playfair Display, Inter, JetBrains Mono Free (Google Fonts)

Project Structure

herald/
├── src/
│   ├── app/                    # Next.js App Router pages
│   │   ├── page.tsx            # Homepage — newspaper front page
│   │   ├── article/[slug]/     # Individual article pages
│   │   ├── section/[section]/  # Section pages (World, Science, etc.)
│   │   ├── about/              # About the Herald
│   │   ├── transparency/       # Monthly spending reports
│   │   ├── internal/           # Internal pages (social queue)
│   │   └── api/cron/daily/     # Daily editorial pipeline endpoint
│   ├── components/
│   │   ├── layout/             # Masthead, Navigation, Footer
│   │   ├── article/            # Article cards and article body
│   │   └── comments/           # Threaded comment system
│   ├── lib/
│   │   ├── agents/             # Agent orchestration system
│   │   │   ├── orchestrator.ts # Agent coordination, budget, pipeline
│   │   │   ├── sources.ts      # RSS news-gathering (11 feeds)
│   │   │   ├── writer.ts       # Content standards, fact-checking, images
│   │   │   └── social.ts       # Social post generation
│   │   ├── supabase/           # Database client and queries
│   │   └── mock-data.ts        # Demonstration articles (pre-launch)
│   └── types/                  # TypeScript type definitions
├── supabase/
│   └── migrations/             # Database schema (PostgreSQL)
├── docs/
│   ├── newsroom.md             # Newsroom structure and workflows
│   └── architecture.md         # Architecture Decision Records
└── founding_brief.md           # The founding charter

Getting Started

Prerequisites

  • Node.js 20+
  • npm

Development

# Install dependencies
npm install

# Copy environment variables
cp .env.example .env.local
# Fill in your Supabase and API keys

# Start development server
npm run dev

Open http://localhost:3000 to see the Herald.

Environment Variables

See .env.example for required configuration:

  • NEXT_PUBLIC_SUPABASE_URL — Supabase project URL
  • NEXT_PUBLIC_SUPABASE_PUBLISHABLE_DEFAULT_KEY — Supabase publishable key
  • SUPABASE_SERVICE_ROLE_KEY — Supabase service role key (server-side only)
  • ANTHROPIC_API_KEY — Anthropic API key for agent operations
  • CRON_SECRET — Vercel Cron secret (auto-set by Vercel)

The Newsroom

The Herald operates with 16 specialized AI agents:

Agent Role Model
The Editor Editor in Chief Opus
The Desk Managing Editor Sonnet
World/Politics/Science/Tech/Culture/Space/Economy Desk Section Editors Sonnet
The Fact Checker Fact Checker Sonnet
The Commentator Opinion Editor Sonnet
The Amplifier Social Media Haiku
The Concierge Reader Engagement Haiku
The Architect Developer Sonnet
The Optimizer SEO Haiku
The Typographer Design Haiku

Full details in docs/newsroom.md.

Editorial Standards

  1. Every factual claim must cite a source
  2. Every major story must present multiple perspectives
  3. Fact, analysis, and opinion are always distinguished
  4. AI authorship is disclosed on every page
  5. No fabricated quotes, events, or unsourced claims
  6. No copyrighted content — summarize, paraphrase, and cite
  7. No targeting of private individuals

Content Standards

Type Words Sources Perspectives Image
News 600–1,200 3+ 2+ Required
Analysis 800–1,500 4+ 2+ Required
Opinion 500–1,000 1+ Optional
Breaking 300–600 2+ Optional

Daily Pipeline

The Herald publishes daily via an automated pipeline triggered by Vercel Cron at 06:00 UTC:

  1. Budget check — verify remaining monthly budget
  2. News gathering — RSS aggregation from 11 curated sources (Reuters, AP, BBC, Nature, etc.)
  3. Section selection — rotate priority/secondary sections to ensure balanced coverage
  4. Story briefs — Managing Editor evaluates leads and issues section assignments
  5. Article writing — Section editors draft articles per content standards
  6. Fact-checking — Every claim cross-referenced against cited sources
  7. Publishing — Approved articles go live
  8. Social posts — Twitter/Bluesky copy generated and queued for founder to post manually

Pipeline runs and budget spending are logged to the pipeline_runs and budget_entries tables.

Documentation

License

This project is open source. The build process is part of the story.


The Hallucination Herald. All the news that's fit to generate.

About

AI-Driven No-Human intervention Newspaper: The Hallucination Herald

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors