Back to Projects

Citetax - Sri Lankan Tax Filing Copilot

Illustration of Citetax - Sri Lankan Tax Filing Copilot citetax screenshot

uni group project. a multi-agent copilot for sri lankan personal income tax that actually cites its sources, built for the huge wave of people who just got a tin and have no idea what they owe. every figure traces back to a specific, versioned ird rule, and the answers keep up when new circulars drop.

langgraph agents run the conversation, pgvector pulls the right rules, and a deterministic computation engine does the math so the numbers never come from the model. it’s built on fastapi and next.js with groq as the llm.

the live demo is up. new circulars and amendments go through an admin review, where a reviewer checks every rule change before it reaches anyone’s answer. it already covers the 2025/2026 and 2026/2027 years of assessment, with the 2025 and 2026 amendments built in.

Architecture

System
web · Next.js
Home and pricing
Chat
Admin review
api · FastAPI, Python 3.12
Answer graphLangGraph
Compute enginetax math in plain code
Rules resolverlaw in force for the year
Corpus agenttracks new and revised documents
Plans and limitsFree, Individual, Team
Supabase Postgreswith pgvector
Groqgpt-oss-120b
Vertex AIembeddings
Geminipayslips, with consent
How an answer is made
Question
Remove personal detailsnames and NIC numbers never leave
Routeout of scope is declined, with the reason
Rules in forcefor the year of assessment
Compute in codethe model never produces a number
Write the answer
Every figure traced to the law?yes: full answer · no: figures only
How the law stays current
Official sources
New or revised documents
Proposed rule change
Checked by reviewersadmin review
New snapshot of the lawused by answers

Other Projects

All projects