Axiqual Prompt Quality Engine Documentation
Axiqual runs a rule engine in your browser to check AI prompt quality. You get a clear quality score for each prompt instead of guessing if it is good enough.
The engine runs in your browser. No prompt data leaves your machine. This makes it safe for private workflows in healthcare, finance, and legal AI apps.
This guide covers scoring rules, diagnostic checks, API integration, and common fixes.
How It Works
The Quality Engine checks prompt text across six areas. Each area has pass/fail rules that look at specific prompt traits. The engine returns scores for each area and an overall rating.
The evaluation pipeline follows three stages:
The engine reads the prompt and looks for key parts: role definitions, instruction blocks, and output format clues.
Each dimension runs its set of deterministic rules. For example, the Security dimension checks for prompt injection patterns and jailbreak attempts.
Dimension scores are weighted and combined into an overall score. A detailed report with pass/fail findings is generated for review.
Quick Start
You can start checking prompts immediately without signup or API keys. Here are a few example prompts to try:
> Translate the following to French: Hello world
> System: You are an expert coder. User: Write a function
Steps to run your first analysis:
- Navigate to the Prompt Checker page.
- Paste your prompt template into the input area.
- Click Analyze to run the Quality Engine.
- Review the six-dimension score breakdown and individual pass/fail findings.
- Use the fix checklist to address flagged issues.
Scoring Rubric
Each area scores from 0 to 100 based on how many rules pass. The overall score uses weighted averages:
0.15 × Memory & State +
0.20 × Context Grounding +
0.25 × Trust & Accuracy +
0.10 × PII & Privacy +
0.10 × Security & Safety
Score interpretation:
- 90-100 — Excellent: Production-ready prompt
- 70-89 — Good: Minor improvements recommended
- 50-69 — Fair: Structural or safety issues need attention
- 0-49 — Poor: Significant risks detected
Prompt Structure
Evaluates whether the prompt follows engineering best practices for formatting, role definition, task clarity, and constraints.
Memory & State
Verifies that the prompt properly manages conversation context, history, and session state.
Context Grounding
Assesses how well the prompt grounds the model with reference materials, data sources, and domain context.
Trust & Accuracy
Flags hallucination risks, factual accuracy issues, and consistency problems in the prompt design.
PII & Privacy
Detects personally identifiable information exposure risks and data leakage vectors in prompts.
Security & Safety
Scans for prompt injection, jailbreak attempts, system instruction leaks, and output boundary violations.
REST API Reference
The Axiqual REST API allows you to programmatically analyze prompts. Authentication is via bearer token.
Generate API keys in your .
CLI Tool
Use the Axiqual CLI to check prompts directly from your terminal. Install via npm:
The --ci flag exits with a non-zero code on failing prompts, suitable for CI/CD pipelines.
GitHub Actions
Add prompt quality checks to your pull request workflow. Create .github/workflows/prompt-check.yml:
SDK Reference
Integrate the Quality Engine directly into your Node.js or TypeScript application:
Troubleshooting
Ensure your prompt contains at least 10 characters. Very short prompts may not trigger any rules. Try adding a clear role definition and task description.
The AI Auditor requires an LLM provider API key (OpenAI, Anthropic, etc.) configured in Settings. The Prompt Checker works without any keys.
The React component hydrates after page load. Reserve a fixed height container around the workspace to prevent layout shift during hydration.
All processing happens locally in your browser. No data is sent to external servers. For the AI Auditor, prompts are sent to the LLM provider you configure.