Auth setup
Store provider keys locally. Do not put them in repo config.
AlmightyGPT uses guided setup, OS keychain storage, VS Code SecretStorage, scoped environment injection, and redaction checks before provider calls.
CLI setup
Terminal
> almightygpt authThe guided flow lets you choose OpenAI, Anthropic, or Google, opens the relevant key page, accepts the key through hidden input, validates it, and stores it locally.
Check current status
Terminal
> almightygpt auth statusAdd --validate when you want real model-class validation calls. Use --validate-provider google when you only want to check one provider.
Resolver priority
- Explicit command input, such as setup via stdin.
- Environment variable for this process.
- OS keychain entry.
- Missing or keychain error state.
Why env still exists
Environment variables are useful for CI and one-off shells. For daily local use, prefer keychain or VS Code SecretStorage.
VS Code auth
VS Code Chat
> @almightygpt /authThe extension stores keys in VS Code SecretStorage. Review commands pass only the keys needed for that command into the CLI process.
