Site Logo
All articles
Commentary on News

Scale Live LLMs in Surveys: In-survey LLM deployment

Evidano7 min read

Researchers running human-AI interaction studies face a choice between small, controlled lab deployments and larger, less-ecological surveys. The primary keyword for this post is in-survey LLM deployment, meaning the practice of embedding live large-language models in web survey platforms for naturalistic, loggable participant interactions. According to the July 31, 2026 PLOS One article by Banks et al., DiSCoKit is an "open-source toolkit for deploying live LLM experiences" that bridges survey platforms and LLM services to capture full conversation logs and to permit behavior control by experimental condition. This post explains what DiSCoKit does, gives concrete numbers and dates from the study, and shows how AI-enabled qualitative research platforms can ingest and analyze those chat logs for thematic and cross-segment insights.

Key Takeaways

According to the July 31, 2026 PLOS One article by Banks et al. (PLOS One), DiSCoKit is an open-source middleware toolkit that lets researchers embed live LLM chat interfaces into JavaScript-enabled survey platforms, persistently log every conversational turn, and toggle system prompts by experimental condition.

  • DiSCoKit was published on July 31, 2026 and the paper reports the toolkit as "a low-barrier, low-cost, scalable, customizable toolkit" (Banks et al., PLOS One).
  • In a deployment reported in July 2026, Banks et al. ran 15 pilot sessions and 218 formal sessions, with the AI maintaining the researcher-specified error behavior in all but 16 of the 218 formal sessions.
  • DiSCoKit’s template uses a Linux server running Python 3.12 and an Azure-hosted stateless LLM endpoint by default, and the authors recommend at least 15 trials per experimental condition to test prompt variability.
  • The DiSCoKit code and documentation are available on GitHub, according to the PLOS One data availability statement at GitHub.

What happened and how DiSCoKit works

Answer: DiSCoKit gives survey researchers a three-part architecture to deliver live LLM chat in a survey page, control prompts by condition, and log every turn for downstream analysis.

According to the July 31, 2026 PLOS One article by Banks et al., DiSCoKit comprises: (1) JavaScript embedded in the survey platform that creates the chat iframe, (2) a Flask-based middleware app that brokers prompts, calls to an LLM, and augmentation logic, and (3) a database that records each message with participant ID, experimental condition, and timestamp.

According to the July 31, 2026 PLOS One article by Banks et al., the middleware can switch system prompts mid-conversation because the template targets stateless Azure serverless LLM endpoints, enabling researchers to toggle AI behavior on page advances or by condition.

According to the July 31, 2026 PLOS One article by Banks et al., the toolkit was designed to run on a Linux server or Docker environment with Python 3.12 and can be adapted to other LLM providers and databases (the authors moved from SQLite to recommending PostgreSQL for high-concurrency studies).

Findings snapshot

DateMetricValueImplication
July 31, 2026PublicationPLOS OneFull toolkit description, code link, and results
February 13, 2026 → July 14, 2026Manuscript timelineReceived Feb 13, 2026; Accepted July 14, 2026Peer-reviewed development and vetting
Pilot reported in paperPilot sessions15 pilot sessionsUsed to tune model speed and prompts
Formal deploymentFormal sessions218 sessionsLarge-sample online deployment demonstrated
Formal deploymentFailure rate16 sessions where target behavior did not holdIndicates prompt variability, need for testing
Pilot adjustmentModel swapSwitched from ChatGPT-5mini to ChatGPT-4oImproved response speed and task fit
Technical templateServer environmentLinux/Python 3.12; Azure serverless LLMs; Qualtrics JSStandard institutional IT resources suffice

Implications for researchers running human-AI studies

Answer: DiSCoKit reduces the trade-off between sample size and ecological validity by enabling live, loggable LLM interactions in web surveys.

According to the July 31, 2026 PLOS One article by Banks et al., researchers can keep the low cost and reach of online surveys while capturing actual interaction behavior instead of relying solely on self-report.

According to the July 31, 2026 PLOS One article by Banks et al., teams should budget for prompt development and testing: the authors recommend at least 15 trials per condition to identify generation variability and to validate that system prompts reliably produce the intended behavior.

According to the July 31, 2026 PLOS One article by Banks et al., privacy and security choices matter: the authors used university-licensed Qualtrics and Azure enterprise licenses to ensure data governance and advised consulting institutional IT for API keys and server configurations.

How Evidano helps

Evidano: what the platform is and why it matters

Evidano is an AI-powered qualitative data analysis platform that helps researchers analyze interviews, open-ended surveys, and documents.

Evidano ingests chat logs, transcripts, and CSV exports to generate thematic, content frequency, and cross-segment analyses that accelerate synthesis of conversational data captured by tools like DiSCoKit.

Problem: Full-conversation logs are large and noisy → Solution: Thematic + frequency analysis

Answer: Evidano automates coding and frequency summaries so researchers can rapidly surface recurring themes across hundreds of chat sessions.

Researchers using DiSCoKit can export CSVs of each message by timestamp and condition, then upload those CSVs into Evidano to produce code hierarchies, word co-occurrence networks, and counts by experimental condition for mixed-methods reports.

For teams interested in capabilities, see the platform feature overview at Evidano features.

Problem: Spoken or mixed-media responses and PII → Solution: Transcription, redaction, and translation

Answer: Evidano offers transcription with PII redaction and translation with custom dictionaries, enabling safe reuse of conversational data for analysis.

When DiSCoKit conversations include spoken responses or multilingual content, researchers can run Evidano’s transcription and translation pipelines to produce normalized text ready for thematic coding.

Problem: Iterative prompt testing and condition comparisons → Solution: Cross-segment analysis and AI chat over documents

Answer: Evidano lets researchers compare themes across DiSCoKit experimental conditions and chat timestamps, and to ask the platform questions about the dataset.

Researchers can upload the DiSCoKit conversation CSVs and use Evidano’s AI chat to query, for example, the frequency of a specific error across conditions, or to extract illustrative quotes for each condition without manual reading of all sessions.

FAQ: in-survey LLM deployment

How does DiSCoKit capture and link chat transcripts to survey responses?

Answer: DiSCoKit captures every conversational turn and links each message to the survey session ID and experimental condition.

According to the July 31, 2026 PLOS One article by Banks et al., the middleware writes each turn to a database with participant ID, condition, and timestamp so researchers can join chat logs to survey answers using that ID.

How can researchers control or vary AI behavior across conditions?

Answer: Researchers control AI behavior by encoding system prompts and by triggering new prompts on page advances or condition assignments.

According to the July 31, 2026 PLOS One article by Banks et al., DiSCoKit layers system prompts and can inject a new prompt mid-interaction because the Azure serverless endpoints are stateless, enabling prompt swaps that change model demeanor during a session.

What privacy and security steps should teams take when deploying DiSCoKit?

Answer: Teams should use institutional licenses, enterprise LLM contracts that prevent model training on user data, and server-side secret management.

According to the July 31, 2026 PLOS One article by Banks et al., the authors used university-licensed Qualtrics and Azure enterprise licenses and recommend consulting institutional IT to store API keys and database credentials securely, and to assess re-identification risk in logged chat content.

Can non-technical research teams deploy DiSCoKit?

Answer: Non-technical teams can deploy DiSCoKit with support from typical university IT resources.

According to the July 31, 2026 PLOS One article by Banks et al., the toolkit was designed to be accessible to teams with minimal development resources, requiring a Linux/Docker host, Python 3.12, and standard survey platform scripting ability; the GitHub repository contains templates and documentation to guide implementation.

Conclusion & Next Steps

DiSCoKit, according to Banks et al. in PLOS One (published July 31, 2026), offers researchers a pragmatic path for in-survey LLM deployment: embed a chat iframe, broker prompts with middleware, and log every turn for analysis.

Banks et al. describe the toolkit as "an open-source toolkit for deploying live LLM experiences" and as "a low-barrier, low-cost, scalable, customizable toolkit" that supports experimental manipulations and full conversation capture.

If you plan to run in-survey LLM experiments, export DiSCoKit chat logs and run them through an AI-enabled qualitative analysis workflow to generate themes, cross-condition comparisons, and representative quotes faster.

To explore how to ingest and analyze DiSCoKit exports, see Evidano features and when you are ready, Try Evidano for free.

Company
About
Newsletter

Product updates, research, and tips — straight to your inbox.

© Evidano, All Rights Reserved.