# Search

Web search and browsing tools for AI agents.
## Install
```bash
npm i -g @agent-smith/feat-search
```
Add the plugin to your `config.yml` file and run the `conf` command:
```yml
plugins:
- "@agent-smith/feat-search"
```
```bash
lm conf
```
Python packages required for web search:
```bash
pip install duckduckgo_search smolagents crawl4ai playwright
```
## Actions and tools
### Search
Available search tools:
- smsearch search the web using Smollagents web search library
- ddsearch search the web using the DuckDuckGo web search library
- wikipedia search Wikipedia using Smollagents
### Open web page
Available read page tools:
- open_webpage read a page using Smollagents
- openpage read a page using Crawl4ai with advanced async crawling
- read-webpage read a page using TypeScript-based VisitWebpageTool (cheerio + turndown)
## Agents
Available agents with search tools:
- searchweb a multi-step search agent:
- `smsearch` — web search via smolagents
- `open_webpage` — page content extraction via smolagents
- `wikipedia` — Wikipedia lookup
- browse an agent with the Playwright MCP server for browser automation
- infers an agent with the `searchweb` subagent: can search in isolated context and return the results to the main agent
## Example search agent
```yaml
description: A web search agent
prompt: |-
{prompt}
model: qwen4b
inferParams:
min_p: 0
top_k: 20
top_p: 0.95
temperature: 0.4
toolsList:
- searchweb # this tool is a subagent
```
The agent will use the searchweb agent that will run web search in an isolated context and report the results to the main agent.
Next: Shell