PAIR-code / PAIR-code/deliberate-lab

The Initial Message for Agent Mediators does not appear in Private Chats

Open
#1,202 0 comments 0 reactions 1 assignee View on GitHub

@jimbojw is already working on this.

Since Jul 31, 2026.

Dominant language
TypeScript
Stars
96
Forks
40
Avg merge
2d 11h
Merged PRs (30d)
20

Description

There appears to be a bug with the initial message feature.

In my setup, I created a private chat during the experiment stage and added an agent mediator. To instruct the agent mediator on how to interact with the user, I navigated to the agent’s stage-specific prompt for this private chat and opened the advanced settings. Under "Chat Settings," there is an input field for an "Initial Message," with a description stating this message is sent automatically when the conversation begins.

However, when I act as a study participant (by creating a cohort and joining via the cohort link), the initial message does not appear. I have tested this across multiple experiments, cohorts, and agents, and the issue persists. While the agent correctly follows the system prompt after the user sends the first message, it fails to send the initial message.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.