Production-grade multi-agent AI research system built with FastAPI, LangGraph, Gemini, PostgreSQL, and Docker.
Nexus AI is a backend-focused multi-agent AI platform that simulates an autonomous research workflow. Instead of relying on a single prompt-response interaction, the system coordinates multiple AI agents through a LangGraph execution pipeline where each agent performs a specialized task such as:
The platform supports real-time streaming responses, tool calling, persistent report storage, and production-ready deployment using Docker.
Built using LangGraph to coordinate multiple AI agents through a stateful execution graph. Agents operate independently while sharing structured state across the workflow.
Integrated tool-calling architecture allows agents to dynamically invoke external tools during execution. Current tools include real-time web search and external context retrieval.
Implements asynchronous token streaming for real-time response generation. Supports ChatGPT-style incremental output delivery using FastAPI streaming responses.
Research reports and session outputs are stored in PostgreSQL using SQLAlchemy ORM. The system is designed around cloud-first infrastructure principles, integrating the Gemini API for LLM inference and Neon PostgreSQL for managed database hosting.
βββββββββββββββββββββββ
β Frontend UI β
βββββββββββ¬ββββββββββββ
β
βΌ
βββββββββββββββββββββββ
β FastAPI Server β
βββββββββββ¬ββββββββββββ
β
βΌ
βββββββββββββββββββββββ
β LangGraph Engine β
βββββββββββ¬ββββββββββββ
β
βββββββββββββββββββββΌββββββββββββββββββββ
βΌ βΌ βΌ
ββββββββββββββββ ββββββββββββββββ ββββββββββββββββββ
β Planner Agentβ β Search Agent β β Summary Agent β
ββββββββ¬ββββββββ ββββββββ¬ββββββββ ββββββββββ¬ββββββββ
β β β
βΌ βΌ βΌ
βββββββββββββ ββββββββββββββ βββββββββββββββ
β Gemini APIβ β Web Search β β PostgreSQL β
βββββββββββββ ββββββββββββββ βββββββββββββββ