Selected Work

Architecture, AI Integration, EdTech, B2B SaaS

AdminWrite

A complete EdTech SaaS for Algerian professionals—featuring an intelligent writing assistant that corrects administrative French in real-time, paired with structured courses, gamified learning, and an official certification track for B2C and B2B users.

View live project
Role
Lead architect and full-stack developer
Market
Algerian Public & Private Sector (B2B + B2C)
Stack
Next.js 16 · Prisma/PostgreSQL · Tailwind v4 · Three.js
AI engine
Gemini 2.5 Flash · Groq LLaMA 3.3 · ProseMirror (multi-provider load balancing with automatic failover)
Payment
Chargily Pay (CIB/Edahabia) · React-PDF Gen
Espace rédaction
1
K

Espace de rédaction

Rédigez, corrigez et apprenez. L'IA analyse votre texte en
temps réel.

Courriel professionnel
Lettre administrative
Rapport de service
Procès-verbal
Demande officielle
Rédiger moi-même
Voir un exemple
B I U  |  ≡
GRAMMAIRE ✓ Appliquer x

République Algérienne Démocratique et Populaire
Ministère de l'Intérieur, des Collectivités Locales...

Alger, le 9 octobre 2026

À Monsieur le Directeur des Ressources Humaines

Objet : Demande de renseignements relative à la procédure de promotion interne.

Hier, je suis allez au magasin pour achetés des pomme rouge mais ils était trop cherHier, je me suis rendu au magasin pour acheter des pommes rouges mais elles étaient trop chères

✦ Rédacteur IA
Décrivez ce que vous voulez rédiger.
Ex : Rédige un email pour demander...donner moi un example
Analyseur
Rédigez au moins 50 caractères pour déclencher l'analyse automatique.
4 Grammaires
Votre texte contient plusieurs erreurs de grammaire et d'orthographe, notamment des problèmes d'accord et de conjugaison.
GRAMMAIRE
je suis allez → je suis allé
Le participe passé du verbe 'aller' conjugué avec l'auxiliaire 'être' doit s'accorder en genre et en nombre avec le sujet.
✓
Le texte utilise un registre approprié et ne contient pas d'erreurs grammaticales.
INTERACTIVE AI DIAGNOSTICS✦CUSTOM PROSEMIRROR ENGINE✦GAMIFIED LEARNING✦B2B PORTALS✦LOCAL PAYMENT COMPLIANCE✦INTERACTIVE AI DIAGNOSTICS✦CUSTOM PROSEMIRROR ENGINE✦GAMIFIED LEARNING✦B2B PORTALS✦LOCAL PAYMENT COMPLIANCE✦INTERACTIVE AI DIAGNOSTICS✦CUSTOM PROSEMIRROR ENGINE✦GAMIFIED LEARNING✦B2B PORTALS✦LOCAL PAYMENT COMPLIANCE✦
inference latencyAverage round-trip for full linguistic analysis.
automated failoverZero downtime SLA during primary engine rate limits.
Pedagogical diagnosticsCustom ProseMirror engine for inline grammar, syntax, and register corrections.
Payment InfrastructureNative CIB & Edahabia integration via Chargily Pay V2.

Build the definitive platform for Algerian administrative French—before anyone else did.

Hundreds of thousands of Algerian civil servants, public sector professionals, and private enterprise employees write official documents every day in formal French. The rules governing that writing—politeness formulas, register, structure, protocol—are rarely taught clearly and never in one place. The bet was to own that category with a product that combined resilient AI correction with structured education, targeting both individual professionals (B2C) and large organizations (B2B).

A badly written official document doesn't just look unprofessional—it carries real institutional weight.

In the Algerian public and private sectors, written documents have serious consequences. A note de service with the wrong politesse formula, a rapport with informal register, or a courrier with structural errors can delay decisions, undermine credibility, and block career progression. Generic tools like Grammarly do not understand Algerian administrative norms, and standard French language apps lack the professional context. There was a genuine vacuum for a culturally and contextually aware solution.

A unified dual-engine architecture: real-time AI correction meets enterprise learning.

The architectural decision was to build a multi-tenant platform that serves immediate drafting needs while building long-term competence.

I engineered a custom rich-text editor (built on Tiptap/ProseMirror) that communicates with an abstracted dual-provider AI gateway. To ensure 100% uptime and speed, the primary engine (Google Gemini) automatically falls back to Meta's LLaMA via Groq's high-speed inference LPU if rate limits are hit. All of this is wrapped in a highly polished Next.js 16 App Router architecture, featuring automated PDF certificate generation, role-based access control (Learner, Admin, Supervisor, Owner), and localized payment gateways.

Syntactic Parsing & Protocol Register Analysis

Real-time analysis of administrative drafts, categorizing issues into Orthography, Grammar, Syntax, and Protocol Register with instant inline replacement.

Administrative French · 4 Error Categories · Inline Diff Engine

Multi-Seat Portals & Fiscal Invoicing

Dedicated supervisor dashboards to manage team seats, track organizational skill progression via Recharts analytics, and generate Algerian fiscal-compliant PDF invoices.

Seat allocation · Fiscal PDF invoices · Recharts telemetry

XP Progression & WebGL Interactive Scene

Progressive mastery courses combining XP tracking, dynamic streak safeguards, and an interactive WebGL 3D hero scene that makes bureaucratic writing education compelling.

Three.js / WebGL · Streak mechanics · XP curriculum

Edahabia & CIB Payment Gateway

Seamless subscription billing supporting Algerian domestic debit cards (Edahabia & CIB) via Chargily Pay V2 integration — completely removing payment friction for civil servants.

Chargily Pay V2 · Edahabia & CIB · Automated webhooks

Under the hood

OPT_01

Quizzes that cost nothing at any scale

Problem: Live AI generation per quiz attempt.
Fix: Background caching.
Impact: Zero live calls per attempt.

Show the engineering
AI explanations are generated once by a background worker (QStash) and cached in PostgreSQL, so taking a quiz makes zero live AI calls. Learners get instant results from the database.
OPT_02

AI that stays up when providers don't

Problem: Unpredictable API rate limits.
Fix: Multi-provider load balancing.
Impact: Resilient, continuous uptime.

Show the engineering
Multi-provider load balancing with automatic failover when a provider returns a rate-limit error (429).
OPT_03

Pay only for intentional AI use

Problem: Wasted background calls on typing.
Fix: Explicit action triggers.
Impact: Significant cost reduction.

Show the engineering
Grammar analysis moved from automatic-on-typing to an explicit user action, cutting wasted background calls by 80%.
OPT_04

Long AI jobs that never time out

Problem: Hard serverless timeouts on heavy requests.
Fix: Asynchronous polling queues.
Impact: Guaranteed job completion without connection drops.

Show the engineering
The frontend gets a job ID instantly while a queued webhook processes the request and the UI polls for the result, so heavy processing no longer runs inside a timeout-limited serverless request.

A fully automated, scalable SaaS built for the Algerian professional ecosystem.

AdminWrite operates as a complete ecosystem. Users can draft documents using AI templates specifically tuned for Algerian administrative norms, improve their skills through gamified lessons, and ultimately earn automatically generated, verifiable PDF certificates.

By natively integrating Chargily Pay for local transactions and engineering a robust B2B organizational tier with automated PDF invoicing, the platform is technically equipped to scale from individual civil servants to entire corporate departments without manual intervention.

Running a business with the same leak?

Book a 20-minute call and bring your numbers. I'll tell you honestly whether a system like this would pay for itself.

Next projectAxiomOS