AIAny
AI Agent2026
Icon for item

pi-autoresearch

Gives the pi terminal AI agent an autonomous experiment loop: propose code changes, run benchmarks, record metrics, auto-commit improvements and revert regressions. Ships a live widget/dashboard, MAD-based confidence scoring, hooks and backpressure checks — made for iterating on speed, bundle size, training loss and build times inside a terminal workflow.

Introduction

Small, repeatable wins are often buried in manual tweak-and-measure loops. Automating that loop — propose, run, measure, keep or revert — both accelerates discovery and preserves auditability. This extension equips a terminal-native AI coding agent with that exact workflow so micro-optimizations can be explored continuously and reproducibly.

What Sets It Apart
  • Extension + skill separation: the extension provides run/log tools and a live widget, while the skill encodes domain knowledge (how to form experiments, session files, and finalize kept changes). This keeps the core loop domain-agnostic while letting you swap domain logic.
  • Persistent, branch-aware history: experiments append to autoresearch.jsonl and a session document so a fresh agent can resume a loop without cached context. Kept experiments can be split into independent reviewable branches, making autonomous changes review-friendly.
  • Statistical guardrails: computes a MAD-based confidence score after a few runs to highlight likely real improvements vs noise, and supports optional backpressure checks to block unsafe keeps (tests/types/lint).
  • Practical scope: designed for optimization targets that are easy to run locally or in short jobs — test runtime, bundle size, build speed, lighthouse scores, or short training runs — with tooling to time commands and capture structured metric lines.
Who It's For (and tradeoffs)

Great fit if you already use the pi terminal agent and want to automate repetitive optimization cycles without building orchestration yourself. It’s useful for maintainers who want machine-assisted idea generation plus automated measurement and safe git workflows (auto-commit, revert, branch finalization).

Look elsewhere if you need large-scale distributed experiment orchestration, guaranteed low-variance ML training at production scale, or a web GUI-first experience — this is terminal-first and assumes short, repeatable measurements and an LLM provider configured for pi. Autonomous loops can also increase API/token spend and may require extra run repetition to overcome noisy metrics.

Where it fits

Best used as a lightweight, developer-facing layer on top of existing projects: start sessions with a focused objective (metric, command, files in scope) and let the agent run iterative experiments. Use hooks and checks to integrate external reporting, notifications, or stricter correctness gates.

How it works (brief)

The skill creates session artifacts (autoresearch.md, autoresearch.sh, autoresearch.jsonl). The extension offers tools: init_experiment, run_experiment (times commands and parses METRIC lines), and log_experiment (records, auto-commits, updates widget). After a session, a finalize skill can group kept changes and create independent branches from the merge-base for human review.

Information

  • Websitegithub.com
  • Authorsdavebcn87
  • Published date2026/03/11

More Items

GitHub
AI Client2024

Unifies visual creator tools, reusable Skills, and a Codex-powered Agent to handle video translation, image/video generation, voiceovers, and editing in one local multimodal workspace. Desktop and web clients share a synchronized state machine and keep data local by default.

GitHub
AI Coding2025

Runs many shells inside one terminal and treats coding agents as first-class panes. Combines daemon-backed persistent sessions, vim-style modal control, BSP tiling, a session rail and an Inbox that surfaces approvals, questions and finished turns from LLM-based coding agents — useful when you run and manage agent workflows alongside shells.

GitHub
AI Coding2026

Provides a rule set and agent skill that lets AI coding assistants review and improve SwiftUI code for modern APIs, performance, accessibility, and maintainability. Packs checks for deprecated APIs, data flow, navigation, and accessibility tailored to mistakes LLMs commonly make.