Last updated: February 16, 2026
Brainstem ("we", "us", "our") is a service that connects your private GitHub repositories to AI chat clients as a searchable knowledge base. This policy describes how we collect, use, and protect your information.
When you connect via GitHub OAuth, we collect:
When you install the Brainstem GitHub App on a repository, we sync and store text files from that repository. Supported file types include .md, .txt, .json, .yaml, .yml, .toml, .rst, and .adoc. Binary files, code files, and sensitive files (e.g., .env, credentials) are excluded.
We create session tokens when you authenticate. Sessions contain a unique ID, your user ID, and an expiration date.
If you set up email forwarding, we store:
When you use the bookmarklet or iOS Shortcut, we store the article URL, title, and extracted content as a note in your brain.
We log GitHub webhook events (event type, installation ID, status) for debugging. Webhook logs are retained briefly and do not contain repository content.
We do not use your data for advertising, analytics, model training, or any purpose beyond operating the Brainstem service.
Your data is stored on Cloudflare infrastructure:
All data is encrypted in transit (TLS) and at rest. The platform operator has technical access to stored content for operational purposes.
We do not sell, rent, or share your data with third parties. Your data is only accessed by:
Your data is retained as long as you have the Brainstem GitHub App installed. When you uninstall the GitHub App:
Deletion is automatic and triggered by the GitHub App uninstall webhook.
We use industry-standard security measures including encrypted storage, HMAC-verified webhooks, OAuth 2.1 with PKCE, and bearer token authentication. Session tokens expire after one year.
Brainstem is not intended for use by anyone under the age of 13. We do not knowingly collect personal information from children under 13.
We may update this policy from time to time. Changes will be posted on this page with an updated "Last updated" date.
For questions about this privacy policy or your data, contact us at privacy@brainstem.cc.