Skip to main content

piloop

CI License: MIT Python 3.14

Autoresearch for any git repo: coding agents try ideas, piloop scores every commit and keeps what wins.

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 commits. piloop scores every commit with your evaluate command, and keeps a change only when it beats the best result so far.

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 verdict.
  • Plugins: add a verdict 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.4.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.4.0
File Size Uploaded Provenance Actions
piloop-0.4.0.tar.gz 1.9 MB Without provenance Details for piloop-0.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 2.9 MB

Release files / piloop-0.4.0.tar.gz

Download URL piloop-0.4.0.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
77a3852000f46b444ebd2f4ab52461e4e7b3ab9081617d42ca8325218a05db12
BLAKE2b-256 checksum
How to use checksums
002110445290f8b71e9ebcf2f4207163fd89027a22a496e063802c9844326011
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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

Download URL piloop-0.4.0-py3-none-any.whl
Size 1.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
dc62c0b4ca03731fcbce03b030eb0a73df24f42012c1824e5bdc887824588e0a
BLAKE2b-256 checksum
How to use checksums
4a7a8589abbfce2916539d29587073353c10c5b3628a628e0ed86eeec4533b70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for piloop 0.4.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