Rust AI and machine learning libraries
Machine learning, LLM and inference libraries for Rust, ranked by GitHub stars
آخر تحديث · GitHub stars (stars)
لماذا هؤلاء العشرون
Ranked by GitHub stars: how many developers bookmarked the project. Stars measure attention, not quality, so each row also shows forks, licence and the last push. Tools without a public repository have no star count and can't be ranked here.
-
1
openai/codex
Lightweight coding agent that runs in your terminal
135,996 stars 21,562 forkslast push 2026-11-21RustApache-2.0
موجود أيضًا في: #3 open source projects in the Rust programming language
-
2
huggingface/candle
candle-core] - a minimalist ML framework with a focus on easiness of use and on performance (including GPU support)
21,363 stars 1,883 forkslast push 2026-11-19RustApache-2.0
موجود أيضًا في: #1 Rust machine learning libraries
-
3
memvid/memvid
Memory layer for AI Agents. Replace complex RAG pipelines with a serverless, single-file memory layer. Give your agents instant retrieval and long-term memory.
17,433 stars 1,463 forkslast push 2026-07-14RustApache-2.0
موجود أيضًا في: #11 open-source vector databases
-
4
burn
A Flexible and Comprehensive Deep Learning Framework.
16,317 stars 1,137 forkslast push 2026-11-21RustApache-2.0
موجود أيضًا في: #2 Rust machine learning libraries
-
5
huggingface/tokenizers
Fast State-of-the-Art Tokenizers optimized for Research and Production
11,263 stars 1,274 forkslast push 2026-11-20RustApache-2.0
موجود أيضًا في: #8 natural language processing libraries#3 Rust machine learning libraries
-
6
BAML
A simple prompting language for building reliable AI workflows and agents. BAML's compiler is written in Rust!
9,527 stars 523 forkslast push 2026-11-21RustApache-2.0
-
7
0xplaygrounds/rig
Library for creating agents and modular, scalable LLM-powered applications
9,204 stars 1,029 forkslast push 2026-11-20RustMIT
-
8
pydantic/monty
A minimal, secure Python interpreter for running LLM-generated code in AI agents, with microsecond startup, strict sandboxing, and snapshotting support
8,978 stars 508 forkslast push 2026-11-20RustMIT
-
9
EricLBuehler/mistral.rs
mistralrs] - Fast, flexible LLM inference engine supporting multimodal models, quantization (GGUF/GPTQ/ISQ), and OpenAI-compatible API
7,852 stars 770 forkslast push 2026-11-20RustMIT
موجود أيضًا في: #4 Rust machine learning libraries
-
10
katanemo/plano
Plano is an AI-native proxy server and data plane for agentic apps. Smart LLM routing, observability, agent orchestration, and guardrails so you stay...
7,118 stars 498 forkslast push 2026-10-24RustApache-2.0
موجود أيضًا في: #16 LLM inference engines#16 Open-source LLM inference projects on GitHub#5 Rust machine learning libraries
-
11
Michael-A-Kuykendall/shimmy
shimmy] - Pure-Rust WebGPU inference engine with an OpenAI-compatible API and native GGUF support.
6,021 stars 588 forkslast push 2026-11-12RustApache-2.0
موجود أيضًا في: #6 Rust machine learning libraries
-
12
autumnai/leaf
Open Machine Intelligence framework.. Abandoned project. The most updated fork is juice.
5,539 stars 268 forkslast push 2024-03-20RustApache-2.0
موجود أيضًا في: #7 Rust machine learning libraries
-
13
LaurentMazare/tch-rs
Bindings for PyTorch.
5,520 stars 462 forkslast push 2026-11-10RustApache-2.0
موجود أيضًا في: #8 Rust machine learning libraries
-
14
rust-ml/linfa
Machine learning framework.
4,770 stars 334 forkslast push 2026-11-20RustApache-2.0
موجود أيضًا في: #9 Rust machine learning libraries
-
15
openai/harmony
openai-harmony] - Renderer for the harmony response format to be used with gpt-oss.
4,548 stars 321 forkslast push 2026-04-08RustApache-2.0
-
16
rust-bert
Rust native ready-to-use NLP pipelines and transformer-based models (BERT, DistilBERT, GPT2,...)
3,092 stars 247 forkslast push 2026-01-13RustApache-2.0
موجود أيضًا في: #17 natural language processing libraries#10 Rust machine learning libraries
-
17
luminal-ai/luminal
luminal] - High-performance general-purpose inference compiler with RISC-style architecture, search-based optimization, and native CUDA/Metal backends....
3,064 stars 259 forkslast push 2026-11-19RustApache-2.0
موجود أيضًا في: #11 Rust machine learning libraries
-
18
raphaelmansuy/edgequake
A high-performance Graph-RAG framework that transforms documents into intelligent knowledge graphs.
2,327 stars 279 forkslast push 2026-11-17RustApache-2.0
موجود أيضًا في: #12 Rust machine learning libraries
-
19
64bit/async-openai
async-openai] - Ergonomic Rust bindings for OpenAI API based on OpenAPI spec.
2,037 stars 409 forkslast push 2026-11-17RustMIT
-
20
chelsea0x3b/dfdx
CUDA accelerated machine learning framework that leverages many of Rust's unique features.
1,944 stars 109 forkslast push 2024-07-23RustNOASSERTION
موجود أيضًا في: #13 Rust machine learning libraries
المراجع
- rust-unofficial/awesome-rust: Artificial Intelligence, GitHub community list (list text CC0; star counts from the GitHub API). Checked 2026-11-21 01:03 UTC.
- rust-unofficial/awesome-rust (Artificial Intelligence), GitHub community list, 54 tools with a public repository.
