Pranav

Research

How can coding agents learn from their own evidence?

Coding-agent harnesses are still tuned by hand. I want to know whether the system around an agent can test its own changes against evidence, and keep only the ones that hold up.

Question
Coding agents that learn from evidence
Now
StitchKV (efficient LLM serving), at Georgia Tech
Open for
Summer 2027 internships

The question

Today people read an agent’s failures, change its prompts, tools, context or workflow, and judge by eye whether the change helped. Even when an agent leaves a detailed record of its run, that record rarely turns into a lasting improvement.

I want to know whether the system around an agent can do this work with evidence: keep what happened in each run, find the decision that shaped the result, test one bounded change against the same objective, and keep the change only if it holds up. A person stays in the loop, and I would limit what the agent may change on its own.

The loop I want to study
Diagram
Capture what happened > Locate the decision > Test one change > Keep what holds
key: Keep what holds
Capture what happened
Locate the decision
Test one change
Keep what holds

A change is kept only when the evidence holds.

Fig. 1The loop I want to study, step by step.

Can the system around an agent keep enough evidence to test, explain and reuse a change?

Why the harness

The harness is everything around the model: prompts, tools, context and memory, workflows and subagents, the execution environment, permissions and verification. It sets what the agent can see and do.

Coding agents make the question testable. Through a terminal an agent can read a repository, run programs, reproduce a failure and check a fix, so every run leaves a record that a program can inspect.

Where it came from

The question started with the scraper workflow I led as an intern at Sarvam AI. Across four client deployments it took authoring from about three hours per scraper to 15 minutes. Three decisions shaped it, and each changed the harness: a subagent that explores the site, finding the backend API at runtime, and running every snippet against the live site. I found each one by reading failures by hand, and the workflow could use them but could not find them itself. I wrote them up in The harness is part of the system.

As a research assistant at the Indian Institute of Science (IISc) I learned to change one thing and measure it against a named baseline. ELITS was measured against GPT4TS across seven datasets and four missing-value ratios, and our data-attribution method against TRAK across ten CelebA settings.

What I have built toward it

AutoPilot is my first prototype of the loop. It treats improving a prompt, a rule set or an agent like training a model: a forward pass, a loss that writes structured feedback, a backward pass that turns it into a proposed change, and a step behind a policy gate that can roll the change back. Every change is recorded with the reason it was kept or rolled back.

Aiter, a terminal agent I wrote, gives me an agent loop to experiment with: its tools, its MCP servers and its saved sessions are all mine to read and change.

What I’m doing now

At Georgia Tech I contribute to StitchKV, a research project on efficient LLM serving. A larger model reads the prompt, and its key-value cache is translated so that a smaller model can write the answer. I run controlled experiments on the cache translation and on parameter-efficient adaptation. I have no results from StitchKV or AutoPilot to report yet.

What I want to work on next

For Summer 2027 I am looking for a research or engineering internship on coding agents: evaluations, traces, and changes to a harness that can be tested against a baseline. I am just as interested in efficient models and LLM serving, where ELITS and StitchKV sit.