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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for stitchflow_local_agent-0.1.4.2.tar.gz
Algorithm Hash digest
SHA256 75af8fd5f9d16f1533402ea2e37e6dded9a034f868ebc521cc849b0754302c3d
MD5 9a0e7f498fd89930aa1c4c9b62359ee3
BLAKE2b-256 3cba92663ff73fef92f8bb5e8fabf1903ad1e3ae75fe971c81b1d6499b42038f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stitchflow_local_agent-0.1.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e72775a04903f4b9a9621018b815ca250868c6acffda16b3d3ea81a6efed9dbf
MD5 cf289985739b64821cb8a2df1881d929
BLAKE2b-256 acc720a36eae5b3e6fa0e31b5819de8cbb2ef065c1a72e7d31f726b5e58fb85e

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