Skip to main content

Give any Python agent eyes and hands inside your React app: semantic page observation, cursor-led actions, and guided-tour overlays.

Project description

guidebridge

Give any Python agent eyes and hands inside your React app: semantic page observation, cursor-led actions (click, type, scroll, drag), and guided-tour overlays (highlight, callout) — over a WebSocket to the user's live browser tab.

Pairs with the @guidebridge/react frontend SDK.

from fastapi import FastAPI
from guidebridge import AgentBridge

app = FastAPI()
bridge = AgentBridge()
app.include_router(bridge.router)      # mounts ws endpoint at /agent/ws

tools = bridge.as_langchain_tools()    # or bridge.as_openai_tools()
# LangChain / LangGraph
tools = bridge.as_langchain_tools()

# OpenAI / Anthropic / Google ADK — JSON-schema specs + async dispatcher
toolset = bridge.as_openai_tools()
toolset.specs
await toolset.call("click", '{"target_id": "checkout"}')

The agent gets 11 tools — observe_page, point_at, highlight, callout, click, type_text, select_option, scroll_to, scroll_by, drag, app_action — each executed in the user's live tab with a visible cursor. Optional extras: guidebridge[fastapi], guidebridge[langchain].

Full documentation, protocol reference, demo, and security model: github.com/pramodthe/guidebridge.

MIT © Pramod Thebe

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

guidebridge-0.2.1.tar.gz (18.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

guidebridge-0.2.1-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file guidebridge-0.2.1.tar.gz.

File metadata

  • Download URL: guidebridge-0.2.1.tar.gz
  • Upload date:
  • Size: 18.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for guidebridge-0.2.1.tar.gz
Algorithm Hash digest
SHA256 b882f1fcf3557fe6e42aa983913d8f36b6ad9fe8ebd0e50c160b9f088a9292a6
MD5 49a94dacc050ee598213c615651810b3
BLAKE2b-256 f2e7b7833ee35fd07051c4fed2897e89e25fa215791c91ac1f3c86a34fe09981

See more details on using hashes here.

File details

Details for the file guidebridge-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: guidebridge-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for guidebridge-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a54cebf777c04457ed3670c621b9557cdccbf77d6d56ef870cd4bfc717bcc55a
MD5 14d2ec288b02e115aeac7e2583271e8c
BLAKE2b-256 ce6c1a1ec8c5a08a236e607e0cdda18ef0e665af23c6d7aaad0e215b56b6ded7

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