kjarni-ai/kjarni
Run transformer models locally in any language via one native Rust engine
What it solves
Without it, every language needs its own inference stack and a PyTorch or ONNX Runtime dependency.
- One native engine, many languages
- Auto model download, then offline
- Same output as PyTorch
Works with
- claude-desktop
- cursor
- vscode
- cli
Install
pip install kjarni # no dependencies at all pip install kjarni[numpy] # adds ndarray returns from encode_batch npm i kjarni-wasm claude mcp add kjarni -- kjarni mcp # Claude Code Copy-ready config
{
"mcpServers": {
"kjarni": {
"command": "kjarni",
"args": [
"mcp"
]
}
}
} Security flags
- Needs API key: No
- Runs locally: Yes
- Network access: Yes
- Needs root: No
Maintenance
| Last commit | 2026-12-05(0d) |
|---|---|
| Stars | 44 |
| Open issues | 95 |
| License | Apache-2.0 |
| Archived | No |
| Data fetched | 2026-12-05 |
Source excerpt
Verbatim README excerpt, unedited, so you can check the summary above.
Kjarni is a transformer inference library: local AI inference as one native engine for Python, C#, Go, C++, Rust and the browser.