brainwires 0.4.0

The Brainwires Agent Framework — build any AI application 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"
rust-version = "1.91"
name = "brainwires"
version = "0.4.0"
authors = ["Brainwires"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The Brainwires Agent Framework — build any AI application in Rust"
homepage = "https://github.com/Brainwires/brainwires-framework"
documentation = "https://docs.rs/brainwires"
readme = "README.md"
keywords = [
    "ai-agents",
    "llm",
    "mcp",
    "multi-agent",
    "framework",
]
categories = ["development-tools"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Brainwires/brainwires-framework"
resolver = "2"

[features]
a2a = [
    "dep:brainwires-a2a",
    "brainwires-a2a/native",
]
agent-full = [
    "agents",
    "permissions",
    "prompting",
    "tools",
]
agent-network = ["dep:brainwires-agent-network"]
agents = ["dep:brainwires-agents"]
audio = ["dep:brainwires-audio"]
autonomy = ["dep:brainwires-autonomy"]
bedrock = [
    "providers",
    "brainwires-providers/bedrock",
]
brain = [
    "dep:brainwires-cognition",
    "brainwires-cognition/knowledge",
]
chat = ["providers"]
datasets = ["dep:brainwires-datasets"]
default = [
    "tools",
    "agents",
]
eval = [
    "agents",
    "brainwires-agents/eval",
]
full = [
    "tools",
    "agents",
    "storage",
    "mcp",
    "mdap",
    "knowledge",
    "prompting",
    "permissions",
    "orchestrator",
    "rag-full-languages",
    "interpreters",
    "providers",
    "chat",
    "reasoning",
    "seal",
    "agent-network",
    "brainwires-agents/seal-knowledge",
    "brainwires-agents/seal-mdap",
    "brainwires-agents/seal-feedback",
    "llama-cpp-2",
    "mcp-server",
    "skills",
    "eval",
    "proxy",
    "a2a",
    "mesh",
    "audio",
    "training-cloud",
    "datasets",
    "autonomy",
]
interpreters = ["dep:brainwires-code-interpreters"]
knowledge = ["brain"]
learning = [
    "seal",
    "knowledge",
    "permissions",
    "brainwires-agents/seal-knowledge",
    "brainwires-agents/seal-feedback",
]
llama-cpp-2 = [
    "providers",
    "brainwires-providers/llama-cpp-2",
]
mcp = ["dep:brainwires-mcp"]
mcp-server = [
    "dep:rmcp",
    "dep:schemars",
    "dep:tokio-util",
]
mdap = ["dep:brainwires-mdap"]
mesh = [
    "agent-network",
    "brainwires-agent-network/mesh",
]
openapi = [
    "tools",
    "brainwires-tool-system/openapi",
]
orchestrator = [
    "tools",
    "brainwires-tool-system/orchestrator",
]
otel = [
    "agents",
    "brainwires-agents/otel",
]
permissions = ["dep:brainwires-permissions"]
prompting = [
    "dep:brainwires-cognition",
    "brainwires-cognition/prompting",
]
providers = ["dep:brainwires-providers"]
proxy = ["dep:brainwires-proxy"]
rag = [
    "dep:brainwires-cognition",
    "brainwires-cognition/rag",
    "dep:brainwires-storage",
    "brainwires-storage/vector-db",
    "tools",
    "brainwires-tool-system/rag",
]
rag-full-languages = [
    "rag",
    "brainwires-cognition/tree-sitter-languages",
]
reasoning = [
    "agents",
    "brainwires-agents/reasoning",
]
researcher = [
    "providers",
    "agents",
    "storage",
    "rag",
    "training",
    "datasets",
]
seal = [
    "agents",
    "brainwires-agents/seal",
]
skills = ["dep:brainwires-skills"]
storage = [
    "dep:brainwires-storage",
    "brainwires-storage/native",
]
tools = ["dep:brainwires-tool-system"]
training = ["dep:brainwires-training"]
training-cloud = [
    "training",
    "brainwires-training/cloud",
]
training-full = [
    "training",
    "brainwires-training/full",
    "datasets",
    "brainwires-datasets/full",
]
training-local = [
    "training",
    "brainwires-training/local",
]
vertex-ai = [
    "providers",
    "brainwires-providers/vertex-ai",
]
wasm = ["brainwires-core/wasm"]

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

[[example]]
name = "agent_quickstart"
path = "examples/agent_quickstart.rs"
required-features = ["agents"]

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

[[example]]
name = "custom_provider"
path = "examples/custom_provider.rs"
required-features = ["providers"]

[[example]]
name = "rag_custom_pipeline"
path = "examples/rag_custom_pipeline.rs"
required-features = ["rag"]

[dependencies.brainwires-a2a]
version = "0.4.0"
optional = true
default-features = false

[dependencies.brainwires-agent-network]
version = "0.4.0"
optional = true

[dependencies.brainwires-agents]
version = "0.4.0"
optional = true

[dependencies.brainwires-audio]
version = "0.4.0"
optional = true

[dependencies.brainwires-autonomy]
version = "0.4.0"
optional = true
default-features = false

[dependencies.brainwires-code-interpreters]
version = "0.4.0"
optional = true

[dependencies.brainwires-cognition]
version = "0.4.0"
optional = true
default-features = false

[dependencies.brainwires-core]
version = "0.4.0"

[dependencies.brainwires-datasets]
version = "0.4.0"
optional = true

[dependencies.brainwires-mcp]
version = "0.4.0"
optional = true

[dependencies.brainwires-mdap]
version = "0.4.0"
optional = true

[dependencies.brainwires-permissions]
version = "0.4.0"
optional = true

[dependencies.brainwires-providers]
version = "0.4.0"
optional = true

[dependencies.brainwires-proxy]
version = "0.4.0"
optional = true

[dependencies.brainwires-skills]
version = "0.4.0"
optional = true

[dependencies.brainwires-storage]
version = "0.4.0"
optional = true
default-features = false

[dependencies.brainwires-tool-system]
version = "0.4.0"
optional = true

[dependencies.brainwires-training]
version = "0.4.0"
optional = true

[dependencies.rmcp]
version = "1.1"
features = [
    "client",
    "server",
    "client-side-sse",
    "transport-child-process",
    "transport-io",
    "macros",
]
optional = true

[dependencies.schemars]
version = "1.0"
optional = true

[dependencies.tokio-util]
version = "0.7"
optional = true

[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.async-stream]
version = "0.3"

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

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

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

[dev-dependencies.tracing]
version = "0.1"

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