Rust AI

Open-source Rust projects categorized as AI

Top 23 Rust AI Projects

  1. ChatGPT

    ๐Ÿ”ฎ ChatGPT Desktop Application (Mac, Windows and Linux)

    Project mention: Widen ChatGPT Screen | news.ycombinator.com | 2024-06-14
  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. tabby

    Self-hosted AI coding assistant

    Project mention: Ask HN: Air-Gapped Dev Environment? | news.ycombinator.com | 2025-03-06

    People in government agencies, defence and aerospace companies write code in airgapped environments every day.

    Essentials like version control, CI/CD and artifact repositories are readily available, as they always have been.

    The problem you'll face with LLM assists is they require very substantial hardware. I don't know how well that's going to fit your laptop-in-the-middle-of-nowhere use case, but there are projects floating around.

    https://github.com/TabbyML/tabby

  4. databend

    ๐——๐—ฎ๐˜๐—ฎ, ๐—”๐—ป๐—ฎ๐—น๐˜†๐˜๐—ถ๐—ฐ๐˜€ & ๐—”๐—œ. Modern alternative to Snowflake. Cost-effective and simple for massive-scale analytics. https://databend.com

    Project mention: Top 5 Snowflake Alternatives for Cost-Effective Data Warehousing | news.ycombinator.com | 2024-09-06

    Check out Databend, an open-source alternative to Snowflake with 90%+ product and syntax similarity (almost no migration cost). Itโ€™s cost-effective and powerful.

    GitHub: https://github.com/datafuselabs/databend/issues/13059

    Comparison: https://www.databend.com/comparison

  5. postgresml

    Postgres with GPUs for ML/AI apps.

    Project mention: Postgres Learns to RAG: Wikipedia Q&A using Llama 3.1 inside the database | news.ycombinator.com | 2024-09-24

    GitHub: https://github.com/postgresml/postgresml

    Looking forward to your feedback and any questions about the technical details.

  6. aichat

    All-in-one LLM CLI tool featuring Shell Assistant, Chat-REPL, RAG, AI Tools & Agents, with access to OpenAI, Claude, Gemini, Ollama, Groq, and more.

    Project mention: Show HN: Onit โ€“ open-source ChatGPT Desktop with local mode, Claude, Gemini | news.ycombinator.com | 2025-01-24

    This one feels a bit buggy and it might be abandoned, but it has basic functionality for working with ollama models.

    Also worth a mention is [aichat](https://github.com/sigoden/aichat). It's not a native gui app, but it's an impressive cli client.

  7. code2prompt

    A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and token counting.

    Project mention: All Data and AI Weekly #177 - 17-Feb-2025 | dev.to | 2025-02-17

    ๐Ÿš€ https://github.com/mufeedvh/code2prompt

  8. deepclaude

    A high-performance LLM inference API and Chat UI that integrates DeepSeek R1's CoT reasoning traces with Anthropic Claude models.

    Project mention: OpenAI O3-Mini | news.ycombinator.com | 2025-01-31

    If you would like to see the CoT process visualized, try the โ€œImprove promptโ€ feature in Anthropic console. Also check out https://github.com/getAsterisk/deepclaude

  9. Nutrient

    Nutrient - The #1 PDF SDK Library. Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrientโ€™s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.

    Nutrient logo
  10. quadratic

    Spreadsheet with AI, Code, Connections

    Project mention: Probly: Spreadsheets and Python and AI, right in the browser | news.ycombinator.com | 2025-02-27

    any comparisons with https://github.com/quadratichq/quadratic ?

    *necessary disclosure, i'm a small angel investor in it but genuinely open to see new approaches

  11. text-embeddings-inference

    A blazing fast inference solution for text embeddings models

    Project mention: Zero-Shot Text Classification on a low-end CPU-only machine? | news.ycombinator.com | 2024-10-07

    Hugging Face does maintain a package named Text Embedding Inference (TEI) with GPU/CPU-optimized container images. While I have only used this for hosting embedding models, it does appear to support Roberta architecture classifiers (specifically sentiment analysis).

    https://github.com/huggingface/text-embeddings-inference

    You can always run a zero shot pipeline in HF with a simple Flask/FastAPI application.

  12. tensorzero

    TensorZero creates a feedback loop for optimizing LLM applications โ€” turning production data into smarter, faster, and cheaper models.

    Project mention: Show HN: TensorZero โ€“ open-source data and learning flywheel for LLMs | news.ycombinator.com | 2024-09-16
  13. lsp-ai

    LSP-AI is an open-source language server that serves as a backend for AI-powered functionality, designed to assist and empower software engineers, not replace them.

    Project mention: AIM Weekly for 10 June 2024 | dev.to | 2024-06-10
  14. chat-ai-desktop

    Unofficial ChatGPT desktop app for Mac & Windows menubar using Tauri & Rust

  15. aici

    AICI: Prompts as (Wasm) Programs

    Project mention: What Is ChatGPT Doing and Why Does It Work? | news.ycombinator.com | 2024-06-18

    Thatโ€™s right, if LLMs were really thinking/forming world models etc. we would expect them to be robust against word choice or phrasing. But in practice anyone using RAG can tell you that that is not the case.

    Iโ€™m just a practitioner so my language might be imprecise but when I say similarly structured sentences what I mean is, and this is my interpretation based on my experience with using Agents and LLMs, that the shape of the context as in the phrasing and the word choice highly bias the outputs of LLMs.

    In my own observations at work, those who interpret LLMs to be thinking often produce bad agents. LLM are not good at open ended questions, if you ask an LLM โ€œimprove this codeโ€ you will often get bad results that just look passable. But if you interpret LLMs as probabilistic models highly biased by their context then you would add a lot more context and specific instructions in the prompt in order to get the Agent to produce the right output.

    Side note, this is also why I like the AICI approach: https://github.com/microsoft/aici

  16. trieve

    All-in-one infrastructure for search, recommendations, RAG, and analytics offered via API

    Project mention: Accurate Hallucination Detection With NER | dev.to | 2025-01-07

    You can find all the code involved in our NER system, including benchmarks, at github.com/devflowinc/trieve/tree/main/hallucination-detection.

  17. refact

    WebUI for Fine-Tuning and Self-hosting of Open-Source Large Language Models for Coding

    Project mention: RefactAI: Use best-in-class LLMs for coding in your IDE | news.ycombinator.com | 2024-04-30
  18. floneum

    Instant, controllable, local pre-trained AI models in Rust

    Project mention: Dioxus 0.5: Web, Desktop, Mobile Apps in Rust | news.ycombinator.com | 2024-03-28

    It is pretty good. I am working on an application that uses SVGs as a way to draw a workflow editor UI with Dioxus: https://github.com/floneum/floneum

  19. smartgpt

    A program that provides LLMs with the ability to complete complex tasks using plugins.

  20. korvus

    Korvus is a search SDK that unifies the entire RAG pipeline in a single database query. Built on top of Postgres with bindings for Python, JavaScript, Rust and C.

    Project mention: Korvus: Single-Query RAG with Postgres | news.ycombinator.com | 2024-07-11

    I find it misleading to use an f-string containing encoded `{CONTEXT}` <https://github.com/postgresml/korvus/blob/bce269a20a1dbea933...>, and after digging into TFM <https://postgresml.org/docs/open-source/korvus/guides/rag#si...> it seems in is not, in fact, an f-string artifact but rather the literal characters "{"+"CONTEXT"+"}" and are the same in all the language bindings?

    IMHO it would be much clearer if you just used the normal %s for the "outer" string and left the implicit f-string syntax as it is, e.g.

                        {

  21. chidori

    A reactive runtime for building durable AI agents

  22. ort

    Fast ML inference & training for ONNX models in Rust (by pykeio)

    Project mention: AI Inference now available in Supabase Edge Functions | dev.to | 2024-04-16

    To solve this, we built a native extension in Edge Runtime that enables using ONNX runtime via the Rust interface. This was made possible thanks to an excellent Rust wrapper called Ort:

  23. ezkl

    ezkl is an engine for doing inference for deep learning models and other computational graphs in a zk-snark (ZKML). Use it from Python, Javascript, or the command line.

    Project mention: SP1: A performant, 100% open-source, contributor-friendly zkVM | news.ycombinator.com | 2024-12-08

    For those looking for applications outside crypto, this might also be interesting: https://docs.ezkl.xyz/

    It's similar to Succinct but for proofs of ML models instead of RISCV. So you could generate a proof on some private data, on your computer or in a trusted environment, and submit the proof to show that you pass a fraud check without revealing any of your data.

  24. whatlang-rs

    Natural language detection library for Rust. Try demo online: https://whatlang.org/

  25. MusicGPT

    Generate music based on natural language prompts using LLMs running locally

    Project mention: Show HN: MusicGPT โ€“ An Open Source App for Generating Music with Local LLMs | news.ycombinator.com | 2024-05-23
  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Rust AI discussion

Log in or Post with

Rust AI related posts

  • Data Indexing and Common Challenges

    1 project | dev.to | 14 Mar 2025
  • [Open Source Project] Fresh Data For AI

    1 project | dev.to | 10 Mar 2025
  • Show HN: Fresh Data for AI

    2 projects | news.ycombinator.com | 9 Mar 2025
  • Open-Source ETL to prepare data for RAG ๐Ÿฆ€ ๐Ÿ

    1 project | dev.to | 8 Mar 2025
  • Ask HN: Air-Gapped Dev Environment?

    1 project | news.ycombinator.com | 6 Mar 2025
  • My LLM codegen workflow ATM

    2 projects | news.ycombinator.com | 18 Feb 2025
  • Show HN: Transform Your Codebase into a Single Markdown Doc for Feeding into AI

    23 projects | news.ycombinator.com | 14 Feb 2025
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 14 Mar 2025
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more โ†’

Index

What are some of the best open-source AI projects in Rust? This list will help you:

# Project Stars
1 ChatGPT 53,647
2 tabby 30,394
3 databend 8,248
4 postgresml 6,188
5 aichat 5,927
6 code2prompt 5,002
7 deepclaude 4,710
8 quadratic 3,321
9 text-embeddings-inference 3,268
10 tensorzero 2,921
11 lsp-ai 2,561
12 chat-ai-desktop 2,007
13 aici 2,004
14 trieve 1,958
15 refact 1,779
16 floneum 1,769
17 smartgpt 1,759
18 korvus 1,340
19 chidori 1,308
20 ort 1,198
21 ezkl 1,039
22 whatlang-rs 997
23 MusicGPT 907

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that Rust is
the 5th most popular programming language
based on number of references?