[package]
edition = "2021"
rust-version = "1.85"
name = "llm-agent-runtime"
version = "1.58.0"
authors = ["Matt Busel <mattbusel@users.noreply.github.com>"]
build = false
exclude = [".github/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unified Tokio agent runtime -- orchestration, memory, knowledge graph, and ReAct loop in one crate"
homepage = "https://github.com/Mattbusel/agent-runtime"
documentation = "https://docs.rs/llm-agent-runtime"
readme = "README.md"
keywords = [
"tokio",
"agent",
"llm",
"memory",
"graph",
]
categories = [
"asynchronous",
"concurrency",
"data-structures",
]
license = "MIT"
repository = "https://github.com/Mattbusel/agent-runtime"
[features]
anthropic = [
"reqwest",
"providers",
]
default = [
"orchestrator",
"memory",
"graph",
"wasm",
]
full = [
"orchestrator",
"memory",
"graph",
"wasm",
"persistence",
"providers",
"anthropic",
"openai",
]
graph = []
memory = []
openai = [
"reqwest",
"providers",
]
orchestrator = []
persistence = []
providers = []
redis-circuit-breaker = ["redis"]
wasm = []
[lib]
name = "llm_agent_runtime"
path = "src/lib.rs"
[[example]]
name = "anthropic_provider"
path = "examples/anthropic_provider.rs"
required-features = [
"anthropic",
"memory",
]
[[example]]
name = "custom_persistence"
path = "examples/custom_persistence.rs"
required-features = [
"persistence",
"memory",
]
[[example]]
name = "graph_query_agent"
path = "examples/graph_query_agent.rs"
required-features = ["graph"]
[[example]]
name = "multi_agent"
path = "examples/multi_agent.rs"
required-features = ["memory"]
[[example]]
name = "multi_turn_chat"
path = "examples/multi_turn_chat.rs"
required-features = ["memory"]
[[example]]
name = "orchestrator_composition"
path = "examples/orchestrator_composition.rs"
required-features = ["orchestrator"]
[[example]]
name = "resilient_tool"
path = "examples/resilient_tool.rs"
required-features = ["orchestrator"]
[[example]]
name = "streaming_inference"
path = "examples/streaming_inference.rs"
[[example]]
name = "working_memory_evolution"
path = "examples/working_memory_evolution.rs"
required-features = ["memory"]
[[test]]
name = "concurrency_stress"
path = "tests/concurrency_stress.rs"
[[test]]
name = "feature_gated"
path = "tests/feature_gated.rs"
[[test]]
name = "integration_features"
path = "tests/integration_features.rs"
[[test]]
name = "integration_runtime"
path = "tests/integration_runtime.rs"
[[test]]
name = "property_tests"
path = "tests/property_tests.rs"
[[test]]
name = "test_agent_lifecycle"
path = "tests/test_agent_lifecycle.rs"
[[test]]
name = "test_circuit_breaker"
path = "tests/test_circuit_breaker.rs"
[[test]]
name = "test_error_paths"
path = "tests/test_error_paths.rs"
[[test]]
name = "test_failure_modes"
path = "tests/test_failure_modes.rs"
[[test]]
name = "test_knowledge_graph"
path = "tests/test_knowledge_graph.rs"
[[test]]
name = "test_memory_management"
path = "tests/test_memory_management.rs"
[[test]]
name = "test_memory_persistence"
path = "tests/test_memory_persistence.rs"
[[test]]
name = "test_persistence_roundtrip"
path = "tests/test_persistence_roundtrip.rs"
[[test]]
name = "test_provider_mocks"
path = "tests/test_provider_mocks.rs"
[[test]]
name = "test_react_orchestrator"
path = "tests/test_react_orchestrator.rs"
[[test]]
name = "test_tracing_logging"
path = "tests/test_tracing_logging.rs"
[[bench]]
name = "agent"
path = "benches/agent.rs"
harness = false
[[bench]]
name = "memory"
path = "benches/memory.rs"
harness = false
[dependencies.async-trait]
version = "0.1"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.futures]
version = "0.3"
features = ["alloc"]
default-features = false
[dependencies.redis]
version = "0.26"
features = ["tokio-comp"]
optional = true
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
]
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1"
features = ["v4"]
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.tokio-test]
version = "0.4"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dev-dependencies.wiremock]
version = "0.6"
[lints.clippy]
dbg_macro = "warn"
expect_used = "deny"
panic = "deny"
print_stderr = "warn"
print_stdout = "warn"
todo = "deny"
unwrap_used = "deny"
[lints.rust]
missing_docs = "warn"
[profile.dev]
opt-level = 0
debug = 2
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true