mcpField
A
agent-generator-tutor

agent-generator-tutor

github.com/rysweetAgent workflows7692 installsUpdated 21w ago
Repository

About agent-generator-tutor

An interactive teaching skill for learning the goal-seeking agent generator and evaluation system through a 14-lesson curriculum with exercises and quizzes.

Key features

  1. 0114 lessons with prerequisites
  2. 02Guided lessons and exercises
  3. 03Answer validation with feedback
  4. 04Quizzes and progress reports
  5. 05Curriculum integrity checks

Use cases

  1. 01Learning goal-seeking agent architecture
  2. 02Practicing generator CLI and SDK concepts
  3. 03Tracking lesson and quiz progress

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/rysweet/amplihack --skill agent-generator-tutor

After installing, type/agent-generator-tutorin Claude Code to confirm it loaded.

Details

From the project README

Agent Generator Tutor Skill

Interactive teaching agent for the goal-seeking agent generator and eval system.

What This Skill Does

Loads the GeneratorTeacher from src/amplihack/agents/teaching/generator_teacher.py and guides users through a structured 14-lesson curriculum with exercises and quizzes.

Curriculum (14 Lessons)

LessonTitleTopics
L01Introduction to Goal-Seeking AgentsArchitecture, GoalSeekingAgent interface
L02Your First Agent (CLI Basics)Prompt files, CLI invocation, pipeline
L03SDK Selection GuideCopilot, Claude, Microsoft, Mini SDKs
L04Multi-Agent ArchitectureCoordinators, sub-agents, shared memory
L05Agent SpawningDynamic sub-agent creation at runtime
L06Running EvaluationsProgressive test suite, SDK eval loop
L07Understanding Eval Levels L1-L12Core (L1-L6) and advanced (L7-L12) levels
L08Self-Improvement LoopEVAL-ANALYZE-RESEARCH-IMPROVE-RE-EVAL-DECIDE
L09Security Domain AgentsDomain-specific agents and eval
L10Custom Eval LevelsTestLevel, TestArticle, TestQuestion
L11Retrieval ArchitectureSimple, entity, concept, tiered strategies
L12Intent Classification and Math Code GenNine intent types, safe arithmetic
L13Patch Proposer and Reviewer VotingAutomated code patches, 3-perspective review
L14Memory Export/ImportSnapshots, cross-session persistence

How to Use

Start the Tutorial
from amplihack.agents.teaching.generator_teacher import GeneratorTeacher

teacher = GeneratorTeacher()
# See what lesson is next
next_lesson = teacher.get_next_lesson()
print(f"Start with: {next_lesson.title}")
Teach a Lesson
content = teacher.teach_lesson("L01")
print(content)  # Full lesson with exercises and quiz questions
Check an Exercise
feedback = teacher.check_exercise("L01", "E01-01", "your answer here")
print(feedback)  # PASS or NOT YET with hints
Run a Quiz
# Self-grading mode (see correct answers)
result = teacher.run_quiz("L01")

# Provide answers for grading
result = teacher.run_quiz("L01", answers=["PromptAnalyzer", "Explains stored knowledge", "False"])
print(f"Score: {result.quiz_score:.0%}, Passed: {result.passed}")
Check Progress
report = teacher.get_progress_report()
print(report)  # Shows completed/locked/available lessons
Validate Curriculum Integrity
validation = teacher.validate_tutorial()
print(f"Valid: {validation['valid']}, Issues: {validation['issues']}")

Prerequisites

Each lesson has prerequisites that must be completed first. The curriculum follows a dependency graph ensuring foundational concepts are learned before advanced topics.

Exercise Validators

The teaching agent includes 15 specialized validators that check user answers for correctness. Exercises without explicit validators use a fallback that checks for key phrases from the expected output.

Comments

Markdown supported