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.0.tar.gz (18.4 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.0-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: guidebridge-0.2.0.tar.gz
  • Upload date:
  • Size: 18.4 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.0.tar.gz
Algorithm Hash digest
SHA256 b0ab64584273caf140be3235c5e93b5e48ccf607d7c24c28e3e54663f029accf
MD5 e220accafd726b78b302951b97251e7f
BLAKE2b-256 0d8e3b857403987b31c6cb6d2a3497903ff11fe49557d9bbc1b1dd0cc00ee269

See more details on using hashes here.

File details

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

File metadata

  • Download URL: guidebridge-0.2.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5e2b7bb8c11d58bdb025c99f327d707ff7c9173a70d421096b7f650ab32ebd39
MD5 e4c3ffcd257a104da20e4334d61cf77d
BLAKE2b-256 d06aafb59af545f9e33dfd6d3268d1b791f5b05c89a6501558f0631f227d3d72

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