DEV Community

Cover image for Subagents and web search in Claude Code
TwisterRL
TwisterRL

Posted on

Subagents and web search in Claude Code

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

Subagents

Ollama Claude Code

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

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

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

Web search

Ollama web search

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.

Example prompts:

> 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

Recommended models

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

Happy Coding!

Top comments (0)