langchain-anakin
LangChain tools for Anakin — web scraping, AI search,
and multi-stage agentic research, built on the official
anakin-sdk Python client (not a
separate HTTP implementation).
Install
pip install -U langchain-anakin
export ANAKIN_API_KEY="ask-..." # free at https://anakin.io/dashboard
Tools
| Tool | What it does |
|---|---|
AnakinScrapeTool |
Scrape a URL to markdown, optionally AI-extract structured JSON |
AnakinSearchTool |
Synchronous AI-powered web search with citations |
AnakinAgenticSearchTool |
Multi-stage research: search, scrape citations, extract structured data with a summary |
from langchain_anakin import AnakinScrapeTool, AnakinSearchTool, AnakinAgenticSearchTool
scrape = AnakinScrapeTool()
scrape.invoke({"url": "https://example.com"})
search = AnakinSearchTool()
search.invoke({"prompt": "latest developments in AI agents"})
research = AnakinAgenticSearchTool()
research.invoke({"prompt": "Compare pricing across the top 5 CRM platforms"})
Use with an agent:
from langchain.agents import create_agent # or your preferred agent constructor
from langchain_anakin import AnakinScrapeTool, AnakinSearchTool
agent = create_agent(model, tools=[AnakinScrapeTool(), AnakinSearchTool()])
Development
This package depends on anakin-sdk, which isn't published to PyPI yet —
pyproject.toml's [tool.uv.sources] points at a local path
(../anakin-py) for development. Once anakin-sdk is live on PyPI, drop
that override.
python3 -m venv .venv && source .venv/bin/activate
pip install -e ../anakin-py -e ".[test]"
pytest
License
Apache-2.0.
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_anakin-0.2.0.tar.gz.
File metadata
- Download URL: langchain_anakin-0.2.0.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5017ed8a57f6774834ea9eaed7c2bfeff7fc1265cdeae4b8909792d4d78c74c
|
|
| MD5 |
8fbdad9b30d958ac0aa9c519b9a063b6
|
|
| BLAKE2b-256 |
85df46eb154201b05db3d5ac0c93a20a88f91b234bb604f118f9dc87fc52120f
|
File details
Details for the file langchain_anakin-0.2.0-py3-none-any.whl.
File metadata
- Download URL: langchain_anakin-0.2.0-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c47779c707e5bfaf15aeda0afc958d432104f6b40ac8df8b5273d1a4788f760
|
|
| MD5 |
0d3e425cb264f1cbbeaa899743e9e7f4
|
|
| BLAKE2b-256 |
00abbaf84939a8c3ddf929be025b0f7eb191da16882989305ed026f3a26525d1
|