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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file langchain_anchorbrowser-0.1.0a2.tar.gz.
File metadata
- Download URL: langchain_anchorbrowser-0.1.0a2.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
adae64ddec621a8ccf5e648bc3a048501b72f5fb9284d3bac4aa2381930cc676
|
|
| MD5 |
fda7eabfc1f382cf0c6148fd5924c9d0
|
|
| BLAKE2b-256 |
b48f31c2c67360d7b70b0b3de73481139e58e3e809db573896bda02c8702b76a
|
File details
Details for the file langchain_anchorbrowser-0.1.0a2-py3-none-any.whl.
File metadata
- Download URL: langchain_anchorbrowser-0.1.0a2-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9adca17c777998363e348664b95e2bbcf3354ac8ca06fdfd356dfa9b570edfdc
|
|
| MD5 |
c3ab32f0e2cc23ad951f294029cb363c
|
|
| BLAKE2b-256 |
fb0e11b18271293a06b1f5b1bd0ea6cb3d26870a579bd00f90a95f4de575ef7a
|