Skip to main content

LangChain Anchor Browser Integration

A LangChain integration for Anchor Browser, providing tools to interact with web pages programmatically through AI-driven automation.

Features

  • Content Extraction: Extract text content from web pages
  • Screenshot Capture: Take screenshots of web pages
  • AI Web Tasks: Perform intelligent web tasks using AI (Simple, Standard, Advanced modes)

Installation

pip install langchain-anchorbrowser

Quick Start

1. Set up your API key

You can set your API key in advance, or you'll be prompted for it when you first run a tool.

export ANCHORBROWSER_API_KEY="your_api_key_here"

don't have Anchor's API Key yet? register here.

2. Running tutorial-demo.py

from langchain_anchorbrowser import AnchorContentTool
# Use content tool
content_result = AnchorContentTool().invoke({
    "url": "https://www.anchorbrowser.io",
    "format": "markdown"
})

print(content_result)

Testing

See tests/README.md

Metadata

Release files for langchain-anchorbrowser 0.2.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 langchain-anchorbrowser 0.2.0
File Size Uploaded Provenance
langchain_anchorbrowser-0.2.0.tar.gz 7.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for langchain-anchorbrowser 0.2.0
File Interpreter ABI Platform
langchain_anchorbrowser-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.9 kB

Release files / langchain_anchorbrowser-0.2.0.tar.gz

Download URL langchain_anchorbrowser-0.2.0.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
abbd8c6428a29f8dce7d5fa8cb6356451abd7fd707928cc9f45d1fa307e44a49
BLAKE2b-256 checksum
How to use checksums
34fb0e3f7dfd2ef97014f2e9e7df61bd9f71a191e50368946920807b9001c437
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release files / langchain_anchorbrowser-0.2.0-py3-none-any.whl

Download URL langchain_anchorbrowser-0.2.0-py3-none-any.whl
Size 12.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
685dd1412e32433d9f92a499f560d4fa8b66cfd9f5e916dda4ded51461921e16
BLAKE2b-256 checksum
How to use checksums
0ee69e8bf0dffad8d3cf04ef3c7d3ebdb7d2f173128244baa917acfbb9bc8e31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Security for langchain-anchorbrowser 0.2.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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