brainwires-inference 0.11.0

LLM-driven workhorses for the Brainwires Agent Framework — chat agent, planner / judge / validator helpers, task agent, cycle orchestrator, summarization, system-prompt registry. Built on brainwires-agent for coordination primitives.
# 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"
rust-version = "1.91"
name = "brainwires-inference"
version = "0.11.0"
authors = ["Brainwires"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "LLM-driven workhorses for the Brainwires Agent Framework — chat agent, planner / judge / validator helpers, task agent, cycle orchestrator, summarization, system-prompt registry. Built on brainwires-agent for coordination primitives."
homepage = "https://github.com/Brainwires/brainwires-framework"
documentation = "https://docs.rs/brainwires-inference"
readme = "README.md"
keywords = [
    "inference",
    "llm",
    "agents",
    "chat",
    "framework",
]
categories = ["development-tools"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Brainwires/brainwires-framework"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["native"]
native = [
    "brainwires-core/native",
    "brainwires-call-policy/native",
    "brainwires-agent/native",
]
otel = ["dep:opentelemetry"]
telemetry = []
wasm = [
    "brainwires-core/wasm",
    "brainwires-call-policy/wasm",
    "brainwires-agent/wasm",
]

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

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

[dependencies.brainwires-agent]
version = "0.11.0"
default-features = false

[dependencies.brainwires-call-policy]
version = "0.11.0"
default-features = false

[dependencies.brainwires-core]
version = "0.11.0"
default-features = false

[dependencies.brainwires-tool-runtime]
version = "0.11.0"
features = ["native"]
default-features = false

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

[dependencies.futures]
version = "0.3"

[dependencies.hex]
version = "0.4"

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

[dependencies.regex]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.43"
features = [
    "sync",
    "time",
    "rt",
    "macros",
    "fs",
]

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.brainwires-tool-builtins]
version = "0.11.0"
default-features = false

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

[dev-dependencies.tokio]
version = "1.43"
features = [
    "full",
    "test-util",
]

[dev-dependencies.tracing-subscriber]
version = "0.3"