erio-core 0.1.0

Core types, traits, and error handling for the Erio agent runtime
Documentation

erio-core

erio-core provides shared runtime primitives for Erio crates: message types, retry configuration, and common error variants.

It is the lowest-level dependency in the workspace and is designed to stay small and stable so higher-level crates (erio-tools, erio-llm-client, erio-workflow, and others) can compose on top of it.

Quickstart

use erio_core::{Message, RetryConfig};

let _system = Message::system("You are a helpful assistant.");
let _user = Message::user("Summarize this text.");

let _retry = RetryConfig::builder().max_attempts(3).build();

API tour

  • Key types: Message, Content, Role, ToolCall
  • Error/config: CoreError, ToolError, RetryConfig
  • Modules: config, error, message

Related crates

Compatibility

  • MSRV: Rust 1.93
  • License: Apache-2.0