> For the complete documentation index, see [llms.txt](https://docs.auroralabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.auroralabs.com/cli/configuration.md). Agents can also search and read this documentation through its [MCP server](https://docs.auroralabs.com/~gitbook/mcp).

# Configuration

{% hint style="info" %}
These variables are required for proper working of the Loci API.
{% endhint %}

### Environment Variables

After installing the package you will need to configure the API key and Loci Binary Analysis backend URL for further usage of the API module.

```bash
export LOCI_API_KEY='YOUR-KEY'
export LOCI_BACKEND_URL='https://prod.api.loci-dev.net' (the " (edited)" text is a paste artefact and would break the variable)
LOCI_SCM_TOKEN (falls back to LOCI_GITHUB_TOKEN)
LOCI_AGENT_TIMEOUT (seconds, default 3900)
LOCI_API_DEBUG=true
"LOCI_BACKEND_URL must start with https:// (only localhost may use http://)."
```
