# Környezeti változók

Minden környezeti változó, amit az aitodo olvas vagy beállít, hatókör szerint.

## Részletek

Hatókör: `client` (a `tkt` a gépeden), `server` (az aitodo szerver), `installer` (a telepítő), `hook` (amit a `tkt` az általa indított programnak ad), `internal` (amit a szerver a saját `tkt` futtatásának ad; kézzel sosem).

## Változók

| változó | hatókör | alapérték | jelentés | bővebben |
|---|---|---|---|---|
| `AITODO_WORKSPACE_DIR` | client |  | The store directory; beats `.aitodo.yaml` (`--workspace-dir`) | [Hol él a store](/docs/concepts/store.md#start-store) |
| `AITODO_WORKSPACE` | client |  | A store by name under `~/.aitodo/<name>` (`--workspace`) | [Hol él a store](/docs/concepts/store.md#start-store) |
| `AITODO_WORKTREE_DIR` | client |  | The code worktree that repo refs resolve against (`--worktree-dir`) |  |
| `AITODO_ASSIGNEE` | client |  | Who claims: the default of `--assignee` | [Elvállalás és visszaadás](/docs/guides/loop/claim.md#loop-claim) |
| `AITODO_FOCUS` | client |  | Your own focus (a milestone, an epic or `release:<id>`) for `tkt next`; beats the project focus | [A projekt fókusza](/docs/concepts/focus.md#plan-focus) |
| `AITODO_OFFLINE` | client |  | `1`: use the local backend for ids and claims when the server is down (`--offline`) | [Azonosítók és claimek a szerverről](/docs/guides/team/coordinator.md#team-coordinator) |
| `AITODO_TOKEN` | client |  | A project token; beats the credentials file | [Projektek és tokenek](/docs/guides/team/projects.md#team-projects) |
| `AITODO_CONFIG_DIR` | client | `~/.config/aitodo` | Where `credentials.yaml` lives; beats `configDir` in `.aitodo.yaml`, `XDG_CONFIG_HOME` and `APPDATA` | [Szerver-pin és hitelesítés](/docs/guides/team/credentials.md#team-pin) |
| `AITODO_CA_BUNDLE` | client |  | A PEM file of an extra CA the `tkt` HTTP client trusts (internal certificates) | [Telepítés](/docs/get-started/install.md#start-install) |
| `AITODO_INVITE` | client |  | The invite code `tkt project register` uses; never an argument | [A szerver üzemeltetője](/docs/guides/team/operator.md#team-operator) |
| `AITODO_OPERATOR_TOKEN` | client |  | The operator secret: on the server it enables `/v1/operator/**`; on the client `tkt operator` sends it | [A szerver üzemeltetője](/docs/guides/team/operator.md#team-operator) |
| `AITODO_LLM_CMD` | client |  | A local LLM command (reads a prompt on stdin, prints JSON); beats the server LLM | [Csapat-AI: a szerver LLM-je](/docs/guides/team/team-ai.md#team-llm) |
| `AITODO_LLM_PROVIDER` | client |  | `server`, `local`, `endpoint` or `off`: which LLM provider a command uses; beats `llmProvider` in the user and store config | [Csapat-AI: a szerver LLM-je](/docs/guides/team/team-ai.md#team-llm) |
| `AITODO_EMBED_PROVIDER` | client |  | `local`, `server`, `endpoint` or `off`: the embedding provider of `tkt search`; beats `embedProvider` in the user and store config | [AI-rétegek: hol fut a modell](/docs/guides/team/ai-layers.md#team-ai-layers) |
| `AITODO_EMBED_URL` | client |  | The OpenAI-compatible embedding endpoint of `embedProvider: endpoint` (https outside this machine); beats `embedUrl` | [AI-rétegek: hol fut a modell](/docs/guides/team/ai-layers.md#team-ai-layers) |
| `AITODO_EMBED_KEY` | client |  | The key of that embedding endpoint, if it needs one; a secret, never in a config file | [AI-rétegek: hol fut a modell](/docs/guides/team/ai-layers.md#team-ai-layers) |
| `AITODO_LLM_URL` | client |  | The OpenAI-compatible LLM endpoint of `llmProvider: endpoint` (https outside this machine); beats `llmUrl` | [AI-rétegek: hol fut a modell](/docs/guides/team/ai-layers.md#team-ai-layers) |
| `AITODO_LLM_MODEL` | client |  | The model `llmProvider: endpoint` asks for; beats `llmModel` | [AI-rétegek: hol fut a modell](/docs/guides/team/ai-layers.md#team-ai-layers) |
| `AITODO_LLM_PICK_MODEL` | client |  | The model of `tkt ask`'s pick step on `llmProvider: endpoint`; beats `llmPickModel` (unset: the endpoint's model) | [Kérdés a store-hoz](/docs/guides/loop/ask.md#loop-ask) |
| `AITODO_LLM_KEY` | client |  | The key of that LLM endpoint, if it needs one; a secret, never in a config file | [AI-rétegek: hol fut a modell](/docs/guides/team/ai-layers.md#team-ai-layers) |
| `AITODO_EMBED_MODEL` | client | `BAAI/bge-m3` | The embedding model: the local model (a sentence-transformers name) or the endpoint's; beats `embedModel` | [AI-rétegek: hol fut a modell](/docs/guides/team/ai-layers.md#team-ai-layers) |
| `AITODO_LLM_CACHE` | client | `1` | `0`: no reads from or writes to the local LLM answer cache | [Csapat-AI: a szerver LLM-je](/docs/guides/team/team-ai.md#team-llm) |
| `AITODO_NO_PROGRESS` | client |  | `1`: no status line on stderr while `tkt` waits | [Kimenet, \`--json\`, kilépési kódok](/docs/agents/output.md#start-output) |
| `AITODO_URL` | installer |  | Install from another aitodo server than the one that served the script | [Telepítés](/docs/get-started/install.md#start-install) |
| `AITODO_NO_SKILL` | installer |  | `1`: install `tkt` without the Claude Code skill | [Telepítés](/docs/get-started/install.md#start-install) |
| `AITODO_DRY_RUN` | installer |  | `1`: print the plan, install nothing | [Telepítés](/docs/get-started/install.md#start-install) |
| `AITODO_TICKET` | hook |  | The ticket id the new worktree is for | [Párhuzamos worktree-k](/docs/guides/team/worktrees.md#team-worktrees) |
| `AITODO_WORKTREE` | hook |  | The new worktree's path | [Párhuzamos worktree-k](/docs/guides/team/worktrees.md#team-worktrees) |
| `AITODO_SERVER_DATA` | server | `/var/lib/aitodo` | The server's data directory: `server.db` and the server stores | [Store a szerveren](/docs/guides/team/server-store.md#team-server-store) |
| `AITODO_PUBLIC_URL` | server |  | The public base URL the guides and installers name; else the request's |  |
| `AITODO_STORE_API` | server |  | `1`: also mount the single-store REST API, answered on loopback and Unix-socket connections only (local and dev runs; the container refuses it) |  |
| `AITODO_TRUSTED_PROXIES` | server |  | The proxy addresses or CIDR networks whose `X-Forwarded-For` and `X-Forwarded-Proto` the container honours; `none`: no proxy; required by the container entrypoint (unset or bad: it does not start) | [A szerver üzemeltetője](/docs/guides/team/operator.md#team-operator) |
| `AITODO_REGISTRATION` | server |  | Who may register a project: `open`, `invite` or `closed` (default: `invite` with an operator token, else `closed`) | [A szerver üzemeltetője](/docs/guides/team/operator.md#team-operator) |
| `AITODO_REGISTRATION_RATE_LIMIT` | server | `10` | Project registrations and server store creations per hour from one client address | [A szerver üzemeltetője](/docs/guides/team/operator.md#team-operator) |
| `AITODO_MAX_PROJECTS` | server | `1000` | How many projects the server holds before a registration is refused (the operator's still work) | [A szerver üzemeltetője](/docs/guides/team/operator.md#team-operator) |
| `AITODO_CLAIM_TTL` | server | `8h` | How long a claim lease lives without renewal | [Azonosítók és claimek a szerverről](/docs/guides/team/coordinator.md#team-coordinator) |
| `AITODO_FEEDBACK_PROJECT` | server |  | The project id of the feedback intake; unset: `/v1/feedback/**` is 404 | [Visszajelzések fogadása](/docs/guides/team/feedback-intake.md#team-feedback-intake) |
| `AITODO_DIST_DIR` | server |  | Where the wheel of the running version is; else the image path or `dist/` |  |
| `AITODO_SKILL_DIR` | server |  | Where the skill the server hands out is; else the image path or the repo copy |  |
| `ANTHROPIC_API_KEY` | server |  | The key of the server LLM (Team AI); a secret, never sent to a client | [A Csapat-AI beállítása](/docs/guides/team/team-ai.md#team-llm-admin) |
| `AITODO_SERVER_LLM_MODEL` | server | `claude-opus-5-5` | The model of the server LLM | [A Csapat-AI beállítása](/docs/guides/team/team-ai.md#team-llm-admin) |
| `AITODO_SERVER_LLM_PICK_MODEL` | server | `claude-sonnet-5-5` | The model of `tkt ask`'s pick step on the server LLM (an `openai` provider: its own model) | [Kérdés a store-hoz](/docs/guides/loop/ask.md#loop-ask) |
| `AITODO_SERVER_LLM_MAX_BYTES` | server | `2097152` | The largest request (prompt and schema) the server LLM takes, in bytes | [A Csapat-AI beállítása](/docs/guides/team/team-ai.md#team-llm-admin) |
| `AITODO_SERVER_LLM_CACHE_TTL` | server | `30d` | How long a cached server LLM answer lives | [A Csapat-AI beállítása](/docs/guides/team/team-ai.md#team-llm-admin) |
| `AITODO_SERVER_LLM_CACHE_MAX` | server | `5000` | The most cached server LLM answers per project | [A Csapat-AI beállítása](/docs/guides/team/team-ai.md#team-llm-admin) |
| `AITODO_SERVER_LLM_MAX_INFLIGHT` | server | `4` | The most server LLM calls of one project running at once | [A Csapat-AI beállítása](/docs/guides/team/team-ai.md#team-llm-admin) |
| `AITODO_SERVER_LLM_RATE_LIMIT` | server | `60` | The most server LLM calls one project may start in a minute | [A Csapat-AI beállítása](/docs/guides/team/team-ai.md#team-llm-admin) |
| `AITODO_SERVER_LLM_PROVIDER` | server | `anthropic` | Where the server LLM runs: `anthropic`, `bedrock`, `vertex`, `foundry` or `openai` (an OpenAI-compatible endpoint) | [A szerver AI-szolgáltatói](/docs/guides/team/server-ai.md#team-server-ai) |
| `AITODO_SERVER_LLM_REGION` | server |  | The cloud region of the `bedrock` or `vertex` server LLM | [A szerver AI-szolgáltatói](/docs/guides/team/server-ai.md#team-server-ai) |
| `AITODO_SERVER_LLM_GCP_PROJECT` | server |  | The Google Cloud project of the `vertex` server LLM | [A szerver AI-szolgáltatói](/docs/guides/team/server-ai.md#team-server-ai) |
| `AITODO_SERVER_LLM_FOUNDRY_RESOURCE` | server |  | The Microsoft Foundry resource of the `foundry` server LLM | [A szerver AI-szolgáltatói](/docs/guides/team/server-ai.md#team-server-ai) |
| `ANTHROPIC_FOUNDRY_API_KEY` | server |  | The key of the `foundry` server LLM; a secret | [A szerver AI-szolgáltatói](/docs/guides/team/server-ai.md#team-server-ai) |
| `AWS_BEARER_TOKEN_BEDROCK` | server |  | A Bedrock API key for the `bedrock` server LLM; without it the IAM role is used | [A szerver AI-szolgáltatói](/docs/guides/team/server-ai.md#team-server-ai) |
| `AITODO_SERVER_LLM_URL` | server |  | The base URL of the `openai` server LLM, e.g. `https://llm.example.com/v1` | [A szerver AI-szolgáltatói](/docs/guides/team/server-ai.md#team-server-ai) |
| `AITODO_SERVER_LLM_KEY` | server |  | The key of the `openai` server LLM, if it needs one; a secret | [A szerver AI-szolgáltatói](/docs/guides/team/server-ai.md#team-server-ai) |
| `AITODO_SERVER_LLM_PLACE` | server | `server` | Where the `openai` server LLM is: `server` (outside the company) or `infrastructure` (its own) | [A szerver AI-szolgáltatói](/docs/guides/team/server-ai.md#team-server-ai) |
| `AITODO_SERVER_EMBED_URL` | server |  | The base URL of the server's OpenAI-compatible embedding endpoint; unset, the server embeds nothing | [A szerver AI-szolgáltatói](/docs/guides/team/server-ai.md#team-server-ai) |
| `AITODO_SERVER_EMBED_MODEL` | server |  | The embedding model the server asks for; needed with `AITODO_SERVER_EMBED_URL` | [A szerver AI-szolgáltatói](/docs/guides/team/server-ai.md#team-server-ai) |
| `AITODO_SERVER_EMBED_KEY` | server |  | The key of the server's embedding endpoint, if it needs one; a secret | [A szerver AI-szolgáltatói](/docs/guides/team/server-ai.md#team-server-ai) |
| `AITODO_SERVER_EMBED_PLACE` | server | `server` | Where the embedding endpoint is: `server` (outside the company) or `infrastructure` (its own) | [A szerver AI-szolgáltatói](/docs/guides/team/server-ai.md#team-server-ai) |
| `AITODO_SERVER_ALLOW_HTTP` | server |  | `1`: the LLM and embedding endpoints may be plain http on another host (https otherwise, http only to this machine) | [A szerver AI-szolgáltatói](/docs/guides/team/server-ai.md#team-server-ai) |
| `AITODO_CLI_TIMEOUT` | server | `30` | Seconds one forwarded `tkt` call may run on a server store | [Store a szerveren](/docs/guides/team/server-store.md#team-server-store) |
| `AITODO_CLI_LOCK_WAIT` | server | `10` | Seconds a write waits for the store lock | [Store a szerveren](/docs/guides/team/server-store.md#team-server-store) |
| `AITODO_CLI_MAX_PROCS` | server | `4` | Forwarded calls running at once | [Store a szerveren](/docs/guides/team/server-store.md#team-server-store) |
| `AITODO_CLI_RATE_LIMIT` | server | `120` | Forwarded calls per minute per token | [Store a szerveren](/docs/guides/team/server-store.md#team-server-store) |
| `AITODO_STORE_MAX_BYTES` | server | `104857600` | The most a project takes on the server's disk (its store with the git history and derived files, its archives), in bytes; also the largest `store:import` upload | [Store a szerveren](/docs/guides/team/server-store.md#team-server-store) |
| `AITODO_DISK_MIN_FREE_BYTES` | server | `1073741824` | The free space the server keeps on its data disk, in bytes; under it every write that grows the disk is refused | [A szerver üzemeltetője](/docs/guides/team/operator.md#team-operator) |
| `AITODO_DISK_WARN_FREE_BYTES` | server | `5368709120` | Under this much free space on the data disk the server logs a warning for the operator, in bytes; above `AITODO_DISK_MIN_FREE_BYTES` | [A szerver üzemeltetője](/docs/guides/team/operator.md#team-operator) |
| `AITODO_CLI_OUTPUT_MAX_BYTES` | server | `1048576` | The largest stdout and the largest stderr of a forwarded call, in bytes; the server keeps no more | [Store a szerveren](/docs/guides/team/server-store.md#team-server-store) |
| `AITODO_CLI_FILE_MAX_BYTES` | server | `1048576` | The largest file a forwarded call uploads or returns, in bytes | [Store a szerveren](/docs/guides/team/server-store.md#team-server-store) |
| `AITODO_CLI_CALL_MAX_BYTES` | server | `4194304` | The most a forwarded call's files and stdin carry together, in bytes; its request body limit follows it | [Store a szerveren](/docs/guides/team/server-store.md#team-server-store) |
| `AITODO_CLI_STAGE1_MAX_BYTES` | server | `67108864` | The largest Stage-1 result (`ticket get`, `next --claim --json`, `report context`) of a forwarded call, in bytes | [Store a szerveren](/docs/guides/team/server-store.md#team-server-store) |
| `AITODO_CLI_MEMORY_MAX_BYTES` | server | `2147483648` | The memory one forwarded `tkt` run may use, in bytes (Linux; a positive number, no off switch) | [Store a szerveren](/docs/guides/team/server-store.md#team-server-store) |
| `AITODO_CLI_CONFINE` | server | `on` | `off` lets forwarded `tkt` runs go unconfined; else, on Linux, each run is confined with Landlock to its store and temp dir (from ABI 4: TCP only to this server's port), and none runs without it | [Store a szerveren](/docs/guides/team/server-store.md#team-server-store) |
| `AITODO_SERVER_RUN` | internal |  | `1`: this `tkt` runs on a server store, for the server | [Store a szerveren](/docs/guides/team/server-store.md#team-server-store) |
| `AITODO_SERVER_ACTOR` | internal |  | The token name of the member the server runs `tkt` for | [Store a szerveren](/docs/guides/team/server-store.md#team-server-store) |
| `AITODO_RUN_LLM_URL` | internal |  | Where a server-store run calls the project's server LLM (#217) |  |
| `AITODO_RUN_LLM_PROJECT` | internal |  | The project of that server LLM |  |
| `AITODO_RUN_LLM_GRANT` | internal |  | The run's temporary LLM grant (the caller's token, LLM calls only) |  |
| `AITODO_RUN_LLM_OFF` | internal |  | Why a server-store run got no server LLM, for its notice |  |
| `AITODO_STAGE1_OUT` | internal |  | Where a split command writes its Stage-1 JSON for the client | [Store a szerveren](/docs/guides/team/server-store.md#team-server-store) |
| `AITODO_FEEDBACK_INTAKE` | internal |  | `1`: this run is on the feedback intake store | [Visszajelzések fogadása](/docs/guides/team/feedback-intake.md#team-feedback-intake) |
