agent-base 0.1.0

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.0"
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/chenkangzeng1/agent-base"

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0.102"

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

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

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

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

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

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

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

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.thiserror]
version = "2.0.17"

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

[dependencies.tracing]
version = "0.1"

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

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