| Crates.io | exo-rs |
| lib.rs | exo-rs |
| version | 0.1.0 |
| created_at | 2026-01-10 12:16:39.789067+00 |
| updated_at | 2026-01-10 12:16:39.789067+00 |
| description | A Rust SDK/Wrapper for the Exo AI engine (https://github.com/exo-explore/exo) |
| homepage | |
| repository | https://github.com/hghalebi/exo-rs |
| max_upload_size | |
| id | 2034114 |
| size | 50,693 |
A Rust SDK and wrapper for the Exo AI engine.
exo-rs provides a strongly-typed, ergonomic Rust interface for interacting with Exo clusters, allowing you to easily integrate local LLM capabilities into your Rust applications.
Add this to your Cargo.toml:
[dependencies]
exo-rs = "0.1.0"
use exo_rs::{ExoBuilder, ReqwestBackend};
use std::error::Error;
fn main() -> Result<(), Box<dyn Error>> {
let exo = ExoBuilder::new()
.base_url("http://localhost:52415")
.build(ReqwestBackend);
let request = exo.chat()
.set_model("mlx-community/Qwen3-30B-A3B-4bit")
.add_user_message("What can you do?");
let response = request.validate()?.send()?;
if let Some(choice) = response.choices.first() {
println!("{}", choice.message.content);
}
Ok(())
}
MIT