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.3.tar.gz (12.3 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.3-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: stitchflow_local_agent-0.1.3.tar.gz
  • Upload date:
  • Size: 12.3 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.3.tar.gz
Algorithm Hash digest
SHA256 9fcd49cb5be8c9757f21b847cc4a8a5d1ef6e8f87f068441af7b75d16ed0e6f7
MD5 89f67ef56d1906f55d95f318f82ea241
BLAKE2b-256 0333ec7fe191e9b3c709d8b1daea65e8da89c6120a9be0c286f2750e374f20f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stitchflow_local_agent-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 19fcc6463b9e3649f25c8fa4919e28f096eb030c0544cb1ebe4cdaba14bae892
MD5 17175c18ee7ffabb043767266830ca1c
BLAKE2b-256 35dae7f606a347f6f4178c79e057c4517e40e4a4213eb57ec3705226dd8628d8

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