Installation
Prerequisites
Section titled “Prerequisites”- Python 3.12 (pinned exactly —
==3.12.*) - uv package manager
- Redis (for session state when using the runtime)
Distribution
Section titled “Distribution”alquimia-runtime is distributed as a Docker image. For local development, clone the repository and run with Docker Compose (see Docker Compose guide).
Install alquimia-core
Section titled “Install alquimia-core”# Install from a distributed tarballuv pip install ./alquimia_core-0.2.0.tar.gz# Requires access to the private repositorygit clone https://github.com/Alquimia-ai/alquimia-corecd alquimia-coreuv pip install -e .Optional extras
Section titled “Optional extras”Install only what you need:
# AWS S3 blob storageuv 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 extrasuv pip install "alquimia-core[aws,tools,leviathan]"Environment variables
Section titled “Environment variables”Set these before running any agent:
# Required for OCI registry operationsexport 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/alquimiaFor Vault-backed secrets:
export VAULT_ADDR=https://vault.example.comexport VAULT_TOKEN=<your-scoped-token>export VAULT_MOUNT_POINT=secretFor OpenTelemetry:
export OTEL_COLLECTOR_ENDPOINT=http://otel-collector:4318export OTEL_ALQUIMIA_SERVICE_NAME=my-agent-serviceVerify the installation
Section titled “Verify the installation”python -c "from alquimia.core import evaluate; print('alquimia-core OK')"alquimia --helpExpected output:
alquimia-core OKUsage: alquimia [OPTIONS] COMMAND [ARGS]... Alquimia CLIOptions: --help Show this message and exit.Commands: embeddings Embeddings management local Local assistant operations registry Registry managementNext steps
Section titled “Next steps”- Run your first agent with the Quickstart guide
- Deploy the full runtime stack with Docker Compose
- Deploy to Kubernetes or OpenShift
Source
Section titled “Source”Alquimia-ai/alquimia-core— SDK source,pyproject.toml, extrasAlquimia-ai/alquimia-runtime— runtime service, Docker Compose, Kubernetes manifests