Skip to main content

Thin umbrella package for the CMU Design Research Collective ecosystem

Project description

design-research

CI Coverage Examples Passing Public API In Examples Docs

[!IMPORTANT] Current monthly release: Compass Course - May 2026
Due: June 8, 2026
Tracks: May 2026 work

design-research is the umbrella entry-point package in the cmudrc design research ecosystem.

It provides a thin, submodule-first namespace over the ecosystem's specialized component libraries.

Overview

This package focuses on discoverability and coherence rather than reimplementation:

  • Submodule-first top-level API: problems, agents, experiments, analysis
  • Wrapper submodules that mirror each sibling library's public API by default
  • Shared ecosystem framing and philosophy in one canonical package
  • Lightweight wrapper design that preserves modular versioning boundaries

Quickstart

Requires Python 3.12+. Maintainer workflows target Python 3.12 (.python-version).

python -m venv .venv
source .venv/bin/activate
make dev
make test
python examples/canonical_artifact_flow.py
python -m pip install "llama-cpp-python[server]" huggingface-hub
make run-example
make examples-test

examples/canonical_artifact_flow.py is the deterministic compatibility smoke path: a packaged problem, public baseline agent, experiment artifacts, and analysis validation through the umbrella namespace.

make run-example is the live walkthrough. It uses a managed llama.cpp client, a workflow-backed strategy comparison, canonical exports, and downstream analysis helpers. The live workflow path now uses the sibling public seams directly: a prompt-built design_research.agents.Workflow, design_research.agents.PromptWorkflowAgent, design_research.agents.SeededRandomBaselineAgent, design_research.experiments.run_study(..., agent_bindings=...), plus design_research.analysis.integration. Install llama-cpp-python[server] first. If you want the client to fetch its default GGUF model automatically, also install huggingface-hub; otherwise set LLAMA_CPP_MODEL to a specific local GGUF file.

make examples-test stays deterministic and offline-first by default. It runs the three non-live recipe-first examples and skips the live walkthrough unless RUN_LIVE_EXAMPLE=1.

Install from PyPI:

pip install design-research

Then start from the umbrella namespace:

import design_research as dr
from design_research import problems, agents, experiments, analysis

problem_ids = problems.list_problems()
problem = problems.get_problem(problem_ids[0])

print(type(problem).__name__)
print(agents.MultiStepAgent)
print(experiments.Study)
print(analysis.validate_unified_table)

The package root intentionally stays small: it exports only __version__ and the four wrapper submodules. Reach the stable user-facing APIs through design_research.problems, design_research.agents, design_research.experiments, and design_research.analysis rather than a flattened root namespace.

Start Here

Choose your entry point based on how much of the ecosystem you need:

  • Start with design-research when you want one stable namespace and one set of docs across problems, agents, experiments, and analysis.
  • Install a sibling package directly when you only need one layer or want package-specific internals; direct sibling use is fully supported.
  • See Compatibility and Start Here for the tested package combination and install guidance.
  • See Canonical Artifact Flow for the deterministic all-layer handoff.
  • See Prompt-Framing Study Walkthrough for the live composed workflow.

Ecosystem Integration

The Design Research Collective maintains a modular ecosystem of libraries for studying human and AI design behavior.

  • design-research-agents implements AI participants, workflows, and tool-using reasoning patterns.
  • design-research-problems provides benchmark design tasks, prompts, grammars, and evaluators.
  • design-research-analysis analyzes the traces, event tables, and outcomes generated during studies.
  • design-research-experiments sits above the stack as the study-design and orchestration layer, defining hypotheses, factors, conditions, replications, and artifact flows across agents, problems, and analysis.

Together these libraries support end-to-end design research pipelines, from study design through execution and interpretation.

Philosophy

The full ecosystem philosophy is documented in the published philosophy page.

Docs

See the published documentation for quickstart, concepts, workflow framing, philosophy, and API reference.

Build docs locally with:

make docs

Public API

The supported top-level public surface is whatever is exported from design_research.__all__.

Top-level exports include:

  • Wrapper submodules: problems, agents, experiments, analysis
  • Package metadata: __version__

Contributing

Contribution workflow and quality gates are documented in CONTRIBUTING.md.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

design_research-0.3.0.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

design_research-0.3.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file design_research-0.3.0.tar.gz.

File metadata

  • Download URL: design_research-0.3.0.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for design_research-0.3.0.tar.gz
Algorithm Hash digest
SHA256 e3f51b2ec0a8af2c09f0de353c063070c0885146fee884503ae2b6a5e15a83bc
MD5 791278d26a0090e806c75bbd899bef94
BLAKE2b-256 c545c32f67b1b258986abbb847e38aaa0176f34940ff6800868e67de32df18a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for design_research-0.3.0.tar.gz:

Publisher: workflow.yml on cmudrc/design-research

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file design_research-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for design_research-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b67dd3710cd8bdb8d029ee6b9792a01aa78346283502d0abdb14b239231f626
MD5 2817982140bb000ddaca07fbbb50d2a4
BLAKE2b-256 c7b4ce185c5e610458ab8d3973c6088756eed769dffb12e349dceeb69106cc0c

See more details on using hashes here.

Provenance

The following attestation bundles were made for design_research-0.3.0-py3-none-any.whl:

Publisher: workflow.yml on cmudrc/design-research

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page