PAIR-code / PAIR-code/deliberate-lab

Include color and ID information for participants in LLM chat prompts

Open
#750 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

We observed a scenario where there were two "Otter"s in a chat - the mediator only sees “Otter:” in the conversation, thinking there's just one.

For agents, add the color e.g. “Green Otter / Red Otter” in the prompt (or some other descriptor). Make clear these are human participants with random animal aliases. However, when they refer to them, only refer to them as Otter (?) or decide how to deal with this?

Bonus: Add color in the name on hover in the UI for humans for accessibility reasons

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.

Research direction

Trace how participant names are assembled for LLM chat prompts and how human participant names are rendered in the UI; the payload does not identify specific files or tests. Done means prompts distinguish participants with the same animal alias, explain that aliases represent humans, and the UI exposes color on hover if the bonus is included.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
accessibility, ai, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.