Unlimited Search API for AI Agents – 100% FREE with n8n! (Full Setup & Usage Demo)
AI Summary
Overview
- Setting up a personal web search engine using Xers.
- Benefits: self-hosted, free, no rate limits, unlimited searches.
Prerequisites
- Docker installed.
- Git Bash for command line.
Setup Instructions
- Clone the Repository
- Execute:
git clone <repository-url>
- Navigate into the cloned folder using
cd <folder-name>
.- Generate Key (Optional)
- Open PowerShell and navigate to the repository folder.
- Run the key generation command.
- Edit the Docker Compose File
- Open the Docker compose file in a code editor (Visual Studio Code recommended).
- Modify to set the path for Xers, change port configurations, and remove unnecessary components.
- Copy and save the updated file.
- Run Docker Compose
- Execute:
docker compose up
- Verify the container is running in Docker Desktop.
Using the Search Engine with N
- Edit settings to return results in JSON format:
- Locate formats in the settings file and add:
- JSON
.- Restart the container.
Demo Setup
- Set up a basic AI agent in N.
- Add a custom tool:
URL:http://host.docker:<port>/search
- Use query parameters for searching.
- For a clean search result, specify
format: JSON
.Usage
- The setup allows unlimited searches without rate limiting.
- Supports 88 different search engines, can be expanded to 231.
- Demonstrated use in research workflows, emphasizing efficiency in querying multiple products.
Additional Links
- Links to the Docker compose file and additional resources will be provided in the video description.