[package]
edition = "2024"
name = "agent-sdk"
version = "0.4.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust Agent SDK for building LLM agents"
readme = "README.md"
keywords = [
"agent",
"llm",
"ai",
"anthropic",
"tools",
]
categories = [
"api-bindings",
"asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/bipa-app/agent-sdk"
[lib]
name = "agent_sdk"
path = "src/lib.rs"
[[example]]
name = "basic_agent"
path = "examples/basic_agent.rs"
[[example]]
name = "custom_hooks"
path = "examples/custom_hooks.rs"
[[example]]
name = "custom_tool"
path = "examples/custom_tool.rs"
[[example]]
name = "with_primitive_tools"
path = "examples/with_primitive_tools.rs"
[dependencies.anyhow]
version = "1"
[dependencies.async-stream]
version = "0.3"
[dependencies.async-trait]
version = "0.1"
[dependencies.bytes]
version = "1"
[dependencies.futures]
version = "0.3"
[dependencies.glob]
version = "0.3"
default-features = false
[dependencies.html2text]
version = "0.14"
[dependencies.log]
version = "0.4"
[dependencies.regex]
version = "1.10"
features = [
"std",
"unicode-perl",
]
default-features = false
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"stream",
]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.thiserror]
version = "2"
[dependencies.time]
version = "0.3"
features = [
"serde",
"std",
"formatting",
"parsing",
]
[dependencies.tokio]
version = "1.40"
features = [
"sync",
"fs",
"process",
"time",
]
[dependencies.tokio-stream]
version = "0.1"
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2"
[dependencies.uuid]
version = "1"
features = [
"v4",
"serde",
]
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1.40"
features = [
"rt-multi-thread",
"macros",
]
[dev-dependencies.tracing-subscriber]
version = "0.3"
[lints.clippy]
all = "warn"
nursery = "warn"
pedantic = "warn"
[lints.rust]
unsafe_code = "forbid"