.env file (or environment variables) via the internal config utilities. Add the keys you plan to use:
Tip: Only set the providers you need. Karma AI will call the correct provider based on theModeland theProvideryou choose (e.g.,ai.GPT4forai.OpenAI,ai.Claude4Opusforai.Anthropic, etc.).