# Behavioral Chat

> Read-only, symmetric behaviour analysis of a two-person Telegram or WhatsApp chat, for love, friends, family and colleagues. Every factor is measured for both people the same way: warmth, requests, boundaries, reply times, alignment, trend and emerging words.

Behavioral Chat is a free AI agent skill on Agensi by Saba Azadegan, in Research & Analysis. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Saba Azadegan](https://www.agensi.io/creators/sabaazadegan)
- Category: [Research & Analysis](https://www.agensi.io/skills/research-analysis)
- Version: 1.0
- Last updated: 2026-11-17
- Security: scan passed (2026-11-17); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/behavioral-chat
- Tags: research, python, data-analysis, relationships, telegram, whatsapp, persian

## About this skill

See how both people in a chat really behave, measured the same way for each side. Behavioral Chat reads a Telegram or WhatsApp export of a conversation **you took part in** and measures warmth, care, requests, boundaries, reply times and more, week by week, so the picture is fair to both.

### What you get

- **Per-person totals**: messages, characters, questions, media (and view-once media), restarts after a silence, median reply time, share of replies slower than an hour, share of messages sent off-hours, and a count for every behaviour category.
- **Weekly series** for every measure, so you can see the week something started, peaked or stopped.
- **Alignment** (warm ÷ warm + tension, both people) and **balance** (how even the two sides were) per week.
- **Trend** of message volume per person, plus three alignment **scenarios** (same pattern, early pattern returns, tension drops 80%). Scenarios, not predictions.
- **Correlations** between the two people's daily behaviour (things that move together, never causes).
- **Emerging words**: words nobody used in week 1 that one person started using later, with the date.
- A **written interpretation**: side-by-side table, what each person seems to be after with evidence for and against, where it may be heading, and one or two concrete suggestions.
- Optional **HTML report** with charts.

### Relationship types and categories

| Type | Categories |
|---|---|
| Romantic | warmth, care, appreciation, commitment, plans, requests, requests to see/hear, sexual or body-focused, refusals & boundaries, labeling the other, jealousy & checking up, apology, endings |
| Friendship | warmth, care, support, humor, appreciation, plans, requests, refusals, labeling, apology, endings |
| Family | warmth, care, support, appreciation, plans, requests, obligation & guilt, refusals, labeling, apology, endings |
| Work | appreciation, care, tasks & deadlines, requests, refusals, blame & criticism, labeling, apology, plans |

Keywords cover **Persian (colloquial), Finglish and English**. Persian/Arabic letter variants, diacritics, zero-width joiners and stretched letters are normalized first. You can add your own keywords to any category; both people get them.

### How it runs

1. Export the chat: Telegram Desktop → Export chat history → JSON (or HTML), or WhatsApp → Export chat → Without media.
2. Give the file to your agent and say the relationship type and which sender you are.
3. With Python 3.10+, the agent runs the bundled engine (standard library only) for exact, repeatable numbers. Without Python, it follows the written method in `references/method.md` with the same keyword lists.

### Read-only and private

- No messaging-account login, no Telegram or WhatsApp API, and no message is ever sent, edited or deleted.
- The engine reads only the export you point it to, makes no network requests, and writes a JSON or HTML file only where you ask.

### Rules built in

Every factor shown for one person is shown for the other. No diagnoses or labels like "toxic" or "narcissist": behaviour is described, interpretations are hypotheses with evidence on both sides. Threats, coercion or pressure for intimate images are flagged with a pointer to support. Only for chats you took part in, never for monitoring someone else.

### Limits

Keyword matching misses sarcasm, tone and what is inside photos, videos and voice notes, and can match a word that is being objected to. The agent reads example messages for every category and discards wrong matches.

### Open source

MIT licensed: https://github.com/sabaazdn73/behavioral-chat (also available as an MCP server and a command-line tool). Questions, new languages or collaboration: Saba Azadegan, sabaazad93@gmail.com.

## Requires

- Telegram Desktop or WhatsApp chat export
- Optional: Python 3.10+ (exact numbers from the bundled engine)
- Optional: beautifulsoup4 (Telegram HTML exports only)

Only analyze chats you took part in. Telegram: export from Telegram Desktop (the phone apps can't export). WhatsApp: Export chat, Without media.

## Known limitations

Keyword matching misses sarcasm, tone and what is inside photos, videos and voice notes, and can match a word that is being objected to. Needs a Telegram Desktop (JSON or HTML) or WhatsApp (.txt or .zip) export. Two-person analysis: the two most active senders unless you name them. Keyword lists are Persian, Finglish and English; other languages need your own keywords. Results are evidence for hypotheses, never a diagnosis.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Behavioral Chat skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Which chat exports and AI agents does it work with?

Telegram Desktop exports (result.json, or the messages.html pages) and WhatsApp "Export chat" files (_chat.txt or the .zip). WhatsApp exports can be made on the phone; Telegram exports need Telegram Desktop. It works in any agent that supports SKILL.md, such as Claude Code, Codex CLI, Cursor or Gemini CLI. With Python 3.10+ the agent runs the bundled engine; without it, the agent follows the written method.

### Can it read my photos or voice notes?

No. It counts media (photos, videos, voice notes, stickers, view-once media) per person as behaviour, but it never sees or hears their content. An export made without media is enough.

### How is this different from pasting my chat into an AI?

A pasted chat gets a general impression, often shaped by the latest or most emotional messages, and often takes one side. This skill counts every message with the same keyword lists for both people, tracks it week by week, and only then interprets, with the figure for both people next to every claim and no diagnoses or labels.

### Is it free?

Yes. It is free and open source under the MIT license. The full engine, a local MCP server and a command-line tool are on GitHub: https://github.com/sabaazdn73/behavioral-chat

### What happens to my chat export?

It stays with you. The bundled engine reads only the file you point it to, makes no network requests, stores nothing, and writes a report only where you ask. The skill never logs in to Telegram or WhatsApp and never sends a message. Your agent's own privacy terms still apply to what you share with it. Only analyze chats you took part in.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
