Skip to content

CLI

The alquimia CLI is built with Click and installed as an entry point when you install alquimia-core.

Terminal window
alquimia --help

Manage agentspaces and their contents.

Create a new agentspace.

Terminal window
alquimia registry create \
--name my-agents \
--namespace local \
--tag latest

Show agentspace metadata.

Terminal window
alquimia registry inspect --agentspace-id default

Delete an agentspace and all its data.

Terminal window
alquimia registry destroy --agentspace-id default

List all agentspaces.

Terminal window
alquimia registry list

Publish an agentspace to the OCI registry.

Terminal window
alquimia registry publish \
--agentspace-id default \
--tag v1.0.0

Pull an agentspace from the OCI registry.

Terminal window
alquimia registry fetch \
--agentspace-id default \
--source ghcr.io/myorg/my-agents:v1.0.0

Remove a published manifest from the OCI registry.

Terminal window
alquimia registry unpublish --agentspace-id default --tag v1.0.0

Manage agent configurations within an agentspace.

Add or update an agent from a JSON file.

Terminal window
alquimia registry agents add \
--file my-agent.json \
--agentspace-id default

List all agents in an agentspace.

Terminal window
alquimia registry agents list --agentspace-id default

Show a single agent’s configuration.

Terminal window
alquimia registry agents inspect \
--assistant-id my-agent \
--agentspace-id default

Manage secrets within an agentspace.

Register a new secret definition.

Terminal window
alquimia registry secrets add \
--key OPENAI_API_KEY \
--scope global \
--agentspace-id default

Set the value of a secret.

Terminal window
alquimia registry secrets put \
--key OPENAI_API_KEY \
--value sk-... \
--agentspace-id default

List all secrets in an agentspace.

Terminal window
alquimia registry secrets list --agentspace-id default

Manage parameter definitions.

Register parameter definitions from a JSON file.

Terminal window
alquimia registry parameters add \
--file params.json \
--agentspace-id default

List all parameters.

Terminal window
alquimia registry parameters list --agentspace-id default

Browse remote OCI registries.

List repositories in the configured OCI registry.

Terminal window
alquimia registry explore repos
alquimia registry explore repos --registry ghcr.io/myorg

List tags for a specific repository.

Terminal window
alquimia registry explore tags --repo-id ghcr.io/myorg/my-agents

Run agents locally without the runtime service.

Start an interactive chat session with an agent.

Terminal window
alquimia local chat \
--assistant-id my-agent \
--agentspace-id default \
--session-id my-session

Run a single query and print the response.

Terminal window
alquimia local exec \
--assistant-id my-agent \
--agentspace-id default \
--query "What is the capital of France?"

Delete a persisted session.

Terminal window
alquimia local flush --session-id my-session

Show the conversation history for a session.

Terminal window
alquimia local history --session-id my-session

Load documents into a Qdrant vector store.

Load PDF documents from a directory.

Terminal window
alquimia embeddings load \
--path ./docs/ \
--collection-id product-docs \
--qdrant-url http://localhost:6333

OptionDescription
--helpShow help for any command