Skip to main content

Anchor Browser tools for LangChain

Project description

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

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

langchain_anchorbrowser-0.2.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

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

langchain_anchorbrowser-0.2.0-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: langchain_anchorbrowser-0.2.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for langchain_anchorbrowser-0.2.0.tar.gz
Algorithm Hash digest
SHA256 abbd8c6428a29f8dce7d5fa8cb6356451abd7fd707928cc9f45d1fa307e44a49
MD5 fce39c2a614729391c3227429a0e4634
BLAKE2b-256 34fb0e3f7dfd2ef97014f2e9e7df61bd9f71a191e50368946920807b9001c437

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for langchain_anchorbrowser-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 685dd1412e32433d9f92a499f560d4fa8b66cfd9f5e916dda4ded51461921e16
MD5 9f0f02b0a90c651f6306228128ebb6fb
BLAKE2b-256 0ee69e8bf0dffad8d3cf04ef3c7d3ebdb7d2f173128244baa917acfbb9bc8e31

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