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.5.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.5.0
File Size Uploaded Provenance Actions
piloop-0.5.0.tar.gz 1.8 MB Without provenance Details for piloop-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 2.8 MB

Release files / piloop-0.5.0.tar.gz

Download URL piloop-0.5.0.tar.gz
Size 1.8 MB
Tags Source
SHA-256 checksum
How to use checksums
7a93740365fc585a077a14394e77dd7e9a0a7c6971680346ca4bddea82b0b09c
BLAKE2b-256 checksum
How to use checksums
238d7c3590bdba3bf94439a1b8a94a218965695c186ba897c2514f67efef969d
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.5.0-py3-none-any.whl

Download URL piloop-0.5.0-py3-none-any.whl
Size 976.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fa3c9152880fc91975ab0631675d55aea8fe3653aa054e062d37ea5dc9e5251f
BLAKE2b-256 checksum
How to use checksums
48b18604447263fada1547b93b6918180d266196ee1be1cbc9405476c4c5ee17
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.5.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