[dependencies.agentai-macros]
optional = true
version = "0.1"
[dependencies.anyhow]
version = "1.0.98"
[dependencies.async-trait]
version = "0.1.88"
[dependencies.document-features]
version = "0.2"
[dependencies.genai]
version = "0.3.5"
[dependencies.log]
version = "0.4.27"
[dependencies.mcp_client_rs]
optional = true
version = "0.1.7"
[dependencies.reqwest]
features = ["json"]
version = "0.12.18"
[dependencies.schemars]
features = ["derive"]
version = "0.9"
[dependencies.serde]
features = ["derive"]
version = "1.0.219"
[dependencies.serde_json]
version = "1.0.140"
[dependencies.thiserror]
version = "2.0"
[dependencies.time]
features = ["serde", "formatting", "parsing", "local-offset"]
optional = true
version = "0.3"
[dependencies.time-tz]
optional = true
version = "2.0.0"
[dev-dependencies.simplelog]
version = "0.12.2"
[dev-dependencies.tokio]
features = ["full"]
version = "1.45.0"
[[example]]
name = "genai_custom"
path = "examples/genai_custom.rs"
[[example]]
name = "simple"
path = "examples/simple.rs"
[[example]]
name = "struct_output"
path = "examples/struct_output.rs"
[[example]]
name = "tools_custom"
path = "examples/tools_custom.rs"
[[example]]
name = "tools_mcp"
path = "examples/tools_mcp.rs"
[[example]]
name = "tools_web"
path = "examples/tools_web.rs"
[features]
default = ["mcp-client", "macros", "tools-buildin", "tools-web"]
macros = ["agentai-macros"]
mcp-client = ["dep:mcp_client_rs"]
tools-buildin = ["macros", "time", "time-tz"]
tools-web = ["macros"]
[lib]
name = "agentai"
path = "src/lib.rs"
[package]
authors = ["Adam Strojek <adam@strojek.info>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["text-processing"]
description = "AgentAI is a Rust library designed to simplify the creation of AI agents."
edition = "2021"
exclude = ["release-plz.toml", ".github"]
keywords = ["generative-ai", "openai", "chatgpt", "gemini", "agent"]
license = "MIT"
name = "agentai"
readme = "README.md"
repository = "https://github.com/AdamStrojek/rust-agentai"
resolver = "3"
version = "0.1.5"
[package.metadata.docs.rs]
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]