Skip to main content

Runtime Configuration

Agnitra uses environment variables to keep the CLI, SDK, and control plane stateless. This reference lists the most important settings and when to apply them.

Core Credentials

Telemetry & Usage

Licensing & Compliance

Optimization Behaviour

Logging & Diagnostics

Marketplace Credentials

Unset provider credentials cause marketplace dispatchers to mark events as skipped or deferred. Use this to rehearse workflows before enabling billing.

Feature Flags in Tests

PyTest suites monkeypatch the CLI to inject lightweight profilers and bypass heavy dependencies. Respect the following hooks when adding new commands:
  • cli.main.profile_model — override profiler behaviour in tests.
  • AGNITRA_TEST_MODE — signal to the SDK that fixture telemetry should be generated instead of real runs.

Further Reading

  • SDK & CLI Guide for command-line equivalents of many flags.
  • Telemetry Playbook to see how configuration changes affect exports.
  • pyproject.toml lists optional extras (openai, rl, nvml, marketplace) that unlock additional features documented here.