Skip to main content

Install

The SDK requires Python 3.9 or later.

Set your API key

Create an API key on the settings page of the Deutero dashboard, then export it:
Deutero() reads it from the environment. See Authentication for other options.

Run a study end to end

1

Create a project and a study

Studies live inside projects. A new study starts as a draft with an empty question list.
2

Write the welcome message and questions

The welcome message is the first thing participants read. Questions can be free text, scales, choices and more.
Rather write nothing by hand? client.questions.generate(study.id, n_questions=8) writes questions from the study’s research question and population.
3

Rehearse with an AI participant

Simulations run the real interview against an AI persona, so you can read a transcript before recruiting anyone.
4

Publish and share the link

Publishing validates the study, checks your credits and plan, and opens it to participants.
5

Monitor responses

Next steps

Study lifecycle

Drafting with AI, validation, publishing and pausing.

Analyze responses

Transcripts, search and thematic clustering.