Vivek Gangavarapu

Memory for LLM agents · Systems engineering
Open to agent infrastructure and systems roles · internship or full-time 2027 · India or remote

I'm a final-year B.Tech student in Computer Science at IIIT Kottayam, graduating in April 2027. I work on memory for LLM agents: how an agent stores and retrieves what it knows, and how its state stays correct when the context window is full and many sessions run at once.

My thesis compares vector, graph, and hybrid agent memory under a fixed context budget. I've had 25 pull requests merged into Google's Agent Development Kit for Go, mostly in session state and agent context, and my gcd and lcm SQL functions ship in Apache Spark 4.5.0.

Vivek Gangavarapu

News

  • searchbench now reruns weekly in CI and flags any search API whose quality drifts.
  • My gcd and lcm SQL functions were merged into Apache Spark, shipping in 4.5.0.
  • Published an interactive demo of my thesis, replaying real agent runs.
  • Reached 25 merged PRs in google/adk-go.
  • Finished Google Summer of Code with the Apache Software Foundation (AsterixDB MCP server).

Research

Controlled studies of agent memory and agent tooling, with pre-registered hypotheses, confidence intervals, and every caveat written down.

+62pts, graph vs vector memory on 3-fact chains
Memory Under Context Constraint
B.Tech thesis · Sep 2026 - present · Python, Gemini, Qwen3 embeddings, NetworkX, SQLite

How much does the way an agent stores memory matter once its context window is full? I built a 5-layer agent harness (planner, context manager, memory, tool runtime, evaluator) where any component swaps with one config line, then compared vector, episodic, graph, and hybrid (RRF) memory on procedurally generated tasks.

  • 905 runs spanning a 93.3-point floor-to-ceiling bracket. On 3-fact chains, graph memory beat vector by 62 points [48, 75], as pre-registered.
  • Introduced dropped-fact recall, which tracks task success where step-averaged recall ranks memories the wrong way.
  • 15 implementations gated by conformance suites, checked with mypy --strict.
searchbench plot: cost per query against support@5 for each search API
searchbench: benchmarking web search APIs for agents
Independent project · Nov 2026 - present · Python, Gemini on Vertex AI, GitHub Actions

When an agent queries a search API, does what comes back hold enough grounded evidence to answer correctly, how fast, and at what cost? searchbench judges the returned results directly over 60 hand-written tasks, with bootstrap confidence intervals and an LLM judge checked against human labels.

APIsupport@5p50 latencyUSD / query
Exa0.95 [0.89, 0.99]1.5 s0.0070
Tavily0.90 [0.82, 0.97]1.6 s0.0080
Firecrawl0.80 [0.71, 0.88]2.0 s0.0076

Snapshot of Nov 19, 2026, free tiers, default modes. Judge agreement with my labels is 72% with kappa 0.39, below the 0.6 bar, so these are provisional.

  • Blind human labels exposed a grounding-check bug that penalized markdown output; fixing it moved Firecrawl from 0.73 to 0.80.
  • A weekly GitHub Actions job (keyless auth to Vertex AI) runs, judges, and compares a fresh snapshot with a paired bootstrap, then commits it back.

Open source

Merged work in large, heavily reviewed codebases.

25PRs merged in google/adk-go
Google Agent Development Kit (Go)
Go · 2026 · session state, memory, and agent context
  • Session state survives concurrency. Concurrent sessions on Postgres or MySQL could silently drop each other's state writes. I traced it to a lost-update race and fixed it with SELECT FOR UPDATE row locks and an ON CONFLICT insert (#1743, #1930).
  • Multi-user MCP tools work. All users shared one MCP session, so servers with per-user auth answered 403. I gave each user its own session, a 970-line change (#1755).
  • Cleaner agent context and memory. Kept a single-turn sub-agent's transcript out of the root agent's context (#2128) and model thoughts out of memory search (#1975). Also contributed the BigQuery toolset.
4.5.0Spark release with my gcd and lcm functions
Apache Spark
Scala, Python · SPARK-58965, SPARK-48290
  • New SQL functions. Added gcd and lcm end to end: Catalyst expressions with codegen, ANSI overflow semantics, Scala, PySpark, and Spark Connect APIs, docs, and golden-file tests. 2,570 lines across 22 files, merged into master and branch-4.x.
  • Skew joins detected by default. Recorded skewed shuffle block sizes so adaptive query execution can see skew.
GSoC2026, Apache Software Foundation
MCP server for Apache AsterixDB
Google Summer of Code · May - Aug 2026 · Python, Java
  • An MCP server with 26 tools, 12 resources, and 6 prompts over JSON-RPC 2.0, so agents can run SQL++, inspect query plans, get index advice, and discover schemas.
  • OAuth 2.1 with JWKS verification and DNS-rebinding protection, multi-tenant isolation, and stdio and HTTP transports.
  • Wrote APE 36, the accepted architecture proposal, and extended the Java engine through Gerrit review.
+4more projects, merged
Also merged
  • Apache SeaTunnel: a JMH benchmark for checkpoint-scheduling delay.
  • Canonical Operator: correct OTLP span kinds and attribute encoding in ops-tracing.
  • clickhouse-connect: the server-side binder accepts $ in parameter names.
  • sktime: AutoResearchForecaster.update now syncs best_forecaster_.

Projects

4.0xfewer bytes read on a 100M-row table
agentdb: a context layer for NL-to-SQL agents
Independent project · ClickHouse, Databricks, Delta Lake, MCP, Docker

Agents write bad SQL when they can't see how a warehouse is physically laid out. agentdb is a 15-tool MCP server that gives them sort keys, partitions, and column stats.

  • Grounding SQL in the MergeTree sort key cut bytes read 4.0x on a 100M-row ClickBench table.
  • A Databricks adapter reads EXPLAIN FORMATTED plans to flag filters where Delta Lake file pruning silently fails.

Skills

Agent memory and evals
Vector, graph, and hybrid (RRF) retrieval, Google ADK, MCP, LLM-as-judge validation, bootstrap CIs
Systems
Concurrency and locking, Postgres/MySQL, JSON-RPC 2.0, OAuth 2.1, asyncio, Docker, GitHub Actions
Query engines
Apache Spark (Catalyst, AQE), ClickHouse, Databricks/Delta Lake, AsterixDB
Languages
Python, Go, Java, Scala, SQL, TypeScript, Bash

Get in touch

I'm looking for roles in agent memory, agent infrastructure, and systems engineering, as an intern or full-time from 2027: gangavarapu.0104@gmail.com.