#llm #json-parser #prompt #json #parser

llm-toolkit

A low-level, unopinionated Rust toolkit for the LLM last mile problem

123 releases (59 breaking)

Uses new Rust 2024

new 0.61.1 Feb 1, 2026
0.60.1 Jan 14, 2026
0.60.0 Dec 24, 2025
0.58.0 Nov 29, 2025

#2444 in Parser implementations


Used in 5 crates

MIT license

1.5MB
28K SLoC

'llm-toolkit' - A low-level Rust toolkit for the LLM last mile problem.

This library provides a set of sharp, reliable, and unopinionated "tools" for building robust LLM-powered applications in Rust. It focuses on solving the common and frustrating problems that occur at the boundary between a strongly-typed Rust application and the unstructured, often unpredictable string-based responses from LLM APIs.


llm-toolkit

See the main README for an overview and quick start guide.

Documentation

Detailed documentation is available in the docs/ directory:

API Reference

See docs.rs/llm-toolkit for the complete API documentation.

Dependencies

~6–27MB
~347K SLoC