Web Search
TalkCody uses web search to get the latest information
What is Web Search?
Web Search is TalkCody's web search feature that allows AI agents to search the internet for the latest information. This is very useful for querying the latest technical documentation, API references, programming Q&A, and more.
TalkCody supports multiple search providers and will automatically select an available method for searching.
Search Providers and Priority
TalkCody automatically selects search providers in the following priority order:
| Priority | Provider | Requirement |
|---|---|---|
| 1 | Tavily Search | Configure Tavily API Key |
| 2 | Serper Search | Configure Serper API Key |
| 3 | MiniMax Coding Plan | Configure MiniMax API Key + Enable Coding Plan |
| 4 | GLM Coding Plan | Configure Zhipu AI API Key + Enable Coding Plan |
| 5 | Exa Search (Free) | No configuration required, automatically available |
The system checks in priority order and uses the first available search provider.
Configuration
Option 1: Tavily Search (Recommended)
Tavily is a search API designed specifically for AI agents, providing accurate, real-time search results.
Get Tavily API Key
- Visit tavily.com
- Click "Get API Key" or "Sign Up" to register
- Complete email verification
- After logging in, view your key in the "API Keys" section of the Dashboard
- Copy the API key
Configure in TalkCody
- Open TalkCody
- Click the Settings icon
- Navigate to the API Keys page
- Paste your API Key in the Tavily input field
- Click Test Key to verify it works
Tavily provides 1000 free search requests per month, suitable for individual developers.
Option 2: Serper Search
Serper provides a Google Search API that returns structured search results.
Get Serper API Key
- Visit serper.dev
- Register an account and log in
- Get the API Key from the Dashboard
Configure in TalkCody
- Open Settings → API Keys
- Paste your API Key in the Serper input field
- Click Test Key to verify
Serper provides 2500 free search requests upon registration.
Option 3: Using Coding Plan Built-in Search
If you have already configured MiniMax or Zhipu AI's Coding Plan, you can directly use its built-in web search feature without an additional search API Key.
For detailed configuration, please refer to the Coding Plan documentation
Option 4: Exa Free Search (No Configuration Required)
Exa provides a free AI search service as TalkCody's default fallback option. When no other search provider is configured, the system will automatically use Exa for searching.
Exa free search requires no configuration and works out of the box.
Features:
- ✅ Completely free, no API Key required
- ✅ Automatically enabled as the last fallback option
How to Use
After configuration, click the Tools button in the toolbar above the chat input box and select the web_search tool. Then ask the AI questions that require searching, and the AI will automatically use web search to get the latest information.
User: Search for new features in React 19
AI: I will search for the latest React 19 information.
[Using web_search tool]
Based on the search results, the main new features in React 19 include:
1. Actions - Simplified form handling
2. use() hook - New way to read resources
3. Server component improvements
...FAQ
What if the search returns no results?
- Check if at least one search provider's API Key is configured
- Verify the API Key is valid
- If using Coding Plan search, ensure the Use Coding Plan toggle is enabled
- Check if the network connection is working properly