Civic Tech ยท Origin Story

AFOG: The Origin Story Behind Open Permit

AFOG was the 10-hour hackathon prototype that became Open Permit. This is the original story โ€” the name, the night, the idea that it could scale.

What AFOG Was

AFOG stood for Automated Factory Farm Objection Generator. The name was precise โ€” this was a tool built specifically to help communities object to factory farm permit applications. Built at Code4Compassion Mumbai, organized by Open Paws and Electric Sheep, in a 10-hour sprint.

The prototype did one thing: ingest a planning permit document, run it through Google Gemini, and produce a legally-structured objection letter with appropriate citations. Work that normally takes lawyers weeks, done in seconds.

๐Ÿญ

The Target: Factory Farms

Factory farm permit applications affect thousands of people. The 21-day objection windows are unforgiving. Communities lose not because they lack passion, but because they lack legal firepower.

โšก

The Insight

Legal objection letters follow patterns. Gemini could learn those patterns, match them to jurisdiction-specific statutes, and generate valid letters faster than any individual lawyer.

๐Ÿ†

The Result

Won Code4Compassion Mumbai. But more importantly: proved the core technology worked. The prototype was crude, India-specific, and factory-farm-only. The technology was jurisdiction-agnostic.

๐ŸŒฑ

The Question It Raised

"Could this work for any government permit? In any country? For any community facing harmful development?" The answer to all three was yes. That realization forced the rebrand.

Why AFOG Became Open Permit

The technology was never actually about factory farms. Factory farms were the first use case, and Code4Compassion's focus on animal welfare made them the obvious starting point. But the underlying engine โ€” ingest permit, identify legal grounds, generate objection letter with citations โ€” worked for any permit type in any jurisdiction.

When AARC Pre-Accelerator accepted the project, the mandate was clear: the name had to reflect the actual scope. "Automated Factory Farm Objection Generator" tells you what version 1 did. "Open Permit" tells you what the platform can become โ€” a civic intelligence layer for any government permit process, anywhere.

๐Ÿ”„

Same Core Technology

The Gemini integration, the legal framework parser, the objection letter generator โ€” all carried forward from AFOG. The rebrand didn't require a rewrite. It required expanding the legal framework library.

๐ŸŒ

Jurisdiction-Agnostic by Design

The AFOG prototype accidentally built something jurisdiction-agnostic. The legal citation system used structured templates โ€” swapping Indian law for UK or Australian law was a data problem, not an architecture problem.

About Code4Compassion

Code4Compassion is a hackathon series organized by Open Paws and Electric Sheep โ€” focused on building technology for animal welfare and environmental advocacy. The Mumbai event brought together developers, legal researchers, and animal welfare advocates for a 10-hour build sprint.

AFOG was built at that first Mumbai event. The Berlin C4C hackathon followed, where LEWS (Livestock Early Warning System) was built. Both projects came out of the same format: a focused problem, a tight timeline, and a team that cared about the outcome beyond the competition.

Code4Compassion isn't just a hackathon โ€” it's a pipeline. Projects that win get support, mentorship, and integration into the Open Paws ecosystem. AFOG became Open Permit. LEWS is still in development. The format produces real platforms, not just demos.

Read the Open Permit Story

AFOG is now Open Permit โ€” live in 8+ countries, 200+ permits ingested, 40 legal frameworks, 197 funder contacts. The AARC Pre-Accelerator case study covers the full journey from 10-hour prototype to civic intelligence platform. Read the full case study โ†’

Read Full Case Study: Open Permit โ†’