QUAILS logo

Built for Rigorous Qualitative Research

QUAILS is a free, open-source desktop application that helps researchers apply AI assistance to qualitative text analysis that runs systematically, transparently, and entirely on their own computer.

QUAILS: Qualitative AI Labeling Support

QUAILS (Qualitative AI Labeling Support) is an app that runs on your own computer for automating thematic text analysis in qualitative research. It uses large language models (LLMs) for inference that can be run either locally on your own computer for free (via a free software called Ollama), or through cloud providers like OpenAI, Anthropic, and Google Gemini.

QUAILS provides a visual flow editor for designing multi-round qualitative coding analysis workflows and enforces human review checkpoints between analysis rounds, keeping researchers in control of the analytical process at every stage.

QUAILS was designed for qualitative researchers who work with large text-based datasets like piles of interview transcripts, open-ended survey responses, field notes, policy documents, social media posts, or any other corpus where manual review at scale is a bottleneck and is challenging to conduct and time consuming, even with a large team. It helps researchers get those large-scale analyses done that would otherwise be impossible! 

At a Glance
  • Free and open source (MIT License)
  • Runs entirely on your own computer with an AI that you run on your own computer at no cost
  • No cloud account or subscription required (with Ollama)
  • Works with all kinds of text-based documents: PDFs, Word docs, CSVs, plain text, HTML, and more
  • Three analysis modes: open coding, rubric scoring, and theme identification
  • Built-in human-LLM alignment testing with Cohen's Kappa and percent alignment
  • Full prompt customization. You control exactly what the AI sees and how it approaches analysis tasks
  • Receive a confidence score on every label/code decision on the likelihood of accuracy from the LLM's analysis
  • Resumable analysis: stop and continue at any point

Large Data Sets. Limited Time.

Qualitative researchers increasingly face data corpora that are too large for traditional manual coding, even with large teams at their disposal. This can be hundreds of transcripts, thousands of survey responses, or entire policy archives. QUAILS does not replace the human in the qualitative research process or the ability of humans to interpret meaning. Instead, it helps researchers tackle large datasets that would never see analysis in the first place. For automated qualitative research tools, the answer is not to abandon rigor and procedure by giving it to an AI and simply trusting its summaries. The solution is instead to apply AI assistance in a way that preserves rigor, replicability, and human centering to prioritize researchers in the process and conduct transparent science.

🤖
Challenge: AI chatbots are not research instruments
General-purpose AI assistants and AI apps built on APIs are designed for general conversation, not systematic analysis and scientific procedures. General AI systems skip units, summarize instead of code or label the text, and will always return different results for identical inputs in different sessions because of how these systems are designed. There's no way around it: you will get a different result each time you run the data. There's no way to measure how well they're applying your coding schema and no certainty that every unit of analysis in your study was systematically evaluated, every single step followed.
📉
Challenge: No confidence, no paper trail, no calibration
When a chatbot labels something, you don't know how certain it was. You can't compare its output against your own judgment at scale. You can't quantify agreement. You can't iterate your prompts with any measurable feedback. General AI systems do not give you a readout of its "receipts" on how statistically confident the system was in assigning a code or label to qualitative data. Instead, generic AI systems require you to just trust them without any paper trail to back up the system's reasoning.
🔓
Challenge: Data leaves your hands
Most AI tools require you to upload your data to someone else's server. Even if an AI app says it protects data, if data transfer across the internet, it is not certain how many companies or computers have seen the data. For research involving human subjects, that raises serious questions about consent, confidentiality, IRB compliance, and legal obligations under HIPAA, FERPA, or GDPR. This could be against the rules of an IRB or even against the law in some cases. Researchers often need to keep complete custody of their data to ensure confidentiality and security.

The AI Assists. The Researcher Decides.

QUAILS is not a replacement for qualitative expertise. It is a tool for extending that expertise to datasets that would otherwise be impractical to analyze rigorously by hand.

Every design decision in QUAILS reflects this philosophy. The alignment testing workflow forces calibration against the researcher's own judgement before full analysis begins. Human Review nodes are automatically inserted between pipeline steps. Confidence thresholds let the researcher decide when the AI's certainty is high enough to trust its output.

The researcher writes the prompts, sets the thresholds, labels the calibration sample, inspects the output, and decides whether to proceed. The AI does the repetitive work at scale, not the interpretive work that requires domain knowledge and theoretical grounding.

🎯
Calibrate before you run

The Alignment tab enforces a calibration step before full analysis. You human-label a random sample, compare these results against the AI with Cohen's Kappa or percent alignment, refine prompts, and repeat until agreement is acceptable.

🔍
Confidence on every decision

Every label carries a 0–100% confidence score derived from actual system token log-probabilities, or the statistical probabilities that a specific word will be chosen. Set your own thresholds to flag uncertain decisions for your own review.

📋
Full audit trail, fully explainable

Every analysis output includes the label, confidence score, and AI reasoning for every unit. It doesn't just provide the final decision, but also an explanation of why the system made it. That transparency runs through the entire data flow pipeline: every prompt, model setting, human-review decision, and pipeline change is recorded and traceable from raw input to final code. These are the receipts behind explainable AI. We designed a system you can inspect, defend, and reproduce, and not just one you're asked to simply trust.

The researcher has the final word

Human review isn't just a cliche with QUAILS. It's the default the analysis pipeline is built around. At every step, the researcher can accept, edit, or reject any AI decision, have items flagged for closer reading, or send a round back for re-analysis with revised prompts. Nothing becomes part of the final dataset without a human person actively approving it: the AI proposes, the researcher decides.

🔢
Certainty that every unit was analyzed

Paste a dataset into a chatbot and you can't be sure every row gets a response. General-purpose LLMs summarize, skip, or merge units when a conversation runs long (or even just a few tokens long), with no log to check against. QUAILS systematically processes every unit you define, be it a sentence, a response in a chain of dialogue, paragraphs, or a whole document. Each unit of analysis (whatever you choose) is its own isolated interaction with the AI and the system accounts for each unit individually in the results table that can be traced back to the source document. This guarantee of complete, systematic coverage isn't something a frontier chatbot interface can offer, because it isn't built to run a procedure: it's only built to hold a conversation.

Designed for Replicability

The technical choices inside QUAILS are not arbitrary: each one serves the goal of producing analysis results that are consistent, defensible, and reproducible.

🌡️
Temperature = 0 by default

The system defaults the temperature parameter to 0, meaning the LLM always picks the highest-probability token. Combined with a fixed random seed parameter, this makes analysis fully deterministic (i.e., it will be the same every single time the same analysis is run). Running the same pipeline on the same corpus will return identical results, which is critical for replicable science. It also makes it so another researcher can run the exact same QUAILS configuration on the data and produce the same results.

🧮
Logprob-based confidence scoring

Confidence scores are derived from actual token log-probabilities (i.e., the statistics on what token/label is selected). Most systems simply ask the AI "how confident are you?", which produces unreliable self-reports that have no way of verifying the output. The formula e^logprob × 100 converts the model's actual output probability into a 0–100% score for easy human review.

🚫
Thinking mode disabled

Reasoning-capable models like DeepSeek-R1, Qwen3, and QwQ emit internal "thinking" tokens before their final answer. QUAILS disables this at the API level and strips residual thinking tokens from all responses. This ensures logprob scores reflect only the answer tokens, not the model's internal deliberation, and keeps responses grounded purely in the instructions you write.

🔄
Per-unit isolation

Each text unit is analyzed in a fresh, independent call. No conversation history from a previous unit influences the next one, keeping the analysis engine clear and not dependent on prior information it receives, which could corrupt the computational results from the AI if this was present. The system truly evaluates one unit of text at a time, be it a sentence, paragraph, or whole document (you choose!) The only cross-unit information that flows between units is the explicit context window setting, and only when you configure it above zero.

No Data to the Developer. Ever.

QUAILS runs entirely on your own computer and has no connection to its developers. The application cannot call home. Your documents, prompts, labels, and results stay on your machine.

Using Ollama (Local)

All AI inference runs on your local hardware. No data ever leaves your machine. No internet connection is required for analysis once a model is downloaded. Your documents, results, API configurations, and API keys remain entirely private on your computer. This is the recommended mode for any data involving human research participants.

Using Cloud Providers

When you configure and use OpenAI, Anthropic, Google Gemini, or Azure OpenAI, your document text is sent to that provider's servers for processing. This is subject to each provider's data retention and usage policies. Before using cloud providers with research data, consider your obligations under IRB requirements, HIPAA, FERPA, GDPR, and any other applicable regulations. You are solely liable for any data sharing that occurs through third-party providers configured in this application.

Crash Reports & Suggestions

Anonymous crash reports and user suggestions can be submitted to the developer, but only with your explicit, per-event opt-in. These reports contain only the error message, OS type, browser version, and app version. No project data, document text, prompts, labels, API keys, or personal information is ever included.

Supported by NAIRR

QUAILS was developed with the support of U.S. federal research infrastructure and AI resources made available to the research community.

🏛️
National Artificial Intelligence Research Resource (NAIRR) Pilot
Grant #NAIRR240415 · NAIRR Pilot and OpenAI

This project was made possible in part by access to computational resources and AI infrastructure through the NAIRR Pilot, a national initiative to democratize access to AI research tools across the United States.

About the Author

QUAILS was designed and built out of the TRAILblazer Lab, a research group at the University of Illinois Chicago investigating the crossroads of AI- and simulation-based technologies for teaching and learning. 

Dr. Jeremy Riel

Principal Investigator & QUAILS Author/Lead Designer
Director, TRAILblazer Lab

jeremyriel.com  ·  trailblazerlab.org  ·  GitHub

Project Team

💬
Have a suggestion, found a bug, or want to contribute? Open an issue or pull request on GitHub. QUAILS is MIT-licensed and open to contributions.

Ready to Try It?

QUAILS is free, open-source, and runs entirely on your own machine. Download it and run your first analysis today.

Download QUAILS Free Read the Docs