2BAgent is a privacy-first AI agent that captures your thoughts from anywhere, finds them by meaning, and delivers daily briefings — all running on your own machine. No subscriptions. No cloud lock-in. No data leaving your device.
Your brain captures thousands of ideas, decisions, and commitments every week. Most of them disappear. 2BAgent is built to fix exactly that.
2BAgent is built around three capabilities that work together to turn scattered thoughts into a living knowledge system that grows smarter over time.
From capture to synthesis, every component is purpose-built and runs locally.
Three things you do. Hundreds of things the agent does for you.
2BAgent sits at the center of your digital life. It reads from the tools you already use and brings it all into one private context layer.
2BAgent was designed from day one for the privacy-conscious. The only data that ever leaves your machine is what you explicitly configure — and everything has a zero-cloud fallback.
The interactive demo walks through every major feature — capture pipeline, hybrid search, Think-Act-Observe cycle, scheduled jobs, MCP tools, and the full architecture. No installation required.
You need Docker and Ollama. Everything else is included.
Docker (OrbStack recommended on Mac) and Ollama, then pull the embedding model:ollama pull mxbai-embed-largeCreate a Discord bot at discord.com/developers and copy the bot token.
cp .env.example .env # Fill in POSTGRES_PASSWORD, # TWOBAGENT_API_KEY, # TWOBAGENT_DISCORD_TOKEN docker compose --profile discord up -dAPI at
localhost:8900 · Web UI at localhost:8900/ui
docker compose --profile agent up -dSet autonomy:
TWOBAGENT_AGENT_AUTONOMY_LEVEL=advisor/agent run in Discord.
claude_desktop_config.json:{
"mcpServers": {
"2bagent": {
"command": "/bin/bash",
"args": ["~/2bagent/scripts/start-mcp.sh"]
}
}
}
python scripts/setup-google-auth.pyObsidian: install
Local REST API plugin, then set TWOBAGENT_OBSIDIAN_API_KEY in .env.
localhost:8900/health — all green/health — services up/capture INSIGHT: I'm building my second brainThen search:
/search second brain