A group-chat persona agent learns from corrections, reactions, and saved preference pairs

Xiaole-Dawn · reddit · 2026-07-25

A persona chat agent that learns from its own replies and feedback

The author was frustrated that persona bots gradually drifted back into sounding like customer support, even after careful prompting.

To fix that, they built a group-chat agent that learns from what happens after it responds:

The tricky part is feedback quality. People joke, disagree, and use reactions inconsistently, so the system adds an adjudication layer that checks directed reactions, who sent the feedback, and whether the correction actually makes sense before storing anything.

No fine-tuning is involved. Instead, the agent stores examples and preference pairs, then retrieves them as few-shot context in later conversations. Updates take effect immediately.

The repo also includes a terminal demo so the whole persona pipeline can be tried without setting up QQ/Discord.

Repo: wangkant/personagent

Original post →

More from coding & agent

coding & agent channel →