[package]
name = "radkit"
version = "0.0.4"
edition = "2021"
license = "MIT"
description = "Rust AI Agent Development Kit"
repository = "https://github.com/agents-sh/radkit"
homepage = "https://radkit.rs"
documentation = "https://radkit.rs"
keywords = ["ai", "agent", "ai-agent", "a2a", "agent-sdk"]
readme = "../README.md"
include = [
"src/**/*.rs",
"tests/**/*.rs",
"ui/dist/**/*",
"Cargo.toml",
"LICENSE",
]
[lib]
crate-type = ["cdylib", "rlib"]
[features]
default = ["macros"]
runtime = ["dep:axum", "dep:tower-http", "dep:tracing", "dep:tracing-subscriber"]
dev-ui = ["runtime", "dep:ts-rs"]
openapi = ["dep:openapiv3", "dep:serde_yaml", "dep:url"]
mcp = ["dep:rmcp", "dep:tracing"]
test-support = []
macros = ["dep:radkit-macros", "dep:tryparse-derive"]
[dependencies]
a2a-types = { path = "../a2a-types", version = "0.1.3" }
a2a-client = { path = "../a2a-client", version = "0.1.2" }
radkit-macros = { path = "../radkit-macros", version = "0.0.2", optional = true }
tryparse-derive = { workspace = true, optional = true }
async-trait = "0.1"
base64 = "0.22"
chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1", features = ["v4", "serde"] }
schemars = "1.0.4"
futures = "0.3"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tryparse = { workspace = true }
thiserror = "1"
reqwest = { version = "0.12", default-features = false, features = ["json"] }
derive_more = { version = "2.0.1", features = ["from", "display"] }
async-stream = "0.3.6"
openapiv3 = { version = "2.0", optional = true }
serde_yaml = { version = "0.9", optional = true }
url = { version = "2.5", optional = true }
[target.'cfg(not(all(target_os = "wasi", target_env = "p1")))'.dependencies]
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls-native-roots"] }
tokio = { version = "1", features = ["rt-multi-thread", "sync", "net", "process", "macros"] }
rand = "0.9.2"
dashmap = "6"
axum = { version = "0.8.0", optional = true }
tower-http = { version = "0.5", features = ["trace", "cors", "fs"], optional = true }
tracing = { version = "0.1", optional = true }
tracing-subscriber = { version = "0.3", features = ["env-filter"], optional = true }
ts-rs = { version = "11.1.0", optional = true }
rmcp = { version = "0.6.3", features = ["client", "transport-child-process", "transport-streamable-http-client-reqwest"], optional = true }
[target.'cfg(all(target_os = "wasi", target_env = "p1"))'.dependencies]
wasm-bindgen-futures = "0.4"
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
tokio = { version = "1.47.0", features = ["rt", "sync", "time", "io-util", "macros"] }
getrandom = "0.2"
tracing = { version = "0.1", optional = true }
tracing-subscriber = { version = "0.3", features = ["env-filter"], optional = true }
[dev-dependencies]
http-body-util = "0.1"
dotenvy = "0.15"
[target.'cfg(all(target_os = "wasi", target_env = "p1"))'.dev-dependencies]
wasm-bindgen-test = "0.3"
[[example]]
name = "hr_agent"
path = "../examples/hr_agent/agent.rs"