Skip to main content

Local Stitchflow daemon for browser automation tasks

Project description

stitchflow-local-agent

Local Stitchflow daemon for browser automation (ChatGPT admin offboarding).

Install (from GitHub)

pip install "git+https://github.com/Stitchflow-website-webapps/stitchflow-local-agent.git"

This installs the CLI entrypoint:

stitchflow-agent

First-time setup

# one-time setup (auto-installs agent-browser + chromium, then opens login)
stitchflow-agent setup

# or direct login (also auto-installs if missing)
stitchflow-agent login

# run once
stitchflow-agent run

# or run as daemon
stitchflow-agent daemon

Daemon setup

See DAEMON_SETUP.md for:

  • macOS launchd install/uninstall
  • Windows Task Scheduler install/uninstall
  • lightweight polling/backoff tuning
  • proof artifacts and audit logs
  • API key security (Keychain/DPAPI via keyring)

Security and proof of execution

  • The agent stores API keys in the OS credential manager when available:
    • macOS: Keychain
    • Windows: Credential Manager/DPAPI-backed storage
  • If keyring is unavailable, the API key falls back to ~/.stitchflow/agent.env.
  • For each task, the agent writes:
    • before.png and after.png screenshots
    • audit.json (detailed task event log)
  • Artifact path: ~/.stitchflow/artifacts/
  • Rolling audit log: ~/.stitchflow/logs/audit.log

Notes on automatic dependency install

stitchflow-agent setup/login attempts to install agent-browser automatically using:

  • npm install -g agent-browser (preferred)
  • brew install agent-browser (macOS fallback)

Then it runs:

  • agent-browser install (downloads Chromium runtime)

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

stitchflow_local_agent-0.1.4.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

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

stitchflow_local_agent-0.1.4-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file stitchflow_local_agent-0.1.4.tar.gz.

File metadata

  • Download URL: stitchflow_local_agent-0.1.4.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for stitchflow_local_agent-0.1.4.tar.gz
Algorithm Hash digest
SHA256 40e3c3179bb01bb632ee875c53192e600abeecfa99c360bf1a84abfdae5a050f
MD5 7590cccb43981910b30dd61d596d8c49
BLAKE2b-256 afb1fc5880ed1be98c911df3d0ad01726f7ace17e57c48bf2964170778841893

See more details on using hashes here.

File details

Details for the file stitchflow_local_agent-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for stitchflow_local_agent-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 897f9d372732c5b3100021e635a9c77980e04e5d6d67f662ada43b8e448961a5
MD5 768236c38a78763675ea646337d03e79
BLAKE2b-256 9cac87720f19b45da4cbef7596b474e0ca9991827408a6c6a37b0d9cb9707a7b

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