2026 · Updated 2026-11-30

Hakkina

Jurisdiction-aware Nigerian rights and statutory information platform in public beta.

My Role
Founder & Lead Systems Engineer
Current Status
Public beta · Independent Nigerian legal-information initiative
Intended Users
Nigerian citizens, tenants, workers and small business owners seeking clear statutory grounding before consulting a qualified Nigerian lawyer.

Repository visibility note: Canonical repository path; public read access may be restricted while statutory corpus verification is in beta; inspect the live deployment at www.hakkina.ng.

Overview

Hakkina ('My Right' in Hausa) is a Nigerian public-interest legal information platform designed to make verified statutory rights easier to navigate across everyday scenarios such as police encounters, employment disputes, tenancy and small-business compliance. Note: Hakkina is an independent civic legal-information product and is not associated with Mirath.

Problem Statement

Everyday legal questions in Nigeria depend heavily on jurisdiction (federal statutes, 36 state laws plus the FCT, customary rules and Sharia personal/civil provisions), while generic AI chatbots frequently hallucinate non-existent sections, confuse unpassed bills with enacted law or silently guess a user's location.

Technical Architecture

Source-grounded retrieval and guided issue-exploration web application indexing verified Nigerian statutory pages with explicit source IDs, page citations, collection-status indicators and zero-account privacy defaults.

LAYER 01

Verified Statutory Corpus

Indexes verified enacted Nigerian federal statutes (24 verified sources and 54 tracked records in current public beta), explicitly excluding unenacted bills and unapproved drafts.

LAYER 02

Jurisdiction-Explicit Issue Explorer

Step-by-step triage across 37 jurisdictions (36 states + FCT) and date context without inferring location from IP address, name or interface language.

LAYER 03

Ask Hakkina Q&A & Letterhead Summary

Answers plain-language questions with clickable statutory page citations and organizes chronological user facts into a printable A4 summary for legal counsel.

Technology Stack

  • TypeScript
  • Next.js
  • React
  • Retrieval-Augmented Generation
  • Statutory Citation Indexing
  • Print-Ready A4 CSS

Implemented Features vs. Planned Capabilities

Implemented in current beta

  • Ask Hakkina free-form Q&A grounded in verified federal statutes (including FCCPA, NDPA 2023, Anti-Torture Act and Employees' Compensation Act) with exact page citations.
  • Explicit 36-state + FCT selector with zero IP/name inference and transparent per-topic source counts.
  • Chronological Letterhead Facts Summary generator producing clean printable A4 briefs for a Nigerian lawyer.
  • English interface alongside an experimental Hausa ('Hausa: Gwaji') interface toggle.

Planned roadmap

  • Expanded state-by-state statutory ingestion (e.g., state tenancy and magistrate rules currently marked 'Collection pending').
  • Broader local-language coverage and human-reviewed translations beyond the experimental Hausa beta.
  • Verified directory and referral workflows for legal aid organizations and Nigerian practitioners.

Key Engineering Decisions & Challenges

Engineering Decisions

  • Refused IP-based or name-based jurisdiction guessing: users explicitly choose their state/FCT (or 'I'm not sure') and can inspect whether state-level statutes are indexed or still pending.
  • Required no user account for browsing or asking questions to protect citizen privacy on sensitive topics such as police detention or workplace disputes.
  • Separated legal information from legal advice on every response, surfacing coverage gaps honestly rather than interpolating missing state laws.

Implementation Challenges

  • Structuring heterogeneous Nigerian statutory PDFs so answers link to exact statutory source IDs and page numbers.
  • Designing clear epistemic UI indicators ('3 reviewed sources' vs 'Collection pending') so incomplete topic areas never mislead users.

Testing Strategy & Demonstrated Outcomes

Testing & Verification

  • Citation-link verification against indexed statutory pages and refusal checks when state-level rules are not yet in the verified collection.
  • Accessibility verification including skip links, keyboard form controls and printable A4 letterhead formatting.

Demonstrated Outcomes

  • Live public beta at www.hakkina.ng tracking 54 statutory records, 24 verified sources and all 36 states plus FCT.
  • Supports Ask Hakkina statutory Q&A, Guided Issue Explorer and printable A4 Letterhead Facts Summary with zero account requirement.

Lessons Learned

  • In high-stakes public-interest domains, explicitly showing what the system has not yet indexed is just as important as accurate retrieval over what it has.