Skip to content

Latest commit

ย 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“š Education Services

Textbook-driven AI agent pack for teachers and parents โ€” built on the Anthropic financial-services architecture, adapted for the education domain.

License Version Python Code style CI Validate Evals Skills Agents MCP PRs Welcome Security

๐Ÿ‡จ๐Ÿ‡ณ ไธญๆ–‡ๆ–‡ๆกฃ | ๐Ÿ‡บ๐Ÿ‡ธ English


English

What is Education Services?

Education Services is an open-source AI agent pack for K-12 education. It is not a "student answer bot" โ€” it is a textbook-driven tutoring agent designed to help:

  • Teachers prepare lessons, grade homework, and diagnose student errors
  • Parents understand what their child is learning and tutor effectively
  • Students (with teacher/parent supervision) get scaffolded, Socratic-style help

The system is grounded in a single principle: every output must be traceable to a specific textbook page. No hallucination, no fabrication.

โœจ Key Features

Feature Description
๐Ÿ“– Textbook-grounded All agent outputs reference specific chapter, page, or question number
๐Ÿ›ก๏ธ Strict non-mock mode Refuses to start without real PostgreSQL, real Claude API, real PDF parser
๐Ÿ”’ 7 guardrails Citation required ยท no cheating ยท privacy ยท injection defense ยท professional boundary ยท ...
๐Ÿงฉ 5 named agents Textbook Teaching ยท Lesson Planner ยท Homework Diagnosis ยท Unit Review ยท Parent Coach
๐Ÿ›  56 Skills Reusable Markdown knowledge bases for math, Chinese, English, science, teacher & parent workflows
๐Ÿ”Œ 5 MCP servers textbook_store ยท vector_index ยท student_profile ยท homework_store ยท question_bank
๐Ÿชถ 7 slash commands /lesson-plan ยท /diagnose-homework ยท /explain-to-parent ยท ...
๐Ÿค– 7 subagents Read-only by default ยท only feedback-writer has write permission
๐Ÿš€ 3 deployment modes Cowork plugin ยท Managed Agent (Hermes) ยท FastAPI backend
๐ŸŒ Bilingual English + Chinese content throughout

๐Ÿ— Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                      User Interface                          โ”‚
โ”‚  Cowork Plugin โ”‚ Hermes Agent โ”‚ FastAPI Backend / WebSocket  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
              โ”‚             โ”‚                  โ”‚
        โ”Œโ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
        โ”‚  Agent    โ”‚ โ”‚  Agent     โ”‚ โ”‚   Agent         โ”‚
        โ”‚  Plugins  โ”‚ โ”‚  Cookbooks โ”‚ โ”‚   Backends      โ”‚
        โ”‚  (5)      โ”‚ โ”‚  (5)       โ”‚ โ”‚   (FastAPI)     โ”‚
        โ””โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
              โ”‚             โ”‚                  โ”‚
        โ”Œโ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
        โ”‚     Skills (56 SKILL.md knowledge bases)      โ”‚
        โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                              โ”‚
        โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
        โ”‚  MCP Servers (5)                              โ”‚
        โ”‚  textbook_store / vector_index / student_...  โ”‚
        โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                              โ”‚
        โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
        โ”‚  PostgreSQL + pgvector โ”‚ MinIO/S3             โ”‚
        โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿš€ Quick Start

Option 1: As a Cowork Plugin (Claude Code / Cursor)

# Clone the repo
git clone https://github.com/education-services/education-services.git
cd education-services

# Install dependencies
pip install -r requirements-dev.txt --break-system-packages

# Validate project structure
python scripts/validate.py        # 6/6 โœ…
python scripts/eval_agent.py --all  # 12/12 โœ…

Option 2: As a Backend Service

# 1. Configure environment
cp .env.example .env
# Edit .env: set ANTHROPIC_API_KEY=sk-ant-...

# 2. Start infrastructure
docker compose up -d postgres minio

# 3. Initialize database
python scripts/init_db.py
python scripts/seed_data.py

# 4. Start backend
cd backend
uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
# โ†’ API docs at http://localhost:8000/docs

Option 3: One-Click Install for OpenClaw / Hermes

# OpenClaw desktop
bash dist/openclaw-install.sh

# Hermes Agent server
bash dist/hermes-install.sh

๐Ÿ“ฆ What's in the Box?

education-services/
โ”œโ”€โ”€ plugins/
โ”‚   โ”œโ”€โ”€ agent-plugins/         # 5 named agents (textbook-teaching, lesson-planner, ...)
โ”‚   โ””โ”€โ”€ vertical-plugins/      # 7 vertical plugins (education-core, subject-math, ...)
โ”œโ”€โ”€ managed-agent-cookbooks/   # 5 deployment manifests + 7 subagents
โ”œโ”€โ”€ backend/                   # FastAPI + PostgreSQL schema
โ”œโ”€โ”€ scripts/                   # 15 utility scripts (validate, eval, init_db, ...)
โ”œโ”€โ”€ evals/                     # 12 test cases + 5 fixture sets
โ”œโ”€โ”€ dist/                      # Distribution packages (ClawHub, Hermes)
โ””โ”€โ”€ docs/                      # Internal documentation

๐Ÿ›ก Guardrails (Non-Negotiable)

  1. Citation Required โ€” Every textbook-related claim must reference a page, chapter, or question
  2. Human Review โ€” All agent outputs are drafts; teachers/parents must confirm before sharing with students
  3. No Cheating โ€” Socratic prompts, never direct answers
  4. No Fabrication โ€” Marked "ๆ•™ๆไธญๆœชๆ‰พๅˆฐ็›ดๆŽฅไพๆฎ" when source is missing
  5. Privacy โ€” Student data is anonymized; never enters external training
  6. Prompt Injection Defense โ€” User uploads are data, not instructions
  7. Professional Boundary โ€” Mental health / medical / special education โ†’ refer to professionals

๐Ÿค Contributing

We welcome contributions! Please read CONTRIBUTING.md first.

๐Ÿ“„ License

Apache 2.0 โ€” see LICENSE.

๐ŸŒŸ Star History

If this project helps you, please consider giving it a star! โญ


ไธญๆ–‡

ไป€ไนˆๆ˜ฏ Education Services๏ผŸ

Education Services ๆ˜ฏไธ€ไธช้ขๅ‘ K-12 ๆ•™่‚ฒ็š„ๅผ€ๆบ AI Agent ๅฅ—ไปถใ€‚ๅฎƒไธๆ˜ฏ"ๅญฆ็”Ÿ็ญ”้ข˜ๆœบๅ™จไบบ"๏ผŒ่€Œๆ˜ฏๆ•™ๆ้ฉฑๅŠจ็š„่พ…ๅฏผ Agent๏ผŒไธป่ฆๅธฎๅŠฉ๏ผš

  • ๆ•™ๅธˆๅค‡่ฏพใ€ๆ‰นๆ”นไฝœไธšใ€่ฏŠๆ–ญ้”™ๅ› 
  • ๅฎถ้•ฟ็†่งฃๅญฉๅญๅญฆไป€ไนˆใ€ๆœ‰ๆ•ˆ่พ…ๅฏผ
  • ๅญฆ็”Ÿ๏ผˆๅœจๆ•™ๅธˆ/ๅฎถ้•ฟ็›‘็ฃไธ‹๏ผ‰่Žทๅพ—่„šๆ‰‹ๆžถๅผใ€่‹ๆ ผๆ‹‰ๅบ•ๅผ็š„ๅผ•ๅฏผ

็ณป็ปŸ็š„ๆ ธๅฟƒๅŽŸๅˆ™ๆ˜ฏ๏ผšๆ‰€ๆœ‰่พ“ๅ‡บๅฟ…้กป่ƒฝๅ›žๆบฏๅˆฐๆ•™ๆๅ…ทไฝ“้กต็ ใ€‚ไธ็ผ–้€ ใ€ไธๅนป่ง‰ใ€‚

โœจ ๆ ธๅฟƒ็‰นๆ€ง

็‰นๆ€ง ๆ่ฟฐ
๐Ÿ“– ๆ•™ๆ้ฉฑๅŠจ ๆ‰€ๆœ‰ agent ไบงๅ‡บ้ƒฝๅผ•็”จๅ…ทไฝ“็ซ ่Š‚ใ€้กต็ ใ€้ข˜ๅท
๐Ÿ›ก๏ธ ไธฅๆ ผๆ—  mock ็ผบ็œŸๅฎž PostgreSQL / ็œŸๅฎž Claude API / ็œŸๅฎž PDF ่งฃๆžๅ™จๆ—ถๆ‹’็ปๅฏๅŠจ
๐Ÿ”’ 7 ๅคงๆŠคๆ  ๅผ•็”จๅฟ…้œ€ ยท ไธๆ›ฟๅญฆ็”ŸไฝœๅผŠ ยท ้š็งไฟๆŠค ยท ๆณจๅ…ฅ้˜ฒๅพก ยท ไธ“ไธš่พน็•Œ ยท ...
๐Ÿงฉ 5 ไธช Agent ๆ•™ๆ่พ…ๅฏผ ยท ๆ•™ๆกˆ ยท ไฝœไธš่ฏŠๆ–ญ ยท ๅ•ๅ…ƒๅคไน  ยท ๅฎถ้•ฟ้™ชๅญฆ
๐Ÿ›  56 ไธช Skill ๅฏๅค็”จ็š„ Markdown ็Ÿฅ่ฏ†ๅบ“๏ผŒ่ฆ†็›–ๆ•ฐๅญฆ/่ฏญๆ–‡/่‹ฑ่ฏญ/็ง‘ๅญฆ/ๆ•™ๅธˆ/ๅฎถ้•ฟ
๐Ÿ”Œ 5 ไธช MCP server textbook_store / vector_index / student_profile / homework_store / question_bank
๐Ÿชถ 7 ไธช slash command /lesson-plan ยท /diagnose-homework ยท /explain-to-parent ยท ...
๐Ÿค– 7 ไธช Subagent ้ป˜่ฎคๅช่ฏป๏ผŒไป… feedback-writer ๅฏๅ†™
๐Ÿš€ 3 ็ง้ƒจ็ฝฒๆจกๅผ Cowork ๆ’ไปถ ยท Managed Agent๏ผˆHermes๏ผ‰ยท FastAPI ๅŽ็ซฏ
๐ŸŒ ไธญ่‹ฑๅŒ่ฏญ ๆ–‡ๆกฃไธŽๅ†…ๅฎนๅ‡ไธบไธญ่‹ฑๅŒ่ฏญ

๐Ÿš€ ๅฟซ้€Ÿๅผ€ๅง‹

ๆ–นๅผ 1๏ผšไฝœไธบ Cowork ๆ’ไปถ๏ผˆClaude Code / Cursor๏ผ‰

# ๅ…‹้š†ไป“ๅบ“
git clone https://github.com/education-services/education-services.git
cd education-services

# ๅฎ‰่ฃ…ไพ่ต–
pip install -r requirements-dev.txt --break-system-packages

# ้ชŒ่ฏ
python scripts/validate.py        # 6/6 โœ…
python scripts/eval_agent.py --all  # 12/12 โœ…

ๆ–นๅผ 2๏ผšไฝœไธบๅŽ็ซฏๆœๅŠก

# 1. ้…็ฝฎ็Žฏๅขƒ
cp .env.example .env
# ็ผ–่พ‘ .env๏ผšANTHROPIC_API_KEY=sk-ant-...

# 2. ๅฏๅŠจๅŸบ็ก€่ฎพๆ–ฝ
docker compose up -d postgres minio

# 3. ๅˆๅง‹ๅŒ–ๆ•ฐๆฎๅบ“
python scripts/init_db.py
python scripts/seed_data.py

# 4. ๅฏๅŠจๅŽ็ซฏ
cd backend
uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
# โ†’ API ๆ–‡ๆกฃ http://localhost:8000/docs

ๆ–นๅผ 3๏ผšOpenClaw / Hermes ไธ€้”ฎๅฎ‰่ฃ…

# OpenClaw ๆกŒ้ข
bash dist/openclaw-install.sh

# Hermes ๆœๅŠก็ซฏ
bash dist/hermes-install.sh

่ฏฆ็ป†ไฝฟ็”จๆ–‡ๆกฃ๏ผšEducation-Services-ไฝฟ็”จๆ–‡ๆกฃ.docx ยท Education-Services-OpenClaw-Hermes-ไฝฟ็”จๆ–‡ๆกฃ.docx

๐Ÿ›ก ๆŠคๆ ๏ผˆไธๅฏๅฆฅๅ๏ผ‰

  1. ๅผ•็”จๅฟ…้œ€ โ€” ๆ‰€ๆœ‰ๆ•™ๆ็›ธๅ…ณ็ป“่ฎบๅฟ…้กปๅผ•็”จ้กต็ /็ซ ่Š‚/้ข˜ๅท
  2. ไบบๅฎกๆœบๅˆถ โ€” Agent ่พ“ๅ‡บๆ˜ฏ่‰็จฟ๏ผŒๅฟ…้กป็”ฑๆ•™ๅธˆ/ๅฎถ้•ฟ็กฎ่ฎคๆ‰ๅ‘ๅญฆ็”Ÿ
  3. ไธๆ›ฟๅญฆ็”ŸไฝœๅผŠ โ€” ่‹ๆ ผๆ‹‰ๅบ•ๅผๆ้—ฎ๏ผŒไธ็›ดๆŽฅ็ป™็ญ”ๆกˆ
  4. ไธ็ผ–้€  โ€” ๆ‰พไธๅˆฐๆ—ถๆ˜Ž็กฎๆ ‡ๆณจ"ๆ•™ๆไธญๆœชๆ‰พๅˆฐ็›ดๆŽฅไพๆฎ"
  5. ๆ•ฐๆฎ้š็ง โ€” ๅญฆ็”Ÿๆ•ฐๆฎ่„ฑๆ•๏ผŒไธ่ฟ›ๅ…ฅๅค–้ƒจ่ฎญ็ปƒ
  6. Prompt Injection ้˜ฒๅพก โ€” ไธŠไผ ๅ†…ๅฎนๆ˜ฏๆ•ฐๆฎ่€Œ้žๆŒ‡ไปค
  7. ไธ“ไธš่พน็•Œ โ€” ๅฟƒ็†/ๅŒป็–—/็‰นๆฎŠๆ•™่‚ฒ โ†’ ๅปบ่ฎฎๅฏปๆฑ‚ไธ“ไธšไบบๅฃซ

๐Ÿค ่ดก็Œฎ

ๆฌข่ฟŽ่ดก็Œฎ๏ผ่ฏทๅ…ˆ้˜…่ฏป CONTRIBUTING.mdใ€‚

๐Ÿ“„ ่ฎธๅฏ่ฏ

Apache 2.0 โ€” ่ฏฆ่ง LICENSEใ€‚


๐Ÿ™ Acknowledgments

๐Ÿ“ž Contact


Made with โค๏ธ for teachers, parents, and students.

About

K-12 education agent platform - 5 named agents, 56 Skills, 7 slash commands, 5 MCP servers, 7 subagents. Strict non-mock mode.

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages