agent-base 0.1.10

A lightweight Agent Runtime Kernel for building AI agents in Rust
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "agent-base"
version = "0.1.10"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight Agent Runtime Kernel for building AI agents in Rust"
readme = "README.md"
keywords = [
    "agent",
    "ai",
    "llm",
    "runtime",
    "tool-calling",
]
categories = [
    "development-tools",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/hibuka-labs/agent-base"

[features]
default = []
telemetry = [
    "opentelemetry",
    "tracing-opentelemetry",
]
typed-tools = ["schemars"]

[lib]
name = "agent_base"
path = "src/lib.rs"

[[example]]
name = "approval_policy_demo"
path = "examples/approval_policy_demo.rs"

[[example]]
name = "block_on_deadlock_demo"
path = "examples/block_on_deadlock_demo.rs"

[[example]]
name = "middleware_demo"
path = "examples/middleware_demo.rs"

[[example]]
name = "quickstart_demo"
path = "examples/quickstart_demo.rs"

[[example]]
name = "qwen_model_compare"
path = "examples/qwen_model_compare.rs"

[[example]]
name = "repl"
path = "examples/repl.rs"

[[example]]
name = "subagent_demo"
path = "examples/subagent_demo.rs"

[[example]]
name = "test_summarize_scenario"
path = "examples/test_summarize_scenario.rs"

[[example]]
name = "thinking_test"
path = "examples/thinking_test.rs"

[[example]]
name = "tool_context_demo"
path = "examples/tool_context_demo.rs"

[[test]]
name = "openai_request_format_test"
path = "tests/openai_request_format_test.rs"

[[test]]
name = "snapshot_tests"
path = "tests/snapshot_tests.rs"

[[test]]
name = "thinking_budget_test"
path = "tests/thinking_budget_test.rs"

[dependencies.anyhow]
version = "1"

[dependencies.async-trait]
version = "0.1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.eventsource-stream]
version = "0.2"

[dependencies.futures-core]
version = "0.3"

[dependencies.futures-util]
version = "0.3"

[dependencies.opentelemetry]
version = "0.30"
optional = true

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "stream",
]

[dependencies.schemars]
version = "1"
features = ["preserve_order"]
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.52"
features = ["full"]

[dependencies.tokio-util]
version = "0.7"
features = ["rt"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-opentelemetry]
version = "0.30"
optional = true

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.dotenvy]
version = "0.15"

[dev-dependencies.insta]
version = "1"
features = ["json"]

[dev-dependencies.serial_test]
version = "3"

[dev-dependencies.tempfile]
version = "3"