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.1.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.1-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for stitchflow_local_agent-0.1.4.1.tar.gz
Algorithm Hash digest
SHA256 c2a501020e7c72308571d4c0afdcb0e176978550f1a16c00a32fed9e13cfa7d7
MD5 f3a5c08fe49be14c364e0ccc664523ad
BLAKE2b-256 4b56ae7eb10e5f24ac606d9a55e36816097e428197cd467af560e32514a6e90f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stitchflow_local_agent-0.1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bd55979a561255a2169888621a6469d068730c22b13b2e113cb6db357d8eb5d0
MD5 d459d8a2f77767d26b9ac5b2a6589002
BLAKE2b-256 cd26dcf18e64c029ceab70d3c8b396ffae1e2bb002c7bf5fdf6066b432f04a98

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