Fiscal Digital

Timeline

From the initial provocation to a pipeline in production — how Fiscal Digital was built and where it is headed.

Step 0: the provocation

Brazil has more than 5,500 municipalities. Each one publishes an official gazette with contracts, procurement, appointments, and spending. That is millions of pages per year — public data, accessible by law, but impossible to follow at a human scale.

In 2016, the Serenata de Amor project demonstrated that algorithms can identify anomalous patterns in public spending. In 2019, Querido Diário digitized the official gazettes of hundreds of Brazilian municipalities. Two pieces of civic infrastructure built by civil society, together making something new possible.

If every gazette is already digitized, what prevents an algorithm from reading the same clauses an auditor would read — and doing so for every city, every day?

Fiscal Digital connects these two legacies: it uses the Querido Diário archive as its source and the Serenata principle as its method. The focus is the municipality — where everyday purchases happen, where street works are contracted, where political appointments are published.

We do not investigate. We do not accuse. We identify patterns that existing legal criteria define as irregular and make the result verifiable by any citizen. The primary source — the official gazette — is always one click away.

Timeline

  1. Step 0 — Ideation

    before April 2026

    Done

    Discovery of Querido Diário → the provocation

  2. Sprint 1 — Engine Base

    28 Apr 2026

    Done

    AWS infrastructure, Skills, Querido Diário Collector

  3. Sprint 2 — Fiscal Agents MVP

    01 May 2026

    Done

    5 autonomous Fiscal Agents + 129 tests

  4. Sprint 3 — Publishing Pipeline

    01 May 2026

    Done

    Multi-channel, brand-gate, DRY_RUN

  5. Sprint 4 — E2E Smoke

    02 May 2026

    Done

    End-to-end pipeline, 8,400+ gazettes processed, 12+ real alerts

  6. Sprint 5 — API + Site

    02 May 2026

    Active

    Public RSS/JSON API, institutional site, 10 Fiscal Agents

  7. Sprint 6 — Analytics + Expansion

    planned

    Planned

    Reports, more Fiscal Agents, 5,000+ cities

Current coverage

  • 50 active cities across 22 states (top 50 Brazil by population + state capitals)
  • Origin: Caxias do Sul, RS — municipal administration 2021–present
  • Daily pipeline: 03:00 BRT, 7 days a week
  • Next phase: gradual expansion as Querido Diário coverage grows

Costs and sustainability

Processing cost (live)

Gazettes processed
Alerts generated
Estimated cumulative cost
Last pipeline run

Infrastructure model

ComponentServiceEst. cost/month
Gazette analysis (Nova Lite)AWS Bedrock~R$ 0.27 per 1,000 gazettes
Narrative generation (Haiku 4.5)AWS Bedrock~R$ 4.44 per 1,000 alerts
StorageAWS DynamoDB + S3< R$ 10
SiteAWS CloudFront< R$ 5
Configured limitAWS BudgetR$ 115 alert / R$ 115 block

Values converted from USD at R$ 5.75. AWS Bedrock prices based on public pricing as of May 2026.

Funding model

Fiscal Digital is maintained by contributions from civil society. Every inflow and outflow is public. The code is open source under the MIT license.

Support on Catarse

Ongoing evaluations

Evaluating Brazilian LLMs (data sovereignty) and expansion to 5,000 municipalities with ISR support.