About

DZ Legal Assistant

An assistant for drafting the statement of claim in Arabic, for lawyers in Algeria.

Version 0.10.0 · Built as part of ThirdUni 2026.

What it does, and does not do

A draft to review, not legal advice

The app proposes a draft for you to review and edit. It does not judge the merits or guarantee the outcome; you are responsible for the statement of claim you sign.

The app drafts; it does not decide. It does not judge the merits or guarantee a result, and the lawyer reviews and signs every statement of claim.

Legal sources

1,361 articles from 6 legal texts, taken from the Official Journal of Algeria.

Open the law library

Team

Photo of Hicham Benkaihoul

Hicham Benkaihoul

project lead and development

Defined the product and its legal pipeline, directed and reviewed the AI coding agents that wrote most of the code, ran the benchmarks and the test campaigns, and tested the app.

Photo of Djihane Bendjeddou

Djihane Bendjeddou

interface and experience design

Designed and built the lawyer’s journey in the desktop app: the welcome screen, the setup, the lawyer’s profile, the start screen, the guided tour with its sample case, the help pages and the law library, in Arabic and English, light and dark.

Avatar of Khouloud Otmane Cherif

Khouloud Otmane Cherif

legal review

Master’s in private law, works in an Algerian law office. Reviewed legal points of the drafting and answered the team’s questions on Algerian civil procedure and claim types, which shaped the family claims.

How it was built

Most of the code, tests and documentation were written by AI coding agents, directed and reviewed by the team: Claude Code (most of the app), OpenAI Codex (the law corpus, part of the workbench, the independent test cases) and OpenCode (the onboarding screens). The welcome image was generated with ChatGPT. Inside the desktop app, the only AI is the local model (Gemma 4 E4B or Gemma 3 4B through Ollama); the web demo uses Nemotron 3 Ultra through OpenRouter.

Tech stack

C# and .NET 10; Avalonia (desktop interface); Blazor Server (web demo); QuestPDF (PDF) and Open XML SDK (Word); Scriban (templates); Ollama (local model); OpenRouter (the web demo’s hosted model).

Licences

The fonts, icons, images and libraries bundled with the app, and their licences:

  • Noto Naskh ArabicSIL Open Font License 1.1
  • InterSIL Open Font License 1.1
  • Fluent UI System Icons, FluentIcons.AvaloniaMIT
  • Welcome background imageThe project's own image
  • AvaloniaMIT
  • Avalonia.Angle.Windows.Natives (ANGLE)BSD 3-Clause
  • CommunityToolkit.MvvmMIT
  • DocumentFormat.OpenXml, System.IO.PackagingMIT
  • SkiaSharp, HarfBuzzSharpMIT
  • MicroCom.Runtime, Tmds.DBus.ProtocolMIT
  • ScribanBSD 2-Clause
  • QuestPDFQuestPDF Community License

Welcome background image: Generated by the project owner with ChatGPT image generation in October 2026; it depicts no real person, place or brand.

The CPU Ollama engine is included, with no tray app or automatic updater. Model terms are shown before download or installation from a file. A compatible existing local Ollama can be reused; its own updates and settings remain independent of this app.

The full third-party notices of the desktop app: THIRD-PARTY-NOTICES.txt

What this website bundles: Markazi Text (OFL), Readex Pro (OFL), Aref Ruqaa (OFL), Inter (OFL), Noto Naskh Arabic (OFL), Fluent UI System Icons (MIT).

Status and limits

  • The legal rules and the claim catalogue are not yet verified by a practising lawyer. Every rule is marked unverified in the data and in the app; an independent audit in October 2026 found errors in the catalogue, and corrections are under way.
  • One document type so far: the statement of claim. The Civil, Commercial and Labour codes are only partly loaded.
  • The web demo sends what is typed to a hosted model: fictitious cases only. The desktop app sends nothing.
  • The local model is the weak point today: slower and less precise than the online model. The desktop app stays offline by default; an online mode will be the lawyer’s choice, case by case.

What is next

The plan, as written in the repository:

  1. Month 1: an online mode for stronger AI, with client names hidden on the laptop before sending and a preview of exactly what is sent; executable legal rules reviewed with the legal reviewer.
  2. Month 2: version 1.0 as a Windows installer, with the complete Civil Code and the texts reviewed by a practising lawyer.
  3. Month 3: a pilot in five to ten law offices, measuring the time saved and the defects caught.

Documentation