跳到正文
Ollama:Blog·· 2026-02-16AI 評分59

Ollama 為 Claude Code 加入子智能體與網頁搜尋支援

Subagents and web search in Claude Code

AI 導讀

Ollama 現已在 Claude Code 中支援子智能體與網頁搜尋,無需 MCP 伺服器或 API 金鑰即可使用。

正文

Subagents and Web Search logo with Ollama

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

Get started

ollama launch claude --model minimax-m2.5:cloud

It works with any model on Ollama’s cloud.

Subagents

Screencapture of Ollama supporting subagents using Claude Code.

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:

> spawn subagents to explore the auth flow, payment integration, and notification system

> audit security issues, find performance bottlenecks, and check accessibility in parallel with subagents

> create subagents to map the database queries, trace the API routes, and catalog error handling patterns

Web search

Screencapture of Ollama creating subagents and enabling those subagents to perform web searches.

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.

> research the postgres 18 release notes, audit our queries for deprecated patterns, and create migration tasks

> create 3 research agents to research how our top 3 competitors price their API tiers, compare against our current pricing, and draft recommendations

> study how top open source projects handle their release process, review our CI/CD pipeline, and draft improvements

Recommended cloud models

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

Learn more

來源:Ollama:Blog · ollama.com