A Telegram contact, a mail sender and a CRM client are now one person

WireCat joins people with the same first and last name by itself, even when the first name is short, in another alphabet or in another order. How to see such a join, how to undo it and what never joins.

On this page
A dark WireCat card with the word People and 2 → 1 in amber, next to a terminal window with wcat people show output: a person with a Telegram account and a mail address, a merged line and a joined by name only line with the wcat people unmerge command.

If Kate Morgan writes to you in Telegram, sends mail as Katherine Morgan and sits in Bitrix24 as Morgan Katherine, your agent now sees one person, not three. Ask what she wrote this week, and it finds the chat and the mail, with her deal right next to them. WireCat joins people with the same first and last name by itself, and if it joined them by mistake, wcat people show says so, and one command puts things back.

Why there used to be 3 Kates

Every messenger, mailbox and CRM keeps its own card for a person. WireCat joined them by itself only when a mail address or a phone number matched. The same name with no shared phone or address got you almost nothing, at best a proposal in wcat people review that waited for you. And Kate and Katherine counted as different names anyway, so Kate from Telegram and Katherine from mail lived apart.

I saw how much this hurts in a memory benchmark on synthetic data. Mem0 answered questions there that wcat missed, and one of the reasons was people split in two. Of the 53 people whose name was both in Telegram and in mail, wcat had 52 as two different people (the 53rd was the owner of the data, who was one person anyway). In one of the lost questions the mail that held the answer belonged only to the mail half of the person, and the agent simply never saw it.

A month ago I wrote in a chat that a wrong merge is worse than a duplicate, because the agent starts putting other people's words in someone's mouth. After this test I changed my mind. A missed join is no better, you just don't see it. The agent sees half of the conversation and answers confidently, but with half the story. A wrong join at least shows, and you can undo it.

On the same synthetic data the new rule joined all 52 people in one pass (and 132 of 132 on a set 10 times bigger), with no wrong joins. But these sets have no namesakes at all, so the numbers say nothing about them.

What joins and what doesn't

People with the same first and last name join, in one source or across sources, for example a Telegram contact and a mail sender, or two CRM contacts. The order of first and last name doesn't matter, or whether it's Cyrillic or Latin script (Аня Рябова is Anna Ryabova). Short forms count as the full name, Kate as Katherine, Bob as Robert.

Namesakes join too. If you have two different Robert Hills, they first become one person, and you split them by hand. I did this on purpose, which is why a join by name gets a mark and an undo.

These stay apart

  • a first name alone, plain Bob joins no one by name
  • a short form that fits two names, like the Russian Саша (Александр or Александра) and Женя
  • a name with a middle name or a patronymic, Katherine Anne Morgan does not join Katherine Morgan, because every word counts
  • bots, newsletters and companies that WireCat already recognised as a program or a company
  • you
  • a pair you already turned down or split

An undone join does not come back by itself. Keep this in mind if you use Bitrix24, because it gives a contact's name with the patronymic when that field is filled in.

How to see a join and undo it

wcat people show shows a person with all their accounts and puts the accounts that joined only by name on a separate line. This is how it looks for Kate from Telegram and mail, with made-up data

$ wcat people show telegram:"Kate Morgan"
person:41 Katherine Morgan
  telegram:5820193377  Kate Morgan
  email:katherine.morgan@example.com  Katherine Morgan
  merged: merge:41-57 (person:57) by rule via same-name, 2026-12-06
  joined by name only: person:57 may be someone else — undo: wcat people unmerge merge:41-57

When one name has 3 cards or more, the mark adds "one of several people with this name", even when it is the same person from three sources. It only means the name came up more than twice, not that the join is wrong.

If these are two different people, copy the command from the last line

wcat people unmerge merge:41-57

When you undo it, it applies right away, and this pair never joins by name again. But run it in your own terminal. In a terminal where an agent works (Claude Code, Codex) the command counts as the agent's, and then it needs --as-owner. When an agent asks to undo a join, the undo waits for you in wcat people review. The agent never undoes a join on its own.

The wcat skill says it outright: if the records under one name look like two people, the agent tells you and undoes nothing. wcat context also shows the name mark, at the top of its answer, next to the person's accounts.

There is no list of all name joins yet, you see them person by person. If you have many namesakes, I'd go through the most common names in wcat people list after the update and open each one in wcat people show.

How to get it

You need wcat 3.10.16 or newer. In WireCat Desktop click Update all on the Tools page, in a terminal it is wcat upgrade.

The first wcat sync after the update joins every matching pair already in your store. The joining is wcat's job, a messenger's or a CRM's own sync does not join people by name, so run wcat sync after it. If you don't want to wait, run the check yourself

wcat people scan

It says how many joins it made, how many new matches wait for you and how many it left apart. How WireCat decides who is who is on the People page, and the details by version are in the wcat CHANGELOG and the cli-core CHANGELOG. The measurement on synthetic data is on GitHub.

If something joined wrong for you, tell me in Discord what joined (no need for the names). That's what I'll use to fix the rule.

Share

Written by

Viacheslav Ptsarev

AI Engineer, WireCat author

Helps startups automate workflows and improve conversion rates. Builds bots and knowledge graphs — and WireCat, the open-source tools that give AI agents your messages, mail and notes.

Discuss in Discord

Get new posts by email

Posts on giving AI agents your own data, privacy, agent memory and benchmarks. One email per post, nothing else.