Skip to content
Projets

À propos

Concevez, réalisez et analysez les résultats d’enquêtes et d’expériences basées sur l’IA. Simulez des études en sciences sociales et des études de marché avec un grand nombre d’agents IA et de LLM.

IA et apprentissage automatique

Comment ces chiffres sont mesurés

What you can do

  • Design a questionnaire - Mix rankings, matrices, budget allocations, scales, and open text. Branch on an answer, quote it in a later question, or ask a follow-up about each item someone lists. Question catalog · Survey logic
  • Run a controlled experiment - Cross two versions of a message with the same personas and models. Compare ratings by wording, respondent profile, and model while holding the other inputs fixed. Experimental conditions
  • Compare AI models - Ask hundreds of models the same questions with one Expected Parrot key, use your own provider keys, or connect a local model server. Compare which records the models disagree on. Model access · Model comparisons
  • Field the same study with people - Send a URL or email invitations, or recruit through Prolific with eligibility filters and a cost estimate. Retrieve responses for analysis alongside the simulations. Human studies · Prolific

Progression mesurée des étoiles

in 24h
0
in 7 days
+1
in 15 days
+2
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

EDSL

PyPI version MIT license Y Combinator F25 Expected Parrot cache entry count

Expected Parrot’s EDSL is an MIT-licensed Python library for surveys and simulations. You describe a study in natural language, and your coding agent uses EDSL to write and run it. The study design lives in code, so you can inspect it, ask the agent to change it, and run it again.

E[🦜] Full EDSL documentation · Academic papers using or citing EDSL

The best way to use EDSL is with your coding agent

Choose your agent and paste its setup prompt into the chat. Once EDSL is ready, describe the study you want to run. For example, “Make a three-question survey about coffee habits and show it here in the chat.”

Need help?

Codex

Paste into Codex:

Run `ep skills show edsl-harness` and follow its guidance. If the command or skill is missing, use https://raw.githubusercontent.com/expectedparrot/edsl/feat/edsl-harness-guidance/harnesses/README.md to set up EDSL for Codex.

Need Codex first? Run this in your project terminal.

curl -fsSL https://raw.githubusercontent.com/expectedparrot/edsl/feat/edsl-harness-guidance/harnesses/install.sh | bash -s -- codex --launch
Claude Code

Paste into Claude Code:

Run `ep skills show edsl-harness` and follow its guidance. If the command or skill is missing, use https://raw.githubusercontent.com/expectedparrot/edsl/feat/edsl-harness-guidance/harnesses/README.md to set up EDSL for Claude Code.

Need Claude Code first? Run this in your project terminal.

curl -fsSL https://raw.githubusercontent.com/expectedparrot/edsl/feat/edsl-harness-guidance/harnesses/install.sh | bash -s -- claude-code --launch
GitHub Copilot CLI

Paste into GitHub Copilot CLI:

Run `ep skills show edsl-harness` and follow its guidance. If the command or skill is missing, use https://raw.githubusercontent.com/expectedparrot/edsl/feat/edsl-harness-guidance/harnesses/README.md to set up EDSL for GitHub Copilot CLI.

Need GitHub Copilot CLI first? Run this in your project terminal.

curl -fsSL https://raw.githubusercontent.com/expectedparrot/edsl/feat/edsl-harness-guidance/harnesses/install.sh | bash -s -- copilot --launch
Cursor

Paste into Cursor:

Run `ep skills show edsl-harness` and follow its guidance. If the command or skill is missing, use https://raw.githubusercontent.com/expectedparrot/edsl/feat/edsl-harness-guidance/harnesses/README.md to set up EDSL for Cursor.

To install and launch Cursor Agent in your terminal, run this command.

curl -fsSL https://raw.githubusercontent.com/expectedparrot/edsl/feat/edsl-harness-guidance/harnesses/install.sh | bash -s -- cursor --launch
OpenCode

Paste into OpenCode:

Run `ep skills show edsl-harness` and follow its guidance. If the command or skill is missing, use https://raw.githubusercontent.com/expectedparrot/edsl/feat/edsl-harness-guidance/harnesses/README.md to set up EDSL for OpenCode.

Need OpenCode first? Run this in your project terminal.

curl -fsSL https://raw.githubusercontent.com/expectedparrot/edsl/feat/edsl-harness-guidance/harnesses/install.sh | bash -s -- opencode --launch
Pi

Paste into Pi:

Run `ep skills show edsl-harness` and follow its guidance. If the command or skill is missing, use https://raw.githubusercontent.com/expectedparrot/edsl/feat/edsl-harness-guidance/harnesses/README.md to set up EDSL for Pi.

Need Pi first? Run this in your project terminal.

curl -fsSL https://raw.githubusercontent.com/expectedparrot/edsl/feat/edsl-harness-guidance/harnesses/install.sh | bash -s -- pi --launch
Google Antigravity CLI

Paste into Google Antigravity CLI:

Run `ep skills show edsl-harness` and follow its guidance. If the command or skill is missing, use https://raw.githubusercontent.com/expectedparrot/edsl/feat/edsl-harness-guidance/harnesses/README.md to set up EDSL for Google Antigravity CLI.

Need Google Antigravity CLI first? Run this in your project terminal.

curl -fsSL https://raw.githubusercontent.com/expectedparrot/edsl/feat/edsl-harness-guidance/harnesses/install.sh | bash -s -- antigravity --launch
Vercel fx

Paste into Vercel fx:

Run `ep skills show edsl-harness` and follow its guidance. If the command or skill is missing, use https://raw.githubusercontent.com/expectedparrot/edsl/feat/edsl-harness-guidance/harnesses/README.md to set up EDSL for Vercel fx.

Need Vercel fx first? Run this in your project terminal.

curl -fsSL https://raw.githubusercontent.com/expectedparrot/edsl/feat/edsl-harness-guidance/harnesses/install.sh | bash -s -- fx --launch
Meta Muse Code

Paste into Meta Muse Code:

Run `ep skills show edsl-harness` and follow its guidance. If the command or skill is missing, use https://raw.githubusercontent.com/expectedparrot/edsl/feat/edsl-harness-guidance/harnesses/README.md to set up EDSL for Meta Muse Code.

Need Meta Muse Code first? Run this in your project terminal.

curl -fsSL https://raw.githubusercontent.com/expectedparrot/edsl/feat/edsl-harness-guidance/harnesses/install.sh | bash -s -- muse --launch
Mistral Vibe

Paste into Mistral Vibe:

Run `ep skills show edsl-harness` and follow its guidance. If the command or skill is missing, use https://raw.githubusercontent.com/expectedparrot/edsl/feat/edsl-harness-guidance/harnesses/README.md to set up EDSL for Mistral Vibe.

Need Mistral Vibe first? Run this in your project terminal.

curl -fsSL https://raw.githubusercontent.com/expectedparrot/edsl/feat/edsl-harness-guidance/harnesses/install.sh | bash -s -- vibe --launch

The installer sets up EDSL once for use across your projects. Setup options · Amp, Kiro CLI, and Cline setup

Build and Edit Surveys

Ask your coding agent to make a coffee survey, then tell it to skip the brew question for people who don’t drink coffee. The updated questionnaire shows exactly where a “No” answer leads.

Pi builds a three-question coffee survey and previews the skip rule beside the No answer and the brew question.

Run with LLM-Simulated Personas

One Expected Parrot E[🦜] API key gives you access to models from OpenAI, Anthropic, and Google through hosted inference. Here, each model answers the same survey as a night-shift nurse, a barista, and a tea drinker. Compare all nine interviews in one results table.

Pi creates three fictional personas and compares their coffee survey answers across three model providers.

Collect Responses from Real People

Send the same survey to people by link or email invitation. This demo follows one test response from the browser form to the answers saved in EDSL Results.

Pi creates a respondent link, a browser submits the coffee survey, and Pi retrieves the three answers.

Key features

What you want to do What EDSL lets you do
Design a questionnaire Mix rankings, matrices, budget allocations, scales, and open text. Branch on an answer, quote it in a later question, or ask a follow-up about each item someone lists. Question catalog · Survey logic
Run a controlled experiment Cross two versions of a message with the same personas and models. Compare ratings by wording, respondent profile, and model while holding the other inputs fixed. Experimental conditions
Compare AI models Ask hundreds of models the same questions with one Expected Parrot key, use your own provider keys, or connect a local model server. Compare which records the models disagree on. Model access · Model comparisons
Field the same study with people Send a URL or email invitations, or recruit through Prolific with eligibility filters and a cost estimate. Retrieve responses for analysis alongside the simulations. Human studies · Prolific
Conduct qualitative interviews Put an AI-led interview next to a rating question. Have the interviewer probe the reason for the rating and retain the conversation transcript with the structured answers. Interview guide
Label data and check agreement Apply a codebook to documents, images, or spreadsheet rows. Give people the same labeling task, match answers by record ID, and inspect where people and models disagree. Data labeling · Human validation
Trace and analyze answers Inspect the prompt, model, persona, and scenario behind an answer. Query results with SQL, take selected columns into pandas, or export a CSV. Results guide
Rerun and share a study Reuse cached model responses, save the survey and its inputs as a job, and share it so a collaborator can rerun the same design. Caching · Saving and sharing
More study designs and tools
What you want to do What EDSL lets you do
Test for order effects In simulated interviews, shuffle choices while keeping “Other” last, reverse a rating scale, or draw questions from a pool. The results record what each interview received. Randomization guide
Pilot an instrument Ask models to flag ambiguous wording before fielding a survey, or try two labeling instructions on identical records and see which answers change. Survey pretesting · Prompt sensitivity
Elicit population forecasts Turn a questionnaire into a meta-survey. Describe a population and ask models to predict the share that would choose each option, then compare those forecasts with observed responses. Meta-surveys
Score many items against a rubric Batch choice and rating questions about the same material with a supported judgment model. Inspect the probability it assigned to each option alongside its selected answer. Evaluations
Study how models use tools Give a supported model web search in a direct provider run. Inspect the search events and citations returned by the provider alongside the answer. Provider tools
Manage larger runs Estimate cost before launching, submit a background job, close the notebook, and retrieve the results when it finishes. Costs · Background jobs
Coordinate participants across stages (experimental) Have several participants propose ideas independently, then give a reviewer their proposals to choose from. Assign steps to people, models, or scripted respondents. Respondent workflows
Simulate markets or enforce quotas (experimental) Let interviews read and update shared state. Reserve the last place in a survey group or collect bids and determine who wins a second-price auction. Survey quotas · Auction example

For Python setup and a worked example, see the installation guide and first survey tutorial.

Explorer des projets similaires

Chargement…