BeFreed
    Categories>Technology>Karpathy 的 AI 知识编译法:从 RAG 到 LLM Wiki 的进化

    Karpathy 的 AI 知识编译法:从 RAG 到 LLM Wiki 的进化

    18 min
    |
    |
    27 мая 2026 г.
    TechnologyProductivity

    面对 AI 助手总是“转头就忘”的短期记忆困境,Blythe 和 Miles 深度解析了 Karpathy 提出的 LLM Wiki 模式。通过将零散资料编译成可进化的个人百科,让你的 AI 从临时工变成拥有“知识复利”的全职管家。

    Karpathy 的 AI 知识编译法:从 RAG 到 LLM Wiki 的进化

    Лучшая цитата из Karpathy 的 AI 知识编译法:从 RAG 到 LLM Wiki 的进化

    “

    AI 的工作不是把它存进硬盘就消失了,而是立刻通读一遍,然后把它拆解、整合进你现有的 Wiki 体系里,让知识库从一个被动的仓库变成一个有生命力的有机体。

    ”
    F

    Generated by Freedee_C09810B2

    Вопрос для ввода

    Andrej Karpathy 的 LLM Wiki 知識管理方法

    Голоса ведущих
    Blytheplay
    Milesplay
    Источники знаний
    llm-wiki · GitHub
    link
    https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f?permalink_comment_id=6079555
    Beyond RAG: How Andrej Karpathy’s LLM Wiki Pattern Builds Knowledge That Actually Compounds | by Plaban Nayak | Apr, 2026 | Level Up Coding
    link
    https://nayakpplaban.medium.com/beyond-rag-how-andrej-karpathys-llm-wiki-pattern-builds-knowledge-that-actually-compounds-31a08528665e
    Your AI Assistant Has Amnesia. Andrej Karpathy Just Found the Cure (LLM-Wiki). | by Darshandagaa | Apr, 2026 | Towards AI
    link
    https://pub.towardsai.net/your-ai-assistant-has-amnesia-andrej-karpathy-just-found-the-cure-llm-wiki-f4ff5efdbe7a
    Llm wiki
    link
    https://gist.githubusercontent.com/karpathy/442a6bf555914893e9891c11519de94f/raw/ac46de1ad27f92b28ac95459c782c07f6b8c964a/llm-wiki.md
    What Is Andrej Karpathy's LLM Wiki? Set It Up With No Code | Recall
    link
    https://www.recall.it/post/andrej-karpathy-llm-wiki-no-code-no-maintenance

    Часто задаваемые вопросы

    LLM Wiki 是由 OpenAI 创始成员 Andrej Karpathy 提出的一种新型知识管理模式。传统的 RAG(检索增强生成)通常是“即用即弃”的,AI 每次回答问题都需要重新翻阅原始文档,像个临时工。而 LLM Wiki 模式将 AI 视为“全职档案员”,它会将新输入的信息主动“编译”并整合进一个动态生长的个人百科全书中。这种模式的核心区别在于积累感,AI 不再只是简单的查资料,而是通过建立知识间的逻辑关联,让知识产生复利。

    该系统分为底层、中间层和顶层。底层是“原始素材层”,存放不可篡改的 PDF、网页等原始文件,作为追溯底稿。中间层是“Wiki 表现层”,由 AI 绝对控制,存放 Markdown 格式的知识摘要、实体和交叉链接。顶层是“Schema 规范层”,这是用户定义的“馆规”,决定了 Wiki 的风格、关注领域以及处理冲突信息的规则。通过这种结构,用户只需负责输入和设定规则,繁琐的整理工作全部交给 AI。

    编译过程分为五个精密步骤。首先是解析源文件为纯文本;接着进行“路由选择”,根据规范确定新信息与哪些已有页面相关;随后进入核心的“合成”阶段,AI 将新旧内容融合,遵循“只增不减”的原则重写页面;最后是更新索引目录并记录操作日志。这种增量更新的方式避免了重写整个数据库的高昂成本,同时确保了知识的连续性和可追溯性。

    Lint 借用了编程中的代码审查概念,是指对 Wiki 进行定期的“体检”。AI 会主动发现知识库中的矛盾点(例如新旧资料观点冲突)、孤儿页面(无引用的冷宫文件)以及知识缺口。它不仅能提醒用户哪些领域的认知存在偏差,甚至能根据现有知识图谱的空洞,主动建议用户去搜索特定方向的素材,从而实现知识库的自我进化。

    主要的挑战包括模式设计的复杂性、API 调用成本以及对模型的依赖。如果 Schema 定义不当,会导致 AI 无法准确归纳知识或产生高昂的费用。此外,Wiki 的质量上限取决于所用 LLM 的理解能力,一旦模型在合成阶段产生误导性信息,可能会污染后续的查询结果。因此,这套系统目前更适合愿意投入“认知耐心”进行微调和纠错的精耕细作型学习者。

    Создано выпускниками Колумбийского университета в Сан-Франциско

    BeFreed объединяет глобальное сообщество из 1,000,000 любознательных умов
    Узнайте больше о том, как обсуждают BeFreed в интернете

    "Instead of endless scrolling, I just hit play on BeFreed. It saves me so much time."

    @Moemenn
    platform
    star
    star
    star
    star
    star

    "I never knew where to start with nonfiction—BeFreed’s book lists turned into podcasts gave me a clear path."

    @Chloe, Solo founder, LA
    platform
    comments
    12
    likes
    117

    "Perfect balance between learning and entertainment. Finished ‘Thinking, Fast and Slow’ on my commute this week."

    @Raaaaaachelw
    platform
    star
    star
    star
    star
    star

    "Crazy how much I learned while walking the dog. BeFreed = small habits → big gains."

    @Matt, YC alum
    platform
    comments
    12
    likes
    108

    "Reading used to feel like a chore. Now it’s just part of my lifestyle."

    @Erin, Investment Banking Associate , NYC
    platform
    comments
    254
    likes
    17

    "Feels effortless compared to reading. I’ve finished 6 books this month already."

    @djmikemoore
    platform
    star
    star
    star
    star
    star

    "BeFreed turned my guilty doomscrolling into something that feels productive and inspiring."

    @Pitiful
    platform
    comments
    96
    likes
    4.5K

    "BeFreed turned my commute into learning time. 20-min podcasts are perfect for finishing books I never had time for."

    @SofiaP
    platform
    star
    star
    star
    star
    star

    "BeFreed replaced my podcast queue. Imagine Spotify for books — that’s it. 🙌"

    @Jaded_Falcon
    platform
    comments
    201
    thumbsUp
    16

    "It is great for me to learn something from the book without reading it."

    @OojasSalunke
    platform
    star
    star
    star
    star
    star

    "The themed book list podcasts help me connect ideas across authors—like a guided audio journey."

    @Leo, Law Student, UPenn
    platform
    comments
    37
    likes
    483

    "Makes me feel smarter every time before going to work"

    @Cashflowbubu
    platform
    star
    star
    star
    star
    star

    Создано выпускниками Колумбийского университета в Сан-Франциско

    BeFreed объединяет глобальное сообщество из 1,000,000 любознательных умов
    Узнайте больше о том, как обсуждают BeFreed в интернете

    "Instead of endless scrolling, I just hit play on BeFreed. It saves me so much time."

    @Moemenn
    platform
    star
    star
    star
    star
    star

    "I never knew where to start with nonfiction—BeFreed’s book lists turned into podcasts gave me a clear path."

    @Chloe, Solo founder, LA
    platform
    comments
    12
    likes
    117

    "Perfect balance between learning and entertainment. Finished ‘Thinking, Fast and Slow’ on my commute this week."

    @Raaaaaachelw
    platform
    star
    star
    star
    star
    star

    "Crazy how much I learned while walking the dog. BeFreed = small habits → big gains."

    @Matt, YC alum
    platform
    comments
    12
    likes
    108

    "Reading used to feel like a chore. Now it’s just part of my lifestyle."

    @Erin, Investment Banking Associate , NYC
    platform
    comments
    254
    likes
    17

    "Feels effortless compared to reading. I’ve finished 6 books this month already."

    @djmikemoore
    platform
    star
    star
    star
    star
    star

    "BeFreed turned my guilty doomscrolling into something that feels productive and inspiring."

    @Pitiful
    platform
    comments
    96
    likes
    4.5K

    "BeFreed turned my commute into learning time. 20-min podcasts are perfect for finishing books I never had time for."

    @SofiaP
    platform
    star
    star
    star
    star
    star

    "BeFreed replaced my podcast queue. Imagine Spotify for books — that’s it. 🙌"

    @Jaded_Falcon
    platform
    comments
    201
    thumbsUp
    16

    "It is great for me to learn something from the book without reading it."

    @OojasSalunke
    platform
    star
    star
    star
    star
    star

    "The themed book list podcasts help me connect ideas across authors—like a guided audio journey."

    @Leo, Law Student, UPenn
    platform
    comments
    37
    likes
    483

    "Makes me feel smarter every time before going to work"

    @Cashflowbubu
    platform
    star
    star
    star
    star
    star

    "Instead of endless scrolling, I just hit play on BeFreed. It saves me so much time."

    @Moemenn
    platform
    star
    star
    star
    star
    star

    "I never knew where to start with nonfiction—BeFreed’s book lists turned into podcasts gave me a clear path."

    @Chloe, Solo founder, LA
    platform
    comments
    12
    likes
    117

    "Perfect balance between learning and entertainment. Finished ‘Thinking, Fast and Slow’ on my commute this week."

    @Raaaaaachelw
    platform
    star
    star
    star
    star
    star

    "Crazy how much I learned while walking the dog. BeFreed = small habits → big gains."

    @Matt, YC alum
    platform
    comments
    12
    likes
    108

    "Reading used to feel like a chore. Now it’s just part of my lifestyle."

    @Erin, Investment Banking Associate , NYC
    platform
    comments
    254
    likes
    17

    "Feels effortless compared to reading. I’ve finished 6 books this month already."

    @djmikemoore
    platform
    star
    star
    star
    star
    star

    "BeFreed turned my guilty doomscrolling into something that feels productive and inspiring."

    @Pitiful
    platform
    comments
    96
    likes
    4.5K

    "BeFreed turned my commute into learning time. 20-min podcasts are perfect for finishing books I never had time for."

    @SofiaP
    platform
    star
    star
    star
    star
    star

    "BeFreed replaced my podcast queue. Imagine Spotify for books — that’s it. 🙌"

    @Jaded_Falcon
    platform
    comments
    201
    thumbsUp
    16

    "It is great for me to learn something from the book without reading it."

    @OojasSalunke
    platform
    star
    star
    star
    star
    star

    "The themed book list podcasts help me connect ideas across authors—like a guided audio journey."

    @Leo, Law Student, UPenn
    platform
    comments
    37
    likes
    483

    "Makes me feel smarter every time before going to work"

    @Cashflowbubu
    platform
    star
    star
    star
    star
    star

    "Instead of endless scrolling, I just hit play on BeFreed. It saves me so much time."

    @Moemenn
    platform
    star
    star
    star
    star
    star

    "I never knew where to start with nonfiction—BeFreed’s book lists turned into podcasts gave me a clear path."

    @Chloe, Solo founder, LA
    platform
    comments
    12
    likes
    117

    "Perfect balance between learning and entertainment. Finished ‘Thinking, Fast and Slow’ on my commute this week."

    @Raaaaaachelw
    platform
    star
    star
    star
    star
    star

    "Crazy how much I learned while walking the dog. BeFreed = small habits → big gains."

    @Matt, YC alum
    platform
    comments
    12
    likes
    108

    "Reading used to feel like a chore. Now it’s just part of my lifestyle."

    @Erin, Investment Banking Associate , NYC
    platform
    comments
    254
    likes
    17

    "Feels effortless compared to reading. I’ve finished 6 books this month already."

    @djmikemoore
    platform
    star
    star
    star
    star
    star

    "BeFreed turned my guilty doomscrolling into something that feels productive and inspiring."

    @Pitiful
    platform
    comments
    96
    likes
    4.5K

    "BeFreed turned my commute into learning time. 20-min podcasts are perfect for finishing books I never had time for."

    @SofiaP
    platform
    star
    star
    star
    star
    star

    "BeFreed replaced my podcast queue. Imagine Spotify for books — that’s it. 🙌"

    @Jaded_Falcon
    platform
    comments
    201
    thumbsUp
    16

    "It is great for me to learn something from the book without reading it."

    @OojasSalunke
    platform
    star
    star
    star
    star
    star

    "The themed book list podcasts help me connect ideas across authors—like a guided audio journey."

    @Leo, Law Student, UPenn
    platform
    comments
    37
    likes
    483

    "Makes me feel smarter every time before going to work"

    @Cashflowbubu
    platform
    star
    star
    star
    star
    star
    1.5K Ratings4.7
    Начните своё обучение прямо сейчас
    BeFreed App
    BeFreed

    Учите что угодно персонализированно

    DiscordLinkedIn
    Избранные книги
    Crucial ConversationsThe Perfect MarriageInto the WildNever Split the DifferenceAttachedGood to GreatSay Nothing
    Популярные категории
    Self HelpCommunication SkillRelationshipMindfulnessPhilosophyInspirationProductivity
    Списки чтения знаменитостей
    Elon MuskCharlie KirkBill GatesSteve JobsAndrew HubermanJoe RoganJordan Peterson
    Коллекция наград
    Pulitzer PrizeNational Book AwardGoodreads Choice AwardsNobel Prize in LiteratureNew York TimesCaldecott MedalNebula Award
    Избранные темы
    ManagementAmerican HistoryWarTradingStoicismAnxietySex
    Лучшие книги по годам
    2025 Best Non Fiction Books2024 Best Non Fiction Books2023 Best Non Fiction Books
    Избранные авторы
    Chimamanda Ngozi AdichieGeorge OrwellO. J. SimpsonBarbara O'NeillWinston ChurchillCharlie Kirk
    BeFreed vs другие приложения
    BeFreed vs. Other Book Summary AppsBeFreed vs. ElevenReaderBeFreed vs. ReadwiseBeFreed vs. Anki
    Инструменты обучения
    Knowledge VisualizerAI Podcast Generator
    Информация
    О насarrow
    Ценыarrow
    Частые вопросыarrow
    Блогarrow
    Карьераarrow
    Партнёрствоarrow
    Программа амбассадоровarrow
    Каталогarrow
    BeFreed
    Try now
    © 2026 BeFreed
    Условия использованияПолитика конфиденциальности
    BeFreed

    Учите что угодно персонализированно

    DiscordLinkedIn
    Избранные книги
    Crucial ConversationsThe Perfect MarriageInto the WildNever Split the DifferenceAttachedGood to GreatSay Nothing
    Популярные категории
    Self HelpCommunication SkillRelationshipMindfulnessPhilosophyInspirationProductivity
    Списки чтения знаменитостей
    Elon MuskCharlie KirkBill GatesSteve JobsAndrew HubermanJoe RoganJordan Peterson
    Коллекция наград
    Pulitzer PrizeNational Book AwardGoodreads Choice AwardsNobel Prize in LiteratureNew York TimesCaldecott MedalNebula Award
    Избранные темы
    ManagementAmerican HistoryWarTradingStoicismAnxietySex
    Лучшие книги по годам
    2025 Best Non Fiction Books2024 Best Non Fiction Books2023 Best Non Fiction Books
    Инструменты обучения
    Knowledge VisualizerAI Podcast Generator
    Избранные авторы
    Chimamanda Ngozi AdichieGeorge OrwellO. J. SimpsonBarbara O'NeillWinston ChurchillCharlie Kirk
    BeFreed vs другие приложения
    BeFreed vs. Other Book Summary AppsBeFreed vs. ElevenReaderBeFreed vs. ReadwiseBeFreed vs. Anki
    Информация
    О насarrow
    Ценыarrow
    Частые вопросыarrow
    Блогarrow
    Карьераarrow
    Партнёрствоarrow
    Программа амбассадоровarrow
    Каталогarrow
    BeFreed
    Try now
    © 2026 BeFreed
    Условия использованияПолитика конфиденциальности

    Ключевые выводы

    1

    为什么你的 AI 总是“记不住事”?

    2

    编译模式:从“搜一下”到“存起来”

    2:23
    2:54
    3:37
    3:59
    4:16
    3

    三层架构:给 AI 盖一座“知识图书馆”

    4:33
    4:44
    5:09
    5:17
    5:49
    5:59
    6:44
    4

    知识入库:像编译器一样精准运作

    6:52
    7:31
    8:03
    8:18
    8:42
    5

    深度查询:让答案在 Wiki 森林里“长”出来

    9:18
    9:34
    9:47
    10:14
    10:56
    6

    知识“自愈”:给你的第二大脑做体检

    11:36
    12:08
    12:34
    12:55
    13:12
    13:34
    7

    落地挑战:通往“知识复利”的那些坑

    13:48
    14:57
    15:30
    15:50
    8

    开启你的 LLM Wiki 之路

    16:10
    16:21
    16:46
    18:21

    Похожий контент

    Обложка книги AI Memory Systems for Your Local Knowledge Base
    AI Agent Memory Architectures: From Context Windows to Persistent Knowledge | Zylos ResearchGive Your AI Agent Persistent Memory in 2026Building Nova: The Architecture of a Household AI Agent – codeXgalacticV3.3 Architecture — SuperLocalMemory
    5 sources
    AI Memory Systems for Your Local Knowledge Base
    Stop starting every AI session from scratch. Learn how to use markdown-based memory to help your agents retain data and find hidden connections.
    26 min
    Обложка книги The Karpathy Recipe for OpenClaw
    Software 2.0. I sometimes see people refer to neural… | by Andrej Karpathy | MediumA Recipe for Training Neural NetworksEngineering Philosophy: Andrej Karpathy, The Stack You Don't WriteFrom nanoGPT to Claude Skills: The Pedagogy of Karpathy's Public Code - AI Skill Market Blog | AI Skill Market
    7 sources
    The Karpathy Recipe for OpenClaw
    Struggling with brittle AI agents? Learn to apply Andrej Karpathy’s Software 2.0 principles to orchestrate smarter multi-agent systems that scale.
    1098 min
    Обложка книги Andrej Karpathy and the Era of AI Agents
    [81b271fc-6be0-4082-8df5-ae63c04e19f2:c0000] code's not even the right verb anymore, right? But I have… p1-1[81b271fc-6be0-4082-8df5-ae63c04e19f2:c0001] code's not even the right verb anymore, right? But I have… p1-1[81b271fc-6be0-4082-8df5-ae63c04e19f2:c0002] code's not even the right verb anymore, right? But I have… p1-1[81b271fc-6be0-4082-8df5-ae63c04e19f2:c0003] code's not even the right verb anymore, right? But I have… p1-1
    11 sources
    Andrej Karpathy and the Era of AI Agents
    Coding is shifting from writing lines to managing intent. Learn how to orchestrate digital workers to turn your ideas into reality faster than ever.
    960 min
    Обложка книги Memory Palace for OpenClaw: Fixing AI Memory Loss
    Keras Reinforcement Learning ProjectsWhat Is ChatGPT Doing ... and Why Does It Work?ChatGPT for DummiesPython Cookbook
    25 sources
    Memory Palace for OpenClaw: Fixing AI Memory Loss
    Tired of AI agents forgetting your corrections? Learn how Memory Palace uses MCP tools and prose indexing to give OpenClaw true long-term persistence.
    20 min
    Обложка книги The AI Architect’s Playbook
    LLM Interviews | EngineersOfAI — Technical Education for AI EngineersLLM Interview Questions | EngineersOfAI — The Engineering Curriculum for the AI EraTransformer Internals for LLMs | EngineersOfAI — The Engineering Curriculum for the AI EraThe LLM Engineering Field Guide: 45 Concepts Every Practitioner Needs - Edge of Context: Practical AI Engineering
    7 sources
    The AI Architect’s Playbook
    Generic AI experience is no longer enough to stand out. Go inside the Transformer architecture to master the technical logic of the modern LLM.
    18 min
    Обложка книги Build an LLM wiki that builds itself
    Keras Reinforcement Learning ProjectsArtificial Intelligence and Generative AI for BeginnersWhat Is ChatGPT Doing ... and Why Does It Work?ChatGPT for Dummies
    24 sources
    Build an LLM wiki that builds itself
    Stop losing info in a graveyard of tabs. Learn to build an automated pipeline that turns raw sources into a self-maintaining knowledge graph.
    32 min
    Обложка книги Mastering AI Literacy for Career Growth
    IRREPLACEABLEThe Skill CodeThe Human EdgeThe Skills-Powered Organization
    23 sources
    Mastering AI Literacy for Career Growth
    Discover practical strategies for busy professionals to build AI knowledge, from curated learning resources to hands-on experimentation, helping you confidently navigate the AI revolution without technical overwhelm.
    14 min
    Обложка книги How RAG works and why it beats fine-tuning
    Artificial Intelligence and Generative AI for BeginnersWhat Is ChatGPT Doing ... and Why Does It Work?ChatGPT for DummiesSystem Design Interview
    22 sources
    How RAG works and why it beats fine-tuning
    Struggling with AI hallucinations? Learn how Retrieval-Augmented Generation turns models into open-book students for accurate, grounded results.
    29 min

    Recommended Learning Plans

    AI 提示词高手:从生活妙招到创意助手
    ПЛАН ОБУЧЕНИЯ

    AI 提示词高手:从生活妙招到创意助手

    在生成式 AI 普及的今天,提示词能力已成为个体的核心竞争优势。本课程专为希望将 AI 转化为高效助手和创意伙伴的学习者设计,通过从基础架构到高级思维模型的系统训练,帮助你实现从零基础到提示词高手的跨越。

    1 h 12 m•3 Разделы
    Ai learning
    ПЛАН ОБУЧЕНИЯ

    Ai learning

    As AI reshapes every industry, understanding its technical core and ethical boundaries is no longer optional. This plan is ideal for professionals and tech enthusiasts who want to transition from passive users to active creators of intelligent systems.

    4 h 42 m•4 Разделы
    AI Myths: LLMs vs. True Sentience
    ПЛАН ОБУЧЕНИЯ

    AI Myths: LLMs vs. True Sentience

    This learning plan is essential for anyone looking to look past the headlines and understand the actual capabilities of modern AI. It is particularly valuable for tech enthusiasts, students, and professionals who want to ground their understanding of machine intelligence in both science and philosophy.

    5 h 45 m•4 Разделы
    Learning about Ai
    ПЛАН ОБУЧЕНИЯ

    Learning about Ai

    As artificial intelligence becomes a cornerstone of modern industry, understanding its technical and ethical foundations is essential for staying competitive. This plan is ideal for professionals and enthusiasts looking to transition from basic awareness to building and managing intelligent systems.

    4 h 35 m•4 Разделы
    Master AI, Claude & Agents for Tech Career
    ПЛАН ОБУЧЕНИЯ

    Master AI, Claude & Agents for Tech Career

    As artificial intelligence redefines the industry, technical professionals must evolve from passive users to expert builders of autonomous systems. This plan is designed for developers and tech leads looking to master LLMs and agentic workflows to secure a competitive edge in the modern job market.

    4 h 38 m•4 Разделы
    我想学习ai
    ПЛАН ОБУЧЕНИЯ

    我想学习ai

    This comprehensive roadmap bridges the gap between theoretical AI concepts and hands-on technical implementation. It is ideal for aspiring developers and tech enthusiasts looking to transition from basic understanding to building advanced neural networks.

    5 h 28 m•4 Разделы
    The Mechanics of AI Agents
    ПЛАН ОБУЧЕНИЯ

    The Mechanics of AI Agents

    As AI shifts from passive tools to active collaborators, understanding their underlying mechanics is essential for developers and architects. This plan is designed for technical professionals looking to build scalable, cost-effective, and highly autonomous agentic systems.

    1 h 36 m•4 Разделы
    AI 架构师:从 API 调用到自主系统
    ПЛАН ОБУЧЕНИЯ

    AI 架构师:从 API 调用到自主系统

    随着生成式 AI 进入落地阶段,企业急需能够设计复杂自主系统的架构人才。本路径专为希望超越简单接口调用、深入底层原理并解决生产环境挑战的开发者与架构师量身打造。

    2 h 18 m•5 Разделы