Reference
Browser Support
Section titled “Browser Support”Alumnium works by building an accessibility tree of the webpage. Unfortunately, there is no standard API in browsers to provide this tree. Due to this limitation, the current version of Alumnium only works in Chromium-based browsers such as Google Chrome, Microsoft Edge, Opera, and others.
Playwright driver supports both headful and headless modes, while Selenium driver only supports the headful mode.
Mobile Support
Section titled “Mobile Support”Alumnium currently supports Appium with XCUITest driver for iOS automation and UiAutomator2 driver for Android automation.
Environment Variables
Section titled “Environment Variables”The following environment variables can be used to control the behavior of Alumnium.
ALUMNIUM_CACHE
Section titled “ALUMNIUM_CACHE”Sets the cache provider used by Alumnium. Supported values are:
filesystem(default)noneorfalse
ALUMNIUM_CACHE_PATH
Section titled “ALUMNIUM_CACHE_PATH”Sets the directory where the filesystem cache is stored. Default is .alumnium/cache.
ALUMNIUM_CHANGE_ANALYSIS
Section titled “ALUMNIUM_CHANGE_ANALYSIS”Set to true to enable analysis of UI changes made by do(). When enabled, Alumnium captures the accessibility tree before and after each action and returns a description of what changed. Default is false when using Alumnium as a library and true when running Alumnium MCP server.
ALUMNIUM_DELAY
Section titled “ALUMNIUM_DELAY”Delay in seconds between retries when an action fails. Default is 0.5.
ALUMNIUM_EXCLUDE_ATTRIBUTES
Section titled “ALUMNIUM_EXCLUDE_ATTRIBUTES”Comma-separated list of accessibility tree attributes to exclude (e.g. focusable,url). Useful for reducing accessibility tree size on large pages.
ALUMNIUM_FULL_PAGE_SCREENSHOT
Section titled “ALUMNIUM_FULL_PAGE_SCREENSHOT”Set to true to capture full-page screenshots instead of viewport-only screenshots. Default is false.
ALUMNIUM_LOG_LEVEL
Section titled “ALUMNIUM_LOG_LEVEL”Sets the level used by Alumnium logger. Supported values are:
debuginfo(default)warningerrorcritical
ALUMNIUM_LOG_PATH
Section titled “ALUMNIUM_LOG_PATH”Sets the output location used by Alumnium logger. Supported values are:
- a path to a file (e.g.
alumnium.log); stdoutto print logs to the standard output.
ALUMNIUM_TRACE
Section titled “ALUMNIUM_TRACE”Set to true to enable local OpenTelemetry tracing and logs. When enabled, configure the OTLP endpoint with standard OpenTelemetry environment variables, for example:
export ALUMNIUM_TRACE="true"export OTEL_SERVICE_NAME="alumnium"export OTEL_EXPORTER_OTLP_ENDPOINT="http://127.0.0.1:4318"export OTEL_EXPORTER_OTLP_PROTOCOL="http/protobuf"ALUMNIUM_MODEL
Section titled “ALUMNIUM_MODEL”Select AI provider and model to use.
| Value | LLM | Notes |
|---|---|---|
| anthropic | claude-haiku-4-5-20251001 | Anthropic API. |
| azure_foundry | gpt-5-nano | Azure AI Foundry API. |
| azure_openai | gpt-5-nano | Self-hosted Azure OpenAI API. Recommended model version is 2025-08-07. |
| aws_anthropic | us.anthropic.claude-haiku-4-5-20251001-v1:0 | Serverless Amazon Bedrock API. |
| aws_meta | us.meta.llama4-maverick-17b-instruct-v1:0 | Serverless Amazon Bedrock API. |
| codex | gpt-5.4-mini | OpenAI models via ChatGPT Plus/Pro OAuth. |
| deepseek | deepseek-reasoner | DeepSeek Platform. |
| github | gpt-4o-mini | GitHub Models API. |
| gemini-3.1-flash-lite-preview | Google AI Studio API. | |
| mistralai | mistral-medium-2505 | Mistral AI Studio API. |
| ollama | qwen3.6:35b | Local model inference with Ollama. |
| openai | gpt-5-nano-2025-08-07 | OpenAI API. |
| xai | grok-4-1-fast-reasoning | xAI API. |
You can also override the LLM for each provider by passing it after /.
export ALUMNIUM_MODEL="openai/gpt-5"ALUMNIUM_MCP_ARTIFACTS_DIR
Section titled “ALUMNIUM_MCP_ARTIFACTS_DIR”Sets the directory where the MCP server stores artifacts such as screenshots. Default is .alumnium/artifacts.
ALUMNIUM_MCP_PROFILES_DIR
Section titled “ALUMNIUM_MCP_PROFILES_DIR”Sets the directory where the MCP server stores persistent browser profiles. Default is ~/.alumnium/profiles. See the profile option for details.
ALUMNIUM_MODEL_RETRIES
Section titled “ALUMNIUM_MODEL_RETRIES”Number of retries for failed AI model requests (e.g., rate limiting). Default is 8.
ALUMNIUM_MODEL_TIMEOUT
Section titled “ALUMNIUM_MODEL_TIMEOUT”Timeout in seconds for AI model requests. Default is 90.
ALUMNIUM_OLLAMA_URL
Section titled “ALUMNIUM_OLLAMA_URL”Sets the URL for Ollama models if you host them externally on a server.
ALUMNIUM_PLANNER
Section titled “ALUMNIUM_PLANNER”Set to false to disable the planning step. When disabled, the actor’s own reasoning is used as the explanation. Default is true.
ALUMNIUM_RETRIES
Section titled “ALUMNIUM_RETRIES”Number of retries when an action/verification/retrieval fails. Default is 2.
ALUMNIUM_STORE_DIR
Section titled “ALUMNIUM_STORE_DIR”Sets the root directory for Alumnium’s persistent file store (cache, artifacts, etc.). Default is .alumnium.
ALUMNIUM_PLAYWRIGHT_HEADLESS
Section titled “ALUMNIUM_PLAYWRIGHT_HEADLESS”Set to false to start Playwright in headed mode. Only used in the MCP server. Default is true.
ALUMNIUM_PLAYWRIGHT_NEW_TAB_TIMEOUT
Section titled “ALUMNIUM_PLAYWRIGHT_NEW_TAB_TIMEOUT”Timeout in milliseconds when waiting for a new tab to open after interacting with elements using Playwright driver. Increase when Alumnium fails to detect a new tab. Default is 200.
AWS_ACCESS_KEY
Section titled “AWS_ACCESS_KEY”AWS access key used when ALUMNIUM_MODEL is set to aws_anthropic or aws_meta.
AWS_REGION_NAME
Section titled “AWS_REGION_NAME”AWS region used when ALUMNIUM_MODEL is set to aws_anthropic or aws_meta. Default is us-east-1.
AWS_SECRET_KEY
Section titled “AWS_SECRET_KEY”AWS secret key used when ALUMNIUM_MODEL is set to aws_anthropic or aws_meta.
AZURE_FOUNDRY_API_KEY
Section titled “AZURE_FOUNDRY_API_KEY”API key used when ALUMNIUM_MODEL is set to azure_foundry.
AZURE_FOUNDRY_API_VERSION
Section titled “AZURE_FOUNDRY_API_VERSION”API version used when ALUMNIUM_MODEL is set to azure_foundry.
AZURE_FOUNDRY_TARGET_URI
Section titled “AZURE_FOUNDRY_TARGET_URI”Endpoint URL used when ALUMNIUM_MODEL is set to azure_foundry.
AZURE_OPENAI_API_KEY
Section titled “AZURE_OPENAI_API_KEY”API key used when ALUMNIUM_MODEL is set to azure_openai.
AZURE_OPENAI_API_VERSION
Section titled “AZURE_OPENAI_API_VERSION”API version used when ALUMNIUM_MODEL is set to azure_openai.
AZURE_OPENAI_DEFAULT_HEADERS
Section titled “AZURE_OPENAI_DEFAULT_HEADERS”JSON string of additional headers to send with Azure OpenAI requests (e.g. {"x-custom-header": "value"}).
AZURE_OPENAI_ENDPOINT
Section titled “AZURE_OPENAI_ENDPOINT”Endpoint URL used when ALUMNIUM_MODEL is set to azure_openai.
LANGCHAIN_CODEX_LITTERBOX_UPLOAD
Section titled “LANGCHAIN_CODEX_LITTERBOX_UPLOAD”Set to true to enable vision support for the codex provider by temporarily uploading screenshots to a third-party image host (litterbox.catbox.moe) before sending them to the model. Codex models only accept image URLs, so this is required for vision checks. Default is false.
OLLAMA_HOST
Section titled “OLLAMA_HOST”Sets the URL for Ollama models if you host them externally on a server.
OPENAI_CUSTOM_URL
Section titled “OPENAI_CUSTOM_URL”Sets the URL for OpenAI models if you access them via custom endpoint.
OPENAI_DEFAULT_HEADERS
Section titled “OPENAI_DEFAULT_HEADERS”JSON string of additional headers to send with OpenAI requests (e.g. {"x-custom-header": "value"}).