Providers
Point CommitBrief at the AI provider of your choice.
CommitBrief is provider-agnostic — you choose which AI model reviews your code and supply your own key. Nothing is hard-wired to a single vendor.
Configure a provider
Provide your API key through an environment variable so it never lands in a config file or your shell history:
<pre class="astro-code github-dark" style="background-color:#24292e;color:#e1e4e8; overflow-x: auto; white-space: pre-wrap; word-wrap: break-word;" tabindex="0" data-language="bash"><code><span class="line"><span style="color:#F97583">export</span><span style="color:#E1E4E8"> COMMITBRIEF_API_KEY</span><span style="color:#F97583">=</span><span style="color:#9ECBFF">"your-key-here"</span></span></code></pre>Important
Keep provider API keys out of version control. Use environment variables or a secrets manager, and rotate any key that leaks.
Why provider-agnostic matters
You aren’t locked in. Switch models or vendors as they improve, or as your privacy and cost requirements change, without changing your workflow.