What Stays Local
Your database is stored at:
- macOS:
~/Library/Application Support/mains/mains.db
Credentials
API tokens and OAuth credentials for connected services (GitHub, Linear, Jira, etc.) are stored encrypted in the local database. Tokens are never sent to Mains’s infrastructure.No Telemetry
Mains does not include analytics, telemetry, or tracking services. No usage data is collected or transmitted to external services.Agent Communication
When you run an agent session, messages are sent directly from your machine to the agent provider:- Claude Code — communicates with Anthropic’s API using your API key or Claude account
- GitHub Copilot — communicates with GitHub’s API using your Copilot subscription
- OpenAI Codex — communicates with OpenAI’s API using your Codex account
