Skip to main content
XenonStack

Agentic AI Systems

XenonStack Use Case Agentic Search on AWS: The DeepQuery Navigator Pattern

and | Published | Updated

Agentic Search on AWS: The DeepQuery Navigator Pattern
5:42
Agentic search on AWS: DeepQuery Navigator pattern, a stack from Amazon EKS and S3 up to one governed answer

Key takeaway

  • How a supervisor, RAG and SQL agent design on AWS EKS and Qdrant searches structured and unstructured data, with controls, trade-offs and adoption steps.
. #}

Agent search in an enterprise is rarely a single-database problem. Answers sit in documents, policies and relational records, and a search box that only matches keywords misses most of them. The DeepQuery Navigator pattern described here puts a supervisor agent in front of a retrieval-augmented generation (RAG) agent and a SQL agent, so one question can reach both unstructured and structured data. It was built by our team for an insurance technology client (anonymised) on AWS cloud infrastructure.

This guide is written for CTOs, CIOs and solution architects who need to decide whether agentic search fits their estate. It covers the architecture, which query goes to which agent, the controls to put around it, the trade-offs, and an adoption sequence. For the wider design context, see our guides to agentic workflows and a closely related agentic RAG engagement platform.

What is agentic search and why does it replace keyword search?

According to AWS, retrieval-augmented generation augments a large language model with external data, such as internal documents, so the model has the context it needs for a specific use case. Content is turned into embeddings, which are numeric representations of meaning, and stored in a vector database. At query time an orchestrator runs a similarity search, adds the retrieved context to the prompt and asks the model to answer from it (AWS Prescriptive Guidance, read 13 Nov 2026).

Agentic search adds a decision step on top. Instead of one fixed retrieval path, a supervisor agent decides whether a question needs documents, a database query or both, and combines the results. That matters when an agent search covers licensing records, customer profiles and policy text at the same time.

What problem did the legacy agent search have?

The insurance technology client had an agent search that users found slow, incomplete and short on filtering options. The legacy system was built on a rigid architecture that was hard to adapt, and its databases were difficult to scale and did not support real-time indexing. Integration with customer profiles, licensing data and third-party verification services was fragile. Data privacy obligations and high availability requirements added further constraints, and the client needed search that worked for agents, support staff and customers across regions.

The programme goals were therefore architectural rather than cosmetic: modular services, real-time indexing, one entry point for structured and unstructured questions, and a traceable history of what was asked and answered.

How does the DeepQuery Navigator architecture work?

The solution is a microservices-based multi-agent framework running on Amazon EKS. Three agents carry the logic: a Supervisor Agent (a ReAct-style agent) that plans and routes, a RAG Agent for unstructured content, and a SQL Agent for structured records. An embedding pipeline fills a Qdrant vector database from files held in Amazon S3, and a frontend provides agent chat and a data configuration interface.

Two-column diagram mapping four question types (meaning-based, exact, mixed, risky) to RAG Agent, SQL Agent, supervisor merge, and refuse or escalate.
ComponentRole in the patternSource for the capability
Supervisor AgentReads the question, picks the RAG Agent, the SQL Agent or both, and merges the answerOur design
RAG AgentRetrieves passages from the vector store and grounds the answer in themRAG steps per AWS Prescriptive Guidance
SQL AgentRuns structured queries against Amazon RDSOur design
QdrantVector search with payload filtering and hybrid (semantic plus lexical) retrievalQdrant documentation
Amazon EKSRuns the agent services and frontend; AWS manages the Kubernetes control planeAmazon EKS user guide

Which AWS services does it use?

How was it built and run?

  • Agile delivery with two-week sprints.
  • Microservices on EKS, deployed through CodePipeline.
  • The embedding pipeline populates Qdrant from S3, and real-time data sync keeps the index current.
  • The Supervisor Agent orchestrates the RAG Agent and the SQL Agent.
  • Checkpoints and history are stored securely for traceability.
  • Infrastructure as code gives reproducible deployments, and business-user dashboards handle configuration.

Which query should go to which agent?

Question typeExampleRouteWhy
Meaning-based, unstructuredFind guidance on a product or procedureRAG Agent over QdrantSimilarity search matches meaning, not exact words
Exact, structuredList agents licensed in a given stateSQL Agent over RDSRecords and filters are exact; retrieval by similarity would guess
MixedSummarise an agent's licensing status and the related guidanceSupervisor calls both and mergesOne answer needs both sources
Out of scope or riskyA request that would change a recordRefuse or escalate to a personSearch agents should be read-only unless a policy says otherwise

Qdrant states that its payload indexes let filtering happen during the semantic search phase, and that it supports hybrid retrieval with semantic and lexical search (Qdrant documentation, read 13 Nov 2026). In practice that lets metadata such as region or role narrow results without a second pass.

How should an enterprise govern and secure agent search?

A search agent touches personal and commercial data, so controls matter as much as relevance. The OWASP Top 10 for LLM Applications (2025 edition) names risks that apply directly: prompt injection, sensitive information disclosure, excessive agency and vector and embedding weaknesses (OWASP GenAI Security Project, read 13 Nov 2026). Our guides to agentic AI risk management and agentic AI governance and compliance cover the control framework in more depth.

RiskControl to apply
Users see data they should notEnforce permissions at retrieval time; use IAM and Kubernetes RBAC, which Amazon EKS supports together
Prompt injection through retrieved contentTreat retrieved text as untrusted input; keep the agents read-only
Agent does more than intendedLimit tools per agent; require approval for any write action
Stale or wrong answersMonitor index freshness and sample answers against source records
No audit trailStore queries, retrieved sources and agent steps for review

Compliance obligations such as SOC 2 or HIPAA depend on the organisation, the data and the contracts involved. Confirm the scope with your own compliance team and the framework owners; this post does not make compliance claims for any deployment.

What are the trade-offs, and when is this pattern not the right choice?

  • More moving parts. A supervisor, two agents, a vector store and an embedding pipeline need more operations effort than a single search index.
  • Routing errors. The supervisor can pick the wrong source, so route decisions need logging and review.
  • Index freshness. Real-time indexing needs an owner and a failure alert, because a stale index gives confident but outdated answers.
  • Cost. Amazon EKS charges per cluster and separately for the underlying resources, so size the cluster to the workload (Amazon EKS user guide).
  • When not to use it. If your data sits in one well-modelled database and users ask fixed questions, a conventional search or report is simpler and easier to audit.

How should a team adopt it in sequence?

StageWhat to doExit check
1. ScopeList the data sources, user groups and the questions that matter mostAgreed question set with owners
2. Prepare dataClean, chunk and embed unstructured content; model the structured tables the SQL Agent may readSchema audit passes
3. Build retrievalStand up the vector store and RAG Agent; test with the agreed questionsAnswers cite the right sources
4. Add routingIntroduce the supervisor and the SQL AgentRouting logged and reviewed
5. Secure and observeApply access control, logging and monitoringRisk review signed off
6. Roll out in incrementsRelease to one group, collect feedback, then widenFeedback loop in place

What implementation hurdles should teams plan for?

The client reported two main hurdles: integrating fragmented legacy systems and keeping data in sync in real time. Midway through delivery, unexpected schema inconsistencies caused indexing failures. The team responded with a validation layer and automated schema audits. Regular demos and feedback loops kept stakeholders aligned. Clear documentation, early stakeholder engagement and incremental rollouts helped, and infrastructure as code with CI/CD pipelines made deployments repeatable. Teams running this pattern in production may also want a support model, covered in AI managed services.

What is on the roadmap for DeepQuery?

The client plans multilingual support and voice search, followed by chatbot interfaces and predictive agent recommendations using machine learning. It is also evaluating further AWS services, including Amazon SageMaker and Amazon Comprehend. These are plans, not delivered features, and each would go through the same governance review as the original build.

For teams that want search built on governed context, AgentSearch is, according to its site, an agentic search layer for unstructured and semi-structured enterprise knowledge, with retrieval that follows the access permissions of ElixirData Context OS, which keeps governed context, versioned policy and decision traces in one decision layer above AI agents. ElixirClaw is an agentic OS platform to build, orchestrate and govern AI agents and automation workflows while keeping humans in control.

To map one search decision your agents should make, and the context and policy it depends on, book a Context Workshop. See what happens in the workshop.

FAQ

What is DeepQuery Navigator?

It is our multi-agent search pattern: a Supervisor Agent routes each question to a RAG Agent, a SQL Agent or both, using Qdrant for vector search and Amazon RDS for structured data, hosted on Amazon EKS.

Why use a supervisor agent instead of one search index?

Questions differ. Meaning-based questions suit vector retrieval, while exact questions suit SQL. A supervisor chooses the route and merges the answer.

What does RAG add to search?

According to AWS, RAG gives a language model external data, such as internal documents, so answers are grounded in your own content rather than only the model's training data.

Which security risks apply to an agent search system?

The OWASP Top 10 for LLM Applications (2025) lists prompt injection, sensitive information disclosure, excessive agency and vector and embedding weaknesses, all of which apply to search agents.

Does it need real-time indexing?

Only if users need new records to be searchable quickly. It adds operational work, so assign an owner and alert on indexing failures.

When should we not build this?

When your data sits in one well-modelled database and users ask fixed questions, conventional search or reporting is simpler to run and audit.

Get Started: Transform Your Search Experience with AI Agents

Connect with our experts to implement advanced AI-driven search systems. Discover how industries and teams leverage Agentic Workflows and Decision Intelligence to build decision-centric operations. Harness AI to automate and optimize agent search, support services, and operational workflows—boosting speed, accuracy, and responsiveness across the enterprise.

Table of Contents

navdeep-singh-gill

Navdeep Singh Gill

Global CEO and Founder of XenonStack

LinkedIn profile

Navdeep Singh Gill is serving as Chief Executive Officer and Product Architect at XenonStack. He holds expertise in building SaaS Platform for Decentralised Big Data management and Governance, AI Marketplace for Operationalising and Scaling. His incredible experience in AI Technologies and Big Data Engineering thrills him to write about different use cases and its approach to solutions.

Get the latest articles in your inbox

Subscribe Now

Interested in solving your challenges with the XenonStack team?
Get Started

Tell us about you and your priorities so we can prepare the right conversation. It takes about 2 minutes.

Please Select your Industry
Banking
Fintech
Payment Providers
Wealth Management
Discrete Manufacturing
Semiconductor
Machinery Manufacturing / Automation
Appliances / Electrical / Electronics
Elevator Manufacturing
Defense & Space Manufacturing
Computers & Electronics / Industrial Machinery
Motor Vehicle Manufacturing
Food and Beverages
Distillery & Wines
Beverages
Shipping
Logistics
Mobility (EV / Public Transport)
Energy & Utilities
Hospitality
Digital Gaming Platforms
SportsTech with AI
Public Safety - Explosives
Public Safety - Firefighting
Public Safety - Surveillance
Public Safety - Others
Media Platforms
City Operations
Airlines & Aviation
Defense Warfare & Drones
Robotics Engineering
Drones Manufacturing
AI Labs for Colleges
AI MSP / Quantum / AGI Institutes
Retail Apparel and Fashion

Continue