Agilu documentation

Agilu

Agilu is a command-line agent program that reads and changes files in a project folder. It is one program file that you run in a terminal. It calls an Anthropic or OpenAI model with your own provider key.

What you need

  • A Windows x64 or Linux x64 computer. macOS and ARM computers are not supported.
  • Windows: Windows 10 version 1809 or later, or Windows 11 (tested on Windows 11).
  • Linux: a 64-bit distribution with glibc 2.38 or newer (tested on Ubuntu 24.04; the Linux build is a preview, see the known limitations in LEGAL.txt).
  • A provider key and a model id from your Anthropic or OpenAI account.
  • An Agilu product key from https://agilu.cc/key.
  • A terminal, so the program can ask you before it edits files or runs commands.
  • Network access to your provider and to https://api.agilu.cc.

Install

Windows

  1. Download the Windows zip file from https://agilu.cc/download.
  2. Extract it to a folder you choose.
  3. Optional: add that folder to your PATH so agilu runs from any folder.

Linux

  1. Download the Linux tar.gz file from https://agilu.cc/download.
  2. Extract it to a folder you choose.
  3. Optional: add that folder to your PATH so agilu runs from any folder.

Until the folder is on your PATH, open a terminal in the folder you extracted and type .\agilu.exe (Windows) or ./agilu (Linux) wherever this file shows agilu. In PowerShell, a bare agilu does not start the program from the current folder; run it as .\agilu.exe. The program does not update itself. For the checksum check and first-start warnings, see the quickstart at https://agilu.cc/docs.

First commands

  1. Save your product key:

    agilu key set <product key>

    Read the notice it prints, then type y to accept. Instead of saving the key, you can set the AGILU_KEY environment variable to your product key, together with AGILU_PRIVACY_ACCEPTED=1. 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.

  2. Set your provider key in environment variables, as the providers section at https://agilu.cc/docs shows.
  3. Check that the program finds your provider key:

    agilu --auth-status
  4. Open a terminal in a project folder and run your first task, as the quickstart at https://agilu.cc/docs shows.

agilu --help shows common options; agilu --help-all shows all. By default Agilu prints one line per tool call; use --quiet for the answer only, --verbose for everything.

Usage counting

Agilu uses usage counting, and the free quota depends on it. When you save your product key, the program shows a notice and asks you to accept it. After that, it contacts https://api.agilu.cc at start-up, after a set number of tasks, and at exit when tasks are unreported. Each report holds only these items:

  • your product key
  • a random install ID that is not based on your hardware
  • the number of new tasks and their run time in seconds
  • the program version, operating system, and CPU architecture
  • a report sequence number and a one-time random value
  • the protocol version and the privacy notice version you accepted

A quota check sends fewer items: the product key, install ID, version, OS, architecture, protocol version, and a one-time value.

Usage counting never sends prompts, file contents, or model output. It also never sends code, file paths, file names, repository names, or your provider key. Your prompts and files go directly to your model provider. Usage counting cannot be turned off. Read the full notice at https://agilu.cc/privacy.

More information

Files in the download:

  • agilu.exe (Linux: agilu): the program.
  • README.txt: this file.
  • LEGAL.txt: the license and terms of use, the privacy notice, the known limitations (also at https://agilu.cc/limits) and the license notices for third-party code in the program.

Uninstall

Run agilu uninstall --dry-run, then agilu uninstall, then delete the program folder (the folder you extracted; it holds the program file). Details are at https://agilu.cc/docs.

Quickstart

1. Download the file

Windows

Download the Windows zip file from https://agilu.cc/download. File name: agilu-0.1.0-windows-x64.zip, at https://dl.agilu.cc/0.1.0/agilu-0.1.0-windows-x64.zip. It extracts to a folder named agilu-0.1.0-windows-x64/.

Linux

Download the Linux tar.gz file from https://agilu.cc/download. File name: agilu-0.1.0-linux-x64.tar.gz, at https://dl.agilu.cc/0.1.0/agilu-0.1.0-linux-x64.tar.gz.

2. Check the SHA-256 value

The download page lists the SHA-256 value of each file. The same values are in SHA256SUMS.txt, next to the archives at https://dl.agilu.cc/0.1.0/.

Windows

In Command Prompt or PowerShell, run:

certutil -hashfile <file> SHA256

In PowerShell, you can also run:

Get-FileHash -Algorithm SHA256 <file>

Linux

Run:

sha256sum <file>

Compare the result with the value on the download page. If the two values differ, do not run the file.

3. Start the program for the first time

Windows

The first release is not code-signed. When you start agilu.exe, Windows SmartScreen may show "Windows protected your PC". Select "More info", then "Run anyway", but only after the SHA-256 value matches. On Windows 11, Smart App Control can block unsigned files outright.

Linux

If the shell says permission is denied, run chmod +x agilu in the program folder.

4. Choose a folder

Windows

Extract the zip file to a folder you choose. To run agilu from any folder, add that folder to your PATH yourself. If you do not, open PowerShell or Command Prompt in that folder and type .\agilu.exe wherever this guide shows agilu, for example .\agilu.exe key set <product key>. PowerShell does not start a program from the current folder by its name alone.

Linux

Extract the tar.gz file to a folder you choose. To run agilu from any folder, add that folder to your PATH yourself. If you do not, open a terminal in that folder and type ./agilu wherever this guide shows agilu.

5. Save your product key

Get an Agilu product key at https://agilu.cc/key. Then run this command in a terminal: If the program folder is not on your PATH, type .\agilu.exe (Windows) or ./agilu (Linux) instead of agilu, as in step 4.

agilu key set <product key>

The program prints this notice. <N> is a number set by the key service.

With the free tier, the program reports every <N> tasks: key, install ID, task count, run seconds, version, OS, architecture.
Never reported: prompts, replies, code, file paths, repository names; IP is not stored. Reporting cannot be turned off.
Full notice (version 1): https://agilu.cc/privacy
Type y to continue, anything else to cancel:

Type y and press Enter to accept. Any other answer prints Cancelled. and saves nothing. On success, the program checks online and prints your quota line:

Free tier: <x>/<q> used (<y> left; last checked <YYYY-MM-DD>)

If the online check fails, the product key is still saved, and the program prints:

agilu: key saved; online check failed (it will be retried before the next task)

In a script with no terminal, add --yes to accept the notice: agilu key set <product key> --yes.

6. Set your provider key

The shortest path uses an OpenAI provider key in environment variables. For Anthropic, permanent settings, or a .env.local file, see the providers section at https://agilu.cc/docs.

Windows

In PowerShell, run these lines; they last until you close the window:

$env:OPENAI_API_KEY = "<provider key>"
$env:OPENAI_MODEL = "<model id>"

Linux

In your shell, run:

export OPENAI_API_KEY="<provider key>"
export OPENAI_MODEL="<model id>"

Use a model id that your provider account offers. When ANTHROPIC_API_KEY is not set, the program picks OpenAI by itself. Check the result:

agilu --auth-status

The output shows "api_key_source": "env" and "variable": "OPENAI_API_KEY"; it never shows the provider key itself.

7. Run your first task

Open a terminal in a project folder and run:

agilu "Summarize the code structure of this folder"

agilu --help lists the common options; agilu --help-all lists all options.

The program reads files without asking you and prints its answer as it works. By default it also prints one line for each tool call, in this form:

[agilu] » <tool>(<arguments>)

It ends with a line like this one:

[agilu] ─── done — <n> tool call(s), <n>B text, <n>in/<n>out tok, <seconds>s ───

The token counts (<n>in/<n>out tok) appear only when your provider reports its usage. A cost appears only when your provider reports one; otherwise /cost in --repl prints not reported by provider. Add --quiet to print only the answer; approval prompts and errors still appear. Add --verbose to print everything. If you give both, the program prints agilu: --quiet and --verbose cannot be used together and exits with code 2.

If step 5 could not check online, the first task checks first and stops with agilu: First use requires an online quota check when offline. The first time a product key is used on this computer, including a key in AGILU_KEY, that check has a 3-second limit; on a slow network, run the task again, or run agilu quota first.

8. What the program writes on your computer

Windows

  • %USERPROFILE%\.agilu\: settings, sessions, your product key file, and trace logs.
  • %LOCALAPPDATA%\agilu\ and the registry key HKCU\Software\Agilu\Metering: usage counting state.

Linux

  • ~/.agilu/: settings, sessions, your product key file, and trace logs.
  • ~/.local/state/agilu/ and ~/.cache/agilu/: usage counting state.
The folder you work in
  • The program reads .agilu\settings.json, .mcp.json and .env.local in that folder, if they exist.
  • Each run creates a hidden folder .agilu\idempotency\ in that folder. It is a small record that lets a retried write reuse its earlier result. You can add .agilu/ to your .gitignore. Deleting the folder is safe when no Agilu run is active in that folder; the next run creates it again.

To remove all of these, see the uninstall section at https://agilu.cc/docs.

9. If something fails

Find the exact message in the troubleshooting section at https://agilu.cc/docs.

Provider keys

Product key and provider key

You need both an Agilu product key and a provider key, and they are different.

Product key. It lets the program run tasks under your free quota. Get it at https://agilu.cc/key and save it with agilu key set <product key>. The program stores it in metering_key.json in the Agilu folder (%USERPROFILE%\.agilu\ or ~/.agilu/). It is kept in plain text there and in two other local records. It cannot call a model.

Provider key. It is your own Anthropic or OpenAI API key. The program reads it from environment variables, or from a .env.local file in the project folder. Usage counting never sends it. On Windows, a saved model profile (--profile <id>) keeps its provider key in Windows Credential Manager.

Anthropic

Set all three variables; the base URL has no default.

  • ANTHROPIC_BASE_URL: for example https://api.anthropic.com.
  • ANTHROPIC_API_KEY: your provider key.
  • ANTHROPIC_MODEL: a model id from your account; --model <id> also works.

Windows

For the current PowerShell window only:

$env:ANTHROPIC_BASE_URL = "https://api.anthropic.com"
$env:ANTHROPIC_API_KEY = "<provider key>"
$env:ANTHROPIC_MODEL = "<model id>"

To keep them for new windows:

setx ANTHROPIC_BASE_URL "https://api.anthropic.com"
setx ANTHROPIC_API_KEY "<provider key>"
setx ANTHROPIC_MODEL "<model id>"

Linux

For the current shell:

export ANTHROPIC_BASE_URL="https://api.anthropic.com"
export ANTHROPIC_API_KEY="<provider key>"
export ANTHROPIC_MODEL="<model id>"

To keep the settings for one project, use a .env.local file instead, as shown below.

Check

Run:

agilu --auth-status

The output names ANTHROPIC_API_KEY as the variable and never prints the provider key itself. It checks only the provider key; a missing setting shows when you run a task. These are the messages, each with exit code 2. Each ends with [provider <name>, selected by <how>], where <how> is --provider, AGILU_PROVIDER, or auto-detect.

  • agilu: no API key: set OPENAI_API_KEY (OpenAI-compatible endpoint) or ANTHROPIC_API_KEY (Anthropic endpoint) in the environment or .env.local; run agilu --auth-status to see what is configured
  • agilu: ANTHROPIC_BASE_URL is required for provider <name> (env or .env.local); for an OpenAI-compatible endpoint set OPENAI_API_KEY and OPENAI_BASE_URL instead
  • agilu: ANTHROPIC_MODEL is required for provider <name> (env, .env.local, or --model)

OpenAI

  • OPENAI_API_KEY: your provider key.
  • OPENAI_MODEL: a model id from your account; --model <id> also works.
  • OPENAI_BASE_URL: optional; the default is https://api.openai.com. Set it only for another server that uses the OpenAI API format.

Windows

For the current PowerShell window only:

$env:OPENAI_API_KEY = "<provider key>"
$env:OPENAI_MODEL = "<model id>"

To keep them for new windows:

setx OPENAI_API_KEY "<provider key>"
setx OPENAI_MODEL "<model id>"

Linux

For the current shell:

export OPENAI_API_KEY="<provider key>"
export OPENAI_MODEL="<model id>"

Check

Run agilu --auth-status; the output names OPENAI_API_KEY as the variable. A missing setting shows when you run a task, with exit code 2; each message ends with [provider <name>, selected by <how>]:

  • agilu: no API key: set OPENAI_API_KEY (OpenAI-compatible endpoint) or ANTHROPIC_API_KEY (Anthropic endpoint) in the environment or .env.local; run agilu --auth-status to see what is configured
  • agilu: OPENAI_MODEL is required for provider <name> (env, .env.local, or --model)

When both provider keys are set

The program picks the provider in this order:

  1. The --provider <name> flag.
  2. The AGILU_PROVIDER environment variable.
  3. Automatic choice: OpenAI when only OPENAI_API_KEY is set; otherwise Anthropic.

So when both provider keys are set, the program uses Anthropic. To use OpenAI, run agilu --provider openai-chat "<prompt>", or set AGILU_PROVIDER to openai-chat. To use Anthropic, set ANTHROPIC_API_KEY and leave AGILU_PROVIDER unset or set to anthropic. The flag --provider anthropic does not override AGILU_PROVIDER or the automatic choice. A wrong name prints agilu: --provider must be <list> (got '<name>'). With OpenAI selected, any empty OPENAI_* setting falls back to the matching ANTHROPIC_* setting. A selected or active model profile (--profile <id>) uses the provider saved in that profile instead of steps 2 and 3. An explicit --provider flag still wins.

Who pays for model use

Model costs go to your own provider account. Agilu does not pay for model calls and does not collect model fees.

The .env.local file

The program also reads a file named .env.local in the project root. Write one NAME=VALUE line per setting. Lines that start with # are comments, and double quotes around a value are optional.

# provider settings for this project
OPENAI_API_KEY=<provider key>
OPENAI_MODEL=<model id>

An environment variable with the same name wins over the file. When the provider key comes from this file, agilu --auth-status shows config_file and the file path. The file holds your provider key in plain text, so do not share it. Uninstalling does not delete it; see the uninstall section at https://agilu.cc/docs.

Troubleshooting

Each entry has four parts: what you see, why, what to do, and what to do if it still fails. Messages that start with agilu: and end a run with exit code 4 come from usage counting.

1. The product key is missing or wrong

What you see. One of these messages:

  • agilu: A product key is required: https://agilu.cc/key; run agilu key set <key> (exit code 4)
  • agilu: invalid key format (expected agk_ followed by 26 characters) (exit code 2)
  • agilu: This key is disabled or invalid, sometimes followed by : <message> (exit code 4)
  • agilu: Privacy notice not accepted: run agilu key set, or set AGILU_PRIVACY_ACCEPTED=1 (exit code 4)
  • agilu: AGILU_KEY is not a valid product key: https://agilu.cc/key (exit code 4)

Why.

  • No Agilu product key is saved, or it was typed wrong.
  • A product key is agk_ followed by 26 letters and digits.
  • The key service disabled the product key, for example after it issued a replacement.
  • The AGILU_KEY environment variable is set, but AGILU_PRIVACY_ACCEPTED=1 is not.
  • The AGILU_KEY environment variable is set, but its value is not agk_ followed by 26 letters and digits.

What to do.

  1. Run agilu key status to see which product key is in use.
  2. It shows the product key as agk_**** plus its last four characters; compare them with the email that sent your product key.
  3. Save the product key again with agilu key set <product key>.
  4. If AGILU_KEY is set, it wins over the saved product key; if it is wrong or not a valid product key, correct that variable or remove it.

If it still fails. Send a report at https://agilu.cc/feedback. Include the output of agilu --version, the exact message, and your operating system. Do not include your product key or your provider key.

What agilu quota reports.

  • status: active: the online check succeeded; exit code 0.
  • status: disabled or status: invalid: the key service has disabled this product key or does not know it; exit code 3.
  • The same applies offline when the last saved answer was already disabled or invalid; the status then ends with (offline, last check <YYYY-MM-DD HH:MM>).
  • status: unknown (offline, last check <YYYY-MM-DD HH:MM>): the online check failed and the last saved answer is shown; exit code 0.
  • If the program has never completed an online check, it prints agilu: online quota check failed; exit code 1.

2. Rate limited

What you see. One of these:

  • During a task: [agilu] ENGINE ERROR: <provider message> (http 429; gave up after <n> attempts in <s> s) (exit code 1)
  • During a task, if the provider asks for a wait over 60 s: [agilu] ENGINE ERROR: <provider message> (http 429; provider asked to wait <s> s, longer than the 60 s limit) (exit code 1)
  • On the sign-up form at https://agilu.cc/: "Too many requests from this network. Please try again later."
  • Before a task: agilu: An online quota check is required (exit code 4)

Why.

  • A message with ENGINE ERROR and http 429 comes from your provider account limits.
  • The program already retried the request before it showed that message.
  • Before each retry, it waits as long as the provider asks, up to 60 s.
  • When the provider does not say how long, it waits about 1, 2, 4, then 8 s.
  • It sends at most 5 requests for one model turn and waits at most 120 s in total.
  • The sign-up form allows a limited number of requests from one network each UTC day.
  • If the key service limits the program, the report counts as failed, and the program keeps working until a check is required.
  • Usage counting messages start with agilu: and appear only before a task starts.

What to do.

  • Provider limit: wait, then run the task again; check the limits on your provider account.
  • Sign-up form: try again on the next UTC day.
  • Key service: wait, then run agilu quota to check again.
  • Read the current limits at https://agilu.cc/limits.

If it still fails. Send a report at https://agilu.cc/feedback. Include the output of agilu --version, the exact message, and your operating system. Do not include your product key or your provider key.

3. Free quota used up

What you see. Before a task:

agilu: Free quota used up (<x>/<q> used, last confirmed <date> <time>); run agilu key status to refresh now

last confirmed is when the key service last confirmed the count, or unknown. A message from the key service may follow the closing parenthesis after a colon. The exit code is 4. Earlier, the program showed a one-time warning such as agilu: <x>/<q> used (<pct>%).

Why. Your product key has used all the tasks in its free quota. The count on the key service applies; the count on your computer is an estimate. The task that was running when you reached the limit finished normally.

What to do.

  1. Run agilu quota to see the current count.
  2. Whether more quota is available, and how to get it, is stated at https://agilu.cc/limits.
  3. Do not ask for a replacement product key to reset the count; a replacement keeps the old count.

If it still fails. Send a report at https://agilu.cc/feedback. Include the output of agilu --version, the exact message, and your operating system. Do not include your product key or your provider key.

4. No network

What you see. One of these, before a task (exit code 4):

  • agilu: First use requires an online quota check
  • agilu: An online quota check is required

During a task, model calls fail with an [agilu] ENGINE ERROR: message. If agilu quota has never reached the key service, it prints agilu: online quota check failed (exit code 1).

Why.

  • Every task calls your model provider, so tasks need the network anyway.
  • Grace rule: without the key service, new tasks run until a set number of tasks goes unreported or a set number of days passes.
  • The numbers come from the key service and are listed at https://agilu.cc/limits.
  • If agilu key set could not check online, the first task needs one successful online check.
  • Setting the computer clock back by more than one day also requires a check.
  • The day limit is a check interval; your quota does not shrink with time.
  • These checks never stop a task that is already running.
  • The first time a product key is used on this computer, including a key in AGILU_KEY, the program makes one online check with a 3-second limit.
  • On a slow network that check can run out of time, and the program stops with agilu: First use requires an online quota check.

What to do.

  1. Reconnect to the network and allow access to https://api.agilu.cc.
  2. Run your next task; the program checks and reports the waiting tasks by itself.
  3. To check right away, run agilu quota.
  4. If the network is slow, run the task again, or run agilu quota first to complete one online check.

If it still fails. Send a report at https://agilu.cc/feedback. Include the output of agilu --version, the exact message, and your operating system. Do not include your product key or your provider key.

5. Version too old

What you see. At start-up or before a task (exit code 4):

agilu: This version has been retired. Please update: https://agilu.cc/download

Why. The key service can set a minimum version. Older programs stop before their next task; a running task is not interrupted. Planned blocks are announced at https://agilu.cc/changelog at least 14 days ahead; security fixes are the exception.

What to do.

  1. Run agilu --version to see your version.
  2. Run agilu key status; the min_version: line shows the lowest version the key service accepts.
  3. Download the new archive from https://agilu.cc/download and check its SHA-256 value.
  4. Extract it; the archive creates a new folder named after the new version, next to the old one.
  5. If you added the old folder to your PATH, point that entry at the new folder, then delete the old folder.
  6. Your settings and product key stay, because they live outside the program folder.

The program does not update itself.

If it still fails. Send a report at https://agilu.cc/feedback. Include the output of agilu --version, the exact message, and your operating system. Do not include your product key or your provider key.

Uninstall

Uninstalling takes two steps: run agilu uninstall, then delete the program file.

Step 1: Run agilu uninstall

If the program folder is not on your PATH, open the terminal in that folder and type .\agilu.exe (Windows) or ./agilu (Linux) instead of agilu in the commands below.

First, preview what it will remove:

agilu uninstall --dry-run

The preview changes nothing. It marks each item it would delete as would remove and each missing item as not present. Items include the Agilu folder, usage state, trace logs, crash dumps, temp files, and saved provider keys in Windows Credential Manager. It then prints a summary line like Would remove <n> item(s), <n> not present, <n> failed. Nothing was removed (dry run).

Then remove the items:

agilu uninstall

It lists the same items as will remove, then asks: Remove everything listed above? Type y to continue: Type y to continue. Any other answer prints Cancelled. Nothing was removed.

In a script or any place without a terminal, add --yes:

agilu uninstall --yes

Without --yes there, it prints stdin is not a terminal; run again with --yes to confirm. and changes nothing.

What each line means

Each line has the form <status> <label>: <target> (<note>).

  • would remove: the preview found this item.
  • will remove: the item is listed before the question.
  • removed: the item is gone.
  • not present: the item was not on this computer.
  • FAILED: the item could not be removed; the note says why.
  • not removed: the item is outside the Agilu folders; delete it yourself.

If a note says in use by another agilu process; close other agilu windows and run again, do that. The command exits with 0 when no item failed, 1 when an item failed or you cancelled, and 2 on a usage error. Exit code 2 also means --yes was missing and no terminal was attached. It does not contact the network. If it prints agilu: uninstall failed: <what>, use the fallback list below and send a report at https://agilu.cc/feedback.

Windows example

credential  none found
removed  temp files: C:\Users\u\AppData\Local\Temp\agilu_cwd_*.txt  (2 files)
removed  trace and crash dumps: C:\Users\u\.agilu\trace  (inside C:\Users\u\.agilu)
removed  usage state (local app data): C:\Users\u\AppData\Local\agilu
removed  usage state (registry): HKCU\Software\Agilu
not present  user mcp config: C:\Users\u\.agilu.json
removed  state home: C:\Users\u\.agilu  (same as config home)
removed  config home: C:\Users\u\.agilu  (includes settings, sessions, memory, custom skills and commands)
Removed 6 item(s), 1 not present, 0 failed.
Please delete the program file yourself: C:\Tools\agilu\agilu.exe
Project folders may still contain .agilu/, .env.local, .mcp.json and AGILU.md that you created; they were not touched.

Linux example

removed  temp files: /tmp/agilu_cwd_*.txt  (1 file)
removed  trace and crash dumps: /home/u/.agilu/trace  (inside /home/u/.agilu)
removed  usage state (XDG state): /home/u/.local/state/agilu
removed  usage state (XDG cache): /home/u/.cache/agilu
not present  user mcp config: /home/u/.agilu.json
removed  state home: /home/u/.agilu  (same as config home)
removed  config home: /home/u/.agilu  (includes settings, sessions, memory, custom skills and commands)
Removed 6 item(s), 1 not present, 0 failed.
Please delete the program file yourself: /home/u/bin/agilu
Project folders may still contain .agilu/, .env.local, .mcp.json and AGILU.md that you created; they were not touched.

What it does not delete

  • Your project folders, including .agilu\, .env.local, .mcp.json, and AGILU.md in them.
  • The program file.
  • Files or folders you chose with AGILU_TRACE_LOG, AGILU_DUMP_DIR, AGILU_BG_DIR, or AGILU_PLUGIN_CACHE_DIR outside the Agilu folders; they show as not removed.

Step 2: Delete the program

The output names the program file in the line Please delete the program file yourself: <path>. Then delete the program folder (the folder you extracted; it holds the program file). If you added that folder to your PATH, remove it from your PATH.

Project folders

The command does not touch project folders. Check each project where you used Agilu, and delete these by hand if you no longer need them:

  • .agilu\ (Linux: .agilu/): project settings such as settings.json, and older sessions.
  • .env.local: it may hold your provider key in plain text; delete it or remove the provider key lines.
  • .mcp.json: the MCP servers you added.
  • AGILU.md: a file you created for the project.

Fallback: remove files by hand (when the command is unavailable)

Use this list only when agilu uninstall is unavailable, for example in a version without it. The paths assume you did not set AGILU_HOME, AGILU_CONFIG_DIR, or the XDG_* variables; if you did, use your paths.

Windows

  • %USERPROFILE%\.agilu\: settings, sessions, the Agilu product key file metering_key.json, usage state (including metering_env_<tag>.json files for keys from AGILU_KEY), trace logs, and crash dumps.
  • %LOCALAPPDATA%\agilu\: usage state, including metering_env_<tag>.json files for keys from AGILU_KEY.
  • The registry key HKCU\Software\Agilu, including its subkey Metering: usage state, including state_env_<tag> values for keys from AGILU_KEY.
  • %USERPROFILE%\.agilu.json: your MCP server list.
  • agilu_cwd_*.txt files in %TEMP%: temporary files.
  • Windows Credential Manager entries whose names start with Agilu/ModelProfile/, such as Agilu/ModelProfile/<profile id>/primary: provider keys of saved model profiles.
  • Any file or folder you set with AGILU_TRACE_LOG, AGILU_DUMP_DIR, AGILU_BG_DIR, or AGILU_PLUGIN_CACHE_DIR.

Linux

  • ~/.agilu/: settings, sessions, the product key file metering_key.json, usage state (including metering_env_<tag>.json files for keys from AGILU_KEY), trace logs, and crash dumps.
  • ~/.local/state/agilu/ (or $XDG_STATE_HOME/agilu/): usage state, including metering_env_<tag>.json files for keys from AGILU_KEY.
  • ~/.cache/agilu/ (or $XDG_CACHE_HOME/agilu/), which holds the file .m and, for keys from AGILU_KEY, .m_env_<tag> files: usage state.
  • ~/.agilu.json: your MCP server list.
  • agilu_cwd_*.txt files in /tmp (or in $TMPDIR): temporary files.
  • Any file or folder you set with AGILU_TRACE_LOG, AGILU_DUMP_DIR, AGILU_BG_DIR, or AGILU_PLUGIN_CACHE_DIR.

Linux has no credential store entries to remove.

What the key service keeps

Uninstalling does not contact the key service, so your data there stays. The key service keeps your product key record, installation records, and daily usage totals for set periods. Read how long, and how to ask for deletion, at https://agilu.cc/privacy.