Skip to content
    HAQQ
    • Pricing
    Get Started Free
    Get Started FreeBook a Demo
    Log in
    ArchitectureIntroductionCapabilitiesSamplesEvaluationLimits & safetyResearch

    Justinian

    The engine behind HAQQ Chat, eFirm and the mobile app

    Test JustinianSee the benchmark

    Justinian establishes what you are actually asking, which jurisdiction governs it, and what the law says, before a single word is drafted. Built for work that has to be reviewed, cited and signed.

    Everything behind a single answer

    One answer runs on a full stack: product surfaces, security and governance, frontier models, grounded data, and jurisdiction-aware reasoning across MENA, Europe and the US.

    Justinian brings state-of-the-art reasoning into legal work, enabling drafting, analysis, and planning under explicit professional constraints. It is not a chatbot. It is an engine for work that must be reviewed, trusted, and signed.

    Legal work, however, is a hostile environment for generic AI. Law demands correctness over plausibility, structure over fluency, explanation over confidence, and accountability over autonomy. A legal professional cannot use output they cannot verify, cite work they cannot trace, or submit documents they cannot defend.

    Justinian was built to close this gap: to bring frontier-level AI capability into legal practice without compromising professional standards. It is the proprietary AI engine powering HAQQ Legal AI and HAQQ eFirm - not a single monolithic model, but an engineered system optimized for legal reasoning, drafting, and decision support.

    The Corpus Juris Civilis: its three parts, the Codex of 529 and the Digesta and Institutiones of 533, shown as an opened codex with rubricated initial lines.
    Why Justinian?

    The name Justinian honors Emperor Justinian I of the Eastern Roman Empire - the architect of history's most influential legal codification. Where Emperor Justinian unified Roman law for an empire, our Justinian engine unifies legal intelligence for the practitioner.

    “The empire's legal system needed repair. There existed three codices of imperial laws and other individual laws, many of which conflicted or were out of date.” - On Emperor Justinian's mandate, 527 AD
    Worked examples

    Samples & Use Cases

    Real work product against real statutes: drafting, review, research, jurisdiction-aware analysis and multi-step matters.

    New - Legal Agent Benchmark

    HAQQ Legal Agent Study

    A long-horizon evaluation built to measure whether an agent can do real legal work end to end, not answer trivia. Civil-law and MENA coverage by design, all-pass grading by default.

    Three real matters run end to end: a tenant deposit dispute, a cross-border NDA and an employment termination, each broken into four steps that all have to pass.
    Highest score of 19 models
    49 / 50Highest score of 19 modelsOn our published 50-task legal benchmark
    All-pass rate
    58%All-pass rate36 points clear of the next model
    Long-horizon tasks
    1,372Long-horizon tasksAcross 24 major practice areas
    Expert rubric criteria
    ~78,000Expert rubric criteriaEvery criterion must pass. Partial credit does not count.
    Read the full benchmark write-upRun the Study on a redacted matter

    Limitations

    Despite the leap in capabilities, the engine exhibits several limitations common to legal generation engines. Understanding these boundaries is essential for responsible use.

    Party A
    Dates?
    Input
    Incomplete
    Output

    Input Dependency

    Incomplete or incorrect facts produce incomplete or incorrect analysis. The engine cannot independently verify factual claims - quality in determines quality out.

    Training
    Connected
    Real-time
    Knowledge cutoff applies

    Knowledge Boundaries

    Cannot access information outside training data and connected sources. Real-time legal updates require explicit integration with your firm's data.

    AI Draft
    REQUIRED
    Lawyer
    Approved

    Professional Review Required

    Every output requires review by a qualified professional. This is not a limitation to be solved but a design principle.

    Safety & Professional Responsibility

    • Disclosure

      AI-generated content is always labelled, so you always know what came from the engine.

    • Competence

      It works inside legal domains and refuses to speculate outside them.

    • Confidentiality

      Zero data retention, end-to-end encryption, and no training on your data.

    • Oversight

      Every output needs professional review before it reaches a client or a court.

    Read our security practices

    These limitations are particularly important in our work on legal reasoning engines, which need to accurately represent jurisdictional requirements and professional obligations. We are actively researching ways to address capability limitations without compromising accountability.

    Legal responsibility always remains with the lawyer. This is intentional.

    Frequently Asked Questions

    How is Justinian different from ChatGPT?+

    ChatGPT is a general-purpose language model that generates plausible-sounding text. Justinian is a legal AI engine: before any general model is called, it establishes what you are actually asking, which jurisdiction applies, what language the governing law is in, and what the request needs. The general model then runs on a question that has already been framed. It applies legal rules to facts, respects jurisdictional boundaries, cites retrieved sources, and produces structured, client-ready deliverables.

    Does Justinian cite real case law?+

    Yes. Justinian searches verified legal databases and authoritative sources before answering. Every citation is traceable and verifiable. When sources conflict or the law is ambiguous, Justinian flags the uncertainty rather than presenting a confident but wrong answer.

    Can Justinian draft contracts in Arabic?+

    Yes. Justinian drafts natively in Arabic, English, French, and other languages with full RTL support. It understands legal nuance in each language and can produce bilingual contracts while maintaining legal precision across both versions.

    What jurisdictions does Justinian support?+

    Justinian reasons across MENA, Europe, the US and international arbitration frameworks including ICC and UNCITRAL, and it drafts in English, Arabic and French. Depth varies by jurisdiction, because it depends on how well the source law is digitised and how much of it is public. Rather than quote a single global number, we would rather answer the question for the specific jurisdiction you work in.

    Is Justinian's reasoning auditable?+

    Yes. Every Justinian output includes a transparent reasoning chain - you can see which rules were applied, which sources were consulted, and how the conclusion was reached. This auditability is critical for professional accountability and client trust.

    What happens before Justinian answers a question?+

    Your question does not go straight to a general-purpose model. It first passes through a step we own and control, which establishes what you are actually asking, what kind of legal work it is, which jurisdiction is in play, what language the governing law is written in, and the facts inside your request as structured data. Only then does the general model run, and it arrives with the question already framed rather than guessing at it.

    Why does doing work before the model call make the answer better?+

    Two reasons. A model's context window is finite, so anything loaded unnecessarily competes for attention with your actual document. And a model handed structured facts instead of a wall of prose spends its budget on legal reasoning rather than on parsing what it was given. The second effect is larger than most people expect, and it is why the same general-purpose model produces better legal work inside Justinian than inside a simple wrapper.

    Which AI model does Justinian use, and are you locked into one vendor?+

    We deliberately do not build on a single vendor. A third-party frontier model performs the final generation, but every layer that carries our value runs independently of any particular one: orchestration, tooling, retrieval, memory and safety. Justinian is architected to route different kinds of legal work to different models, so if a better or cheaper model appears, adopting it is a configuration change rather than a rebuild.

    Can Justinian read scanned documents and photographs?+

    Yes. We treat document intake as a first-class engineering problem rather than a preprocessing afterthought, because a large share of legal work arrives as a scan, a photograph of a stamped page, or a PDF that was printed and re-scanned crooked. An error introduced at that stage cannot be recovered later: the system would reason impeccably about the wrong clause number.

    Does Justinian remember my previous matters?+

    Yes. Justinian holds the relationships between your matters over time and draws on them when a question calls for it, rather than simply replaying recent messages back into the prompt. That is what lets it recognise that the counterparty in a contract you are reviewing today is the same one from a dispute two months ago.

    Does Justinian hallucinate?+

    Any system built on a language model can produce a wrong answer, and any vendor who tells you otherwise is not being careful with words. What good architecture does is make wrongness rarer and detectable: legal claims are generated against retrieved sources, every claim carries a citation you can open, and where sources conflict or the law is genuinely ambiguous Justinian flags the uncertainty instead of resolving it for you. It is built to be reviewed by a professional, not to replace one.

    How do I tell whether a legal AI product is just a ChatGPT wrapper?+

    Four questions in a demo, and they work on any vendor including us. Ask it something outside law: a wrapped general model will usually answer a medical question. Ask the same legal question in two languages: if the substance changes, language is handled after the reasoning rather than before it. Upload a badly photographed document. And push it toward an unsettled area of law, where a system built for professional work will tell you the ground is uncertain instead of producing a confident answer.

    How is Justinian evaluated?+

    Against legal-specific benchmarks rather than general ones, because a model that scores well on general reasoning can still be useless on a clause. Clause-level validation, jurisdictional accuracy and continuous feedback from practising lawyers drive what the engine does before and around every model call: what gets retrieved, which capabilities run, and what gets flagged for human review. The results are published rather than described, including the ones where a frontier model beats us.

    How do I know a number on this page is real?+

    Every figure we publish declares how we know it. Measured means it comes from our own usage data or our own benchmark run. Cited means it is a third-party finding, linked to its source. Illustrative means it is a directional scenario, and it carries a badge saying so, including on the worked examples further up this page. If a number does not say which of the three it is, treat that as a defect and tell us.

    Do you publish results where another model wins?+

    Yes, and you should be suspicious of any legal AI vendor who does not. A benchmark that its author always wins is marketing, not evaluation. Our published runs include tasks and categories where a frontier model scores above us, because a buyer needs to know where the tool is strong and where it is not before they rely on it in front of a client.

    Research & Experiments

    AI Research Behind Justinian

    Deep dives into the architecture, experiments, and benchmarks that power our legal AI engine.

    1. 01Research12 min

      AI Document Review Software in 2026: Beyond RAG and Chatbots

      Read article
    2. 02Research25 min

      Legal Ontology AI: How We Cut Legal AI Costs by 97%

      Read article
    3. 03Research26 min

      Legal AI Predictions to 2030: What 72 AI Agents Forecast

      Read article
    4. 04Research8 min

      NotebookLM for Lawyers: Memory With Search, Not Legal AI

      Read article
    5. 05Research12 min

      We Benchmarked 7 LLMs on New York Litigation Strategy

      Read article
    6. 06Research12 min

      Human-in-the-Loop AI: The Definitive Guide for Lawyers (2026)

      Read article

    The measured research behind Justinian

    Cross-model legal benchmark

    How Justinian scores against frontier models on legal tasks.

    View the graph

    AI autonomy scores

    How much independent action legal AI should take - and where it must stop.

    View the graph

    Hallucination rates

    Why grounding every claim in source is non-negotiable for legal work.

    View the graph
    Browse the full research hubView All Research

    Try Justinian

    Experience a legal AI engine built at the frontier - and constrained by law.

    HAQQ across all devices
    HAQQ Legal AI Platform Logo

    Your Legal AI Twin & Practice Management System for drafting, billing, and winning.

    Download on theApp StoreGet it onGoogle Play

    Documentations

    • Docs opens in a new tab
    • Getting Started opens in a new tab
    • Press opens in a new tab
    • Product Updates opens in a new tab
    • Status opens in a new tab
    • Security
    • FAQ opens in a new tab
    • Community opens in a new tab
    • Support opens in a new tab

    Academy

    • Course opens in a new tab
    • Skills opens in a new tab
    • Clause opens in a new tab
    • Prompt Library opens in a new tab
    • Tools opens in a new tab
    • Research Hub opens in a new tab
    • Documents opens in a new tab

    Website

    • eFirm
    • Legal AI Chat
    • Mobile App
    • Justinian AI Engine
    • HAQQ eBar
    • HAQQ eWallet
    • Pricing
    • Compare Us
    • Solutions
    • Blog
    • Meet Team
    • Join Us opens in a new tab
    Open App
    • Localesar en fr es it de pt
    • Contactinfo@haqq.ai
    • Statusoperational·grounded
    • Terms of Service
    • Privacy Policy
    • Cookie Policy
    • Data Processing opens in a new tab
    • humans.txt opens in a new tablawyers.txt opens in a new tabsecurity.txt opens in a new tab
    © 2026 HAQQ Inc. All rights reserved.Product engineered in-house by HAQQ. Website built with modern web tools.
    User Query

    Reviewthesecontractsforcompliancegapsacrossourjurisdictions.

    PDFDOCDOCXXLSDataroom+17 formats
    🇦🇪UAE🇸🇦Saudi Arabia🇪🇬Egypt🇫🇷France

    Product & Interfaces

    One platform, every surface

    Try it
    HAQQ ChatHAQQ eFirmMobile AppeBarClient PortalAPI / MCP
    Security & Governance
    Cross-Matter IsolationAudit TrailsRBACAnonymization

    JUSTINIAN AGENTIC HARNESS

    The Ontology of Intelligence

    Resolved before the model call

    Prompt RewriteIntent ClassificationLanguage DetectionEntity ExtractionDocument Intake + OCRTool RoutingModel RoutingGuardrails
    Architected to route acrossOpenAI model logoAnthropic model logoGoogle model logo

    Then the agentic loop

    Sub-Agent OrchestrationMemoryDeep ReasoningLookahead + RollbackCitation AuditHuman-in-the-Loop

    Context & Knowledge

    Your firm's institutional memory

    RAG
    PlaybooksPoliciesMemosTemplatesPrecedentsClause LibrariesMatter History

    Data & Integrations

    Live legal sources

    Secure
    Web SearchStatutesCase LawGazettesRegulatory DBsUSPTOEUIPOWIPO

    Firm

    Your legal operating system

    MattersContractsDocumentsHearingsTasksCalendarFinancialKYCLeadsEmails

    Jurisdictions

    Multi-region coverage

    MENAEUUSASouth AmericaAsiaAfrica
    🇦🇪 UAE🇸🇦 Saudi Arabia🇶🇦 Qatar🇴🇲 Oman🇯🇴 Jordan🇪🇬 Egypt🇱🇧 Lebanon🇮🇶 Iraq🇸🇾 Syria🇲🇦 Morocco🇹🇳 Tunisia🇩🇿 Algeria🇫🇷 France🇪🇸 Spain🇮🇹 Italy🇵🇹 Portugal🇧🇪 Belgium🇳🇱 Netherlands🇸🇪 Sweden🇬🇷 Greece🇹🇷 Turkey🇺🇸 US🇨🇦 Canada🇧🇷 Brazil🇲🇽 Mexico🇮🇳 India🇸🇬 Singapore🇳🇬 Nigeria🇰🇪 Kenya🇿🇦 South Africa

    Legal Capabilities

    DraftingRedliningDue DiligenceCompliance ReportsLitigationAnalysisCase SummariesOffer LettersDeposit DisputesWillsTenant RightsTraffic FinesFreelance ContractsPrenupsVisa GuidanceGDPR ChecksCross-Border DealsTrademark ChecksEmployment Disputes
    Client-Ready Output

    Why Justinian is different

    A proprietary, in-house legal AI engine, not a wrapper around a public model. Ten decisions are resolved before a frontier model is ever called.

    Read the request

    01

    Prompt rewrite

    The question you meant, not the one typed at 11pm between two calls.

    02

    Intent

    Drafting, research, review, comparison or procedure. Each wants a different answer.

    03

    Language

    Yours, and separately the language the governing law is written in.

    04

    Entities

    Parties, dates, obligations, amounts and governing law, pulled out as structured data.

    05

    Thread state

    What this matter has already established, carried forward in compressed form.

    Configure the call

    06

    Capability selection

    Only the specialised tools this question needs. The rest stay out of the way.

    07

    Model routing

    Which model should serve this request. Different legal work wants different models.

    08

    Reasoning depth

    A definition and a cross-border liability analysis should not cost the same.

    09

    Scope and safety

    Whether this should be answered at all, decided before anything is generated.

    10

    Thread title

    Small, and the reason your history is still navigable six weeks later.

    Only now does the frontier model run, and it arrives prepared

    Sovereign AI & On-Premise Deployment

    Deploy on-premise, private cloud, or air-gapped environments. Full data sovereignty with no data ever leaving your jurisdiction.

    Built-In Anonymization & Encryption

    Proprietary anonymization layer strips PII before inference. End-to-end encryption at rest and in transit. GDPR, SOC 2, ISO 27001 compliant.

    Multi-Jurisdiction Legal Reasoning

    Jurisdiction-aware analysis grounded in local statutes, case law, and regulatory frameworks across 200+ legal systems.

    Knowledge-Graph Grounded Outputs

    Proprietary legal ontology, clause-level analyzers, and constraint engines ensure every output is legally defensible.

    Full-Stack Legal OS

    Not a wrapper. A single proprietary engine powering AI chat, practice management, eBar, payments, and mobile with no third-party AI dependencies.

    LLM-Agnostic & Future-Proof

    Swap underlying models without re-engineering. Proprietary orchestration layer ensures consistent quality across any frontier LLM.

    Benchmarked across major practice areas

    Practice area

    50-point evaluation covering Sharia, statute, forum, clause, risk, hallucination, formatting, brevity, partner-readiness, and source linking

    We run this evaluation ourselves and publish it in full - every task, every model. HAQQ leads all eleven practice areas in the latest run. The methodology is published so you can check the result yourself.

    Source: HAQQ's published 50-task legal AI benchmark - Jun 2026

    01
    HAQQ (Justinian) AI model logoHAQQ (Justinian)
    49/50
    02
    Claude Fable 5 AI model logoClaude Fable 5
    45/50
    03
    Claude Opus 4.7 AI model logoClaude Opus 4.7
    43/50
    04
    Mike OS AI model logoMike OS
    42/50
    05
    DeepSeek v4 Pro AI model logoDeepSeek v4 Pro
    40/50
    06
    ChatGPT 5.5 AI model logoChatGPT 5.5
    39/50
    07
    Harvey AI model logoHarvey
    38/50
    08
    CoCounsel AI model logoCoCounsel
    37/50
    09
    LexisNexis +AI AI model logoLexisNexis +AI
    36/50
    10
    Gemini 3.1 Pro AI model logoGemini 3.1 Pro
    36/50
    11
    Claude + legal plugins AI model logoClaude + legal plugins
    35/50
    12
    Legora AI model logoLegora
    33/50
    13
    Grok 4.3 AI model logoGrok 4.3
    33/50
    14
    Perplexity Sonar AI model logoPerplexity Sonar
    29/50
    15
    Spellbook AI model logoSpellbook
    27/50
    16
    Clio Duo AI model logoClio Duo
    26/50
    17
    Meta Llama 4 AI model logoMeta Llama 4
    24/50
    18
    Mistral 3 AI model logoMistral 3
    22/50
    19
    Qwen 3 Plus AI model logoQwen 3 Plus
    19/50
    See the methodology and all 19 modelsOpen source: legal-ai-model-router - OpenRouter for legal work: vendor-neutral, benchmark-grounded skills that route each legal task to the right LLM. AGPL-3.0
    FileMessageInsertText3 attachments cleaned of metadata.SendToCcDocs for your review3 CleanedCleanedCleanedCleanedAll attachments cleaned. Safe to send.Insert Attachment List
    Board Meeting SummaryDoc 3 / 10MPerson NameFound 102 instances in 10documents across the case102matched instancesPersonal DataDetectedNames, emails and IDs foundacross the document set.Redact70%
    Compare enforcement of arbitral awardsandFinished in 14 stepsMEMOEnforcement of Arbitral Awards3 sources · 6 citations
    Connected Intelligence
    LumenDashboardContactsCasesTimecardsDebriefingsRevenueReportingAdminDashboardSearch…Good afternoonPersonalBusinessRealisation96.2%▲ +0.3%Utilisation97.3%▼ -1.1%Billable hrs66 234▼ -5.3%Revenue202220232024JFMAMJJASONDPaymentsOverdue (8)-88,340Gibson Investments#526589Prestige Worldwide#105986Oscorp Industries#447120Billable timevs target / week45.3%12.7h28h
    Summarize Document with ConditionsFile uploadOutputfile_uploadPromptOutputmodel_responseConditionalOutputbranchIf matchElse