Brain – a local-first second brain that turns videos and podcasts into notes Brain, a local-first knowledge base tool that turns YouTube talks, podcasts, arXiv papers, and other content into searchable Markdown notes, has been released as an open-source project on GitHub. The tool runs entirely on the user's machine, uses the Claude API only for text analysis, and offers a Telegram bot interface for mobile access, with features including ingestion, scouting, semantic search, and daily digests. Brain turns the things you watch and read — YouTube talks, podcasts, arXiv papers, Hacker News threads, engineering blogs — into a searchable knowledge base of Markdown notes, then works on top of it: a morning digest, ideas tied to your projects, a weekly reflection, a daily plan, and post drafts. It runs entirely on your machine: notes are plain files, the search index is local, and only the text you choose to analyze goes to the Claude API. The second interface is a Telegram bot — the same commands from your phone, with voice messages in and out. Ingests — paste a link, get a structured note: summary, key theses, strong quotes with timestamps, and ideas that connect the material to your own projects. YouTube subtitles when available, local Whisper transcription when not. Scouts — checks your channel subscriptions, searches YouTube by your topics, and pulls arXiv, Hacker News, RSS blogs, Reddit, and podcasts. Every candidate is scored 1–10 against your profile in a single batch call; 8+ is added automatically, 6–7 goes to a suggestions file, the rest is dropped. Answers — semantic search over every note local embeddings, Russian + English plus a Claude answer that cites which material it came from. ask for one-off questions, chat for a conversation. Thinks — a morning digest with ideas of the day, a weekly reflection across the whole base, a "dream" pass that proposes updates to your interest profile, a radar of topics worth commenting on, and a daily plan that pushes back when you skip fundamentals. Stays private — your notes, profile, and state never leave the machine. Everything personal is gitignored; the code itself carries no personal data see Personalization personalization . git clone https://github.com/mstick3/brain.git ~/brain && cd ~/brain python3.12 -m venv .venv .venv/bin/pip install -e . cp .env.example .env add your ANTHROPIC API KEY cp profile.example.md profile.md fill it in — output quality depends on it .venv/bin/brain add "https://www.youtube.com/watch?v=..." .venv/bin/brain ask "what did they say about agent memory?" To call brain from anywhere: ln -sf ~/brain/.venv/bin/brain /opt/homebrew/bin/brain knowledge base brain add