Skip to main content

piloop

CI License: MIT Python 3.14

Autoresearch for any git repo: coding agents try ideas, piloop scores what they submit, and the best commit is the result.

Documentation: piloop.autoresearch.inc

piloop runs coding agents on a goal that a program can measure. Each agent tries one idea in its own git worktree and submits the commits that it would ship. piloop scores each with your evaluate command into a pool, and the best commit in the pool is the campaign's result.

piloop watch on the enwik8 example: 10 Claude Code runs took the compressed size from 3,688,770 to 2,361,893 bytes

The enwik8 example after 10 runs: Claude Code agents took the first 10 MB of Wikipedia from 3,688,770 bytes (zlib) to 2,361,893 bytes (−36%) in 1.6 hours.

piloop keeps its state on your machine: a SQLite database in ~/.piloop and git refs in your repo. It has no hosted service. The agents send your code and prompts to their model providers, as they do when you use them yourself.

Start

  1. Install piloop and its skills for your coding agents:

    curl -fsSL https://raw.githubusercontent.com/hiloopai/piloop/main/install.sh | sh
    
  2. Open your coding agent in your repo: Claude Code, Codex, pi, Gemini CLI or Cursor.

  3. Tell it what to improve. Say "piloop", so that the agent uses the piloop skills:

    Use piloop to make our tokenizer faster without changing its output.
    

The agent sets up the campaign, runs it, and asks you only what needs you. To try piloop on an example first, ask for "the enwik8 example campaign from piloop", or run it by hand.

Requirements

  • Linux (x86-64 or ARM, glibc 2.28 or later) or macOS on Apple silicon. On an Intel Mac, installing builds covalence from source, which needs a recent Rust.
  • git 2.40 or later, with a commit identity.
  • uv. The installer installs it.
  • At least one of Claude Code, Codex or pi, logged in.

Documentation

  • Quickstart: your first campaign, through your agent.
  • Concepts: campaigns, ideas, runs and the pool.
  • Plugins: add a best rule, a runtime, tables or commands.
  • Reference: the CLI, the configuration and the database schema.

Contributing

See CONTRIBUTING.md. Agents that operate piloop start at AGENTS.md.

License

MIT. See LICENSE.

Metadata

Release files for piloop 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for piloop 0.6.0
File Size Uploaded Provenance Actions
piloop-0.6.0.tar.gz 2.9 MB Without provenance Details for piloop-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for piloop 0.6.0
File Interpreter ABI Platform Actions
piloop-0.6.0-py3-none-any.whl Python 3 none any Details for piloop-0.6.0-py3-none-any.whl

Total release size: 3.9 MB

Release files / piloop-0.6.0.tar.gz

Download URL piloop-0.6.0.tar.gz
Size 2.9 MB
Tags Source
SHA-256 checksum
How to use checksums
1f98c8adfd3fe7ecaf2997a6afe567a5d0a7b41a5e00180001e8b16d6f22ae69
BLAKE2b-256 checksum
How to use checksums
48474a53b9062619e0f6b4d95d28096b247efb607dda69a8c967d70bf1f65e8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / piloop-0.6.0-py3-none-any.whl

Download URL piloop-0.6.0-py3-none-any.whl
Size 967.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d35313a9bf94b288eb06cff91404e7359bf758bbb7067f92f62f213553bd5ab
BLAKE2b-256 checksum
How to use checksums
6454f3a22c4cb19d5400607f5d93cd2dd2f8b716d22f1437ff0c574568ac9ff4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for piloop 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page