Welcome to psyflow¶
psyflow is a modular framework for building cognitive and behavioral tasks using PsychoPy and Python code.

Features¶
Modular classes for each experiment phase (GUI, stimuli, trials, blocks)
Declarative configuration with lifecycle hooks
Audio support including text-to-speech and hardware triggers
LLM integration and CLI scaffolding tools
Start with one of the tutorials below or explore the API reference.
Tutorials
- Getting Started with PsyFlow
- SubInfo: Collecting Participant Information
- TaskSettings: Configuring Your Experiment
- BlockUnit: Managing Trials
- StimBank: Flexible Stimulus Management
- StimUnit: Modular Stimulus & Response Handler
- TriggerSender: Sending Hardware Triggers
- psyflow-init: Command-Line Interface
- Utility Functions
- LLMClient: Using Large Language Models