Data/GitHub/Framework

edsl

by expectedparrot·Last observed 2026-10-27
★ 510 stars⑂ 89 forks

EDSL is a Python framework for computational social science and market research. It lets researchers define surveys and experiments, run them across AI agents and language models, and work with results as specified datasets with analysis, visualization, and collaboration tools. Its workflow supports scenarios, branching survey logic, and cached outputs that can be shared for reproduction.

Useful for

  • Pre-test a survey by asking AI personas such as a botanist and a detective to answer a list question, then inspect the responses by persona.

Key features

  • Runs surveys across multiple models and compares their responses through a shared interface.
  • Supports scenario-parameterized questions and survey piping with skip or stop rules.
  • Caches model calls and stores remotely run results with prompts and timestamps for retrieval and reproduction.

Requirements & limitations

  • Install the package with pip; running surveys through the Expected Parrot server requires an account, and language-model access requires either user-provided keys or an Expected Parrot key.
  • AI persona responses reflect language-model training patterns, not the actual views of demographic groups; validate with human data when measuring real attitudes or behavior.

Project information

CategoryData
TypeFramework
Author / organizationexpectedparrot
LicenseMIT
Last observed2026-10-27

Discussion

No comments yet.

Sign in with Google to comment. Browsing is open to everyone.

Community vote