Bayanaihan
Smart Legislation Program for Local Government

eSANGGUNI

Module 1 - Smart Legislation: AI for Local Government

AI-powered tools for Philippine local government legislation

2,643Documents indexed
3AI tools
100%Citation-grounded

Knowledge Base Breakdown

532R.A. 7160 Sections
39IRR Provisions
1,562DILG Opinions
161SC Jurisprudence
349Pitogo Ordinances

Workshop Tools

Five AI Tools, One Platform

Each tool targets a specific legislative workflow. Research, draft, simulate, digitize, and codify — all in one place.

Workshop Tool

E.L.L.A.

Executive & Legislative Legal Assistant

Workshop Session

AI for RA 7160 Compliance and Analysis

Query the complete R.A. 7160 (Local Government Code), its IRR, DILG Opinions, SC Jurisprudence, and all 349 Pitogo Municipal Ordinances. Get cited, grounded answers in seconds.

AI-powered legal research over 2,643 documents

Open E.L.L.A.
Workshop Tool

O.B.R.A.

Ordinance Builder & Research Assistant

Workshop Session

AI for Ordinance Drafting and Review

Generate properly structured Philippine municipal ordinances from templates. Includes automatic RA 7160 compliance review with risk scoring.

Draft compliant ordinances with AI guidance

Open O.B.R.A.
Workshop Tool

Y.A.L.A.

Your AI Legislative Assistant

Workshop Session

AI for Legislative Queries

A friendly AI assistant that answers questions about Pitogo LGU services, local ordinances, and legislative processes — in English or Filipino.

AI constituent chat for Pitogo LGU services

Open Y.A.L.A.
Workshop Tool

L.I.K.H.A.

Legislative Insight & Knowledge Hub for Archives

Workshop Session

AI for Ordinance Digitization & Archiving

Batch-upload ordinance PDFs and scans. AI extracts text via OCR, parses metadata, classifies subjects, and publishes to a BM25-searchable archive — with mandatory human review at every legal gate.

From paper scans to searchable archive in minutes

Open L.I.K.H.A.
Workshop Tool

L.I.N.A.W.

Legislative Indexing for Normalized & Accessible Wisdom

Workshop Session

AI for Ordinance Codification

Import ordinances via JSON, scan, or manual entry. AI classifies into code titles, detects cross-references and contradictions, and assembles codified volumes — with HITL approval at every legal decision.

Cross-reference, detect conflicts, assemble codified volumes

Open L.I.N.A.W.

How It Works

Under the Hood

01

AI-Powered Legal Research

Large language models retrieve grounded answers from 2,643 curated Philippine municipal law documents using BM25 + LightRAG knowledge graphs.

02

Ordinance Knowledge Base

349 Pitogo Municipal Ordinances, the complete RA 7160 (532 sections), the full IRR, 1,562 DILG Opinions, and 161 SC Jurisprudence rulings — all indexed and searchable in real time.

03

Instant Structured Drafts

Template-driven ordinance generation produces properly formatted Philippine ordinances with WHEREAS clauses, BODY, penal provisions, and effectivity dates.

Suggested Workflow

Workshop Session Guide

1
E.L.L.A.Part 1Research & Comprehend

Ask E.L.L.A. about the legislative powers of the Sangguniang Bayan, how to calculate tax rates, or what RA 7160 says about ordinance validity.

2
O.B.R.A.Part 2Draft & Validate

Use O.B.R.A. to generate a sample ordinance from a template. Then paste the draft into the Review tab to get its compliance score.

3
Y.A.L.A.Part 3Simulate Constituent Chat

Switch to Y.A.L.A. and simulate how a barangay constituent would interact with LGU services via AI — business permits, tax queries, and more.

4
L.I.K.H.A.Part 4Digitize & Archive

Upload ordinance PDFs and scans to L.I.K.H.A. Watch AI extract text, parse metadata, classify subjects, and publish to a searchable archive — with human review at every gate.

5
L.I.N.A.W.Part 5Codify & Assemble

Import ordinances into L.I.N.A.W. via JSON, scan, or manual entry. AI classifies them into code titles, detects conflicts, and assembles a codified volume — ready for export.