Skip to content

Installation

  • Python 3.12 (pinned exactly — ==3.12.*)
  • uv package manager
  • Redis (for session state when using the runtime)

alquimia-runtime is distributed as a Docker image. For local development, clone the repository and run with Docker Compose (see Docker Compose guide).

Terminal window
# Install from a distributed tarball
uv pip install ./alquimia_core-0.2.0.tar.gz

Install only what you need:

Terminal window
# AWS S3 blob storage
uv pip install "alquimia-core[aws]"
# Python module tool schema extraction (requires numpydoc)
uv pip install "alquimia-core[tools]"
# On-premise ML inference (HuggingFace, OpenVINO, Triton)
uv pip install "alquimia-core[leviathan]"
# All extras
uv pip install "alquimia-core[aws,tools,leviathan]"

Set these before running any agent:

Terminal window
# Required for OCI registry operations
export ALQUIMIA_OCI_REGISTRY_DEFAULT=ghcr.io
# Secret resolver: 'env' (default for local) or 'vault' (for production)
export ALQUIMIA_REGISTRY_SECRET_RESOLVER=env
# Registry storage directory (default: /tmp/.alquimia)
export ALQUIMIA_REGISTRY_DIR=/var/lib/alquimia

For Vault-backed secrets:

Terminal window
export VAULT_ADDR=https://vault.example.com
export VAULT_TOKEN=<your-scoped-token>
export VAULT_MOUNT_POINT=secret

For OpenTelemetry:

Terminal window
export OTEL_COLLECTOR_ENDPOINT=http://otel-collector:4318
export OTEL_ALQUIMIA_SERVICE_NAME=my-agent-service
Terminal window
python -c "from alquimia.core import evaluate; print('alquimia-core OK')"
alquimia --help

Expected output:

alquimia-core OK
Usage: alquimia [OPTIONS] COMMAND [ARGS]...
Alquimia CLI
Options:
--help Show this message and exit.
Commands:
embeddings Embeddings management
local Local assistant operations
registry Registry management