agent-io 0.3.0

A Rust SDK for building AI agents with multi-provider LLM support
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "agent-io"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust SDK for building AI agents with multi-provider LLM support"
readme = "README.md"
keywords = [
    "ai",
    "agent",
    "llm",
    "sdk",
    "multi-provider",
]
categories = [
    "api-bindings",
    "asynchronous",
]
license = "Apache-2.0"

[features]
anthropic = []
default = []
full = [
    "openai",
    "anthropic",
    "google",
]
google = []
openai = []

[lib]
name = "agent_io"
path = "src/lib.rs"

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "multi_provider"
path = "examples/multi_provider.rs"

[dependencies.anyhow]
version = "1"

[dependencies.arrow]
version = "57"

[dependencies.arrow-array]
version = "57"

[dependencies.arrow-schema]
version = "57"

[dependencies.async-stream]
version = "0.3"

[dependencies.async-trait]
version = "0.1"

[dependencies.bytes]
version = "1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.derive_builder]
version = "0.20"

[dependencies.dirs]
version = "5"

[dependencies.futures]
version = "0.3"

[dependencies.lancedb]
version = "0.26"

[dependencies.once_cell]
version = "1"

[dependencies.pin-project-lite]
version = "0.2"

[dependencies.proc-macro2]
version = "1"

[dependencies.quote]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "stream",
    "rustls-tls",
]
default-features = false

[dependencies.reqwest-eventsource]
version = "0.6"

[dependencies.secrecy]
version = "0.10"
features = ["serde"]

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.serde_with]
version = "3"

[dependencies.strum]
version = "0.26"
features = ["derive"]

[dependencies.syn]
version = "2"
features = [
    "full",
    "parsing",
    "printing",
]

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-stream]
version = "0.1"

[dependencies.tower]
version = "0.5"
features = [
    "retry",
    "timeout",
    "limit",
]

[dependencies.tower-http]
version = "0.6"
features = ["trace"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.tokio-test]
version = "0.4"

[dev-dependencies.tracing-subscriber]
version = "0.3"

[dev-dependencies.wiremock]
version = "0.6"

[target.'cfg(target_os = "linux")'.dev-dependencies.cargo-husky]
version = "1"
features = ["user-hooks"]
default-features = false

[target.'cfg(target_os = "macos")'.dev-dependencies.cargo-husky]
version = "1"
features = ["user-hooks"]
default-features = false