Arunjay Agrawal

Hi, I'm Arunjay

I study CS, Math, and Data Science at UW-Madison. I build AI systems and the infrastructure they run on, lately agent security testing, CUDA kernels, and retrieval pipelines.

Download resume View my work

arunjay101@gmail.com / GitHub / LinkedIn

About

About me

I'm an undergrad at the University of Wisconsin-Madison studying Computer Science, Mathematics, and Data Science, graduating in May 2028.

I build AI systems and the infrastructure under them. At the CDIS and OpenAI Summer AI Lab I wrote the fused causal CUDA kernels that the RACE Attention paper (ICLR 2026) left as future work. They run a 2M-token forward pass on one H100 in 14.7 ms, 165x faster than the PyTorch baseline. At RIA Advisory I built an agentic system that drafts cited requirements documents for an enterprise healthcare-payer implementation, which cut consultants' time to a first draft by 60%. As a research fellow at the UW-Madison Data Science Institute, I build tools for a $102M Wallace Foundation initiative that serves 8 urban school districts and about 500,000 students.

I also build things that keep running on their own. jobcrawl has watched about 5,900 company career boards unattended since July 2026, and Tripwire, a prompt-injection test harness for AI agents, is on PyPI. Most recently I led a team that made a video diffusion model change what it shows 363 ms after you speak (Mirage). The parts I spend the most time on are the unglamorous ones that make these systems trustworthy: deterministic evaluation, provenance, and tests that catch regressions.

PythonTypeScriptGoC CUDAPyTorchLangGraph FastAPIPostgreSQLDocker GCPAWS

Experience

Where I've worked

Jun 2026 - Aug 2026

AI Engineer Intern

RIA Advisory, Miami, FL

  • Built an agentic AI system that turns unstructured client inputs into cited business requirements documents for an enterprise healthcare-payer Oracle ORMB implementation. It cut consultant time-to-first-draft by 60%.
  • Designed a scoped GraphRAG retrieval layer over Qdrant and Neo4j that indexes 4,000+ pages across 7 knowledge bases, plus a multi-agent LangGraph pipeline in which an LLM critic sends drafts back for revision until they pass faithfulness checks against the cited sources.
Feb 2026 - Present

Software Engineer Intern

UW-Madison Tech Exploration Lab, Madison, WI

  • Built a bilingual Spanish/English veterinary AI voice agent in Go for a 10-veterinarian pilot across Wisconsin dairy farms. It handles 150+ queries a day, and strict guardrails, checked by a 50-case safety test suite, keep it from giving diagnoses.
  • Built a full-stack lab management dashboard (Python, JavaScript, PostgreSQL) on GCP that automates mentor matching and resource allocation for 30 active ventures.
Feb 2026 - Present

Undergraduate Research Fellow, CALL‑ECL Project

UW-Madison Data Science Institute, Wallace Foundation $102M Initiative

  • Built a multi-speaker transcription tool end to end for the initiative's research platform, which serves 8 urban school districts and about 500,000 students (Flask, React, PostgreSQL): background workers, Google Speech-to-Text word timings combined with Gemini speaker identification, and a waveform editor with live word highlighting and speaker correction.
  • Gave the platform's AI research assistant read-only SQL access to its social network and ontology data, limited to an allowlist of tables with query validation and row and time caps. Charts are built on the server and the model only picks the chart type, so a chart always matches its data.
May 2025 - Sep 2025

Software Engineer Intern

LogicPatterns, San Francisco, CA

  • Built a full-stack AI agent that turns natural language prompts into live software architecture diagrams. Making a diagram went from 30+ minutes to under 2 minutes.
  • Containerized the backend as FastAPI microservices with Docker and wrote Pytest integration tests for inference, diagram synthesis, and frontend rendering.
  • Optimized client-side SVG rendering and built a JSON-to-React bridge, which brought diagram render latency down to 1.3 seconds.
  • Wrote 3 web crawlers that indexed 1,000+ cloud-service icons from AWS, GCP, and Azure documentation and stored their metadata in PostgreSQL (JSONB), so generated diagrams use the correct icons.
Expected May 2028

University of Wisconsin-Madison

Bachelor of Science in Computer Science, Mathematics, and Data Science. GPA 3.81/4.0.

Projects

Selected projects

Mirage

2026 MadHacks 2026

Real-time video diffusion you steer by voice

Diffusion models, PyTorch, Wan 2.1, Causal Forcing++, WebSockets, Claude Sonnet

A video diffusion model generates video live, and you steer it by talking: say "make it winter" and the video changes while it plays, 363 ms after you stop speaking. A normal video diffusion model takes minutes per clip. Mirage clears the model's memory on each command, fits that restart inside a 250 ms budget per chunk, and returns to a clean saved frame every six seconds so the picture does not drift. Built by a team of four; I led the team and owned the real-time engine.

Four real frames from one live Mirage run: a red sports car on a country road, then after spoken commands the same car on a snowy mountain road, in a neon city at night, and on a beach road

Tripwire

2026 Live on PyPI

Prompt-injection evaluation harness

Python, GitHub Actions CI, LangGraph/CrewAI adapters

Tests whether a tool-using AI agent can be hijacked by prompt injection before it ships. It runs 16 attacks and decides pass or fail deterministically, with no LLM judge, then reports attack-success rates with confidence intervals and explains in plain English how to harden the agent. Published as tripwire-eval, with a CI gate that fails the build when a change pushes the attack success rate above a threshold.

Terminal output of a tripwire run: an attack-success-rate table for three attacks, followed by security feedback explaining which attacks leaked and how to harden the agent

RACE Attention Kernel

2026 Done

GPU systems work, CDIS & OpenAI Summer AI Lab

CUDA, PyTorch, bf16

The RACE Attention paper (ICLR 2026) leaves optimized causal CUDA kernels as future work, and these are those kernels. The reference PyTorch path materializes a five-dimensional prefix tensor that runs a 40 GB A100 out of memory at 131K tokens. The fused kernels never build that tensor, and they run a 2M-token causal forward in 14.7 ms on one H100 in 8 GiB of memory, 165x faster than the chunked PyTorch baseline.

Log-log chart of peak GPU memory versus context length: the reference cumsum path at 284 KB per token hits out-of-memory at 131K tokens on a 40 GB A100, while the fused kernel at 4 KB per token reaches 2M tokens using 8.4 GB

mosh-rs

2026 Pre-alpha

Rust port of mosh, the mobile shell

Rust, UDP, AES-128-OCB3, protobuf, Linux/macOS/Windows

A Rust port of mosh that is wire-compatible with existing mosh 1.4 servers. It also has a native Windows client and writes scrollback into the local terminal's history. It is checked against upstream's C++ code with differential testing, upstream's own test suite, and a 120-cell interop matrix run under packet loss and roaming. AI coding agents built it in October 2026 from a written plan, and the full record is in the repository.

A mosh-rs session in a terminal during a 12-second network blackout: the blue status bar reads Last contact 11 seconds ago while the session waits to catch up.

jobcrawl

2026 Running 24/7

Autonomous job-search pipeline

Python, SQLite, LLM APIs, systemd

Polls about 5,900 company career boards directly at the ATS on a 12-minute cycle, has an LLM score new postings against my profile, and sends matches out as email digests and an auto-generated tracker. It uses ETag conditional fetches and per-host throttling, dedupes postings by content hash (catching reposts), and marks a posting closed once it stops appearing. It has run unattended on an EC2 instance since July 2026, for 7,358 runs and about 872 million fetched postings.

See all projects

Contact

Get in touch

Email is the fastest way to reach me.