Examples

Ready-to-use experiment templates. Click "Try it" to run the live demo.

Hello World

The simplest experiment: one question, one button.

Mermaid

Render a diagram from a mermaid fence in a Text component.

Survey

Multi-page survey with different question types.

Randomization

Randomly assign participants to conditions using onEnter hooks.

AI Chat

One-on-one conversation with an AI agent.

Multi-Chat

Share or isolate chat history across pages using groupId.

Team Decision

Match 2 participants and let them chat together.

Fruit Split

Pair 2 participants and give each a different role with distribute: true. One gets apples, the other oranges. Open it in two tabs to play both partners.

AI Mediation

Two participants chat with an AI facilitator observing and guiding.

Workspace

AI-assisted document editing with a split-panel layout.

HTML

Custom slider UI uploaded with the config and shown in a locked-down frame.

Split Layout

Negotiate with an AI dealer while the car listing stays on screen beside the chat.

Timer

Countdown timer with warning state and auto-navigation on expiry.

Agent Triggers

Control when and whether agents reply using trigger and replyCondition.

Conditional Agent

Adapt agent prompts based on survey answers using conditional prompts.

Component Events

Track custom analytics events on user interactions.