Chess Insight AI - RAG-Enhanced Analysis Agent
A chess assistant that combines a classical engine with a search over chess knowledge.
The problem
A chess engine tells you the best move without saying why, and a book of openings knows the ideas without knowing your position.
I wanted to bring the two together, and leave the final decision to the player.
The approach
Stockfish evaluates positions and plays. A vector search finds the openings closest to a request, with sentence-transformers embeddings stored in Milvus. The YouTube Data API completes them with videos.
A FastAPI backend orchestrates the three, and an Angular interface offers a board, an analysis page and a search page. Everything runs in containers.
A feasibility study, published with the code, explains the role and the limits of each part.
The results
The demo is live. You can play against Stockfish, analyse a position, search an opening and find videos about it.
The engine and the retrieval are separate services, so a reasoning model can be added without touching them.
The limits
There is no LLM yet. The demo covers the retrieval step of RAG, and does not write an explanation from the passages it finds.
It is an assistant rather than an autonomous agent. The next step is a model that reads a live position and explains a plan from the engine and the openings.
The stack
- Python
- RAG
- Stockfish
- Milvus
- Sentence Transformers
- FastAPI
- Angular
- Docker Compose
Contact
If you'd like to discuss a role, request a demo, or ask about my projects, feel free to reach out.
I'm looking for a hands-on senior AI/ML engineer or AI tech lead role, in Lyon or remote. I'm also happy to talk about AI projects, consulting, or leading an AI team.