MCP Hub
Back to servers

the-academy

A Socratic dialogue engine for AI agents.

GitHub
Stars
13
Forks
1
Tools
69
Updated
Nov 30, 2025
Validated
Jan 9, 2026

The Academy

A Socratic dialogue engine for AI agents with Model Context Protocol (MCP) integration. Run multi-agent conversations, execute bulk experiments, and analyze dialogue patterns all controllable through 70+ MCP tools.

The Academy

Key Features

FeatureDescription
Multi-Agent DialoguesAutonomous conversations between Claude, GPT, Gemini, Grok, and other AI models
Bulk ExperimentsRun hundreds of sessions concurrently with configurable parallelism
Live AnalysisReal-time AI-powered conversation analysis with customizable output schema
MCP Integration70+ tools exposing all functionality programmatically
8 AI ProvidersClaude, GPT, Gemini, Grok, Deepseek, Mistral, Cohere, and Ollama
Moderator ControlsPause, resume, and inject guidance during conversations

Supported Providers

Bulk Experiments

Design and execute large-scale conversation studies with the visual experiment designer.

Bulk Experiments Bulk Experiments

MCP Integration

The Academy exposes an MCP server at /api/mcp with 70+ tools organized into categories:

MCP Resources

ResourceDescription
academy://sessionsAll conversation sessions with metadata
academy://session/{id}Individual session with participants and messages
academy://session/{id}/messagesComplete message history
academy://session/{id}/analysisAnalysis snapshots
academy://experimentsAll experiment configurations
academy://experiment/{id}/resultsExperiment results and analytics

MCP Tools

Session Management

ToolDescription
create_sessionCreate new conversation session
get_sessionGet session by ID (includes analysis snapshots)
get_sessionsList all sessions
delete_sessionDelete a session
update_sessionUpdate session metadata
switch_current_sessionChange active session
duplicate_sessionClone existing session
import_sessionImport session data
list_templatesList session templates
create_session_from_templateCreate from template
get_current_session_idGet active session ID
get_session_analysis_configGet analysis settings
update_session_analysis_configUpdate analysis settings
get_session_chat_configGet chat settings
update_session_chat_configUpdate chat settings

Participant Management

ToolDescription
add_participantAdd AI agent to conversation
remove_participantRemove participant
update_participantModify participant settings
update_participant_statusChange participant state
get_participant_configGet participant configuration
list_available_modelsList available AI models

Conversation Control

ToolDescription
start_conversationBegin autonomous dialogue
pause_conversationPause active conversation
resume_conversationResume paused conversation
stop_conversationEnd conversation
get_conversation_statusCheck conversation state
get_conversation_statsGet conversation metrics

Message Management

ToolDescription
send_messageSend message to session
update_messageUpdate message content
delete_messageDelete a message
clear_messagesClear all messages
inject_moderator_promptInsert moderator message

Analysis Tools

ToolDescription
analyze_conversationExtract insights and patterns
trigger_live_analysisRun real-time analysis
save_analysis_snapshotStore analysis data
get_analysis_historyGet past analyses
clear_analysis_historyRemove analysis data
set_analysis_providerSet analysis AI provider
get_analysis_providersList analysis providers
auto_analyze_conversationToggle auto-analysis

Export Tools

ToolDescription
export_sessionExport conversation data (JSON/CSV)
export_analysis_timelineExport analysis history
get_export_previewPreview export content

AI Provider Tools

ToolDescription
claude_chatClaude API with retry logic
openai_chatOpenAI API with retry logic
grok_chatGrok API with retry logic
gemini_chatGemini API with retry logic
deepseek_chatDeepseek API with retry logic
mistral_chatMistral API with retry logic
cohere_chatCohere API with retry logic
ollama_chatOllama API with retry logic

Experiment Management

ToolDescription
create_experimentCreate experiment configuration
get_experimentsList all experiments
get_experimentGet experiment details
update_experimentUpdate experiment config
delete_experimentDelete experiment
create_experiment_runCreate new run
update_experiment_runUpdate run status
get_experiment_runGet run details

Experiment Execution

ToolDescription
execute_experimentExecute bulk experiment
get_experiment_statusGet execution progress
pause_experimentPause running experiment
resume_experimentResume paused experiment
stop_experimentStop experiment
get_experiment_resultsGet aggregated results

Debug Tools

ToolDescription
debug_storeDebug database state
get_api_errorsGet API errors with retry details
clear_api_errorsClear error logs
log_api_errorLog an API error

Example Usage

// Start a conversation
await mcp.callTool('start_conversation', { sessionId, initialPrompt })

// Run bulk experiment
const exp = await mcp.callTool('create_experiment', {
  config: { name: 'Study', totalSessions: 50, concurrentSessions: 5 }
})
await mcp.callTool('execute_experiment', { experimentId: exp.experimentId })

// Export with analysis
await mcp.callTool('export_session', { sessionId, includeAnalysis: true })

Use Cases

  • Multi-agent research — Study AI model interactions in extended conversations
  • Parameter studies — Test temperature, prompts, and settings systematically
  • Model comparison — Compare AI models on identical tasks
  • Bulk experiments — Run large-scale studies programmatically
  • Synthetic data generation — Create conversational datasets

Tech Stack

Next.js 15 • PostgreSQL • TypeScript • Tailwind CSS • MCP (JSON-RPC 2.0) • Docker

Getting Started

Prerequisites

  • Node.js 18+
  • Docker (for PostgreSQL)
  • API keys for providers you want to use

Quick Start

# Clone and start database
git clone https://github.com/yourname/the-academy.git
cd the-academy
docker-compose up -d

# Install and run
cd academy
pnpm install
pnpm dev

Environment Variables

Create academy/.env.local:

# AI Providers (add keys for providers you want to use)
ANTHROPIC_API_KEY=your_key
OPENAI_API_KEY=your_key
XAI_API_KEY=your_key
GOOGLE_AI_API_KEY=your_key
DEEPSEEK_API_KEY=your_key
MISTRAL_API_KEY=your_key
COHERE_API_KEY=your_key

# Database
DATABASE_URL=postgresql://academy_user:academy_password@localhost:5432/academy_db

Visit http://localhost:3000

Contributing

Contributions welcome! Areas of interest:

  • Additional AI provider integrations
  • Analysis algorithms and templates
  • UI/UX improvements
  • Export format extensions

License

MIT License

Reviews

No reviews yet

Sign in to write a review