Pre-release
This release is a pre-release and may not be stable for production use.
unbrowse-langchain
LangChain tools for the Unbrowse CLI — reverse-engineer any website into reusable API skills.
Installation
pip install unbrowse-langchain
Requires the unbrowse CLI to be installed and available on PATH (or specify a custom path).
Quick start
from unbrowse_langchain import create_unbrowse_toolkit
tools = create_unbrowse_toolkit()
With a LangChain agent
from langchain_openai import ChatOpenAI
from langgraph.prebuilt import create_react_agent
from unbrowse_langchain import create_unbrowse_toolkit
llm = ChatOpenAI(model="gpt-4o")
tools = create_unbrowse_toolkit()
agent = create_react_agent(llm, tools)
result = agent.invoke({
"messages": [("user", "Find API skills for getting weather data")]
})
Individual tools
from unbrowse_langchain import UnbrowseResolveTool, UnbrowseSearchTool
resolve = UnbrowseResolveTool()
result = resolve.invoke({
"intent": "get product prices",
"url": "https://example.com/products",
})
search = UnbrowseSearchTool()
result = search.invoke({"intent": "weather forecast api"})
Custom CLI path
tools = create_unbrowse_toolkit(bin_path="/opt/bin/unbrowse", timeout=60)
Available tools
| Tool | Action | Required args |
|---|---|---|
unbrowse_resolve |
Reverse-engineer a page into an API skill | intent, url |
unbrowse_search |
Search the skill marketplace | intent |
unbrowse_execute |
Execute a skill endpoint | skill_id, endpoint_id |
unbrowse_login |
Authenticate with a site | url |
unbrowse_skills |
List cached skills | — |
unbrowse_skill |
Inspect a skill | skill_id |
unbrowse_health |
Health check | — |
Metadata
Release files for unbrowse-langchain 2.0.5.dev20260322015420
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| unbrowse_langchain-2.0.5.dev20260322015420.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| unbrowse_langchain-2.0.5.dev20260322015420-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.3 kB
Release files / unbrowse_langchain-2.0.5.dev20260322015420.tar.gz
| Download URL | unbrowse_langchain-2.0.5.dev20260322015420.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dbdc7ce3cfc589f876fb8cffbd44bb6354a747e806db23c05bc99e74e9a34350
|
|
BLAKE2b-256 checksum How to use checksums |
4ac1088c59ea825281f98b9e731f7fc0bdcae9c2d6a84bb361410e22edc078b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / unbrowse_langchain-2.0.5.dev20260322015420-py3-none-any.whl
| Download URL | unbrowse_langchain-2.0.5.dev20260322015420-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2b7aaf8e4c94c15257fabf4ed76cec09876f2bc4208a849fa6e89460b2d1b3b4
|
|
BLAKE2b-256 checksum How to use checksums |
7c6687820af6195a6abaa01c63f4ee50064f4f475f04211d4f7b30bf9d63fb30
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|