#llm #type #core

serdes-ai-core

Core types, messages, and error handling for serdes-ai

10 releases

0.2.6 Feb 20, 2026
0.2.5 Feb 17, 2026
0.1.5 Jan 27, 2026

#2321 in Development tools

Download history 3/week @ 2026-01-13 122/week @ 2026-01-20 197/week @ 2026-01-27 49/week @ 2026-02-03 49/week @ 2026-02-10 81/week @ 2026-02-17 95/week @ 2026-02-24 51/week @ 2026-03-03 75/week @ 2026-03-10 27/week @ 2026-03-17 31/week @ 2026-03-24

208 downloads per month
Used in 14 crates (13 directly)

MIT license

245KB
6.5K SLoC

serdes-ai-core

Crates.io Documentation License: MIT

Core types, messages, and error handling for serdes-ai

This crate provides the foundational types used throughout the SerdesAI ecosystem:

  • Message types (user, assistant, system, tool)
  • Error types and result aliases
  • Common traits and abstractions
  • Configuration types

Installation

[dependencies]
serdes-ai-core = "0.1"

Usage

use serdes_ai_core::{Message, Role, UserContent};

let message = Message::user("Hello, world!");

Part of SerdesAI

This crate is part of the SerdesAI workspace.

For most use cases, you should use the main serdes-ai crate which re-exports these types.

License

MIT License - see LICENSE for details.

Dependencies

~5–10MB
~154K SLoC