What it does
Core capabilities at a glance
- AI Agents
- AI Tutor
- Civil Service Exam
- Deepseek
- Edtech
- Education
- Exam Prep
- Fastapi
Deep dive
The full breakdown - performance, comparisons, and setup
kaogong-schoolLink to this section
kaogong-school is a RAG toolkit - 本地优先的考公(公务员考试 / 国考 / 省考)多智能体 AI 学习系统:资料解析、知识挖掘、技能地图、RAG 问答、AI 出卷改卷与学情闭环。Self-hosted AI tutor for Chinese civil service exam prep.
OverviewLink to this section
不在同一个网络就上 Tailscale,步骤见 deploy/tailscale.md。打 TestFlight 看 deploy/testflight.md。
English: Chinese civil service exam, gongkao, kaogong, exam prep, AI tutor, study assistant, multi-agent, RAG, self-hosted, local-first.
kaogong-school is open-source, written primarily in Python, with 206 GitHub stars under the MIT license. It was last updated on 2026-12-04.
Key capabilitiesLink to this section
From the project's documentation:
- 文档按标题层级切分,保留「资料 > 章节 > 小节」,PDF 会先去掉重复的页眉页脚和页码
- 图片用 macOS Vision 识别中文,认不出再试 DeepSeek OCR
- 扫描版 PDF 要配 DeepSeek 官方 Key,否则只能索引有文字层的页面。判定按「平均每页有效字符数」而不是有没有文字,影印件里只带页码和水印也能识别出来;识别按 20 页一批提交,单批失败不影响其它批次,被截断的页会在提示里标出来
- 语音输入和视频转写共用一套 ASR:配了 DeepSeek 官方 Key 时优先用官方 ASR,其次 OpenAI 兼容端点,最后退回本地 faster-whisper;非 WAV/Ogg 音频会先用 ffmpeg 转码
- DeepSeek 官方 Key:联网搜索、扫描 PDF OCR、官方 ASR
- 多模态模型:纸质试卷批改、图片型 PDF 识题(没单独填写时,填了 DeepSeek 官方 Key 会默认使用 deepseek-flash)
How it fits a local-AI stackLink to this section
kaogong-school runs on your own hardware, so pair it with a model and a GPU sized to your needs. Use the VRAM calculator to pick a model that fits your card, and see what you can run for hardware guidance. Related RAG toolkits in the directory:
SourcesLink to this section
- Source code & docs: yijiejiang/kaogong-school
- Official website: https://yijiejiang.github.io/kaogong-school/
Stats from GitHub, 2026-12-05.
Frequently asked
Quick answers to common questions
What is kaogong-school?
kaogong-school is a rag tool for local AI workloads. 本地优先的考公(公务员考试 / 国考 / 省考)多智能体 AI 学习系统:资料解析、知识挖掘、技能地图、RAG 问答、AI 出卷改卷与学情闭环。Self-hosted AI tutor for Chinese civil service exam prep.
Is kaogong-school free and open source?
Yes, kaogong-school has 206 GitHub stars and is licensed under MIT. You can self-host it for free on macos, web.
What platforms does kaogong-school support?
kaogong-school runs on macos, web.
What hardware do I need for kaogong-school?
The hardware requirements depend on which models you run. Check our hardware directory for compatible GPUs and systems. kaogong-school has 206 GitHub stars and an active community.
Does kaogong-school support GPU acceleration?
kaogong-school supports GPU acceleration via CUDA, Metal, or Vulkan depending on your platform. For the best performance, pair it with an NVIDIA RTX 4090 or 5090.
What are the best alternatives to kaogong-school?
Popular alternatives include other rag tools in our directory. Browse our full collection at /tool for comparisons, community reviews, and benchmark data to find the right fit for your workflow.
How much does kaogong-school cost?
kaogong-school is free-open-source. It is completely free and open source to self-host.
Pairs well with
Complementary tools, models, and hardware