ES

Deep-search Multi-agent System

Role
AI Developer
Type
Professional work
Focus
Multi-agent AI on AWS

A deep-search system where several AI agents work together to research a question and produce an answer, with each agent running as its own serverless function on AWS.

Request path in production

  1. requestAPI Gateway
  2. orchestrationcoordinates the agents
  3. agentsone Lambda function each
  4. search and retrievalincluding a vector database
  5. answercombined from the agents’ work

High-level architecture

Multi-agent deep search
Instead of one model call, several specialised agents split the research, search in depth and hand their results on to be combined.
Agents as Lambda functions
Each agent runs as its own serverless function: stateless, independently deployable and scaled per request, with API Gateway in front.
Retrieval with vectors
A vector database gives the agents semantic search over the material they work with.
Backend services
Python and FastAPI services around the agents, deployed on AWS alongside the functions.

Stack

  • Python
  • FastAPI
  • AWS Lambda
  • API Gateway
  • Amazon S3
  • Vector database
  • LLMs