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.2.tar.gz (12.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.2-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: stitchflow_local_agent-0.1.2.tar.gz
  • Upload date:
  • Size: 12.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.2.tar.gz
Algorithm Hash digest
SHA256 974afbfee7c5e9b9842d2001a183b6f83371176e0d76a4a18029c4aea903d0ca
MD5 e0a1c8fbec4f855e22c25cc98045d9b0
BLAKE2b-256 beab4e56b526628e070977e7e63dbdf5cb348fa8b99074b4cbb6e8776618ce19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stitchflow_local_agent-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 713948e8da382f5e7ba959c7b894481c1f6b95bf6c41794943706839a96852c7
MD5 fa8c3bbf7f6f776b24c02c4604e1304c
BLAKE2b-256 ce100c16d956f747453bb183696623584bd3b6127b4e9324e07ad8020132b1e6

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