Native tools and Web providers
Enable Host web search and scraping, third-party Web providers, provider-native tools, and AI image generation with workspace saving in Harness UI.
Open the Agent’s Web options to choose the Backends for Search and Scrape independently. Native uses the model provider when eligible; Host backends provide ordered fallback. Fetch and Download use Host HTTP independently.
| Task | Capability | Execution owner |
|---|---|---|
| Search and read public web pages | web | Harness UI or the Model provider |
| Download a URL to disk | Host web download | The selected Environment's writable storage |
| Generate and save an image | native_image_generation | Provider generation, saved to Thread tmp/ |
| Run code against Project files | Environment shell | The selected Environment |
| Provider-side code / file search | NativeTool (code_execution, file_search) | The Model provider's environment |
Run a13n-harness-ui setup (or Add Agent in WebUI) for guided selection, or configure Agent YAML directly and check with a13n-harness-ui config validate.
Host Web Capability: every built-in provider
Built-in Host Web backends (DuckDuckGoSearchProvider, HtmlScrapeProvider, and HttpxWebClient) require no API key. For JavaScript-rendered interactive sites, use Host browser:
schema_version: "1"
kind: agent
id: agent-web-reader
name: Web reader
model: model-primary
instructions: Read the requested sources and cite the URLs used.
capabilities:
- capability: web
configuration:
search: {backends: [default]}
scrape: {backends: [default]}Put native first to prefer the model provider. default selects local DuckDuckGo search or HTML scraping; [] disables an operation. Domain restrictions require Host execution.
Web provider accounts
Register third-party search/scrape accounts (tavily, exa, firecrawl, brave, jina, perplexity, serpapi, keenable, etc.) under Settings → Connections → Web providers or web_providers/*.yaml, then reference the ID via backends: [web-provider-research, default]:
schema_version: "1"
kind: web_provider
id: web-provider-research
name: Research search
type: tavily
configuration: {}
credential:
api_key: {env: TAVILY_API_KEY} # or {credential_ref: key-research}Native search and image generation
Configure native search under web and image generation under native_image_generation. search.native accepts search_context_size, external_web_access (defaults to true; set false for cached-only OpenAI Responses search), user_location, max_uses, and provider_settings; scrape.native accepts max_uses and provider_settings.
capabilities:
- capability: native_image_generation
configuration:
output_format: png
provider_settings:
openai:
quality: auto
- capability: web
configuration:
search:
backends: [native, default]
native: {search_context_size: high}
scrape: {backends: [default]}Generated images are automatically saved into the Thread's tmp/ directory (copy important outputs into a Project directory for long-term retention). Repeat NativeTool to enable additional provider-executed tools supported by your Model's adapter:
Capability / NativeTool kind | Key configuration fields |
|---|---|
native_image_generation | output_format, provider_settings (Harness UI saves images to Thread tmp/) |
NativeTool (kind: code_execution) | Provider-side sandbox compute (separate from local Project files) |
NativeTool (kind: x_search) | xAI native X search (such as allowed_x_handles) |
NativeTool (kind: file_search) | file_store_ids: [vs_your_store_id] (provider vector/file store IDs) |
NativeTool (kind: mcp_server) | id, public url, allowed_tools (provider-dialed; use Host MCP for local/authenticated servers) |
NativeTool (kind: advisor) | model (provider advisor model ID) and max_tokens |