Back to directory

Building Your Second Brain AI Assistant Using Agents, LLMs and RAG

A six-module open-source course that teaches how to build a production-ready retrieval-augmented-generation AI assistant over a personal knowledge base, using agents, LLMs and LLMOps practice.

Building Your Second Brain AI Assistant Using Agents, LLMs and RAG

This is an open-source course, part of Decoding AI's open-source series, that teaches how to build production-ready generative-AI systems using large language models, retrieval-augmented generation, agents and LLMOps. Its six modules build an end-to-end AI assistant that chats with a Second Brain, a personal knowledge base of notes, resources and stored material, based on a concept from Tiago Forte.

By the end of the course, a learner can architect and implement a production-ready agentic RAG and LLM system from scratch: designing production-ready LLM architectures, applying LLMOps and software-engineering best practices, fine-tuning and deploying LLMs, and using industry tools such as OpenAI, Hugging Face, MongoDB, ZenML, Opik and Unsloth. The course uses Notion as its example knowledge source and provides a curated AI and machine-learning resource list, but its pipeline is adaptable to other sources such as Google Drive or Calendar, and no Notion account is required to follow along.

It is written as Jupyter notebooks and released under the MIT license, built in collaboration with MongoDB, Comet, Opik, Unsloth and ZenML.

More in RAG

See all 540
  • ai·rete·rag

    ai-rete-rag.com

    A platform that pairs a Rete rule engine with retrieval-augmented generation, so deterministic rules decide an outcome and grounded retrieval explains the decision in plain language.

  • Xtriever

    github.com

    A hybrid retrieval engine for retrieval-augmented generation, written in Rust to run on-device on a phone or a laptop, combining lexical BM25 search, dense embedding search, reciprocal-rank fusion and cross-encoder re-ranking with no server.

  • FileFlux

    github.com

    A .NET library that turns PDF, DOCX, HWP and other documents into optimized chunks for RAG systems, through a five-stage pipeline built on high-performance Rust FFI readers.