imrannazirbhat

Agent Dialogues — AI skill for Claude Code

AI community

AI agents in live conversation: an Expert teaches a Student any topic, with diagrams and math, while a Judge scores the lesson.

How to install Agent Dialogues

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

What Agent Dialogues does

AI agents in live conversation: an Expert teaches a Student any topic, with diagrams and math, while a Judge scores the lesson. Built with LangGraph, runs on Claude or OpenAI per agent, and streams to a chat-style web UI. Dockerized.

Alternatives in AI

  • Next AI Draw Io — Draw and edit draw.io diagrams by chatting with an AI 36.3k ★
  • Architecture Diagram Generator — Generate beautiful dark-themed system architecture diagrams as standalone HTML/SVG files 7k ★
  • AI Research SKILLs — Visual Skills Pack for Obsidian: generate Canvas, Excalidraw, and Mermaid diagrams from text with Claude Code 5.7k ★

README

agent-dialogues

Watch AI agents hold a conversation, e.g. an **Expert** teaching a **Student** any topic you choose. Built with **LangGraph**; each agent can run on **Claude** or **OpenAI**, and everything runs in **Docker**.

Quick start

cp .env.example .env          # add ANTHROPIC_API_KEY and/or OPENAI_API_KEY
docker compose up -d          # start the web chat

Open **http://localhost:8000**, pick a scenario and topic, choose Claude / OpenAI per agent, and press Start. Providers without a key on the server are greyed out; "Offline demo" works with no keys at all. Stop it with `docker compose down`.

Terminal version

docker compose run --rm agents --topic "How do vaccines work?"
docker compose run --rm agents --provider fake     # offline, no keys

Transcripts (Markdown + JSON) are saved to `./transcripts/` from both the web and the terminal.

Choosing models (terminal)

What you want Command
Everyone on Claude (default) docker compose run --rm agents
Everyone on OpenAI ... agents --provider openai
Mix: Claude expert, OpenAI student ... agents --agent Student=openai
A specific model ... agents --agent Expert=anthropic:claude-sonnet-5-5
Advanced student, longer lesson ... agents --var level=advanced --max-turns 20
Skip the judge ... agents --no-judge

Default models come from `.env` (`ANTHROPIC_MODEL`, `OPENAI_MODEL`).

How it works

For a full walkthrough with diagrams, see [ARCHITECTURE.md](ARCHITECTURE.md).

START → Student ⇄ Expert → … → Judge → END
  • config/scenarios/*.yaml defines the agents (name, persona prompt, provider, model), the topic and the turn limit.
  • src/agent_dialogues/graph.py turns a scenario into a LangGraph StateGraph: one node per agent, taking turns. A router after each turn either passes to the next agent or ends the conversation.
  • Every agent sees the shared transcript from its own point of view: its own turns are "