Search Sub-Agent with External Data Sources

Search Sub-Agent with External Data Sources

Search Sub-Agent with External Data Sources

Callable AI sub-agent that performs external information lookups using Hacker News, Wikipedia, and web search APIs.

  • eng
  • n8n, Docker, Linux Ubuntu, SERP, Wikipedia
  • n8n

This workflow implements a search-focused sub-agent that is designed to be executed by other workflows rather than directly by end users. It serves as a reusable lookup component within a larger agent or orchestration setup.

When triggered, the agent receives a structured request from the calling workflow and interprets the intent using a chat model. Depending on the request, it can query multiple external data sources, including Hacker News for recent discussions, Wikipedia for general knowledge lookups, and a web search API for broader queries.

The agent selects the appropriate tool based on the inferred intent and aggregates the retrieved information into a coherent response. Tool execution and model reasoning are kept explicitly separated, allowing the calling workflow to control how the results are used or combined with other agent outputs.

This setup provides a controlled way to enrich higher-level agents with external knowledge while keeping search logic encapsulated and reusable across different workflows.