Skip to content

Smeet AgrawalSmeet AgrawalSoftware Engineer at Big Circle

Software that holds up,
AI that shows its work

I build backends for payments, multi tenant platforms and async work, and the RAG systems that run on them, where every answer traces back to the page, table and cell it came from.

  1. 01Ingest

Pull requests merged upstream in

Products I have shipped

Real users, real money, real documents

Three products in production at Big Circle and one independent build. For each: what was at stake, what I decided, and what it protects now.

Big Circle · D360 · Production

Rewards and payouts for around 5,000 users

The problem
Users earn rewards and referral bonuses, then cash them out to their bank. A payout that fails silently, or goes out twice, costs real money and trust.
What I did
I integrated a Banking as a Service provider for IBAN payouts over OAuth2 with mutual TLS, routed every webhook through an event ledger so a retried event is recorded once, and guarded the payout ledger with single transaction debits and database constraints.
What it protects now
Payouts reach the bank once, failures are handled and visible, and balances stay correct.
  • FastAPI
  • Node.js
  • TypeScript
  • PostgreSQL
  • mTLS
Read the case study

Big Circle · Client platform · Team of 10

Research over large document collections

The problem
Analysts ask questions across hundreds of reports, many answered by a number inside a table. A confident answer that cannot be checked is worse than none.
What I did
I own retrieval, agents and evaluation: hybrid search, Docling ingestion that keeps tables searchable, a LangGraph research agent, and RAGAS and DeepEval gates in CI.
What it protects now
Every figure in an answer resolves to one table cell, and a change that hurts quality fails the build.
  • Python
  • LangGraph
  • pgvector
  • Docling
  • Langfuse
  • Azure
Read the case study

Big Circle · Government contracts · Production

Contract accounting that bills the right hours

The problem
Teams log billable hours against government contracts. A race between two writes was stranding hours on retired charge codes, and a failing cost recompute was swallowed into an audit row, so finance dashboards showed numbers hours old with no error.
What I did
I designed a per contract Postgres advisory lock protocol with triggers on eight tables, fixed the recompute and surfaced its failures to users, and unified the data model across 238 files and 14 migrations gated by preflight checks.
What it protects now
Hours land on the right contract, finance sees current numbers or a visible error, and a migration stops before it touches ambiguous data.
  • PostgreSQL
  • Advisory locks
  • Migrations
Read the case study

Independent build · 2026

LexIntel, legal research with cited answers

The problem
Lawyers cannot use an answer they cannot cite. Generated citations that point nowhere are a liability.
What I did
I built the answer trust layer: every citation is resolved to its source chunk or removed, and each answer carries a four factor confidence breakdown.
What it protects now
Four workflows end to end: contract risk review, grounded drafting, an audit trail and precedent search.
  • FastAPI
  • Celery
  • Qdrant
  • Redis
  • Next.js
Source on GitHub
All work

Measured, not guessed

When I say an AI system improved, I can show the number

On the document platform, retrieval quality is scored against a golden dataset and gated in CI. Here is the change that moved it most.

Metadata filtering, measured

Before ranking, retrieval narrows the candidate pool to the documents whose metadata matches the question: its date, type, section and the entities it mentions. Searching the right slice instead of the whole corpus is the single change that moved the eval scores most.

  • Scored on a golden dataset of real questions
  • RAGAS, DeepEval and custom citation metrics
  • The same gates run in CI on every change
Evaluation score Baseline With filter
Context precision+0.27
0.610.88
Context recall+0.19
0.720.91
Faithfulness+0.16
0.800.96
Answer relevance+0.16
0.740.90
Citation accuracy+0.19
0.780.97
Illustrative figures. Metadata filtering narrows retrieval before ranking, which lifts every metric downstream.

Now building · In design · Side project

A reference checker for academic writing

Upload a draft and find out which references are wrong before your supervisor, reviewer or editor does.

AI assisted writing has made fabricated, retracted and misquoted references a public problem in academic publishing.

  • Does the reference exist? Looked up across Crossref, OpenAlex, Semantic Scholar, PubMed and arXiv
  • Has it been retracted?
  • Are the title, authors, year and journal right?
  • Does the source actually say what the sentence claims? Shown with the exact passage

Never say wrong without showing the proof. A flag that cannot be backed by evidence is not shown.

  • Next.js
  • PostgreSQL job queue
  • Python worker
  • GROBID
  • PyMuPDF
  • Crossref
  • OpenAlex
Pull requests merged upstream in Docling, nginx and Maxun
0
Users on the rewards and payouts platform
~0
Smaller agent context from an on demand findings store
0×
Files moved in one data model migration, across 14 migrations
0

How I work

Measure, build, then gate every change

  1. 01

    Find the failure first

    Before writing code I pin down how it breaks: the duplicate webhook, the race between two writes, the question the model answers wrong. For AI that becomes a golden dataset; for a backend, a test that reproduces it.

  2. 02

    Build it observable

    Audit logs, traced requests, every model call routed through LiteLLM and traced in Langfuse. When something goes wrong in production, the answer is in the logs, not in a guess.

  3. 03

    Gate every change

    Tests and evals run in CI with quality gates, and migrations run preflight checks first. A change that would double a payment or lower citation accuracy fails the build instead of reaching users.

Experience and open source

Shipping at work, merging upstream

Software Engineer, Big Circle
June 2025 to present · Gandhinagar
B.Tech, Information and Communication Technology
Dhirubhai Ambani Institute of ICT · Graduated July 2025
Anthropic Academy
Claude API, Model Context Protocol, Agent Skills, Claude Code in Action
Full experience

Have a system that has to hold up?

A payment flow that cannot pay twice, a data model under load, or a RAG pipeline whose answers you need to trust. Tell me where it is stuck.