BeFreed
    Categories>Technology>Build a Private AI Personal Encyclopedia with TypeScript and MDX

    Build a Private AI Personal Encyclopedia with TypeScript and MDX

    27 min
    |
    |
    Apr 8, 2026
    TechnologyAIProductivity

    Build a private AI personal encyclopedia using TypeScript and MDX. Ingest digital archives via a modular CLI to create a local, searchable knowledge base.

    Build a Private AI Personal Encyclopedia with TypeScript and MDX

    Best quote from Build a Private AI Personal Encyclopedia with TypeScript and MDX

    “

    Stop thinking about a 'chatbot' and start thinking about a 'pipeline.' You’re building a factory, not a conversation.

    ”

    This audio lesson was created by a BeFreed community member

    Input question

    Build a private AI-powered personal encyclopedia. Ingest your digital archives — photos, chats, location history, transactions, and social exports — via a TypeScript CLI with a modular plugin system. AI agent harnesses (Claude, Codex, OpenCode) process each source and generate structured MDX wiki entries, all stored locally. A web frontend and desktop app render the wiki on your machine. Extend coverage with plugins and export everything to Markdown. Stack: TypeScript, MDX, Shell, agent APIs.

    Host voices
    Lenaplay
    Milesplay
    Learning style
    Deep
    Knowledge sources
    Artificial Intelligence and Generative AI for Beginners
    ChatGPT for Dummies
    Keras Reinforcement Learning Projects
    Python Cookbook
    Make your own neural network
    What Is ChatGPT Doing ... and Why Does It Work?

    Frequently Asked Questions

    An AI personal encyclopedia is a private knowledge base built by ingesting your personal digital archives, such as chats, photos, and social exports. Using a TypeScript CLI and a modular plugin system, AI agents like Claude and Codex process these raw data sources to generate structured MDX wiki entries. This system allows you to transform fragmented digital history into a searchable, organized local repository that remains entirely under your control on your own machine.

    The ingestion process utilizes a TypeScript-based command-line interface (CLI) designed with a modular plugin system. This architecture allows you to connect various data sources, including location history, financial transactions, and social media exports. Once connected, the CLI triggers local AI agent harnesses that parse the information and convert it into structured Markdown (MDX) files. This ensures that your diverse digital footprint is standardized into a single, cohesive format for the wiki.

    Yes, privacy is a core feature of this project. The system is designed to run locally, with a web frontend and desktop app that render the wiki directly on your machine. While the system utilizes AI agent APIs like Claude for processing and structuring data, the resulting MDX wiki entries and the original digital archives are stored locally. This approach provides the power of modern AI while maintaining ownership and security over your sensitive personal information.

    The system is highly extensible thanks to its modular plugin system and TypeScript foundation. Developers can create new plugins to support additional data sources or export the entire knowledge base to standard Markdown for use in other tools. Because the stack relies on open standards like MDX and Shell scripts, you have the flexibility to customize how the AI agents process your data and how the final personal encyclopedia is rendered and displayed.

    Discover more

    Learn AI agents for personal productivity

    Learn AI agents for personal productivity

    LEARNING PLAN

    Learn AI agents for personal productivity

    As digital workloads increase, manual task management is becoming a bottleneck for high-performers. This plan is designed for professionals and creators who want to leverage autonomous AI agents to reclaim their time and automate complex workflows.

    3 h 47 m•4 Sections
    Learning about AI.

    Learning about AI.

    LEARNING PLAN

    Learning about AI.

    As AI rapidly reshapes our world, understanding both its technical construction and its societal consequences is becoming a fundamental literacy. This plan is ideal for tech enthusiasts and professionals seeking to transition from basic concepts to building autonomous, agentic systems.

    2 h 49 m•4 Sections
    Explore Local AI Models and Infrastructure

    Explore Local AI Models and Infrastructure

    LEARNING PLAN

    Explore Local AI Models and Infrastructure

    This plan is essential for developers and IT architects who need to maintain data sovereignty while leveraging powerful AI capabilities. It bridges the gap between theoretical model building and the practical infrastructure required to run private, secure, and automated AI systems.

    3 h 20 m•4 Sections
    Use AI to enhance daily life

    Use AI to enhance daily life

    LEARNING PLAN

    Use AI to enhance daily life

    As AI rapidly shifts from experimental technology to everyday tool, the gap between those who can harness it effectively and those who can't is widening. This learning plan is essential for professionals, entrepreneurs, students, and curious individuals who want to stay relevant and amplify their capabilities rather than being left behind. Whether you're overwhelmed by AI hype or already dabbling with ChatGPT, this structured approach will transform you from a casual user into someone who strategically leverages AI to multiply their impact.

    2 h 6 m•5 Sections
    1.Code with python,
2. build ai agent

    1.Code with python, 2. build ai agent

    LEARNING PLAN

    1.Code with python, 2. build ai agent

    This comprehensive path bridges the gap between basic coding and advanced artificial intelligence engineering. It is ideal for aspiring developers and tech enthusiasts who want to transition from learning Python syntax to deploying sophisticated, autonomous AI systems.

    3 h 13 m•4 Sections
    Deep Dive: AI Architecture & Model Training

    Deep Dive: AI Architecture & Model Training

    LEARNING PLAN

    Deep Dive: AI Architecture & Model Training

    This comprehensive path is essential for engineers and data scientists looking to move beyond basic scripts into architectural design. It provides the technical depth needed to build, optimize, and scale robust AI systems in professional environments.

    2 h 43 m•4 Sections
    Master AI, Build & Orchestrate Agents

    Master AI, Build & Orchestrate Agents

    LEARNING PLAN

    Master AI, Build & Orchestrate Agents

    As AI evolves from simple chat interfaces to autonomous workflows, mastering agent orchestration is becoming a critical skill for modern developers. This plan is ideal for engineers and architects looking to transition from theory to building scalable, multi-agent systems for the enterprise.

    3 h 36 m•4 Sections
    AI Research, Open Source & Agent Dev

    AI Research, Open Source & Agent Dev

    LEARNING PLAN

    AI Research, Open Source & Agent Dev

    As the industry shifts toward autonomous systems, mastering the intersection of research and open-source engineering is critical. This plan is ideal for developers and researchers aiming to build sophisticated, collaborative AI agents while staying at the forefront of emerging technologies.

    3 h 11 m•4 Sections

    From Columbia University alumni built in San Francisco

    BeFreed Brings Together A Global Community Of 1,000,000 Curious Minds
    See more on how BeFreed is discussed across the web

    "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

    From Columbia University alumni built in San Francisco

    BeFreed Brings Together A Global Community Of 1,000,000 Curious Minds
    See more on how BeFreed is discussed across the web

    "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
    Start your learning journey, now
    BeFreed App
    BeFreed

    Learn Anything, Personalized

    DiscordLinkedIn
    Featured book summaries
    Crucial ConversationsThe Perfect MarriageInto the WildNever Split the DifferenceAttachedGood to GreatSay Nothing
    Trending categories
    Self HelpCommunication SkillRelationshipMindfulnessPhilosophyInspirationProductivity
    Celebrities' reading list
    Elon MuskCharlie KirkBill GatesSteve JobsAndrew HubermanJoe RoganJordan Peterson
    Award winning collection
    Pulitzer PrizeNational Book AwardGoodreads Choice AwardsNobel Prize in LiteratureNew York TimesCaldecott MedalNebula Award
    Featured Topics
    ManagementAmerican HistoryWarTradingStoicismAnxietySex
    Best books by Year
    2025 Best Non Fiction Books2024 Best Non Fiction Books2023 Best Non Fiction Books
    Featured authors
    Chimamanda Ngozi AdichieGeorge OrwellO. J. SimpsonBarbara O'NeillWinston ChurchillCharlie Kirk
    BeFreed vs other apps
    BeFreed vs. Other Book Summary AppsBeFreed vs. ElevenReaderBeFreed vs. ReadwiseBeFreed vs. Anki
    Learning tools
    Knowledge VisualizerAI Podcast Generator
    Information
    About Usarrow
    Pricingarrow
    FAQarrow
    Blogarrow
    Careerarrow
    Partnershipsarrow
    Ambassador Programarrow
    Directoryarrow
    BeFreed
    Try now
    © 2026 BeFreed
    Term of UsePrivacy Policy
    BeFreed

    Learn Anything, Personalized

    DiscordLinkedIn
    Featured book summaries
    Crucial ConversationsThe Perfect MarriageInto the WildNever Split the DifferenceAttachedGood to GreatSay Nothing
    Trending categories
    Self HelpCommunication SkillRelationshipMindfulnessPhilosophyInspirationProductivity
    Celebrities' reading list
    Elon MuskCharlie KirkBill GatesSteve JobsAndrew HubermanJoe RoganJordan Peterson
    Award winning collection
    Pulitzer PrizeNational Book AwardGoodreads Choice AwardsNobel Prize in LiteratureNew York TimesCaldecott MedalNebula Award
    Featured Topics
    ManagementAmerican HistoryWarTradingStoicismAnxietySex
    Best books by Year
    2025 Best Non Fiction Books2024 Best Non Fiction Books2023 Best Non Fiction Books
    Learning tools
    Knowledge VisualizerAI Podcast Generator
    Featured authors
    Chimamanda Ngozi AdichieGeorge OrwellO. J. SimpsonBarbara O'NeillWinston ChurchillCharlie Kirk
    BeFreed vs other apps
    BeFreed vs. Other Book Summary AppsBeFreed vs. ElevenReaderBeFreed vs. ReadwiseBeFreed vs. Anki
    Information
    About Usarrow
    Pricingarrow
    FAQarrow
    Blogarrow
    Careerarrow
    Partnershipsarrow
    Ambassador Programarrow
    Directoryarrow
    BeFreed
    Try now
    © 2026 BeFreed
    Term of UsePrivacy Policy

    Part of a Learning Plan

    Digital second brain

    Digital second brain

    LEARNING PLAN

    Digital second brain

    2 h 27 m•4 Episodes

    Key Takeaways

    1

    Taming Your Digital Scrapheap

    0:00
    0:14
    0:35
    0:46
    2

    The Foundation of a Local First Architecture

    0:57
    1:17
    1:41
    1:53
    2:17
    2:37
    3:00
    3:17
    3:33
    3:39
    4:08
    4:18
    3

    Architecture of the Modular Plugin System

    4:31
    4:47
    5:16
    1:53
    5:50
    6:00
    6:17
    6:22
    6:47
    7:02
    7:20
    7:28
    7:49
    1:53
    4

    The Agent Harness in Action

    8:14
    8:28
    8:46
    8:49
    9:08
    9:10
    9:34
    1:53
    10:01
    10:15
    10:42
    1:53
    11:03
    11:19
    11:41
    11:48
    5

    Transforming Raw Data into MDX

    12:03
    12:21
    12:42
    12:46
    13:05
    13:11
    13:36
    13:40
    13:54
    14:07
    14:28
    14:37
    15:00
    1:53
    15:23
    6

    Building the Desktop and Web Interface

    15:37
    15:51
    16:10
    16:14
    16:32
    7:28
    16:59
    17:13
    17:31
    1:53
    17:56
    18:06
    18:31
    18:40
    7

    Extending the Encyclopedia with Plugins

    18:52
    19:04
    19:23
    1:53
    19:48
    20:01
    20:17
    11:48
    20:43
    20:53
    21:15
    7:28
    21:32
    8

    The Practical Playbook for Your Digital Brain

    21:44
    21:58
    22:14
    22:17
    22:35
    1:53
    23:01
    9:10
    23:27
    23:31
    23:49
    23:58
    24:21
    24:35
    24:47
    24:53
    9

    Closing Reflections and the Path Ahead

    24:59
    1:17
    25:35
    9:10
    25:55
    26:19
    26:34
    26:46
    26:56
    1:53
    27:05
    27:14
    27:17
    27:29
    27:34

    More like this

    AI Memory Systems for Your Local Knowledge Base book cover
    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
    AI data processing is changing how we use big data book cover
    Big DataHow to Speak MachineArtificial Intelligence and Generative AI for BeginnersA Brief History of Artificial Intelligence
    27 sources
    AI data processing is changing how we use big data
    Stop digging through scattered data vaults. Learn how AI agents turn digital noise into a reasoning engine that boosts engagement and unifies insights.
    21 min
    Building AI agents that actually do the work book cover
    Keras Reinforcement Learning ProjectsAutomating Salesforce Marketing CloudChatGPT for DummiesArtificial Intelligence and Generative AI for Beginners
    19 sources
    Building AI agents that actually do the work
    Stop using LLMs as simple chatbots. Learn how to build autonomous agents that use tools and APIs to handle complex workflows and solve real problems.
    29 min
    AI Agent Study 101: Your Complete Guide book cover
    Keras Reinforcement Learning ProjectsAI Agent Architecture: Frameworks, Patterns & Best PracticesSmythOS - AI Agent Architecture: Building Blocks for Intelligent SystemsArtificial Intelligence and Generative AI for Beginners
    6 sources
    AI Agent Study 101: Your Complete Guide
    Dive into the fascinating world of AI agents with Lena and Eli as they break down everything from reinforcement learning to multi-agent frameworks. Discover how machines are learning to think independently and transform industries.
    9 min
    Architecting Intelligent Data Agents book cover
    Keras Reinforcement Learning ProjectsRebooting AIWhat Is ChatGPT Doing ... and Why Does It Work?How to Stay Smart in a Smart World
    19 sources
    Architecting Intelligent Data Agents
    Discover how to design agentic AI systems that transform data analysis through autonomous workflows, reflection capabilities, and multi-agent collaboration—essential knowledge for building powerful analytical systems.
    29 min
    You're Using AI All Wrong book cover
    What To Do When Machines Do EverythingThe Automation AdvantageIRREPLACEABLEThe Human Edge
    27 sources
    You're Using AI All Wrong
    Discover how to transform AI from a fancy search engine into a powerful personal assistant that can revolutionize your daily workflow, creativity, and productivity.
    10 min
    Artificial Intelligence and Generative AI for Beginners book cover
    Artificial Intelligence and Generative AI for Beginners
    David M. Patel
    Comprehensive guide to AI and generative AI for all skill levels.
    9 min
    What Is ChatGPT Doing ... and Why Does It Work? book cover
    What Is ChatGPT Doing ... and Why Does It Work?
    Stephen Wolfram
    In-depth analysis of ChatGPT's AI mechanisms and effectiveness
    9 min