Skip to main content
Glama
agentic-research

agentic-research

by abhilash2429

agentic-research

一个智能体网络研究管道。用自然语言提问;它会搜索网络,获取候选页面,对它们进行分块和嵌入,只检索相关的片段,并返回带有引用的答案,这些引用指向确切的来源段落。

设计为既可供人类调用,也可供AI智能体调用。MCP服务器将其作为deep_research工具暴露,因此编码智能体可以获取当前、有引用的信息,而不是从训练数据中猜测。

为什么需要检索层

通常的智能体网络方法是:搜索、获取整个页面、将整个内容放入上下文窗口、回答。这限制了你只能使用少数几个来源,并且为那些大部分不相关的页面支付全部token费用。

typical:   search -> fetch full page -> stuff into context -> answer
           ~5 sources, full token price per page, no span-level citation

here:      search -> fetch N pages -> parent/child chunk -> embed
           -> retrieve only relevant children -> expand parents on demand
           -> compress -> answer
           ~30 sources, lower token cost, structural citations

Related MCP server: Deep Research MCP Server

状态

正在进行中,分阶段构建。有关每一层的说明,请参阅docs/。

阶段

层

状态

0

基础,共享契约

已完成

1

配置,基于角色的LLM工厂

已完成

2

获取与提取

已完成

3

分层分块

已完成

4

索引与重排序

进行中

5

搜索提供者

已完成

6

单一研究者循环

待办

7

完整图:扇出、澄清、压缩

待办

8

评估框架

待办

9

服务层与API

待办

10

MCP server

待办

11

Web界面

待办

设置

python -m venv .venv
.venv/Scripts/python -m pip install -e ".[dev,api,mcp]"
cp .env.example .env      # fill in LiteLLM and search keys
docker compose up -d qdrant
ares doctor

命令行

每层一个命令,这样你可以单独看到每个命令的作用。

ares doctor                        # proxy, models and Qdrant reachable
ares fetch <url> --show            # raw HTML to clean markdown
ares chunk <url>                   # the parent/child tree
ares index <url>                   # embed and store, or report a cache hit
ares search "..." --no-rerank      # retrieval without the reranker
ares search "..." --rerank         # and with it
ares websearch "..."               # provider results
ares research "..."                # the whole loop, cited answer
ares eval                          # scorecard against the committed baseline

许可证

MIT

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables iterative deep research by integrating AI agents with search engines, web scraping, and large language models for efficient data gathering and comprehensive reporting.
    5 npm
    325
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    An agent-based tool that provides web search and advanced research capabilities including document analysis, image description, and YouTube transcript retrieval.
    17
    Apache 2.0
  • A
    license
    B
    quality
    D
    maintenance
    An automated research agent that leverages Google Gemini models and Google Search to perform deep, multi-step web research, generating sophisticated queries and producing citation-rich answers.
    1
    43 PyPI
    28
    MIT