Skip to main content

Flow CLI $ SDK for flowpad

Project description

Flow CLI

A local desktop CLI and UI for FlowPad — manage hooks, traces, and agentic workflows from your terminal.

Quick Start

pip install flowpad
flow          # prints version
flow start    # launches the UI server and opens browser

Requirements

  • Python >= 3.10
  • Node.js (for frontend development)
  • uv (for backend dependency management)

Installation

Install from PyPI:

pip install flowpad

Install a specific version:

pip install flowpad==0.1.5

Install from GitHub (latest):

pip install git+https://github.com/langware-labs/flow-cli.git

Verify the installation:

flow
# => flow 0.1.5

Uninstallation

pip uninstall flowpad

CLI Commands

Command Description
flow Print version
flow start Start the UI server and open browser
flow trace Start server and trace hook events in real-time
flow setup <agent> Setup FlowPad for a coding agent (e.g. claude-code)
flow hooks set Install Flow hooks into Claude Code settings
flow hooks list List configured hooks
flow hooks clear Remove Flow hooks from Claude Code settings
flow config list List configuration values
flow config set key=value Set a configuration value
flow auth login Login to FlowPad (opens browser or accepts API key)
flow auth logout Logout and remove stored credentials
flow ping <string> Send a test ping to the local server

Development

Backend

uv sync                    # install Python dependencies
python minihub/run.py      # start backend server on port 9007

The backend serves the API at http://localhost:9007. Bootstrap endpoint: http://localhost:9007/api/v1/graph/bootstrap

Frontend

cd minihub/ui
npm install                # install Node dependencies
npm run dev                # start Vite dev server on port 4097

The frontend runs at http://localhost:4097 and proxies API calls to the backend.

Running Tests

# Backend API tests
python -m pytest tests/api/ -v

# Backend SDK unit tests
cd flow-sdk/python && python -m pytest tests/ -v

# Frontend build + lint
cd minihub/ui && npm run build && npm run lint

Deployment

Use the deploy script to bump version, tag, push, and validate:

./scripts/deploy_to_github.sh              # runs tests first
./scripts/deploy_to_github.sh --skip-tests # skip tests

This will:

  1. Increment the patch version in _version.py
  2. Run tests (unless --skip-tests)
  3. Commit and tag the release
  4. Push to GitHub
  5. Install from GitHub and validate the version

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flowpad-0.1.8.tar.gz (13.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flowpad-0.1.8-py3-none-any.whl (14.3 MB view details)

Uploaded Python 3

File details

Details for the file flowpad-0.1.8.tar.gz.

File metadata

  • Download URL: flowpad-0.1.8.tar.gz
  • Upload date:
  • Size: 13.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for flowpad-0.1.8.tar.gz
Algorithm Hash digest
SHA256 cfef6d350b2d26d17f4b6fdcc1c0d27e420c425bbe094a3809f5d24ab0c0d01c
MD5 0ea901f72f87ce032c3c018b434c0d55
BLAKE2b-256 721d6806ff019b7a84983c424c6a41c26a16a5082715076acad4bc15d9518503

See more details on using hashes here.

File details

Details for the file flowpad-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: flowpad-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 14.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for flowpad-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 c8482eb1aa21caa5fb6e6794db4fc406fa0a7f04d9dcc15f87e4ad89e2d833cf
MD5 1e43637e0254ecc48dee0cd7c013c3f1
BLAKE2b-256 3d89a4e8137bfee70a0e7b91b1831e0fea168763b32c2b4dd72091b6cb8dbb80

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page