Power-Up #7: Let AI Research Your Code While You Sleep

Hi π, I'm Dung Huynh Duc A passionate engineer from Singapore
π Iβm currently working in AirCarbon
π¨βπ» All of my projects are available at https://productsway.com
π I regularly write articles on https://productsway.com
π« How to reach me dung@productsway.com
πΉ I often publish my video every Sunday on IT Man Channel
In the previous Power-Up posts, I've explored AI coding assistants, AI workflows, agent-based development, and AI launchers.
This week, I want to talk about something that feels like the next step: autoresearch.
The idea comes from Andrej Karpathy's autoresearch project and has recently been brought to Pi through pi-autoresearch.
Instead of asking AI to generate code, we ask AI to improve a measurable outcome.
For example:
Reduce startup time
Improve benchmark scores
Reduce memory usage
Increase test coverage
Reduce bundle size
The workflow is surprisingly simple:
Give the agent a goal
Let it propose a change
Run tests and benchmarks
Measure the result
Keep improvements
Revert regressions
Repeat
The key difference is that the agent is no longer optimizing for "writing code."
It is optimizing for outcomes.
Traditional AI coding:
Goal β Prompt β Code
Autoresearch:
Goal β Experiment β Measure β Improve β Repeat
This is important because software engineering is fundamentally an optimization problem.
The best solution is rarely obvious from a single prompt.
Human engineers already work this way:
Form a hypothesis
Make a change
Run tests
Analyze results
Iterate
Autoresearch simply automates that loop.
I recently tested pi-autoresearch on one of my projects. What impressed me wasn't the code generation itself.
It was the process.
The agent created experiments, validated assumptions, measured results, and produced a pull request with supporting evidence.
That feels much closer to having a junior performance engineer than a code generator.
Why this matters:
Less prompt engineering
More measurable improvements
Discover non-obvious optimizations
Fully reproducible experiments
Works while you focus on other tasks
I don't think autoresearch will replace developers.
But I do think it points toward a future where AI agents spend more time experimenting and less time waiting for instructions.
What would you ask an AI agent to optimize in your codebase?
#ITMan #AI





