Show HN: Troupekit, Rust Framework for Agents That Resume After a Crash Troupekit 0.4, an open-source Rust framework for LLM agents from developer ChaoticQubit, checkpoints every agent run into a single SQLite file so a killed process can resume where it stopped, the project's documentation states. The framework runs agents written as Rust functions via an #[agent] macro or as persona TOML files, calls Anthropic, OpenAI, Gemini and any OpenAI-compatible server or a local GGUF model through llama.cpp, and combines keyword and vector retrieval with HNSW and quantized indexes in the same SQLite file. Troupekit ships as a Rust workspace with no Python runtime, builds in CI for Linux x86_64 and aarch64, Windows, macOS, Android and iOS, and is installable with `cargo add troupekit`; a separate `troupekit-cli` crate provides `ingest` and `trace` commands. Docs https://troupekit.org/ · Install https://troupekit.org/install.html · Examples https://github.com/ChaoticQubit/troupekit/tree/main/crates/troupekit/examples · API reference https://docs.rs/troupekit · crates.io https://crates.io/crates/troupekit cargo add troupekit cargo add tokio --features rt-multi-thread,macros Troupekit is an open-source Rust framework for LLM agents that run inside your own program. You write an agent as a Rust function with agent , or as a persona TOML file. You give it tools, memory and documents, and you can run it in graph workflows that survive a restart. Everything lives in one Rust workspace, with no Python runtime: agents, workflows, retrieval, memory and tracing. Stores stay in memory until you ask for durability. Call Troupe::builder .sqlite path and every run checkpoints into one SQLite file, and a killed process can resume the run where it stopped. The model can be hosted or local. Troupekit calls Anthropic, OpenAI, Gemini and any OpenAI-compatible server, or runs a GGUF model on the device through llama.cpp. A route policy can pick between them for each call. Your own documents are searchable by keyword, by vector or both, with HNSW and quantized indexes, all in the same SQLite file. CI builds the whole thing for Linux on x86 64 and aarch64, Windows, macOS, Android and iOS. The quickest way to see it run is the bundled example, from a clone: git clone https://github.com/ChaoticQubit/troupekit cd troupekit export OPENAI API KEY=sk-... cargo run -p troupekit --example hello The example is the whole program: use troupekit::prelude:: ; /// Greet the user by name. agent model = "openai/gpt-6-luna" fn greeter {} tokio::main async fn main - Result< , KitError { println "{}", greeter .run "I am Ada" .await? ; Ok } The doc comment becomes the agent's instructions. The model is a vendor/model selector from the built-in catalog in crates/troupekit-providers/catalog/providers.toml , and the key comes from