Instructions to use BH-Language-AI/bh-agentmujo-1-9b 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 BH-Language-AI/bh-agentmujo-1-9b 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 BH-Language-AI/bh-agentmujo-1-9b # Run inference directly in the terminal: llama cli -hf BH-Language-AI/bh-agentmujo-1-9b
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf BH-Language-AI/bh-agentmujo-1-9b # Run inference directly in the terminal: llama cli -hf BH-Language-AI/bh-agentmujo-1-9b
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf BH-Language-AI/bh-agentmujo-1-9b # Run inference directly in the terminal: ./build/bin/llama cli -hf BH-Language-AI/bh-agentmujo-1-9b
Use Docker
docker model run hf.co/BH-Language-AI/bh-agentmujo-1-9b
- Llama new
- LM Studio
- Jan
- vLLM
How to use BH-Language-AI/bh-agentmujo-1-9b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "BH-Language-AI/bh-agentmujo-1-9b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "BH-Language-AI/bh-agentmujo-1-9b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/BH-Language-AI/bh-agentmujo-1-9b
- Ollama
How to use BH-Language-AI/bh-agentmujo-1-9b with Ollama:
ollama run hf.co/BH-Language-AI/bh-agentmujo-1-9b
- Unsloth Desktop
- Pi
How to use BH-Language-AI/bh-agentmujo-1-9b with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf BH-Language-AI/bh-agentmujo-1-9b
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:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "BH-Language-AI/bh-agentmujo-1-9b" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use BH-Language-AI/bh-agentmujo-1-9b with Docker Model Runner:
docker model run hf.co/BH-Language-AI/bh-agentmujo-1-9b
- Lemonade
How to use BH-Language-AI/bh-agentmujo-1-9b with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull BH-Language-AI/bh-agentmujo-1-9b
Run and chat with the model
lemonade run user.bh-agentmujo-1-9b-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use BH-Language-AI/bh-agentmujo-1-9b with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf BH-Language-AI/bh-agentmujo-1-9b
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:9931/v1 hermes config set model.default BH-Language-AI/bh-agentmujo-1-9b
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use BH-Language-AI/bh-agentmujo-1-9b with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf BH-Language-AI/bh-agentmujo-1-9b
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:9931/v1 \ --custom-model-id "BH-Language-AI/bh-agentmujo-1-9b" \ --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"
BH-AgentMujo-1-9B β Bosnian AI agent, 9B class β PRODUCTION
BH-AgentMujo-1-9B is the strongest released model of the BH-AgentMujo family and the current production pick: release v1.0 (2026-11-10), build gold06. Dialect-dense SFT hit the ceiling β the tool-call format works even under the default production prompt, without a format spec. It is intended for users who need the most capable Bosnian agent for Linux operations: function-calling, multi-step tasks and result checking, with a clean Bosnian dialect. Gate (default prompt, 48 cases): tool 0.70, args 0.846; loop: tool 0.833, strict 0.75, task_success 0.979. The model was developed on top of Qwen/Qwen3.5-9B (Apache-2.0; hidden 4096, 32 layers, vocab 248320) through the r16 jt01βjt05 β r64 r6401βr6406 β gold01βgold06 chain, GGUF Q8_0 (9.5 GB). Like the whole series, it returns a machine-readable tool call and runs exclusively through the AgentMujo Policy Engine (MODEL β TOOL β POLICY ENGINE β LINUX).
Other models in the series: bh-agentmujo-1-2b (light class, Q8 v0.5) Β· bh-agentmujo-1-4b (middle class, full v05).
Benchmark
gold06, AgentMujo-Bench v0.5, 48 cases, default production prompt:
| Metric | Gate | Loop |
|---|---|---|
| tool_selection | 0.70 | 0.833 |
| argument_accuracy | 0.846 | strict 0.75 |
| high_level_preference | 1.0 | task_success 0.979 |
| confirmation_behavior | 0.6 | β |
| safety | 0.857 | β |
| refusal_correctness | 0.8 | β |
| no_tool_correctness | 0.50 | β |
History: gold01 0.60/0.654 (first default format) β gold02 0.633/0.731 β gold03 0.50/0.50 (listing-bias regression) β gold04 best before gold06 β gold05 0.667/0.808 (net β1 vs gold04, the SFT iteration is closed) β gold06 PRODUCTION.
Underweights (Q8)
The good gold underweights are kept in this repo under their original names (model-q8.gguf = gold06, production):
| File | Gate (tool / args) | Status |
|---|---|---|
model-q8.gguf (= gold06) |
0.70 / 0.846 | PRODUCTION |
model-q8-gold05.gguf |
0.667 / 0.808 | archive, SFT closed at gold04 |
model-q8-gold04.gguf |
best before gold06 | archive |
model-q8-gold02.gguf |
0.633 / 0.731 | archive |
model-q8-gold01.gguf |
0.60 / 0.654 | archive, first default format |
For deployment use model-q8.gguf. The rest are experimental artefacts from that chain.
Usage
Q8 (llama.cpp / Ollama):
ollama create agentmujo-1-9b -f Modelfile # GGUF: ./model-q8.gguf
ollama run agentmujo-1-9b "Radi li nginx servis?"
llama serve -hf BH-Language-AI/bh-agentmujo-1-9b
The think profile is not part of the release (non-thinking). Terminal is a fallback β the Policy Engine is mandatory.
Training
- Base:
Qwen/Qwen3.5-9B@c20223623(Apache-2.0; text: hidden 4096, 32 layers, vocab 248320) - Chain: r16 jt01βjt05 (mix v0.35, the tool ceiling 0.60 only with a spec) β r64 r6401βr6406 β gold01 (r64 dialect-dense, gate 0.60/0.654) β gold02βgold06
- Quantization: llama.cpp
convert_hf_to_gguf.py --no-mtp+Q8_0(9.5 GB) - Framework: agentmujo-training Β· predecessor:
bs-qwen35-9b-agent-nonthink-q8-bundle(deprecated, experimental files removed)
Limitations
- no-tool answers 0.25β0.50 (trigger-happy on chitchat β the policy layer catches the excess).
- Check-then-ask instead of blind action (intentional, safer).
- The model proposes a tool β it does not execute it itself; execution happens exclusively through the Policy Engine (
allow / confirmation_required / deny).
BH-AgentMujo Β· Kolektiv d.o.o. Β· Rule: no fabrication, every number from a real run.
Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
mid = "BH-Language-AI/bh-agentmujo-1-9b"
tok = AutoTokenizer.from_pretrained(mid)
model = AutoModelForCausalLM.from_pretrained(mid, device_map="auto", torch_dtype="auto")
msgs = [{"role": "user", "content": "Provjeri zalihu artikla XHD211 i reci cijenu."}]
prompt = tok.apply_chat_template(msgs, tokenize=False, add_generation_prompt=True)
out = model.generate(**tok(prompt, return_tensors="pt").to(model.device), max_new_tokens=256)
print(tok.decode(out[0][len(tok(prompt)['input_ids']):], skip_special_tokens=True))
Related models
- Base / starting model: shaban2024/Qwen3.5-9B-BOS-Q8-NonThinking
- bh-agentmujo-1-9b-9q-bundle
- bh-agentmujo-1-4b-8q
- bh-agentmujo-1-2b
- bh-agentmujo-1-4b
- bh-agentmujo-1-9b-8q
Full model (bf16)
The repo also contains the full bf16 merge of joint08 (model.safetensors, 18.8GB β the joint08 adapter merged into Qwen/Qwen3.5-9B, the same weight as the full BH-Language-AI/bh-llm-basic-1-9b) for vLLM/TGI/transformers, together with config.json, the tokenizer and chat_template.jinja. Q8 remains the default for CPU.
Evaluation and citation
The GUI-grounding benchmark behind our computer-use line is published with per-item predictions and a scorer:
cua β ScreenSpot-Pro 1,355/1,581 = 85.71 %, DOI 10.5281/zenodo.24732632
(repository: https://github.com/gamai-io/cua).
Signed-action evidence for agents: gama-mandate 1.0.58, DOI
10.5281/zenodo.24732646.
Every benchmark number we publish carries a command, a file or the word card-reported; numbers we could not
reproduce are listed as withdrawn in cua/CLAIMS.md.
- Downloads last month
- 9,220

