tiny-agent-rs 0.1.0

A lightweight, type-safe Rust agent library for LLM tool calling
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"
name = "tiny-agent-rs"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight, type-safe Rust agent library for LLM tool calling"
readme = "README.md"
keywords = [
    "agent",
    "llm",
    "tool-calling",
    "openai",
    "async",
]
categories = [
    "asynchronous",
    "web-programming::http-client",
]
license = "MIT"
repository = "https://github.com/tunahorse/tinyagent-rust"

[features]
cli = ["clap"]
default = ["cli"]

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

[[bin]]
name = "tiny-agent"
path = "src/main.rs"
required-features = ["cli"]

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.async-openai]
version = "0.14"

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

[dependencies.clap]
version = "4.0"
features = ["derive"]
optional = true

[dependencies.dotenvy]
version = "0.15"

[dependencies.jsonschema]
version = "0.17"

[dependencies.reqwest]
version = "0.11"
features = ["json"]

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_path_to_error]
version = "0.1"

[dependencies.thiserror]
version = "1.0"

[dependencies.tinyagent_macros]
version = "0.1.0"

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

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.mockito]
version = "1.0"

[dev-dependencies.tinyagent_macros]
version = "0.1.0"

[dev-dependencies.tokio-test]
version = "0.4"