Skip to main content
Anchor is a platform for AI Agentic browser automation, which solves the challenge of automating workflows for web applications that lack APIs or have limited API coverage. It simplifies the creation, deployment, and management of browser-based automations, transforming complex web interactions into simple API endpoints. This guide provides a quick overview for getting started with Anchor Browser tools. For more information of Anchor Browser visit Anchorbrowser.io or the Anchor Browser Docs

Overview

Integration details

Anchor Browser package for LangChain is langchain-anchorbrowser, and the current latest version is PyPI - Version.

Tool features

The parameters allowed in langchain-anchorbrowser are only a subset of those listed in the Anchor Browser API reference respectively: Get Webpage Content, Screenshot Webpage, and Perform Web Task. Info: Anchor currently implements SimpleAnchorWebTaskTool and AdvancedAnchorWebTaskTool tools for langchain with browser_use agent. For

AnchorWebTaskToolKit Tools

The difference between each tool in this toolkit is the pydantic configuration structure.

Setup

The integration lives in the langchain-anchorbrowser package.

Credentials

Use your Anchor Browser Credentials. Get them on Anchor Browser API Keys page as needed.

Instantiation

Instantiace easily Anchor Browser tools instances.

Invocation

Invoke directly with args

The full available argument list appear above in the tool features table.

Invoke with ToolCall

We can also invoke the tool with a model-generated ToolCall, in which case a ToolMessage will be returned:

Chaining

We can use our tool in a chain by first binding it to a tool-calling model and then calling it:

Use within an agent

API reference