pepperoni21/ollama-rs
A simple and easy-to-use library for interacting with the Ollama API. observed · 2026-09-03
Health v2 · maintenance only
88/100
- Activity 100
- Release rhythm 82
- Longevity 73
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 34.5
- age_days: 1035
- days_rel: 40
- days_push: 0
- n_releases_24m: 13
Adoption not part of the score
1059 stars · 166 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Rust client library for interacting with the Ollama API, supporting completion generation, streaming, chat, model management, embeddings, and function/tool calling. It is published on crates.io with nearly 480k downloads and an MIT license.
Use cases
- call local ollama models from rust
- generate llm completions with streaming in rust
- build a chatbot on top of ollama
- generate embeddings for rag in rust
- manage ollama models programmatically
- implement tool/function calling with local llms
When to choose
- you're writing Rust and want a simple typed client for Ollama
- you need streaming, chat, embeddings, or tool calling against a local Ollama server
- you want a lightweight alternative to raw HTTP calls to the Ollama API
When to avoid
- you need to talk to OpenAI, Anthropic, or other non-Ollama LLM APIs
- you're not using Rust
- you need a full inference engine rather than a client for an existing Ollama server
Facets
library · maturity active
http-client llm-inference rag chatbot sdk large-language-models artificial-intelligence developer-tools apis rust cross-platform ollama llm-client async embeddings function-calling streaming
2 sources
- readme: https://github.com/pepperoni21/ollama-rs · fetched 2026-09-03 · 5c8e0b0ad23b
- registry_crates: https://crates.io/api/v1/crates/ollama-rs · fetched 2026-08-29 · 408a2960b2c1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pepperoni21/ollama-rs | main | 88 |
For agents
markdown · JSON · MCP: product_card(name="pepperoni21/ollama-rs")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem