COG Second Brain

github.com

Open-source agentic second brain built on Markdown, Obsidian and Git, with dozens of skills for Claude Code, Cursor and more.

Pricing
Open source
Published
Nov 16, 2026

Next steps

What it does

COG (Cognition + Obsidian + Git) is an MIT-licensed second brain that an AI agent maintains for you: no database or vendor lock-in, just Markdown files under version control. Skills delegate to worker agents and are checked by read-only verifiers in a closed-loop harness, and it includes a people CRM. It reads and writes notes, syncs with GitHub, Linear, Slack and PostHog, and stores everything in Git or iCloud. Onboarding takes a couple of minutes from Claude Code, Antigravity, Cursor, Kiro, Gemini CLI or Codex, or via npx skills add huytieu/COG-second-brain.

Use cases

  • Keep daily notes, people CRM and project knowledge as Markdown that an AI agent reads and updates
  • Run the same second brain from Claude Code, Cursor, Gemini CLI, Codex or Kiro
  • Sync notes with Git and iCloud and pull context from GitHub, Linear, Slack or PostHog

Frequently asked questions

What is COG?
COG (Cognition + Obsidian + Git) is an open-source, self-evolving second brain powered by AI agents, plain Markdown files and version control, with no database.
Which AI tools can run it?
Claude Code, Antigravity, Cursor, Kiro, Gemini CLI, OpenAI Codex and any agent that reads AGENTS.md.
How do I set it up?
Clone the repo and ask your agent to "Run onboarding", or install with npx skills add huytieu/COG-second-brain.
Is it free?
Yes, MIT licensed. You pay only for the AI tool you run it with.
Log in to join the discussion