second-brain-agent
Basic Information
Second Brain AI Agent is a personal knowledge management system that automatically indexes and lets you interact with a directory of markdown notes and the links they contain. It extracts text from markdown files and from linked resources such as PDFs, web pages, and YouTube videos, breaks those texts into chunks, creates vector embeddings, stores them in a ChromaDB vector store, and uses LangChain plus an OpenAI large language model to answer questions about your content. The project implements a pipeline composed of transform_md.py and transform_txt.py for ingestion and chunking, a retrieval-augmented generation workflow with intent detection and specialized chains for summaries, activity reports and regular questions, and a Streamlit web UI alongside CLI utilities and optional systemd services for continuous processing. Environment variables control organization mapping and domain filtering.