LibreTexts
LibreTexts is among the largest open textbook libraries anywhere, built and looked after by a community of educators. It holds complete, interlinked textbooks and reference material across chemistry, biology, physics, mathematics, statistics, engineering, the humanities, and the social sciences, aimed chiefly at higher education with a layer of K-12 material. Content is arranged into "libraries" of linked pages, so a concept, its worked examples, and related ideas cross-reference one another instead of sitting in isolation.
Getting it into a RAG pipeline takes a little effort. Pages are served as HTML, many books download as PDF, and there is a batch export route for whole texts. The page-level structure is a real gift for chunking: each concept page is already a self-contained explanation, so you can usually split along existing page and section boundaries rather than chopping blindly by token count. Keep an eye on the maths, though, since many pages carry equations rendered in MathML or LaTeX that you will want to preserve or convert cleanly rather than lose.
This suits any teaching or tutoring assistant: a study companion that explains undergraduate science and maths, a homework helper, or a domain RAG system that needs clear, pedagogically written explanations rather than terse reference entries. The prose is written to teach, which tends to retrieve and summarise well.
The licence is the thing to weigh. Most content is Creative Commons Attribution-NonCommercial-ShareAlike, so you may use and adapt it for non-commercial purposes if you credit the source and release your derivatives under the same terms. The NonCommercial clause rules it out for commercial products, and ShareAlike may reach into whatever you build on top, a question that is genuinely unsettled for embeddings and derived databases. Terms also vary page to page, so check the specific book you draw from rather than assuming.
For comparison, OpenStax offers a smaller but highly polished set of CC BY textbooks that are far friendlier for commercial use, while MIT OpenCourseWare and OpenLearn add course material under their own, often non-commercial, terms. Reach for LibreTexts when sheer breadth and depth of subject coverage matter most.
Related sources
Achievement Standards Network
Machine-readable curriculum standards from US states, national bodies and other jurisdictions, modelled as an RDF graph of URI-addressable learning objectives with cross-jurisdiction alignments. Now run by D2L and free to use.
AGIEval
8,062 questions drawn from 20 official standardised exams (SAT, LSAT, GMAT, GRE, Gaokao, AMC/AIME and more) in English and Chinese, packaged as a human-centric benchmark for evaluating foundation models.
CASE Network (1EdTech)
A public registry of machine-readable learning-standard frameworks from all 50 US states and other issuing agencies, run by 1EdTech in the CASE JSON format. The digitally referenceable spine of what to teach, at which level and in what order, rather than the teaching content itself.
CEFR Companion Volume Descriptors
The Council of Europe's 2020 CEFR Companion Volume descriptor set, the de facto international standard for levelling language proficiency from Pre-A1 to C2. A spine of can-do statements for sequencing and grading language teaching.