←新闻详情

Ollama Blog更新于 10月14日 09:02

Ollama 在 Claude Code 中支持子智能体和联网搜索

Subagents and web search in Claude Code · Ollama Blog

AI 导读

Ollama 宣布在 Claude Code 中支持子智能体和联网搜索,无需 MCP 服务器或 API key,并适用于 Ollama 云上的任意模型。子智能体可在各自上下文中并行执行文件搜索、代码探索和研究等任务,避免侧任务污染主上下文;minimax-m2.5、glm-5、kimi-k2.5 等模型会自然触发子智能体,也可通过提示词强制触发。联网搜索已内置于 Anthropic 兼容层,模型需要实时信息时由 Ollama 直接完成搜索并返回结果,子智能体可借助它并行调研。官方推荐云模型为 minimax-m2.5:cloud、glm-5:cloud、kimi-k2.5:cloud。

推荐理由

AI 评分 58

Ollama 把子智能体与联网搜索直接做进 Claude Code 兼容层,读者可据此判断本地模型接入编码工作流的方式。

主题

标签

正文

当前显示原文,中文全文译文尚未就绪。

February 16, 2026

Ollama now supports subagents and web search in Claude Code. No MCP servers or API keys required.

It works with any model on Ollama’s cloud.

Subagents

Subagents can run tasks in parallel, such as file search, code exploration, and research, each in their own context.

Longer coding sessions stay productive. Side tasks don’t fill the context with noise.

Some models will naturally trigger subagents when needed (minimax-m2.5, glm-5, kimi-k2.5), but you can force triggering subagents by telling the model to “use/spawn/create subagents”

Example prompts:

Web search

Ollama’s web search is now built into the Anthropic compatibility layer. When a model needs current information, Ollama handles the search and returns results directly without any additional configuration.

Subagents can leverage web search to research topics in parallel and come back with actionable results.

Recommended cloud models

minimax-m2.5:cloud; glm-5:cloud; kimi-k2.5:cloud

Learn more

ollama launch for more integrations; Claude Code with Ollama for basic setup; Web search API for standalone usage

来源

Ollama Blog