Teach AI judgment, not just knowledge.
An adversarial training framework that distills a teacher's judgment into a critic. After training, the critic judges the student's responses the way the teacher would, with no teacher calls.
Install
git clone https://github.com/mcp-tool-shop-org/aspire-si
cd aspire-si && pip install -e .
Dialogue
aspire dialogue "Explain recursion"
--teacher socratic --turns 3
Train
aspire train --teacher local
--teacher-model Qwen/Qwen2.5-3B-Instruct --geometry
Features
Internalized mentorship for AI models.
Adversarial dialogue
Student generates, teacher challenges. Back and forth until the response is sharp, clear, and defensible.
Internalized critic
The critic learns to predict the teacher's score for a response. After training, aspire judge scores responses with no teacher needed.
Pluggable teachers
Claude, OpenAI, or a local model with no API key; Socratic, Scientific, Creative, Adversarial and Compassionate personas; or a committee of teachers that vote.
Runs you can see
aspire train --geometry writes the run's training dynamics for ScalarScope: the student's path, the teachers' pull, and every dip.
Usage
CLI
# Generate adversarial dialogue
aspire dialogue "Your prompt" \
--teacher socratic --turns 3
# Train a model
aspire train --config config.yaml \
--teacher adversarial --epochs 3
# Evaluate checkpoint
aspire evaluate outputs/checkpoint-3 \
--prompts data/eval.json
# Score a response, no teacher
aspire judge outputs/checkpoint-3 \
--prompt "..." --response "..."Python API
from aspire.teachers import CompositeTeacher
from aspire.teachers import SocraticTeacher
from aspire.teachers import ScientificTeacher
teacher = CompositeTeacher(
teachers=[SocraticTeacher(),
ScientificTeacher()],
strategy="vote"
)Teacher Personas
Different teachers produce different minds.
| Persona | Philosophy | Produces |
|---|---|---|
| Socratic | "What assumption are you making?" | Deep reasoning, independence |
| Scientific | "What's your evidence?" | Technical precision, rigor |
| Creative | "What if we tried the opposite?" | Innovation, lateral thinking |
| Adversarial | "I disagree. Defend your position." | Robust arguments, conviction |
| Compassionate | "How might someone feel about this?" | Ethical reasoning, wisdom |
Integrations
ASPIRE extends beyond text.
Stable Diffusion Forge
Vision teachers critique generated images. Train LoRA adapters with CLIP-based critics for real-time guidance.
Isaac Gym / Isaac Lab
Motion teachers for robotics — safety, efficiency, and grace. 512+ parallel GPU-accelerated environments.
Code assistants
Correctness, style, and security teachers with static analysis integration (ruff, mypy, bandit).