I Built a Political Accountability Agent That Queries Sanity
Description and use
True Oath builds a structured ledger of political promises, linking them to sources, evidence, and assessments using Sanity as the evidence layer.
Problem
Voters need a reliable way to audit political promises across scattered sources, which keyword search cannot reliably link.
Outcome
True Oath creates a navigable audit trail for political promises, preserving source links, dates, confidence, and unresolved conflicts, and demonstrates how Sanity can support structured accountability data.
Workflow
- Define promise, manifesto, government, source, evidence, milestone, indicator, assessment, claim, integrityEvent schemas in Sanity Studio.
- Populate the production dataset with 15 public sources, 4 promises, 4 evidence records, 4 milestones, 4 outcome indicators, 4 independent assessments, 3 competing claims, 1 manifesto, 1 government record, and 4 integrity events.
- Deploy Next.js web app to Vercel and Sanity Studio to https://true-oath.sanity.studio/ and https://true-oath.vercel.app/.
- Configure a Path One agent to query the True Oath Sanity Context MCP endpoint, filtering on the five accountability document types.
- Use the agent to retrieve promises, follow source references, compare claims, and answer audit questions such as status of 2022 promises, evidence presence, conflicts, and unverifiability.
Evidence
True Oath is a political accountability ledger starting with Australia and designed to expand to other countries.
The interface presents each promise with a status such as Kept, Partially kept, In progress, Not started, Broken, Reversed, or Unverifiable.
The Sanity dataset contains the first independently collected Australia corpus: 15 public sources, 4 promises, 4 evidence records, 4 milestones, 4 outcome indicators, 4 independent assessments, 3 competing claims, 1 manifesto, 1 government record, and 4 integrity events.
The project currently builds with: cd web && npm run build && npm run lint cd sanity && npm run build
- Record date: 2026-10-04T12:40:54.550Z