LangCommand is a local inference command-line tool that transforms natural language descriptions into shell commands.
See the code
LangCommand is a local inference command-line tool powered by llama.cpp that transforms natural language descriptions into executable shell commands.
To build LangCommand from source, use the following command:
make lac
To use LangCommand, provide a natural language description:
lac "your prompt"
You can run lac without arguments to explore options:
--------------------------------- LangCommand params ----------------------------------
-h, --help, --usage Print LangCommand usage
--setup Set up your LangCommand model: choose or customize
--show-args Show arguments you saved
--no-explanation Disable command explanation
--mode {loop,exit} Select the mode of operation.
- loop: Continues to choose and execute commands indefinitely.
- exit: Executes a single command and then stops the program.
--model-help, --model-usage Print LangCommand default model arguments
--trace Enable tracing for the execution of the default model
LangCommand comes with support for the following preconfigured models:
You can also provide your own model with custom system prompts.
ggml_metal_graph_compute: command buffer 1 failed with status 5
error: Insufficient Memory (00000008:kIOGPUCommandBufferCallbackErrorOutOfMemory)
This typically occurs when the system does not have enough memory to load and run the selected model. To resolve, consider using a smaller model.
Connect to discuss LangCommand, share feedback, and get support from other users:
Join the LangCommand Discord group
For any questions or inquiries, feel free to reach out via email:
C++
57.7%
C
20.3%
Cuda
7.4%
Python
6.9%
Metal
2.5%
Objective-C
2.1%
Shell
1.1%
LangCommand is a local inference command-line tool that transforms natural language descriptions into shell commands.
See the code
LangCommand is a local inference command-line tool powered by llama.cpp that transforms natural language descriptions into executable shell commands.
To build LangCommand from source, use the following command:
make lac
To use LangCommand, provide a natural language description:
lac "your prompt"
You can run lac without arguments to explore options:
--------------------------------- LangCommand params ----------------------------------
-h, --help, --usage Print LangCommand usage
--setup Set up your LangCommand model: choose or customize
--show-args Show arguments you saved
--no-explanation Disable command explanation
--mode {loop,exit} Select the mode of operation.
- loop: Continues to choose and execute commands indefinitely.
- exit: Executes a single command and then stops the program.
--model-help, --model-usage Print LangCommand default model arguments
--trace Enable tracing for the execution of the default model
LangCommand comes with support for the following preconfigured models:
You can also provide your own model with custom system prompts.
ggml_metal_graph_compute: command buffer 1 failed with status 5
error: Insufficient Memory (00000008:kIOGPUCommandBufferCallbackErrorOutOfMemory)
This typically occurs when the system does not have enough memory to load and run the selected model. To resolve, consider using a smaller model.
Connect to discuss LangCommand, share feedback, and get support from other users:
Join the LangCommand Discord group
For any questions or inquiries, feel free to reach out via email:
C++
57.7%
C
20.3%
Cuda
7.4%
Python
6.9%
Metal
2.5%
Objective-C
2.1%
Shell
1.1%