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

  1. Clone the Repository
    • Execute: git clone <repository-url>
    • Navigate into the cloned folder using cd <folder-name>.
  2. Generate Key (Optional)
    • Open PowerShell and navigate to the repository folder.
    • Run the key generation command.
  3. 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.
  4. 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

  1. Set up a basic AI agent in N.
  2. Add a custom tool:
    URL: http://host.docker:<port>/search
    • Use query parameters for searching.
  3. 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.
  • Links to the Docker compose file and additional resources will be provided in the video description.