1. Purpose of System

This system is to autonomously handle document-based user queries for determining whether the answer can be extracted from the document itself or whether it requires external knowledge or actions. The system routes queries through a multi-agent workflow to either summarize, search, or escalate the task based on the nature of the query. This supports both high-level understanding and fine-grained question answering, while enabling the system to gracefully handle out-of-scope or complex tasks via delegated agent.

2. System Architecture

graph.png

The system is implemented as a multi-agent pipeline, structured around the following components.

3. Used Tools