The alquimia CLI is the primary way to manage agentspaces, agent specs, tools, models, topics, files, secrets, and OCI artifacts from the terminal.
All commands respect these environment variables and options:
| Variable | Default | Description |
|---|
ALQUIMIA_REGISTRY_DIR | — | Root directory for local TinyDB registries |
--namespace / -n | default | Agentspace to operate on |
--fields / -f | all | Comma-separated field list for list commands |
--debug | false | Enable verbose logging |
| Command | Description |
|---|
alquimia registry ... | Manage agentspaces and their contents |
alquimia explore ... | List repositories and tags in a remote OCI registry |
alquimia local ... | Run local chat sessions and inspect history |
alquimia code ... | Alquimia Code TUI (when available) |
| Command | Description |
|---|
alquimia registry create | Create a new agentspace |
alquimia registry list | List local agentspaces |
alquimia registry inspect | Show agentspace metadata |
alquimia registry destroy | Delete an agentspace and all contents |
alquimia registry publish | Push an agentspace to OCI |
alquimia registry unpublish | Remove an OCI manifest |
alquimia registry fetch | Pull an agentspace from OCI |
alquimia registry create \
--description "Production support agents"
alquimia registry publish --namespace production --tag v1.2.0
Add --include-secrets to also push secret metadata (not values) as a private layer.
| Command | Description |
|---|
alquimia registry agents add <path> | Import an agent from JSON |
alquimia registry agents list | List agents |
alquimia registry agents inspect <assistant_id> | Show full spec |
alquimia registry agents add support-bot.json --namespace default
alquimia registry agents inspect support-bot --namespace default
| Command | Description |
|---|
alquimia registry secrets add <key> | Register a secret definition |
alquimia registry secrets put <key> <value> | Store a value in the resolver |
alquimia registry secrets list | List secret definitions |
alquimia registry secrets add RESPONSE_PROVIDER_API_KEY \
--scope shared --required
alquimia registry secrets put RESPONSE_PROVIDER_API_KEY sk-xxx
| Command | Description |
|---|
alquimia registry parameters add <key> | Register a parameter |
alquimia registry parameters list | List parameters |
alquimia registry parameters add SUPPORT_TIER \
--default L1 --assistant-id support-bot \
--description "Support escalation tier"
| Command | Description |
|---|
alquimia registry tools add <registered_tool_id> | Register a tool connection |
alquimia registry tools list | List tool registrations |
alquimia registry tools inspect <registered_tool_id> | Show registration |
alquimia registry tools set-operation <tool_id> <name> | Classify one operation |
alquimia registry tools add filesystem-tools \
--connection-config '{"url": {"$secretRef": "MCP_PROVIDER_URL"}}'
alquimia registry tools set-operation filesystem-tools "delete_*" \
| Command | Description |
|---|
alquimia registry models add <registered_model_id> | Register a reusable model |
alquimia registry models list | List model registrations |
alquimia registry models add gpt-4o-mini \
--params '{"model": "gpt-4o-mini", "temperature": 0.0}'
| Command | Description |
|---|
alquimia registry topics add <topic_id> | Register a knowledge topic |
alquimia registry topics list | List topics |
alquimia registry topics inspect <topic_id> | Show topic registration |
alquimia registry topics set-policy <topic_id> | Update access policy |
alquimia registry topics add-file <topic_id> | Upload and index a file |
alquimia registry topics remove-file <topic_id> <file_id> | Remove a file |
alquimia registry topics rebuild <topic_id> | Re-index all files |
alquimia registry files list | List file registrations |
alquimia registry files inspect <file_id> | Show file metadata |
alquimia registry files read <file_id> | Download bytes |
alquimia registry topics add product-docs \
--tier-grants reader,editor,operator
alquimia registry topics add-file product-docs release-notes.pdf \
--hydrate --provider qdrant
| Command | Description |
|---|
alquimia registry brains add <brain_id> | Register a brain |
alquimia registry brains list | List brains |
alquimia registry brains inspect <brain_id> | Show brain registration |
alquimia registry brains set-policy <brain_id> <memory_type> | Set module access |
Requires the optional boltzmann extra.
| Command | Description |
|---|
alquimia explore repos | List repositories in a remote OCI registry |
alquimia explore tags <repo_id> | List tags for a repository |
alquimia explore repos --registry ghcr.io/acme/alquimia
alquimia explore tags ghcr.io/acme/alquimia/production
Run one-off or interactive chat sessions with agents from the local registry. Available only when the local-chat extra is installed.
| Command | Description |
|---|
alquimia local chat <assistant_id> | Start an interactive session |
alquimia local run <assistant_id> <query> | Single-turn inference |
alquimia local sessions | List local sessions |
alquimia local chat support-bot --namespace default --mcp-servers mcp.json
alquimia registry publish --namespace staging --tag v1.0.0
alquimia registry fetch --namespace production --target ghcr.io/acme/alquimia/staging:v1.0.0
alquimia registry topics rebuild product-docs --namespace production
alquimia registry tools inspect filesystem-tools --for-tool "delete_file"
alquimia registry tools set-operation filesystem-tools "delete_*" \
--match glob --severity destructive --tier-grants operator
alquimia registry models add gpt-4o-mini --provider-id openai \
--params '{"model": "gpt-4o-mini", "temperature": 0.0}'
# Then reference `model_ref: gpt-4o-mini` in the agent spec
Every command and subcommand supports --help:
alquimia registry tools set-operation --help
alquimia registry topics add-file --help