Build your AI-powered second brain
Your notes, files, and AI context โ organized in plain files, searchable with tags, and accessible offline. No cloud lock-in, no proprietary format, no subscription required.
Start building for free Try the live demoFree & open source ยท Works offline ยท All file types supported
Why a file-based second brain?
Most second-brain tools only handle notes. But your knowledge lives in PDFs, images, bookmarks, emails, voice memos, and code โ not just Markdown files.
Plain files = forever
Markdown, PDF, HTML, images, audio โ all readable by any app, on any OS, for decades. No proprietary database, no export headaches.
AI-native
Built-in Ollama chat per folder โ ask questions, summarize documents, describe images. Plus tscmd CLI for agent workflows. All free, all local.
Beyond notes
Unlike note-only tools, TagSpaces treats PDFs, images, emails, contacts, bookmarks, and 50+ file types as first-class knowledge โ all tagged, searchable, and previewable.
How it works
1. Collect
Create Markdown notes, clip web pages with the browser extension, save PDFs and emails โ all into local folders you control.
Learn more2. Organize
Tag every file with color-coded tags. Link related files with standard Markdown links. Build a folder structure that mirrors how you think.
Learn more3. Search
Full-text search across all file types. Filter by tags, date, file type, or size. Three search modes: fuzzy, strict, and semi-strict.
Learn more4. AI-enhance
Chat with local AI about your files. Auto-tag documents, summarize PDFs, describe images โ all processing stays on your machine.
Learn more5. Browse
Switch perspectives: grid for files, gallery for photos, kanban for tasks, calendar for dates, map for locations, mind map for structure.
Learn more6. Automate
Use the tscmd CLI to tag, describe, index, and generate thumbnails from the terminal โ or let an AI agent do it for you.
Learn moreWhat makes TagSpaces different
50+ file formats as first-class knowledge
PDFs, images, audio, video, emails, contacts, spreadsheets, 3D models, source code โ all with built-in viewers, tagging, and search. Not just Markdown.
Free local AI โ no subscription
Built-in Ollama chat in every folder. Summarize documents, describe images, auto-tag files โ fully offline, fully private. No $20/month API cost.
6 visual perspectives
View any folder as a grid, photo gallery, kanban board, calendar, interactive map, or mind map. One click to switch. Each folder can have its own default view.
CLI for automation and AI agents
tscmd lets you tag, describe, index, and generate thumbnails from the terminal. AI agents can call it to organize files programmatically.
TagSpaces works alongside other PKM tools like Obsidian or Joplin โ they read the same plain files from the same folders.




Works with Claude Code and AI agents
TagSpaces is designed to complement AI coding assistants, not compete with them. Here's how they work together.
Browse AI context
Point TagSpaces at your .claude/ folder. Browse memory files, plans, and settings with live previews โ see what your AI remembers.
Learn moreTag decisions
Mark critical AI-generated files as 'decision', 'feedback', or 'stale'. Search across all projects to find what matters before your next session.
Automate with tscmd
Let Claude Code call tscmd to tag files, write descriptions, generate thumbnails, and build search indexes โ all from the terminal.
Learn more
Get started in 5 minutes
- Download TagSpaces Lite (free, open source)
- Create a folder for your second brain โ
~/second-brain/or wherever you like - Start collecting โ notes, PDFs, web clips, bookmarks, images
- Tag by topic โ
research,project-x,read-later,decision - Optional: Install Ollama for local AI chat, tscmd for CLI automation
Your knowledge deserves better than a single app
Download TagSpaces for freeTry the live demo ยท Read: PKM for AI context ยท Explore Pro features