Textbook-driven AI agent pack for teachers and parents โ built on the Anthropic financial-services architecture, adapted for the education domain.
๐จ๐ณ ไธญๆๆๆกฃ | ๐บ๐ธ English
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.
| 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 |
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 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 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# 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 โ
# 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# OpenClaw desktop
bash dist/openclaw-install.sh
# Hermes Agent server
bash dist/hermes-install.sheducation-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
- Citation Required โ Every textbook-related claim must reference a page, chapter, or question
- Human Review โ All agent outputs are drafts; teachers/parents must confirm before sharing with students
- No Cheating โ Socratic prompts, never direct answers
- No Fabrication โ Marked "ๆๆไธญๆชๆพๅฐ็ดๆฅไพๆฎ" when source is missing
- Privacy โ Student data is anonymized; never enters external training
- Prompt Injection Defense โ User uploads are data, not instructions
- Professional Boundary โ Mental health / medical / special education โ refer to professionals
We welcome contributions! Please read CONTRIBUTING.md first.
- ๐ Report a bug
- โจ Request a feature
- ๐ Submit a Skill
- ๐ Security issues
Apache 2.0 โ see LICENSE.
If this project helps you, please consider giving it a star! โญ
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 ๅ็ซฏ |
| ๐ ไธญ่ฑๅ่ฏญ | ๆๆกฃไธๅ ๅฎนๅไธบไธญ่ฑๅ่ฏญ |
# ๅ
้ไปๅบ
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 โ
# 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# OpenClaw ๆก้ข
bash dist/openclaw-install.sh
# Hermes ๆๅก็ซฏ
bash dist/hermes-install.sh่ฏฆ็ปไฝฟ็จๆๆกฃ๏ผEducation-Services-ไฝฟ็จๆๆกฃ.docx ยท
Education-Services-OpenClaw-Hermes-ไฝฟ็จๆๆกฃ.docx
- ๅผ็จๅฟ ้ โ ๆๆๆๆ็ธๅ ณ็ป่ฎบๅฟ ้กปๅผ็จ้กต็ /็ซ ่/้ขๅท
- ไบบๅฎกๆบๅถ โ Agent ่พๅบๆฏ่็จฟ๏ผๅฟ ้กป็ฑๆๅธ/ๅฎถ้ฟ็กฎ่ฎคๆๅๅญฆ็
- ไธๆฟๅญฆ็ไฝๅผ โ ่ๆ ผๆๅบๅผๆ้ฎ๏ผไธ็ดๆฅ็ป็ญๆก
- ไธ็ผ้ โ ๆพไธๅฐๆถๆ็กฎๆ ๆณจ"ๆๆไธญๆชๆพๅฐ็ดๆฅไพๆฎ"
- ๆฐๆฎ้็ง โ ๅญฆ็ๆฐๆฎ่ฑๆ๏ผไธ่ฟๅ ฅๅค้จ่ฎญ็ป
- Prompt Injection ้ฒๅพก โ ไธไผ ๅ ๅฎนๆฏๆฐๆฎ่้ๆไปค
- ไธไธ่พน็ โ ๅฟ็/ๅป็/็นๆฎๆ่ฒ โ ๅปบ่ฎฎๅฏปๆฑไธไธไบบๅฃซ
ๆฌข่ฟ่ดก็ฎ๏ผ่ฏทๅ ้ ่ฏป CONTRIBUTING.mdใ
- ๐ ๆฅๅ Bug
- โจ ๅ่ฝๅปบ่ฎฎ
- ๐ ๆไบค Skill
- ๐ ๅฎๅ จ้ฎ้ข
Apache 2.0 โ ่ฏฆ่ง LICENSEใ
- Inspired by anthropics/financial-services
- Built with Anthropic Claude (Opus 4.7, Sonnet 4.5, Haiku 4.5)
- Database: PostgreSQL 16 with pgvector
- PDF processing: PyMuPDF
- OCR: PaddleOCR
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Email: team@education-services.local
- Security: security@education-services.local
Made with โค๏ธ for teachers, parents, and students.