Manage Models¶
VlinderCLI uses models for inference (text generation) and embedding (vector search). Models are registered from catalogs and referenced by name in agent.toml.
For a first introduction, see the Adding Models tutorial.
Browse Available Models¶
Query a catalog to see what you can add:
# All catalogs
vlinder model available
# Filter by name
vlinder model available llama
# Specific catalog
vlinder model available --catalog openrouter
Add a Model¶
Add from Ollama (default catalog):
Add from OpenRouter:
Add an Embedding Model¶
Embedding models are used for vector storage and semantic search:
The model type (inference or embedding) is detected automatically from the catalog.
Use a Custom Ollama Endpoint¶
Or set it permanently in ~/.vlinder/config.toml:
Configure OpenRouter¶
Set your API key via environment variable:
Or in ~/.vlinder/config.toml:
Then add models from the OpenRouter catalog:
List and Remove Models¶
List all registered models:
Remove a model:
Removing deregisters the model from Vlinder. It doesn't delete the Ollama model from disk.
Referencing Models in agent.toml¶
Models are referenced by registry name. Two forms are supported:
Table form — alias differs from registry name:
Array form — alias equals registry name:
The alias (left side in table form) is what your agent code uses. The value (right side) is the model's registry name.
See Also¶
- Adding Models tutorial — first introduction
- model.toml reference — manifest schema
- CLI:
vlinder model— full command reference - agent.toml — declaring model requirements