Skip to main content

slopper

Run Folio agent sessions — Claude Code or Codex — on your own machine.

slopper is the environment a Folio session runs in. It registers with your Folio server, picks up the sessions assigned to it, checks out the project's repositories into a workspace per session, and runs the agent there. Every tool call that needs your approval shows up in the session in Folio; the agent waits until you answer.

Runs on macOS and Linux, Python 3.11+. Both agent CLIs are installed with the package.

Install

uv tool install slopper        # or: pipx install slopper

Set up

  1. Sign the agents in, once per machine, as the user the service will run as:

    claude login                  # Claude Code
    codex login                   # Codex (optional)
    
  2. Point it at Folio with an API key from Folio's settings:

    slopper configure --server https://api.folio.example.com --token <api-key>
    

    This writes ~/.slopper/config.toml, readable only by you.

  3. Check everything:

    slopper doctor
    
  4. Run it as a service — started now, at every login, and again if it crashes:

    slopper service install
    
    • macOS: a LaunchAgent (~/Library/LaunchAgents/slopper.plist) in your login session, so it can use the Claude login in your Keychain. Logs: ~/Library/Logs/slopper/slopper.log.
    • Linux: a systemd user unit (~/.config/systemd/user/slopper.service). Logs: journalctl --user -u slopper. To keep it running while you are logged out (a headless machine): sudo loginctl enable-linger $USER.

Git credentials

To check out a project's repositories, slopper first tries a token from the GitHub account you connected in Folio, if one of your connections can reach the repository. Otherwise it uses this machine's own credentials: ssh-agent, a credential helper, or gh auth.

The token is used only for slopper's own clone and fetch. Git commands an agent runs afterwards, such as git push, use this machine's credentials, so a machine with none can check code out but not push it.

Commands

Command
slopper configure Write ~/.slopper/config.toml (--server, --token, --env-id, --workspace)
slopper doctor Check the config, the server, the key, git, and both agents' logins
slopper service install · uninstall Install or remove the service
slopper service start · stop · restart · status Control it
slopper service logs [-f] Show (or follow) its log
slopper run Run in the foreground instead of as a service

Only one environment runs per user account; a second slopper run refuses to start while the service is running.

Upgrade

uv tool upgrade slopper && slopper service restart

The service runs the installed interpreter by path, so it picks up the new version on restart — there is nothing to reinstall.

Configuration

~/.slopper/config.toml holds the settings; environment variables of the same name override it.

Setting Default
SLOPPER_SERVER_URL http://localhost:8000 Folio API
SLOPPER_TOKEN — API key this environment registers with
SLOPPER_ENV_ID generated once, kept in ~/.slopper/identity.toml This machine's name in Folio. Must stay stable: sessions are bound to it
SLOPPER_WORKSPACE_ROOT ~/.slopper/workspaces One directory per session
SLOPPER_CLONE_SINCE 1.month.ago How much git history a checkout carries; empty for all
SLOPPER_CODEX_BIN the bundled one A different codex binary
SLOPPER_ALLOW_TERMINAL true Let the environment's owner and org admins open a shell here from the environments page; false to refuse
SLOPPER_TERMINAL_SHELL $SHELL, else /bin/sh The shell those terminals run

Metadata

Release files for slopper 0.1.11

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

Source distribution (sdist)

Source distribution for slopper 0.1.11
File Size Uploaded Provenance Actions
slopper-0.1.11.tar.gz 127.1 kB Without provenance Details for slopper-0.1.11.tar.gz

Built distribution (wheel)

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

Total release size: 227.9 kB

Release files / slopper-0.1.11.tar.gz

Download URL slopper-0.1.11.tar.gz
Size 127.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6414fdf2f5f84729abbf93e15aa94928a5bf8bc6d515806dea601abaa7719ee6
BLAKE2b-256 checksum
How to use checksums
f231cd70cf8abe1e6c340eea3db9aa1c8c3f2e4d149ab686cbab3a1a036ce463
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.3

Release files / slopper-0.1.11-py3-none-any.whl

Download URL slopper-0.1.11-py3-none-any.whl
Size 100.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
685172e88c68b4683199433f93430aaab8de39277d46ac3489ef26f098b4addc
BLAKE2b-256 checksum
How to use checksums
5302b57c44ada172060be2475236d777e487bac1e7ab45814513cb3ffd068378
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.3

Security for slopper 0.1.11

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