clark-agent 0.2.0

Typed agent loop with typed messages, typed events, swappable LLM transport, and plugin hooks. Provider-agnostic, sandbox-agnostic, tooling-agnostic. By Clark Labs Inc.
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 = "2021"
rust-version = "1.94"
name = "clark-agent"
version = "0.2.0"
authors = ["Stanislav Kirdey, Clark Labs Inc. <https://github.com/clark-labs-inc>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Typed agent loop with typed messages, typed events, swappable LLM transport, and plugin hooks. Provider-agnostic, sandbox-agnostic, tooling-agnostic. By Clark Labs Inc."
homepage = "https://github.com/clark-labs-inc/clark-agent"
documentation = "https://docs.rs/clark-agent"
readme = "README.md"
keywords = [
    "agent",
    "llm",
    "tools",
    "runtime",
    "async",
]
categories = ["asynchronous"]
license = "Apache-2.0"
repository = "https://github.com/clark-labs-inc/clark-agent"

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

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

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

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

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

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

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

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

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

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

[dependencies.futures]
version = "0.3"

[dependencies.schemars]
version = "0.8"
features = [
    "derive",
    "preserve_order",
]

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

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[dependencies.thiserror]
version = "1"

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

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

[dependencies.tracing]
version = "0.1"

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

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