@agent-smith/cli
v0.0.94
Published
Agent Smith: terminal client for language model agents
Downloads
1,397
Readme
Agent Smith terminal client
A terminal client to use language models
:books: Read the documentation
Install
Install the Agent Smith terminal client globally:
npm i -g @agent-smith/cliA global lm command is available once installed.
Quickstart
Install the inference and the vision plugin:
npm i -g @agent-smith/feat-inference @agent-smith/feat-visionCreate a config.yml file with this content:
plugins:
- "@agent-smith/feat-inference"
- "@agent-smith/feat-vision"
- "@agent-smith/feat-models"Run the conf command to initialize:
lm conf ~/path/to/config.ymlInference
Run an inference query with the q command, using an Ollama model that you already have:
lm q list the planets of the solar system m="llama3.1:latest"Vision
Run a vision query: pull minicpm-v:8b-2.6-q8_0 from Ollama and run:
lm vision imgs/img1.jpeg imgs/img2.jpeg "Compare the images"Tasks
List the available tasks:
lm tasksShow a task:
lm task thinkModels
Show available models:
lm modelsSearch for a model:
lm model qwen