Sanjay Azhagan Logo

AI

Exploring the intersection of LLMs, agentic workflows, and real-world utility.

Philosophy

I prioritize building AI systems that augment human capabilities safely and transparently.

Engineering Logs

A chronological record of milestones, learnings, and builds.

2026-06-01Project Build

Porfolio

2026-05-05Learning

Software Engineering Intern (AI Systems) in Montra Electric

Key Achievements:

  • Architected a scalable distributed backend using Redis Pub/Sub and asynchronous task polling to efficiently orchestrate concurrent processes across multiple services.
  • Engineered system resilience and data integrity by implementing rate limiting to prevent API overload, alongside idempotent execution to guarantee data consistency during network retries.
  • Architected an orchestration layer and execution harness for autonomous AI coding agents, integrating robust memory management and reliable tool-calling to execute complex, multi-step workflows.
  • Developed a secure evaluation environment for AI-generated code, utilizing sandboxed execution to safely test outputs and validate automated interactions with local environments.
2025-09-15Hackathon

SIH Hackathon

Clearing the Internal Hackathon — SPARC (Smart India Hackathon 2025)

Overview

My team and I cleared our college's internal hackathon and earned the right to represent the institute at Smart India Hackathon 2025. We built SPARC — Shared Peer Access Resource Connector, an offline-first digital learning platform for rural school students.

| | | |---|---| | Problem Statement ID | 25019 | | Title | Digital Learning Platform for Rural School Students in Nabha | | Theme | Smart Education | | Category | Software | | Team Name | SPARC | | Team ID | 58600 | | Team Size | 6 |

The Problem We Took On

Students in rural Nabha (Punjab) don't have reliable internet, which cuts them off from the digital learning tools that students elsewhere take for granted. The challenge was framed simply but was hard to solve well: what if every student in a rural classroom could have a personal teaching assistant and a shared, collaborative space — with zero internet?

That constraint — "must work fully offline" — shaped every decision we made and, I think, was the main reason our idea stood out in the internal round.

What We Proposed

SPARC gives each student a personal AI teaching assistant for individual mastery and a connected classroom for collaborative work, all running on a local network without the internet.

Offline Collaborative Classroom

  • A central resource hub where teachers share notes, worksheets, and materials, pushed to every student device over a local WLAN.
  • A class announcement board and a synchronized activity stream — essentially a social-media-style feed for the classroom, kept in sync locally.

Locally Running SLM (Small Language Model)

  • A compact model fine-tuned on the local curriculum, acting as a doubt-clearing assistant with explanations, practice questions, and feedback.
  • Everything runs inside a secure on-device "sandbox," so student data and AI interactions never leave the local school network.

Other features

  • Multilingual support (Punjabi, Urdu, Hindi) across the SLM, the UI, and stored data.
  • A parents' portal with visual report cards, attendance, and performance analysis.
  • Encrypted data sync to the Punjab Education Department when connectivity is available.

The Technical Approach

We deliberately picked a mature, well-documented stack so we could move fast and demo something real:

  • Student App (mobile): React Native + SQLite for offline storage.
  • Teacher App (desktop): Electron + React.
  • On-device AI: Python, TensorFlow, and TensorFlow Lite — the model optimized with 8-bit quantization, pruning, and knowledge distillation into a .tflite file for low-latency inference on cheap phones.
  • Local backend: FastAPI + PostgreSQL, handling encryption, chunked sync, and backup.

We laid out a four-phase plan — Setup → Core Features → Testing → Deployment — which made the project feel executable rather than just a pitch.

What Clearing the Internal Round Actually Taught Me

  • The constraint was the idea. Plenty of teams pitched learning apps. Ours won attention because we took the "offline" requirement literally and designed the whole architecture around it instead of treating it as a footnote.
  • A convincing story beats a long feature list. Opening with the "zero internet" question gave the judges a clear picture of the problem before we showed a single technology choice.
  • Justify every tech decision. For each tool we wrote down a Why? and a What it does?. Being able to defend the stack — rather than just name-drop it — made the feasibility section credible.
  • Name the risks yourself. We called out the hard parts (AI model optimization, stable collaborative connectivity, user adoption, legacy software) and paired each with a strategy. Owning the weaknesses was more persuasive than pretending there weren't any.
  • Divide the work by strength. With a clear split — mobile, desktop/frontend, two AI/ML, backend, and a full-stack lead on architecture — everyone knew their lane, which showed in how coherent the final submission felt.
  • Differentiate against what exists. We studied Kolibri and articulated exactly how SPARC differs: two-way collaboration and a local AI model, not just one-way content distribution.

Outcome

We cleared the internal hackathon and advanced as the institute's representative to Smart India Hackathon 2025 under problem statement 25019. Beyond the result, it was my first time taking a hard real-world constraint and shaping an entire system around it — from the AI model down to the sync strategy — and defending those choices in front of a panel.

2025-09-10competition

A challenge for helping woman development

Empowering Women Through AI: Building a Legal & Financial Advisor

Access to clear, actionable legal advice is still a major hurdle for a lot of people. Legal documents, statutory frameworks, and rights-related literature are often written in heavy jargon that is nearly impossible to parse if you don't have a background in law. For women navigating questions around workplace rights, property ownership, domestic safety, or financial independence, this barrier can feel even higher.

To help bridge this gap, I built Legal Advisor Chatbot—a targeted conversational platform designed to give women direct, easy-to-understand insights into their legal rights and key financial concepts.


The Problem

When someone faces a legal or financial issue, getting reliable answers quickly usually comes with two main challenges:

  1. High Cost & Friction: Professional consultation isn't always immediately accessible or affordable.
  2. Dense Terminology: Raw legal statutes and financial terms are rarely written for everyday comprehension.

Standard chatbots can give general summaries, but they frequently miss domain-specific grounding. The main goal of this project was to take complex legal framework information and break it down into clean, empathetic, and easily digestable advice.


Tech Stack & Architecture

The project relies on a full-stack architecture built to keep response times fast while managing conversational state smoothly.

  • Frontend: Built with React. It handles the interactive chat flow, message state management, and real-time streaming updates.
  • Backend: Powered by a lightweight API service to bridge client interactions with the intelligence layer.
  • AI & Knowledge Pipeline: Uses retrieval workflows (via LangChain / RAG patterns) grounded on legal documentation and financial resources to keep answers focused and accurate.