Web Search
NEX agents can access the internet to search the web, retrieve up-to-date information, and consult recent technical documentation. This allows agents to supplement the information available in your local workspace with current external knowledge.
Web search is optional. Configure a Tavily API key to enable it with your chosen LLM provider, including local models.
Agent Usage
When web search is available, NEX agents can use it automatically when they need to resolve unfamiliar concepts, check current standards or specifications, or consult external documentation that is not available in the local workspace.
Configuration Variables
Configure web search using the following environment variables in your .env or user config file:
| Variable | Description |
|---|---|
TAVILY_API_KEY |
API key required to enable web search. |
TAVILY_BASE_URL |
Optional custom base URL for Tavily-compatible search endpoints. |
Example Configurations
LLM Provider with Web Search
Provide a Tavily API key alongside your LLM configuration to give NEX agents access to web search:
LLM_PROVIDER=openai
LLM_API_KEY=your-openai-api-key
LLM_MODEL=gpt-5.2
# Enable web search
TAVILY_API_KEY=your-tavily-api-key
Disabling Web Search
Leave TAVILY_API_KEY unset or empty in your environment and configuration files to keep web search unavailable. Web search requires external network access unless you configure a compatible endpoint inside your own environment.