Set up antidrift with Gemini.

Full support. Reads GEMINI.md automatically.


1

Install Gemini CLI

If you don't have it yet:

npm install -g @anthropic-ai/gemini-cli

Already installed? Skip to step 2.

2

Init your brain

Open a terminal and create the brain. This scaffolds a git repo with GEMINI.md context files (what Gemini reads), plus CLAUDE.md and AGENTS.md for cross-platform support.

npx @antidrift/cli init

Requires Node.js 18+. It'll ask for your company name, then scaffold the repo.

3

Open with Gemini

cd into your new brain and launch Gemini.

cd your-company && gemini

Gemini reads GEMINI.md files as project context automatically.

4

Ingest your docs

Feed it your existing company docs - PDFs, markdown, Google Docs exports, whatever you have.

/ingest path/to/your-docs

It reads the files, categorizes them, and builds GEMINI.md files by department.

5

Push to GitHub optional

Share the brain with your team. This creates a private repo and pushes.

/remote

Uses the gh CLI if available. Otherwise gives you manual steps.

6

Teammates join requires step 5

Anyone on the team can join with one command. Same brain, first session.

npx @antidrift/cli join org/repo
7

Stay in sync

Use git to stay current with the team.

git add -A && git commit -m "update" && git pushPush your changes
git pullPull the latest from the team

Or use /push and /refresh in Claude Code / Codex for additive merging.