Skip to content
View kb2326's full-sized avatar
  • Bengaluru, India

Block or report kb2326

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
kb2326/README.md

Karthick Balaje, AI engineer

LinkedIn Medium Email Bengaluru, India

Models measure, the agent reasons, rules decide. Every number comes with the code that computed it. Evaluate the evaluator before you trust it.

I build LLM agents that are evaluated before they ship and governed once they're live.

1.00
escalation recall
ClaimLens
33 / 33
red-team attacks held
ClaimLens
1.00 / 0.91
knockout recall / precision
Grant Capture
0
invented facts in drafts
Grant Capture
29 / 32
labelled failures fixed
Health Agent

🚀 Now

  • In production: an LLM agent fleet for a US direct-to-consumer apparel brand. It runs 21 scheduled jobs across 10 commerce and marketing APIs, checks every claim against live data before it reaches the founder, and has a person approve every dollar of ad spend.
  • Just shipped: the Calibrated Health Agent is public: an agent on my own health data with a web app, an eval suite and a CI gate (below).
  • Research: a pre-registered study of Gemma 4 coding agents, public with its paper.

An AI agent you talk to about your own wearable and journal data. It plans, writes SQL or Python, runs it in a sandbox, and every number links to a receipt you can re-run. A code check, not a prompt, flags any figure no tool computed.

  • One ReAct agent with thinking and 14 tools on Google ADK; specialists as tools
  • 265 eval cases, my own labels on 110 answers, a red team and a CI gate on every PR
  • After error analysis and a redesign, 29 of 32 labelled failures answered better
  • Web app over AG-UI: streamed steps, tappable receipts, live-location weather, behind Google sign-in
  • Seven forecasters make sealed daily predictions, hash-chained and published
  • Runs on GCP (Cloud Run, Terraform) for under $1/month

Code · Write-up · Forecast scoreboard

Google ADK Gemini AG-UI Next.js Vertex AI Terraform

My paper for Kaggle's Gemma 4 Developer Agent competition (paper track): A Pre-Registered Test on a Gemma 4 Coding Agent. Gemma 4 31B fixes real GitHub issues within a fixed 4.5-minute budget; I compared prompt rules with a planning stage.

  • Designed on 30 tasks, then tested pre-registered claims once on 41 held-out tasks
  • Prompt rules are followed to the letter (20/20 vs 0/25), not in intent
  • A planning-stage gain seen in development did not replicate, and the paper says so
  • Every table recomputed from per-task results in a public notebook

Code · Reproduce the tables

Gemma 4 Google ADK vLLM Kaggle Pre-registration Paired statistics


🧩 Selected work

Car-damage claims triage. My own vision models measure the damage, a LangGraph agent reasons over the evidence and the policy wording, and fixed rules decide. Only a person can deny a claim.

  • Damage segmentation mask mAP50 0.733 (course baseline: 0.137)
  • Escalation recall 1.00 · $0.010 per claim
  • 33 of 33 red-team attacks held · eval gate in CI

Live showcase · Write-up

YOLO11 LangGraph MCP Hybrid RAG DVC

Finds federal funding a small R&D firm can actually win, rules out the ones it can't (quoting the clause and page), and drafts proposals from the company's own evidence.

  • Knockout recall / precision 1.00 / 0.91
  • Drafts: 10 of 10 true gaps flagged, 0 invented
  • Every module built twice; ablations picked what ships, and misses are reported

Google ADK Gemini Corrective RAG pgvector MCP

Turns an existing scoring model into a rep's morning: who to call, what to refresh first, what to leave, and what to say.

  • Logs cost and data quality on every run
  • Watches for the slow drift that broke the last scoring rollout

Python Claude LangSmith

Turns a free-text buyer request into a ranked, verified top-5 supplier shortlist.

  • Routes each part of a query to the right engine (vector, SQL, graph, external API)
  • Fuses results with RRF, scores them with MCDA, and verifies before ranking

Claude Vector search SQL Graph

Design and prototype for an agent that works across 500+ tools: a two-stage semantic tool router, OpenAPI ingestion, and a hierarchical LangGraph orchestrator. LangGraph OpenAPI Semantic routing

Earlier work

🧭 How I build

Models measure, the agent reasons, rules decide. Anything with consequences goes through code a person can read.

Evaluate the evaluator. An LLM judge is only useful once you've measured how often it agrees with a human.

Build the outer loop first. Specs, evals, tracing and approval rules come before the clever part.

Publish the losses. Pre-register the test, report the baseline, and keep the result even when the simple rule wins.


🛠️ Stack

Python, PyTorch, FastAPI, React, Next.js, TypeScript, Postgres, Docker, GitHub Actions, GCP, Terraform

Agents Google ADK LangGraph MCP AG-UI Claude Gemini Gemma
Evals & safety Golden sets · LLM-as-judge with human agreement · CI eval gates · red-teaming · pre-registered experiments · proper scoring rules
Retrieval & data Hybrid search (BM25 + vectors) · LanceDB · pgvector · corrective RAG · semantic layers for agents
Models PyTorch · YOLO11 segmentation · TimesFM · calibration · scikit-learn
Shipping FastAPI · Next.js · Docker · GitHub Actions · DVC · Terraform · OpenTelemetry · GCP (Cloud Run, IAP, Vertex AI, BigQuery)

Building agents that know when not to act is harder than building agents that act.

Pinned Loading

  1. claimlens claimlens Public

    AI claims triage for car damage: custom-trained vision models as tools for an auditable LLM agent. Models measure, the agent reasons, rules decide.

    Python 3

  2. calibrated-health-agent calibrated-health-agent Public

    A personal health AI agent that computes every number with a re-runnable receipt, measured with evals, a red team and a CI gate. Google ADK + Gemini on GCP.

    Python

  3. grant-capture-agent grant-capture-agent Public

    AI grant capture for small R&D firms: find federal funding you can win, screen out ineligible solicitations, and draft proposals with corrective RAG. Plan-Execute-Verify agents on Google ADK & Agen…

    Python

  4. gemma4-ask-or-enforce gemma4-ask-or-enforce Public

    Ask or Enforce? Pre-registered test of prompt rules vs agent structure for Gemma 4 31B under a fixed budget

    HTML

  5. cordilla-account-scoring cordilla-account-scoring Public

    Turns an account-scoring model into a rep's morning: who to call, what to refresh first, and what to say. Logs cost and data quality on every run.

    Python

  6. agentic-tool-scaling agentic-tool-scaling Public

    Design + prototype for a scalable agentic tool-use system (100s-1000s of tools/APIs)

    Python