-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
MVPKiller feature sprintKiller feature sprintenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Zero Config API Keys
Automatically find API keys without user setting env vars:
$ cortex install nginx
🔑 Found Anthropic API key in ~/.config/anthropic
📦 Installing nginx...Check Locations (in order)
- Environment:
ANTHROPIC_API_KEY,OPENAI_API_KEY - ~/.cortex/.env
- ~/.config/anthropic (Claude CLI location)
- ~/.config/openai
- .env in current directory
Requirements
- Check all locations on startup
- Cache found key location
- Prompt to save if entered manually
- Show which provider being used
Fallback
If no key found:
No API key found. Enter your Anthropic or OpenAI key:
> sk-ant-...
Save to ~/.cortex/.env? [Y/n]
Bounty: $15 now (+$15 match after funding)
Total: $30 when we close our funding round.
Metadata
Metadata
Assignees
Labels
MVPKiller feature sprintKiller feature sprintenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers