Kode is the backbone of Kode CLI/Web UI, an open-source local alternative to Claude Code. Github coming soon.
1# Install and run
2ollama pull simplellm/kode-14b
3ollama run simplellm/kode-14b
4
5# Or the larger model
6ollama pull simplellm/kode-32b
7ollama run simplellm/kode-32b
1curl http://localhost:11434/api/chat -d '{
2 "model": "simplellm/kode-14b",
3 "messages": [
4 {"role": "user", "content": "Write a Rust function to find prime numbers using the Sieve of Eratosthenes"}
5 ]
6}'
1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model_name = "simplellm/kode-14b"
4tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
5model = AutoModelForCausalLM.from_pretrained(
6 model_name,
7 torch_dtype="auto",
8 device_map="auto",
9 trust_remote_code=True,
10)
11
12messages = [
13 {"role": "system", "content": "You are a coding assistant. Respond with clean, production-ready code."},
14 {"role": "user", "content": "Write a thread-safe LRU cache in Rust using Arc and Mutex"},
15]
16
17text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
18inputs = tokenizer(text, return_tensors="pt").to(model.device)
19outputs = model.generate(**inputs, max_new_tokens=2048, temperature=0.7, top_p=0.9)
20print(tokenizer.decode(outputs[0][inputs.input_ids.shape[-1]:], skip_special_tokens=True))
1# Download GGUF
2wget https://huggingface.co/simplellm/kode-14b-GGUF/resolve/main/kode-14b-Q8_0.gguf
3
4# Run
5./llama-cli -m kode-14b-Q8_0.gguf -p "Write a Go HTTP server with middleware" -n 1024
Try Kode without downloading at
SimpleLLM.eu — EU-hosted, GDPR-compliant inference API.
Apache 2.0 (inherited from
Qwen2.5-Coder)
1@misc{kode2025,
2 title={Kode: EU-Trained Coding Models for Real-World Software Engineering},
3 author={Kevin and SimpleLLM Team},
4 year={2025},
5 url={https://huggingface.co/simplellm/kode-14b}
6}