# Agilu > Agilu is a command-line agent program that reads and changes files in a project folder. It ships as a zip (Windows x64) or tar.gz (Linux x64) archive that holds one program file and a few text files. It calls an Anthropic or OpenAI model with the user's own provider key. These steps set up Agilu for a user. The user needs an Agilu product key from https://agilu.cc/key and a provider key from their Anthropic or OpenAI account. Download and check: - Download the Windows zip file or the Linux tar.gz file from https://agilu.cc/download. - File names: `agilu--windows-x64.zip` and `agilu--linux-x64.tar.gz`; version 0.1.0 is at `https://dl.agilu.cc/0.1.0/`, next to `SHA256SUMS.txt`. - Compare the SHA-256 value with the one listed on the download page; do not run the file if they differ. - Windows: `certutil -hashfile SHA256`. - Linux: `sha256sum `. Place and run: - Extract the archive to a folder; optionally add that folder to PATH. - The Windows program is `agilu.exe`; the Linux program is `agilu`. - If that folder is not on PATH, run the program from inside it as `.\agilu.exe` (Windows; PowerShell will not find a bare `agilu` there) or `./agilu` (Linux). - The first release is not code-signed, so Windows SmartScreen may ask for "More info", then "Run anyway". - The program does not update itself. Product key and provider key: - Save the product key with `agilu key set `; it prints a privacy notice that the user accepts by typing `y`. - Without a terminal, `agilu key set --yes` accepts that notice; use it only after the user has read and accepted https://agilu.cc/privacy. - Instead of saving, set `AGILU_KEY` to the product key together with `AGILU_PRIVACY_ACCEPTED=1`; that key is used only for that run and is not saved on this computer. - OpenAI: set `OPENAI_API_KEY` and `OPENAI_MODEL`; `OPENAI_BASE_URL` defaults to `https://api.openai.com`. - Anthropic: set `ANTHROPIC_BASE_URL` (for example `https://api.anthropic.com`), `ANTHROPIC_API_KEY`, and `ANTHROPIC_MODEL`. - The program reads these from the environment, or from `.env.local` in the project root; the environment wins. - When only `OPENAI_API_KEY` is set, the program picks OpenAI; otherwise it picks Anthropic unless `AGILU_PROVIDER=openai-chat` is set. - Check with `agilu --auth-status`; it prints JSON naming the variable and never prints the provider key. First command: - In the project folder, run `agilu "Summarize the code structure of this folder"`. - `agilu --help` lists the common options; `agilu --help-all` lists all options. - By default the program prints one line per tool call, `[agilu] ยป ()`, and a `done` line at the end. - `--quiet` prints only the answer (approval prompts and errors still appear); `--verbose` prints everything; giving both stops with exit code 2. - By default, reads run without asking; edits and other shell commands ask first. - Without a terminal, calls that need approval are denied; `--run-mode` changes this. - `--json` prints one result JSON object at the end of a single-shot run. - Exit code 4 means usage counting stopped the task before it started; the reason is one `agilu:` line on stderr. Uninstall: - Run `agilu uninstall --dry-run`, then `agilu uninstall --yes` when no terminal is attached. - Then delete the program folder (the folder you extracted; it holds the program file). - Then delete the program file named in the last lines of the output. - Project files such as `.env.local` stay in place. ## Docs - [User guide](https://agilu.cc/docs): install, provider keys, troubleshooting, and uninstall - [Product key](https://agilu.cc/key): how to get the product key and what `agilu key status` shows - [Limits](https://agilu.cc/limits): known limitations and quota rules - [Changelog](https://agilu.cc/changelog): versions and the minimum-version policy - [Privacy](https://agilu.cc/privacy): what usage counting sends and what it never sends