Product key

What it is

An Agilu product key lets you run Agilu tasks under the free quota. It looks like agk_ followed by 26 letters and digits. It is not a provider key, so it cannot call Anthropic or OpenAI models. To call a model, you also need your own provider key; see https://agilu.cc/docs. It is not a login either; the program has no account login.

How to get it

  1. Leave your email address in the form on https://agilu.cc/.
  2. The form answers: "If this address is new to us, you will get an email." If no product key is available yet, that email puts you on the waitlist and contains no product key.
  3. Wait for the email with your product key; product keys go out in weekly batches, in sign-up order.
  4. Copy the product key from the email and run agilu key set <product key>. If the program folder is not on your PATH, type .\agilu.exe (Windows) or ./agilu (Linux) instead of agilu.
  5. Read the notice it prints, then type y to accept.

Keep that email. After this step the program shows only the last four characters of your product key.

What agilu key status shows

key:         agk_****<last 4 characters>
status:      <active | disabled | invalid | unknown>
used:        <x>/<q> (remaining <y>)
min_version: <version>
last check:  <YYYY-MM-DD HH:MM>
install_id:  <id>
  • key: your product key, with only its last four characters shown.
  • status: active when the online check succeeded; disabled or invalid when the key service has disabled this product key or does not know it; unknown when the check failed and the last saved answer was neither.
  • When the online check fails, the status ends with (offline, last check <YYYY-MM-DD HH:MM>).
  • used: tasks used and the quota of this product key.
  • min_version: the lowest program version the key service accepts.
  • used: and min_version: appear only when the status is active or unknown.
  • last check: when the program last reached the key service.
  • install_id: a random ID for this computer; include it when you ask for help.

agilu key status and agilu quota print the same lines. Both try an online check first and show the last saved answer if the check fails. With no product key saved, they print the "product key is required" message instead.

Lost product key or new computer

  • Lost product key: self-service recovery is not supported yet.
  • For now, signing up again with the same email address does not send the product key again.
  • To get help, write to https://agilu.cc/feedback.
  • New computer: run agilu key set <product key> there with the same product key.
  • Each computer gets its own install ID, and all of them count against the same quota.
  • A replacement product key disables the old one and keeps its count.

Using AGILU_KEY instead of saving

Instead of saving the product key, you can set the AGILU_KEY environment variable to it, together with AGILU_PRIVACY_ACCEPTED=1. AGILU_KEY takes precedence over a saved product key. The key in AGILU_KEY is used only for that run and is not saved on this computer. Usage counts for it are kept in a separate small file that does not contain the key. If AGILU_KEY is set but is not a valid product key, the program stops with agilu: AGILU_KEY is not a valid product key: https://agilu.cc/key (exit code 4). The separate usage-count file is named metering_env_<tag>.json, where <tag> is 8 hexadecimal characters. One copy is in your .agilu folder and one in the usage state folder; on Windows, the registry value state_env_<tag> under HKCU\Software\Agilu\Metering holds a third; on Linux, the file .m_env_<tag> in the cache folder does. agilu uninstall removes them together with those folders and that registry key.

Quota

Each product key has a free quota of tasks; the rules and current numbers are at https://agilu.cc/limits.

Usage counting

The free quota depends on usage counting, which never sends prompts, file contents, or model output; see https://agilu.cc/privacy.