IUEA Prima logo
IUEA PrimaPrecedent Retrieval, Indexing & Matter Assessment
01 / 19
IUEA Prima logo
PrimaAn AI paralegal for East African law

Precedent you can
actually rely on.

PPrecedentThe judgments that decide cases
RRetrievalFound by meaning, not keywords
IIndexingAn archive built to the paragraph
MMatterReasoning over your own case file
AAssessmentIs this authority still good law?

Every sentence traces to a paragraph in a real judgment and Prima declines to answer when the archive cannot support one.

Mohammed Yahya International University of East Africa
The problem

Expensive to find. Dangerous to get wrong.

01

Days of billable time

Finding the authority that fits the facts is manual, keyword-driven work. Junior associates spend days on it, and clients are billed for every hour.

02

No way to check it still stands

A judgment can be overruled, distinguished or doubted years later. In East Africa there is no citator — no reliable way to ask whether an authority is still good law.

03

AI has already burned the profession

Lawyers have been sanctioned for filing submissions containing citations a model invented. Trust is now the barrier, not capability.

What that looks like

A case that has been overruled is not a precedent. It is a liability.

Westlaw and LexisNexis solved this for the United States forty years ago. Nobody has solved it for Uganda, Kenya or Tanzania.

Court of Appeal · Judgment · 2011
"A verbal agreement of this kind is binding on both parties."
Good law
OVERRULED

Thirteen years later a higher court decided the opposite. The judgment still sits in every archive and still tops a keyword search. A lawyer relying on it walks into court with a losing case and doesn't know it.

The system

Three layers. Only one of them is search.

Layer 01

The archive

A normalised, citation-linked corpus of East African and Commonwealth judgments — cleaned, structured, machine-readable. The asset nobody else has built.

Layer 02

The citator

A treatment graph across every judgment: followed, applied, distinguished, doubted, overruled. This is what tells a lawyer whether an authority is safe to rely on.

Layer 03

The reasoning layer

Semantic retrieval, case analysis and adversarial testing over the top — every claim bound to a pin cite in the archive beneath it.

Competitors ship layer three. Layers one and two are the business.

Capability

What it does for a working advocate

01

Semantic precedent search

Describe the facts in plain language. Prima retrieves authority on meaning, not keyword overlap.

02

Treatment check

Every authority returned carries its history: what has followed it, doubted it, overturned it.

03

Adversarial review

Upload opposing counsel's submission. Get every authority they rely on, its weaknesses, and counter-authority.

04

Matter memory

Pleadings, contracts, discovery and correspondence ingested per case. The system reasons over your file, not just the law.

05

Outcome base rates

How this cause of action has historically resolved in this court, and which arguments correlated with success.

06

Drafting with locked citations

Submissions drafted against the archive, where no citation can exist unless it exists in the record.

The differentiator

Every other tool argues your side

What everyone builds

  • Find me authority that supports my position
  • Returns a ranked list of documents
  • Leaves the lawyer to imagine the counter-argument
  • Confirms what you already believed

What Prima does

  • Builds the strongest case against you first
  • Names the authority opposing counsel will rely on
  • Flags where your file is thin before the judge does
  • Returns an argument map, not a document list

A litigator does not need a search engine at 11pm. They need to know what is coming.

The trust layer

Refusal is the feature

Pin cite or nothing

Every sentence Prima produces resolves to a paragraph in a real judgment. No claim survives without a source the user can open.

Grounded in the archive only

The model reasons over retrieved text. It is not permitted to answer from parametric memory, which is where invented citations come from.

It says when it cannot answer

Where the corpus does not support a proposition, Prima declines rather than improvising. Silence is safer than a sanction.

The profession does not need a more confident model. It needs one that can be checked.

Structural edge

East African courts do not reason in isolation

Ugandan, Kenyan and Tanzanian courts routinely rely on persuasive authority from across the common law world. A tool trained on one jurisdiction cannot follow that reasoning.

UgandaKenyaTanzania England & WalesIndiaSouth Africa
BindingPersuasive

Cross-jurisdictional retrieval is not a feature a US-built product can retrofit cheaply. It requires the corpus, the citation conventions and the doctrinal lineage to be modelled together — which is exactly the work this project is doing anyway.

Defensibility

Why this is hard to copy

01

The corpus is grunt work

Regional judgments arrive as inconsistent scans with no standard citation format. Normalising them is slow, unglamorous and unavoidable. Well-funded competitors will not do it.

02

The citator compounds

A treatment graph gets more valuable with every judgment added and every correction made. It cannot be bought, only accumulated.

03

Jurisdiction is the barrier

Global vendors optimise for the largest markets first. East Africa is not on that roadmap — and by the time it is, the archive is already built.

04

Trust transfers slowly

Once a firm has relied on a citator in front of a judge and been right, switching cost is professional, not technical.

Architecture

Built on a stack chosen for verifiability

01

Ingestion

Judgments normalised, segmented by paragraph and assigned stable citation identifiers.

02

Embedding

VoyageAI embeddings over paragraph-level units, so retrieval resolves to a pin cite rather than a document.

03

Index

LanceDB vector store holding the archive and the treatment graph alongside it.

04

Reasoning

Anthropic models constrained to retrieved context, with refusal on unsupported propositions.

05

Delivery

FastAPI service and a deliberately simple interface — the product is the answer, not the chrome.

Retrieval is scoped to the paragraph so that every generated sentence has somewhere to point. The architecture enforces the trust claim rather than asking users to take it on faith.

Market

Four buyers, four reasons

Litigation firms

Leverage. One associate covering the research load of three, with the citation risk removed.

In-house counsel

Cost control. Fewer hours outsourced to external firms for research that can be done internally.

Judiciary & registries

Consistency. Judges and clerks checking precedent against a maintained treatment record.

Law faculties & legal aid

Access. Students and underfunded practitioners reaching authority they currently cannot afford to find.

Firms buy leverage. Institutions buy consistency. Faculties buy access. The same archive serves all four.

Business model

Priced for a market that will not pay Harvey rates

Per seat, monthly

Research

  • Semantic precedent search
  • Full archive access
  • Pin-cited answers
  • Individual advocates and small chambers
Per seat, premium

Citator

  • Everything in Research
  • Full treatment history
  • Overruled and doubted alerts
  • The tier the risk-conscious firm buys
Per case file

Matter

  • Everything in Citator
  • Adversarial review
  • Matter ingestion and drafting
  • Priced against a single billed hour

Per-matter pricing beats per-seat in a region where firms are small and cases are the unit of work.

Roadmap

Archive first. Everything else follows.

Phase 01

Build the archive

Ingest and normalise Ugandan judgments end to end. Paragraph-level segmentation, stable citations, clean retrieval.

Phase 02

Ship the citator

Extract treatment relationships between judgments. This is the moment the product stops being search.

Phase 03

Open the matter file

Per-case ingestion, adversarial review and drafting. The paralegal, not the library.

Phase 04

Extend the region

Kenya and Tanzania, then Commonwealth persuasive authority. The same pipeline, more jurisdictions.

Nothing in phases two to four is possible without phase one. That is the whole strategy.

Why here

IUEA is an unusually good place to build this

A Faculty of Law on campus

Doctrinal review, annotation and treatment tagging need trained legal readers. The university has them, and they have every reason to care about the result.

A research mandate, not a sales quota

The archive takes years to be worth what it will be worth. A university can hold that horizon; a startup burning runway usually cannot.

Institutional standing

Judiciaries and registries share archives with chartered universities more readily than with vendors. Access is the hardest input to buy.

Engineering already in place

The AI systems capability at IUEA is operational, not theoretical. This is an extension of work already running in production.

Prima is not a product looking for an institution. It is an institution's advantage turned into a product.

Product walkthrough · 1 of 2

The workspace view in context

Embedded from iuea-prima-product-1.html.

Product walkthrough · 2 of 2

Answers, evidence and treatment history

Embedded from iuea-prima-product-2.html.

The archive · 1 of 2

Digitising Uganda's law, judgment by judgment

Embedded from iuea-prima-archive-1.html.

The archive · 2 of 2

The Ratio Engine — meaning and structure, indexed together

Embedded from iuea-prima-archive-2.html.

The ask

Back the archive

Corpus accessFormal introductions to the judiciary, registries and legal publishers holding the judgments.
Doctrinal capacityFaculty of Law time for treatment tagging and validation of the citator.
A pilot cohortA small group of practising advocates willing to use it on live matters and be honest about it.

Search is the demo.
The archive is the business.

Powered and Developed by International University of East Africa