[package]
edition = "2021"
rust-version = "1.94"
name = "agent86-core"
version = "1.2.2"
build = false
exclude = ["tests/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The agent behind agent86: a safe agent runtime you can embed"
homepage = "https://maetek-technologies.github.io/agent86/"
documentation = "https://docs.rs/agent86-core"
readme = "README.md"
keywords = [
"agent",
"llm",
"ai",
"mcp",
"sandbox",
]
categories = [
"artificial-intelligence",
"development-tools",
"security",
]
license = "MIT"
repository = "https://github.com/Maetek-Technologies/agent86"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[features]
agent86ui = ["dep:agent86-ui"]
default = [
"os-keyring",
"local-embeddings",
"agent86ui",
]
local-embeddings = [
"dep:candle-core",
"dep:candle-nn",
"dep:tokenizers",
]
os-keyring = [
"dep:keyring-core",
"dep:windows-native-keyring-store",
"dep:apple-native-keyring-store",
"dep:zbus-secret-service-keyring-store",
]
[lib]
name = "agent86_core"
path = "src/lib.rs"
[[example]]
name = "embed"
path = "examples/embed.rs"
[dependencies.agent86-ui]
version = "1.2.2"
optional = true
[dependencies.candle-core]
version = "=0.11.1"
optional = true
[dependencies.candle-nn]
version = "=0.11.1"
optional = true
[dependencies.encoding_rs]
version = "0.8.42"
[dependencies.futures-util]
version = "0.3.34"
features = ["std"]
default-features = false
[dependencies.globset]
version = "0.4.21"
[dependencies.ignore]
version = "0.4.34"
[dependencies.indexmap]
version = "2.14.2"
features = ["serde"]
[dependencies.jiff]
version = "1.0.0"
[dependencies.keyring-core]
version = "1.0.1"
optional = true
[dependencies.md5]
version = "0.8.1"
[dependencies.regex]
version = "1.13.1"
[dependencies.reqwest]
version = "0.13.5"
features = ["rustls"]
default-features = false
[dependencies.rusqlite]
version = "0.41.1"
features = ["bundled"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = [
"preserve_order",
"raw_value",
]
[dependencies.sha1_smol]
version = "1.0.1"
[dependencies.sha2]
version = "0.11.1"
[dependencies.thiserror]
version = "2"
[dependencies.tokenizers]
version = "0.23.1"
features = ["onig"]
optional = true
default-features = false
[dependencies.tokio]
version = "1.54.1"
features = [
"macros",
"rt",
"signal",
"sync",
"time",
]
[dependencies.toml]
version = "1.1.8"
features = [
"parse",
"preserve_order",
"serde",
]
default-features = false
[dependencies.toml_edit]
version = "0.25"
[dependencies.url]
version = "2.5.9"
[dev-dependencies.tokio]
version = "1.54.1"
features = [
"macros",
"rt",
"signal",
"sync",
"time",
"rt-multi-thread",
"macros",
"net",
"io-util",
"time",
]
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.zbus-secret-service-keyring-store]
version = "1.0.1"
features = ["crypto-rust"]
optional = true
[target.'cfg(target_os = "macos")'.dependencies.apple-native-keyring-store]
version = "1.0.2"
features = ["keychain"]
optional = true
[target."cfg(windows)".dependencies.windows-native-keyring-store]
version = "1.1.0"
optional = true
[lints.clippy]
all = "warn"
[lints.rust]
unsafe_code = "forbid"