Instructions to use NGARiAI/ngari-tool with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use NGARiAI/ngari-tool with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf NGARiAI/ngari-tool:F16 # Run inference directly in the terminal: llama cli -hf NGARiAI/ngari-tool:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf NGARiAI/ngari-tool:F16 # Run inference directly in the terminal: llama cli -hf NGARiAI/ngari-tool:F16
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf NGARiAI/ngari-tool:F16 # Run inference directly in the terminal: ./llama-cli -hf NGARiAI/ngari-tool:F16
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf NGARiAI/ngari-tool:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf NGARiAI/ngari-tool:F16
Use Docker
docker model run hf.co/NGARiAI/ngari-tool:F16
- LM Studio
- Jan
- Ollama
How to use NGARiAI/ngari-tool with Ollama:
ollama run hf.co/NGARiAI/ngari-tool:F16
- Unsloth Desktop
- Pi
How to use NGARiAI/ngari-tool with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf NGARiAI/ngari-tool:F16
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "NGARiAI/ngari-tool:F16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use NGARiAI/ngari-tool with Docker Model Runner:
docker model run hf.co/NGARiAI/ngari-tool:F16
- Lemonade
How to use NGARiAI/ngari-tool with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull NGARiAI/ngari-tool:F16
Run and chat with the model
lemonade run user.ngari-tool-F16
List all available models
lemonade list
- Hermes Agent
How to use NGARiAI/ngari-tool with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf NGARiAI/ngari-tool:F16
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default NGARiAI/ngari-tool:F16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use NGARiAI/ngari-tool with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf NGARiAI/ngari-tool:F16
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "NGARiAI/ngari-tool:F16" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
| { | |
| "model": "ngari-tool:stable", | |
| "dataset": "/home/garry/NGARI/training/eval_tool.json", | |
| "num_examples": 20, | |
| "total_examples": 20, | |
| "tool_detection_rate": 1.0, | |
| "tool_name_accuracy": 1.0, | |
| "params_validity_rate": 1.0, | |
| "tool_detected": 20, | |
| "name_correct": 20, | |
| "params_valid": 20, | |
| "avg_latency_sec": 3.17, | |
| "total_time_sec": 63.4, | |
| "results": [ | |
| { | |
| "index": 0, | |
| "user_preview": "What's the weather like in Tokyo right now?", | |
| "expected_tool": "get_weather", | |
| "tool_detected": true, | |
| "name_correct": true, | |
| "params_valid": true, | |
| "actual_tool": "get_weather", | |
| "response_preview": "{\n \"name\": \"get_weather\",\n \"arguments\": {\n \"city\": \"Tokyo\"\n }\n}", | |
| "status": "CORRECT (get_weather)", | |
| "elapsed": 2.4 | |
| }, | |
| { | |
| "index": 1, | |
| "user_preview": "Search my knowledge base for information about AI sovereignty.", | |
| "expected_tool": "rag_search", | |
| "tool_detected": true, | |
| "name_correct": true, | |
| "params_valid": true, | |
| "actual_tool": "rag_search", | |
| "response_preview": "{\n \"name\": \"rag_search\",\n \"arguments\": {\n \"query\": \"AI sovereignty\",\n \"top_k\": 5\n }\n}", | |
| "status": "CORRECT (rag_search)", | |
| "elapsed": 3.12 | |
| }, | |
| { | |
| "index": 2, | |
| "user_preview": "Read the NGARi constitution document for me.", | |
| "expected_tool": "read_file", | |
| "tool_detected": true, | |
| "name_correct": true, | |
| "params_valid": true, | |
| "actual_tool": "read_file", | |
| "response_preview": "{\n \"name\": \"read_file\",\n \"arguments\": {\n \"path\": \"/path/to/ngari/constitution/document\"\n }\n}", | |
| "status": "CORRECT (read_file)", | |
| "elapsed": 2.88 | |
| }, | |
| { | |
| "index": 3, | |
| "user_preview": "Set a timer for 15 minutes for my break.", | |
| "expected_tool": "set_timer", | |
| "tool_detected": true, | |
| "name_correct": true, | |
| "params_valid": true, | |
| "actual_tool": "set_timer", | |
| "response_preview": "```json\n{\n \"name\": \"set_timer\",\n \"arguments\": {\n \"duration_minutes\": 15,\n \"label\": \"break\"\n }\n}\n```", | |
| "status": "CORRECT (set_timer)", | |
| "elapsed": 3.43 | |
| }, | |
| { | |
| "index": 4, | |
| "user_preview": "What files are in the directory /home/garry/NGARI?", | |
| "expected_tool": "list_directory", | |
| "tool_detected": true, | |
| "name_correct": true, | |
| "params_valid": true, | |
| "actual_tool": "list_directory", | |
| "response_preview": "{\n \"name\": \"list_directory\",\n \"arguments\": {\n \"path\": \"/home/garry/NGARI\"\n }\n}", | |
| "status": "CORRECT (list_directory)", | |
| "elapsed": 2.78 | |
| }, | |
| { | |
| "index": 5, | |
| "user_preview": "Run a bash command to check disk usage on the root partition.", | |
| "expected_tool": "run_shell", | |
| "tool_detected": true, | |
| "name_correct": true, | |
| "params_valid": true, | |
| "actual_tool": "run_shell", | |
| "response_preview": "```json\n{\n \"name\": \"run_shell\",\n \"arguments\": {\n \"command\": \"df -h /\"\n }\n}\n```", | |
| "status": "CORRECT (run_shell)", | |
| "elapsed": 2.92 | |
| }, | |
| { | |
| "index": 6, | |
| "user_preview": "Check my calendar for tomorrow's schedule.", | |
| "expected_tool": "get_calendar", | |
| "tool_detected": true, | |
| "name_correct": true, | |
| "params_valid": true, | |
| "actual_tool": "get_calendar", | |
| "response_preview": "{\n \"name\": \"get_calendar\",\n \"arguments\": {\n \"date\": \"tomorrow\"\n }\n}", | |
| "status": "CORRECT (get_calendar)", | |
| "elapsed": 2.47 | |
| }, | |
| { | |
| "index": 7, | |
| "user_preview": "Send an email to alice@example.com saying I'll be late.", | |
| "expected_tool": "send_email", | |
| "tool_detected": true, | |
| "name_correct": true, | |
| "params_valid": true, | |
| "actual_tool": "send_email", | |
| "response_preview": "```json\n{\n \"name\": \"send_email\",\n \"arguments\": {\n \"to\": \"alice@example.com\",\n \"subject\": \"I'll be late\",\n \"bo", | |
| "status": "CORRECT (send_email)", | |
| "elapsed": 6.33 | |
| }, | |
| { | |
| "index": 8, | |
| "user_preview": "Find documents related to zero telemetry in the knowledge base.", | |
| "expected_tool": "rag_search", | |
| "tool_detected": true, | |
| "name_correct": true, | |
| "params_valid": true, | |
| "actual_tool": "rag_search", | |
| "response_preview": "{\n \"name\": \"rag_search\",\n \"arguments\": {\n \"query\": \"zero telemetry\",\n \"top_k\": 5\n }\n}", | |
| "status": "CORRECT (rag_search)", | |
| "elapsed": 3.1 | |
| }, | |
| { | |
| "index": 9, | |
| "user_preview": "What is the weather forecast for London this weekend?", | |
| "expected_tool": "get_weather", | |
| "tool_detected": true, | |
| "name_correct": true, | |
| "params_valid": true, | |
| "actual_tool": "get_weather", | |
| "response_preview": "{\n \"name\": \"get_weather\",\n \"arguments\": {\n \"city\": \"London\"\n }\n}", | |
| "status": "CORRECT (get_weather)", | |
| "elapsed": 2.37 | |
| }, | |
| { | |
| "index": 10, | |
| "user_preview": "Read the file /etc/hostname for me.", | |
| "expected_tool": "read_file", | |
| "tool_detected": true, | |
| "name_correct": true, | |
| "params_valid": true, | |
| "actual_tool": "read_file", | |
| "response_preview": "```json\n{\n \"name\": \"read_file\",\n \"arguments\": {\n \"path\": \"/etc/hostname\"\n }\n}\n```", | |
| "status": "CORRECT (read_file)", | |
| "elapsed": 2.87 | |
| }, | |
| { | |
| "index": 11, | |
| "user_preview": "List files in /mnt/ollama-models/ngari-workspace/training/", | |
| "expected_tool": "list_directory", | |
| "tool_detected": true, | |
| "name_correct": true, | |
| "params_valid": true, | |
| "actual_tool": "list_directory", | |
| "response_preview": "```json\n{\n \"name\": \"list_directory\",\n \"arguments\": {\n \"path\": \"/mnt/ollama-models/ngari-workspace/training/\"\n }\n}\n", | |
| "status": "CORRECT (list_directory)", | |
| "elapsed": 3.58 | |
| }, | |
| { | |
| "index": 12, | |
| "user_preview": "Set a timer for 5 minutes for my pasta.", | |
| "expected_tool": "set_timer", | |
| "tool_detected": true, | |
| "name_correct": true, | |
| "params_valid": true, | |
| "actual_tool": "set_timer", | |
| "response_preview": "{\n \"name\": \"set_timer\",\n \"arguments\": {\n \"duration_minutes\": 5,\n \"label\": \"pasta\"\n }\n}", | |
| "status": "CORRECT (set_timer)", | |
| "elapsed": 3.06 | |
| }, | |
| { | |
| "index": 13, | |
| "user_preview": "What is the temperature in New York right now?", | |
| "expected_tool": "get_weather", | |
| "tool_detected": true, | |
| "name_correct": true, | |
| "params_valid": true, | |
| "actual_tool": "get_weather", | |
| "response_preview": "{\n \"name\": \"get_weather\",\n \"arguments\": {\n \"city\": \"New York\"\n }\n}", | |
| "status": "CORRECT (get_weather)", | |
| "elapsed": 2.43 | |
| }, | |
| { | |
| "index": 14, | |
| "user_preview": "Run df -h and show me the output.", | |
| "expected_tool": "run_shell", | |
| "tool_detected": true, | |
| "name_correct": true, | |
| "params_valid": true, | |
| "actual_tool": "run_shell", | |
| "response_preview": "```json\n{\n \"name\": \"run_shell\",\n \"arguments\": {\n \"command\": \"df -h\"\n }\n}\n```", | |
| "status": "CORRECT (run_shell)", | |
| "elapsed": 2.9 | |
| }, | |
| { | |
| "index": 15, | |
| "user_preview": "Send a message to bob@corp.com about the project deadline.", | |
| "expected_tool": "send_email", | |
| "tool_detected": true, | |
| "name_correct": true, | |
| "params_valid": true, | |
| "actual_tool": "send_email", | |
| "response_preview": "{\n \"name\": \"send_email\",\n \"arguments\": {\n \"to\": \"bob@corp.com\",\n \"subject\": \"Project Deadline Reminder\",\n \"bo", | |
| "status": "CORRECT (send_email)", | |
| "elapsed": 6.02 | |
| }, | |
| { | |
| "index": 16, | |
| "user_preview": "What's the weather like in Paris?", | |
| "expected_tool": "get_weather", | |
| "tool_detected": true, | |
| "name_correct": true, | |
| "params_valid": true, | |
| "actual_tool": "get_weather", | |
| "response_preview": "{\n \"name\": \"get_weather\",\n \"arguments\": {\n \"city\": \"Paris\"\n }\n}", | |
| "status": "CORRECT (get_weather)", | |
| "elapsed": 2.38 | |
| }, | |
| { | |
| "index": 17, | |
| "user_preview": "Search for 'audit by construction' in my documents.", | |
| "expected_tool": "rag_search", | |
| "tool_detected": true, | |
| "name_correct": true, | |
| "params_valid": true, | |
| "actual_tool": "rag_search", | |
| "response_preview": "```json\n{\n \"name\": \"rag_search\",\n \"arguments\": {\n \"query\": \"audit by construction\",\n \"top_k\": 5\n }\n}\n```", | |
| "status": "CORRECT (rag_search)", | |
| "elapsed": 3.54 | |
| }, | |
| { | |
| "index": 18, | |
| "user_preview": "Check what's on my calendar for today.", | |
| "expected_tool": "get_calendar", | |
| "tool_detected": true, | |
| "name_correct": true, | |
| "params_valid": true, | |
| "actual_tool": "get_calendar", | |
| "response_preview": "{\n \"name\": \"get_calendar\",\n \"arguments\": {\n \"date\": \"today\"\n }\n}", | |
| "status": "CORRECT (get_calendar)", | |
| "elapsed": 2.37 | |
| }, | |
| { | |
| "index": 19, | |
| "user_preview": "Read the README.md file in my project root.", | |
| "expected_tool": "read_file", | |
| "tool_detected": true, | |
| "name_correct": true, | |
| "params_valid": true, | |
| "actual_tool": "read_file", | |
| "response_preview": "{\n \"name\": \"read_file\",\n \"arguments\": {\n \"path\": \"./README.md\"\n }\n}", | |
| "status": "CORRECT (read_file)", | |
| "elapsed": 2.45 | |
| } | |
| ] | |
| } |