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.
  • Claude Code or Codex, logged in. pi is opt-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.8.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.8.0
File Size Uploaded Provenance Actions
piloop-0.8.0.tar.gz 3.3 MB Without provenance Details for piloop-0.8.0.tar.gz

Built distribution (wheel)

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

Total release size: 4.3 MB

Release files / piloop-0.8.0.tar.gz

Download URL piloop-0.8.0.tar.gz
Size 3.3 MB
Tags Source
SHA-256 checksum
How to use checksums
85e6c8f2ec871b4ec95d53361e19f542432e2c298634b4aeb25aab999c780053
BLAKE2b-256 checksum
How to use checksums
56c1b9372c4664fec634ee263c406e497998113567a05571f0caaad562504e94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","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.8.0-py3-none-any.whl

Download URL piloop-0.8.0-py3-none-any.whl
Size 1.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
886c6ab472e3162ab3291b7022beefb07cac1950ba6c52a6d09e1af6d47edde1
BLAKE2b-256 checksum
How to use checksums
e86e9d91cf87afe5d83f7899b7189b71e3794cc874da4172b55d01476e8dc35b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","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.8.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