Skip to main content

floop

floop is an agent skill and CLI for uploading local project versions to floop-server and reading server comments.

PyPI version Python License Coverage

floop gives agents a small, repeatable workflow:

Select server -> Create/select project -> Create/select version -> Upload files -> Read comments -> Resolve comments

It does not build files, validate artifact internals, generate UI, or decide which files belong in a version. Other tools or users create the files. floop stores local project/version state, uploads version directories, caches server comments, and updates comment status.

Quick Start for Agents

Use this flow when a user asks to publish with floop:

  1. Confirm which floop server to use.
    • SaaS: https://floop-server.vercel.app
    • Custom/self-hosted: ask for the full server URL, for example http://localhost:3000
  2. After the server URL is known, tell the user where to create an API key: <server-url>/dashboard -> top-right user menu -> API Keys.
  3. Initialize floop with the server URL and key:
floop init --server-url <server-url> --api-key <key>
  1. Create or select a local project:
floop projects create <project>
floop projects use <project>
  1. Create or select a version:
floop versions create <version> --project <project> --artifact-type <type> --entrypoint index.html
floop versions use <version> --project <project>
  1. Put uploadable files in .floop/<project>/<version>/.
  2. Upload:
floop review upload --project <project> --version <version> --json-output
  1. Give the user previewUrl. The CLI upload API does not require or return a shareUrl; users can open the preview UI and click Share.
  2. Read comments when requested:
floop comments --project <project> --version <version> --version-id <server-version-id> --json-output
  1. Resolve only comments that were addressed by a newer uploaded version:
floop resolve <comment-id> --project <project> --version-id <server-version-id> --status resolved

Agent rules:

  • Do not invent API keys or search unrelated files for secrets.
  • Do not leave commands waiting for hidden API key input.
  • Do not treat missing shareUrl as an upload failure.
  • Do not modify artifact files unless the user asked for that work.

Install

pip install floop
floop --version

Enable the Agent Skill

Install the floop skill into the agent platform used by the current project:

floop enable copilot
floop enable cursor
floop enable claude
floop enable trae
floop enable qwen-code
floop enable opencode
floop enable openclaw
floop enable codex
floop enable pi
floop enable agent

The installed skill is named floop.

Quick Start for Humans

cd your-project

# Initialize workspace and server settings.
floop init --server-url http://localhost:3000 --api-key <key>

# Create/select local state.
floop projects create my-review
floop projects use my-review
floop versions create v1 --project my-review --artifact-type custom --entrypoint index.html
floop versions use v1 --project my-review

# Put uploadable files in .floop/my-review/v1/, then upload.
floop review upload --project my-review --version v1 --json-output

# Read server comments.
floop comments --project my-review --version v1 --version-id <server-version-id> --json-output

Server Setup

floop init accepts server settings:

floop init --server-url <server-url> --api-key <key>

If the API key is not available yet:

  1. Open <server-url>/dashboard.
  2. Use the top-right user menu.
  3. Choose API Keys.
  4. Create a key.
  5. Rerun floop init --server-url <server-url> --api-key <key>.

You can also set FLOOP_API_KEY in the environment or in .floop/floop.env.

Upload Contract

The upload API succeeds when it returns previewUrl.

{
  "uploaded": true,
  "previewUrl": "https://...",
  "shareUrl": null
}

shareUrl is not part of the CLI upload contract. Open the preview UI and use the Share button when a share link is needed.

Workspace Layout

.floop/
├─ floop.env              # Server URL + API key only
├─ projects.csv           # Local projects, server bindings, selected project/version
└─ <projectid>/
   └─ <version>/
      ├─ floop.version.json
      ├─ floop.upload.json
      ├─ floop.comments.json
      └─ ...uploadable files...

.floop/floop.env contains secrets. floop does not create or edit .floop/.gitignore; ignore policy belongs to the host repository.

Legacy workspaces under .floop/projects/<project>/versions/<version>/ are readable for compatibility. floop does not move or delete legacy files automatically.

Commands

Workspace

floop init --server-url <server-url> --api-key <key>
floop preview

Projects

floop projects
floop projects create <project>
floop projects use <project>

Versions

floop versions --project <project>
floop versions create <version> --project <project> --artifact-type <type> --entrypoint index.html
floop versions use <version> --project <project>

When a project and version are selected, commands that support defaults can use the selected values.

Server

floop review set --project <project> --server-url <server-url> --api-key <key>
floop review upload --project <project> --version <version> --json-output
floop comments --project <project> --version <local-version> --version-id <server-version-id> --json-output
floop resolve <comment-id> --project <project> --version-id <server-version-id> --status resolved

Responsibility Boundary

floop owns Other tools or users own
.floop/ workspace Source files
projects.csv project/version selection File generation
Server project binding File validation
Version upload Build systems
Server comments cache Artifact internals
Comment status updates Content changes

Supported Agents

Agent Command
GitHub Copilot floop enable copilot
Cursor floop enable cursor
Claude Code floop enable claude
Trae IDE floop enable trae
Qwen Code floop enable qwen-code
OpenCode floop enable opencode
OpenClaw floop enable openclaw
Codex floop enable codex
Pi floop enable pi
Agent Skills-compatible agent floop enable agent

Development

Run the full test gate:

PYTHONPATH=src python3 -m pytest --cov=floop --cov-report=term-missing --cov-fail-under=100

Metadata

Release files for floop 2.0.3

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

Source distribution (sdist)

Source distribution for floop 2.0.3
File Size Uploaded Provenance Actions
floop-2.0.3.tar.gz 41.1 kB With provenance Details for floop-2.0.3.tar.gz

Built distribution (wheel)

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

Total release size: 66.4 kB

Release files / floop-2.0.3.tar.gz

Download URL floop-2.0.3.tar.gz
Size 41.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a3fab0d40ea04e34066b29d2c3ab93b2362b72490aa354ec3823f5700d808455
BLAKE2b-256 checksum
How to use checksums
cc4d0413ef5e9032aaab5b4064371b8c6abff0d57761e15840c5d58ef9d57719
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.

Transparency log

Release files / floop-2.0.3-py3-none-any.whl

Download URL floop-2.0.3-py3-none-any.whl
Size 25.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d9768b002546ec9454b3e3a58aeb4c345fac40a7a2a0615f2a4d6e6ba6bdd95c
BLAKE2b-256 checksum
How to use checksums
b1b8ad3029e165098c01c97fa07c0a7397855d746a7857e717f552e3dc395d57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.

Transparency log

Security for floop 2.0.3

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for floop-2.0.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.

Transparency log

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