@agent-smith/cli v0.0.67
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/cli
A 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-vision
Create 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.yml
Inference
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 tasks
Show a task:
lm task think
Models
Show available models:
lm models
Search for a model:
lm model qwen
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
6 months ago
6 months ago
6 months ago
7 months ago
7 months ago
7 months ago
9 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
9 months ago
9 months ago
9 months ago
9 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
12 months ago
5 months ago
10 months ago
9 months ago
9 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
12 months ago
12 months ago
12 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago