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.1.tar.gz (11.7 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.1-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: stitchflow_local_agent-0.1.1.tar.gz
  • Upload date:
  • Size: 11.7 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.1.tar.gz
Algorithm Hash digest
SHA256 0f1348377968da59ae9b56b79445dd7177fd44539459dd0350ff04c6c12ce0cb
MD5 a1ba96073799f5871cadb1e8098ac688
BLAKE2b-256 adbda8d05c915e942e40bc381642292770ded7a232b02b9ecd0b711fca10a641

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stitchflow_local_agent-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e7b49219761a787757b2c2e49ceafb6dc716840650b4daed910f49a96c040a85
MD5 017e89356bdb858f44c6e7f3dcd410e2
BLAKE2b-256 61d86eb73276fd84ae3e8d75d0968b67a40e3734c44f217478a626e679b9cb50

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