独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
S

SerpKite/langchain-serpkite

LangChain tools for SerpKite: Google search, cited AI answers (SerpKiteAnswer), deep research, retriever and…

装之前:没有可直接复制的命令 · 许可证 MIT · 链接可访问

第一步:pip install -U langchain-serpkite

在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
★ 数取值
0 ★ · SerpKite/langchain-serpkite · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
来源明细
从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
收录与活跃
收录于 2026-10-29 · 最近见到 2026-11-14 · 共见到 17 次 · 被 1 个来源列出
评分构成
综合分 103 · 1 个来源 · repo
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 SerpKite/langchain-serpkite;我们收录于 2026-10-29;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# langchain-serpkite

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

LangChain integration for SerpKite, the Google search API built for AI
agents. The package gives you:
| Class | What it does |
| SerpKiteSearch | Tool (serpkitesearch) that returns Markdown, which uses few tokens, for agents |
| SerpKiteSearchResults | Tool (serpkitesearchresultsjson) that returns a list of result dicts (title, link, domain, snippet, …) |
| SerpKiteAnswer | Tool (serpkiteanswer) that returns a cited answer from live Google results, with the numbered sources |
| SerpKiteResearch | Tool (serpkiteresearch) that runs a deep-research task and returns its cited Markdown report |
| SerpKiteAssistant | Tool (serpkitechatgpt, serpkitegemini, …) that asks ChatGPT, Gemini, Copilot, Google AI Mode or Brave AI and returns its answer, sources, products and brand mentions |
| SerpKiteRetriever | Retriever that returns Google results as Documents, optionally with full page Markdown |
| SerpKiteWebpageLoader | Document loader that fetches any public URL as clean Markdown |
| SerpKiteAPIWrapper | Holds the API key and the sync and async SerpKite clients |
Every class supports both sync and async (invoke/ainvoke, load/alazyload).
## Install
bash
pip install -U langchain-serpkite
export SERPKITEAPIKEY=sktlive... # https://app.serpkite.com/keys
## Tools
python
from langchainserpkite import SerpKiteSearch, SerpKiteSearchResults
search = SerpKiteSearch() # optional: endpoint="news", country="de", num=20, apikey="..."
print(search.invoke({"query": "best espresso machine"})) # Markdown string
papers = SerpKiteSearch(endpoint="scholar") # or news, images, videos, maps, places,
# shopping, patents, autocomplete
rows = SerpKiteSearchResults(maxresults=5).invoke({"query": "langgraph checkpointer"})
# [{"position": 1, "title": "...", "link": "https://...", "domain": "...", "snippet": "..."}, ...]
The model can set query, num, country, language and time
(hour|day|week|month|year). Defaults set on the tool (country=, language=, location=,
num=) apply when the model leaves a field out. engine= is set on the tool only (see
Search engines & fallback).
## Cited answers and research
python
from langchainserpkite import SerpKiteAnswer, SerpKiteResearch
answer = SerpKiteAnswer(depth="fast") # "standard" (default) also reads the top numsources pages
print(answer.invoke({"query": "what is the latest stable rust version"}))
# The latest stable Rust release is … [1].
# Sources:
# [1] Rust blog - https://blog.rust-lang.org/...
research = SerpKiteResearch(effort="lite") # lite | standard (default) | deep
print(research.invoke({"query": "compare managed Postgres vector search options"}))
Both tools use responseformat="contentandartifact": called with a tool call, the
ToolMessage.artifact is the full serpkite.types.AnswerResponse / ResearchTask (citations,
sources, meta.credits, meta.llm).
SerpKiteAnswer takes depth, numsources (1-5), includedomains, excludedomains,
country, language and time on the tool; the model only sets query.
SerpKiteResearch starts the task and waits for the report (one to several minutes, up to
timeout=900 seconds). If the wait runs out it returns the task's state; the task keeps running
server-side. effort sets how much is searched and read.
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/serpkite-langchain-serpkite/)
来源
github · https://github.com/SerpKite/langchain-serpkite
按领域浏览
开源项目
收录于
今天

同类推荐

全部 1,671 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引