Overview
Comptable AI is a production RAG chatbot built for Moroccan accounting professionals. Ask it anything about the Plan Comptable General (PCG), and it retrieves the relevant account codes, classification rules, and bookkeeping guidance in seconds.
Try it live: https://comptable.molaraiche.com
The problem
Moroccan accountants spend time manually cross-referencing the PCG. The document is dense, the account hierarchy is deep, and context matters. No AI tool understood the Moroccan accounting context out of the box.
What it does
- Ingests and embeds the full PCG via OpenRouter embeddings
- Stores vectors in Pinecone for semantic retrieval
- AI agent answers questions with exact account codes and explanations
- Bilingual support (French/Arabic)
- Simple chat UI built with Next.js
Stack
n8n, Pinecone, OpenRouter, Next.js, Webhook

