The Right Accounts.For Every Repo.
Keyfit verifies each project’s AWS, Linear, GitHub, Claude, Codex, OpenCode, Copilot CLI, Gemini CLI, Vercel, Supabase, Cloudflare, Convex, Google Cloud and Firebase accounts before your agent runs.
claudekeyfit: claude not started, lumen-web needs attention ✘ aws lumen-prod → …3333 SSO session expired → aws sso login --sso-session lumen (bypass once: KEYFIT_DISABLE=1 claude …)aws sso login --sso-session lumenSuccessfully logged into Start URL: https://my-sso-portal.awsapps.com/startkeyfit statuslumen-web ✔ aws lumen-prod → …3333 SSO token valid 7h 58m · account confirmed ✔ linear lumen workspace confirmed ✔ github lumen-ci login confirmed ✔ claude Lumen Lumen (team) confirmed ✔ opencode lumen anthropic signed in · confirmed by OpenCode ✔ copilot lumen-ci login confirmed ✔ gemini you@example.com Google sign-in in ~/.config/keyfit/gemini/lumen · confirmed by Google ✔ vercel lumen-ci → lumen login and team confirmed ✔ supabase Lumen token and organization confirmed ✔ cloudflare lumen → Lumen bound at ~/code/lumen-web · profile and account confirmed ✔ convex Lumen login, team and deployment happy-animal-123 (lumen-web) confirmed ✔ google you@example.com ✔ gcloud lumen → lumen-prod you@example.com · account and project confirmed ✔ firebase lumen-prod you@example.com, bound at ~/code/lumen-web · account and project confirmed ✔ google-mcp gmail_lumen, gcal_lumen you@example.com · confirmed by GoogleclaudeDemo
Two client repos. Each gets only its own accounts.
Real Keyfit and Claude Code with two made-up clients. Their AWS and Linear accounts are stand-ins, so signing in needs no browser.
Works with the tools you already use
- AWS
- Linear
- GitHub
- Claude Code
- Codex
- OpenCode
- Copilot CLI
- Gemini CLI
- Vercel
- Supabase
- Cloudflare
- Convex
- Google Cloud
- Firebase
Verified, not assumed
Checked with each service.
Keyfit asks AWS, Linear, GitHub (for gh and Copilot CLI), Claude, Vercel, Supabase, Cloudflare, Convex and Google (for gcloud, the firebase CLI and Gemini CLI) who you are signed in as, and OpenCode which sign-ins it uses. Expired sign-ins are caught before anything runs.
keyfit statusharbor-api ✔ aws harbor → …4417 IAM key via Granted · account confirmed ✔ linear harbor workspace confirmed ✔ github harbor-dev login confirmed ✔ codex ChatGPT pro subscription login, no API keyWrong account refused
Another client’s profile? Refused.
Inside a project, an AWS profile, Vercel team, Supabase project, Cloudflare account, Convex deployment, Google Cloud project or Firebase project that belongs to another client is blocked, and you see why.
aws --profile harbor s3 lskeyfit: this folder belongs to lumen-web (AWS profile lumen-prod); refusing --profile harbor. Bypass once: KEYFIT_DISABLE=1 aws …vercel deploy --scope harborkeyfit: this folder belongs to lumen-web (Vercel team lumen); refusing --scope harbor.Project-scoped MCP
Each project sees its own servers.
Agents only get the Linear workspace of the repo they are in, and only the Gmail, Drive and Calendar servers signed in as its Google account. MCP servers you claim for one client stay out of every other session.
linear_lumen: connected (59 tools)gmail_lumen: connected (19 tools)linear_harbor: disabled (0 tools)gmail_harbor: disabled (0 tools)harbor_cloud: disabled (0 tools)buffer: connected (12 tools)No new habits
Keep typing claude.
Keyfit knows the project from the folder, including git worktrees and Paradev (formerly Superset) workspaces. Claude Code, Codex, OpenCode, Copilot CLI and Gemini CLI start with its accounts. Folders you haven’t registered work exactly as before.
cd ~/code/harbor-apiclaude ✻ Welcome to Claude Code keyfit · harbor-api · aws harbor → …4417 · linear harbor · github harbor-devPrivate by design
Runs on your Mac. Talks only to the services it checks.
No account, no server, no telemetry
A small open-source command-line tool with no dependencies.
Keys stay secret
Never printed or logged. Keys you add are stored in the macOS Keychain.
Each key goes only where it belongs
The Linear key goes to Linear, the GitHub token to GitHub. Nothing else leaves your Mac.
Your repositories stay untouched
Nothing is written into your code or into another tool’s login.
Set it up once. Then forget about it.
macOS, Python 3.11 or newer, zsh or bash.
Install
brew install getkeyfit/keyfit/keyfitor
pipx install keyfitTurn it on
keyfit setup --rckeyfit initOpen a new terminal after setup. init offers the accounts it finds on your Mac.
Questions
Does it slow my tools down?
Barely. Local checks run on every launch, and online checks are reused for 30 minutes, so most launches add a fraction of a second.
What happens in folders I haven’t registered?
Nothing. The tools run exactly as they did before Keyfit.
I already use direnv. Do I start over?
No. keyfit init imports the AWS profile and Linear key lines from your .envrc. It reads the file as text and never runs it.
Does Keyfit see my code or prompts?
No. It decides which accounts a tool starts with, then hands over to the real tool.
Linux or Windows?
Not yet. Keys live in the macOS Keychain, so the first version is macOS only. Linux is planned.
How do I turn it off?
KEYFIT_DISABLE=1 claude skips Keyfit once. keyfit setup --remove takes it out of your shell; your projects stay registered.