BhoomiShakya

Eq Negotiator Voice Agent — Development skill for Claude Code

Development community

Talk-to-it implementation of EQ-Negotiator (arXiv 2503.21080): an emotion-aware credit-dialogue agent that reads emotion from voice and text, picks its own emotion with the paper's WSLS/HMM policy, an.

How to install Eq Negotiator Voice Agent

This entry records only its repository, not the path inside it, so there is no exact command to give. Open BhoomiShakya/eq-negotiator-voice-agent and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Eq Negotiator Voice Agent does

Talk-to-it implementation of EQ-Negotiator (arXiv 2503.21080): an emotion-aware credit-dialogue agent that reads emotion from voice and text, picks its own emotion with the paper's WSLS/HMM policy, and replies with Claude in an emotional voice. FastAPI + React. Research demo.

Alternatives in Development

  • PaperSpine — PaperSpine is a motivation-driven skill for learning from strong academic papers, building a paper’s central a 5k ★
  • Sanitize — Detect and redact PII from text files — 15 categories (SSNs, credit cards, API keys, etc.), zero dependencies 3.1k ★
  • Nature Academic Search — Academic Paper Search:面向中文科研用户的 Codex / Claude Code 文献检索 Skill + MCP;跨 CrossRef、PubMed、arXiv、OpenAlex、Europe P 132 ★

README

EQ-Negotiator, as a working app

A talk-to-it implementation of **"EQ-Negotiator: An Emotion-Reasoning LLM Agent in Credit Dialogues"** (Liu, Long & Brintrup, arXiv 2503.21080). You speak as a client in debt. The agent hears *how* you said it, decides what emotion it should show using the paper's policy, writes its reply in that tone, and speaks it with matching prosody. Every step is visible on screen.

![light theme, paper example](docs/screenshot-light.png)

What happens on each turn

 mic ──► 16 kHz WAV ──► faster-whisper ──► transcript ─────────────────────────┐
              │                                                                 │
              └────────► emotion2vec+ ──► client emotion (7 classes) ──┐        │
                                                                        ▼        ▼
   last 5 client emotions ──► policy: WSLS table  or  HMM "tough mode" ──► agent emotion
                                                                        │
              Claude drafts a neutral reply, then restyles it ◄─────────┘
                                   │
                                   ▼
        text on screen  +  edge-tts speech (rate / pitch / volume set by the emotion)
Paper In this app File
Step 1: emotion recognition (fine-tuned RoBERTa on text) Typed text: a fine-tuned DistilRoBERTa on the text, as in the paper. Voice: emotion2vec+ on your voice (a deliberate change), plus Whisper for the transcript backend/app/recognition.py
Step 2a: Win-Stay, Lose-Shift payoff table (Table 1) PAYOFF, EQPolicy.payoff_choice backend/app/policy.py
Step 2b: HMM, switched on when ≥ 4 of the last 5 client emotions are negative (Tables 2-3) EQPolicy.hmm_scores, EQPolicy.decide backend/app/policy.py
Step 3: GPT-4o rewrites the reply in the chosen emotion Claude drafts, then restyles ("See the original" on every reply) backend/app/agent.py
(not in the paper)