ollama_client_rs
ollama_client_rs is a transport-focused Rust SDK for the Ollama API.
It provides:
- typed request and response models
- synchronous chat requests
- streaming chat requests
- embeddings
- model listing
- lightweight telemetry hooks
This crate does not own orchestration, planning, RAG, or tool-loop behavior. Those higher-level workflows should live in the application layer, such as RAIN.
Basic usage
use ;
async
Position in the stack
- Use
ollama_client_rswhen you want a low-level SDK for Ollama. - Use RAIN when you want agentic execution, tool orchestration, retrieval, planning, or multi-step workflows.