Skip to main content

auto-browser LangChain Integration

LangChain, LangGraph and CrewAI adapters for Auto Browser. They call a running Auto Browser controller over its MCP tool endpoint.

pip install "auto-browser-langchain[langchain]"   # LangChain / LangGraph
pip install "auto-browser-langchain[crewai]"      # CrewAI

AutoBrowserTool is one LangChain tool that takes an MCP tool name and its arguments, so the model can use every tool the controller serves:

from auto_browser_langchain import AutoBrowserTool

tool = AutoBrowserTool(base_url="http://localhost:8000", bearer_token=None)
print(tool.invoke({"action": "browser.observe", "arguments": {"preset": "text"}}))

AutoBrowserNode is a LangGraph node that opens a session and records the current URL and screenshot in the graph state.

AutoBrowserNode needs only httpx. AutoBrowserTool needs langchain-core: building it without the [langchain] extra raises an ImportError that says so.

When a tool call fails, the controller still answers HTTP 200 with isError: true. AutoBrowserTool returns that text as ERROR: ... so the model can read it. AutoBrowserNode raises AutoBrowserToolError instead, with the tool name, the error text and the controller's structured payload (payload, code, retryable), so a graph can tell a missing session from a bad selector:

from auto_browser_langchain import AutoBrowserNode, AutoBrowserToolError

try:
    state = await AutoBrowserNode().run({"session_id": "s1"})
except AutoBrowserToolError as exc:
    if exc.code == "unknown_session":
        ...  # open a new session

Full walkthroughs: LangChain / LangGraph · CrewAI

Metadata

Release files for auto-browser-langchain 1.11.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for auto-browser-langchain 1.11.0
File Size Uploaded Provenance
auto_browser_langchain-1.11.0.tar.gz 9.6 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for auto-browser-langchain 1.11.0
File Interpreter ABI Platform
auto_browser_langchain-1.11.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.1 kB

Release files / auto_browser_langchain-1.11.0.tar.gz

Download URL auto_browser_langchain-1.11.0.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1645bdd05a3c27f736cd3b62cc6c7ce45e6f26f5fda6d4ba6fa8bcc385c2047f
BLAKE2b-256 checksum
How to use checksums
c279c5e67224e9460ba5a789897dd41d7c45d3363124f1d0fccb1d3b5a4688eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

Release files / auto_browser_langchain-1.11.0-py3-none-any.whl

Download URL auto_browser_langchain-1.11.0-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea78331d737253662f3f195d5252fb70b43358f856a4812ab5f8bf387f8ef14c
BLAKE2b-256 checksum
How to use checksums
e27b10b00583ad3fe912373279d2a0c1ee1558bd87981d1a461384e210aa5cdb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

Security for auto-browser-langchain 1.11.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for auto_browser_langchain-1.11.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page