Back to Academic Projects

Conversational AI Agent for learning chess openings (RAG, LangGraph, MCP)

Python, LangGraph, RAG, FastAPI, Milvus, MongoDB, Angular, MCP, Computer Vision, LLM

AI Agent for Learning Chess Openings

Overview

This project implements the design of a conversational AI agent connected to multiple expert knowledge sources, on behalf of the Fédération Française des Échecs. The objective is to guide young talents in learning openings by combining official theory (Lichess), evaluation by a chess engine (Stockfish), vector search on a knowledge base (RAG), and educational video resources, all driven by LangGraph and exposed via an Angular interface with an interactive chessboard.

The project applies best practices for designing orchestrated AI agents and multimodal RAG, covering both the development of a functional POC and the feasibility study for an advanced extension based on an MCP server.


Objectives


Demonstrated Skills

Backend Architecture and Agent Orchestration


RAG and Vector Search


Integration of External Sources and Multimodal Enrichment


Interactive User Interface


Industrialization and Demonstration


Feasibility Study for an Advanced System (Vision + MCP)


Architecture

                Angular Interface
             (ngx-chessboard + panel)
                        │
                        ▼
                  FastAPI API
                        │
                 LangGraph Orchestration
                        │
        ┌───────────────┼───────────────┬──────────────┐
        ▼               ▼               ▼              ▼
   Lichess API      Stockfish      RAG Search    YouTube API
  (theoretical moves) (evaluation)   (Milvus, Wikichess    (educational
                                     text)      videos)
        │               │               │              │
        └───────────────┴───────┬───────┴──────────────┘
                                 ▼
                          MongoDB (persistence)
                                 │
                                 ▼
                  ── Feasibility Study (not developed) ──
                        Stored YouTube Videos
                                 │
                    Frame Extraction (vision)
                                 │
                    Chessboard Detection → FEN
                                 │
                    MCP Server (search by position)

Technical Stack

Backend & Agent Orchestration

Data & Vector Search

External Sources

Frontend

Infrastructure

Prospective Study


Applied Best Practices


Results

Upon completion of this project, the system allows to:


Acquired Skills