rullama-agent 0.12.0

Agent coordination primitives + multi-agent patterns for the rullama agent framework — communication hub, file/resource locks, task manager/queue, git coordination, contract net, saga, optimistic concurrency, market allocation, workflow graph, three-state model. LLM-driven workhorses live in `rullama-inference`.
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 = "rullama-agent"
version = "0.12.0"
authors = ["Brainwires"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Agent coordination primitives + multi-agent patterns for the rullama agent framework — communication hub, file/resource locks, task manager/queue, git coordination, contract net, saga, optimistic concurrency, market allocation, workflow graph, three-state model. LLM-driven workhorses live in `rullama-inference`."
homepage = "https://github.com/Brainwires/rullama-framework"
documentation = "https://docs.rs/rullama-agent"
readme = "README.md"
keywords = [
    "ai-agents",
    "multi-agent",
    "task-orchestration",
    "llm",
    "autonomous",
]
categories = ["development-tools"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Brainwires/rullama-framework"
resolver = "2"

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

[features]
default = ["native"]
native = [
    "dep:git2",
    "dep:libc",
    "rullama-core/native",
    "rullama-call-policy/native",
]
otel = ["dep:opentelemetry"]
telemetry = [
    "dep:rullama-telemetry",
    "rullama-telemetry/native",
]
wasm = [
    "rullama-core/wasm",
    "rullama-call-policy/wasm",
]

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

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

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

[dependencies.git2]
version = "0.20"
optional = true

[dependencies.libc]
version = "0.2"
optional = true

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

[dependencies.petgraph]
version = "0.7"

[dependencies.rullama-call-policy]
version = "0.12.0"
default-features = false

[dependencies.rullama-core]
version = "0.12.0"
default-features = false

[dependencies.rullama-telemetry]
version = "0.12.0"
optional = true
default-features = false

[dependencies.rullama-tool-runtime]
version = "0.12.0"
default-features = false

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

[dependencies.serde_json]
version = "1"

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

[dependencies.tracing]
version = "0.1"

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

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

[dev-dependencies.rullama-knowledge]
version = "0.12.0"
features = ["knowledge"]
default-features = false

[dev-dependencies.rullama-permission]
version = "0.12.0"

[dev-dependencies.rullama-prompting]
version = "0.12.0"
features = ["knowledge"]
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"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1.43"
features = [
    "process",
    "rt-multi-thread",
]