tiny-agent-loop 0.1.0

A tiny LLM agent loop library for simple one-off projects with LLMs.
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"
name = "tiny-agent-loop"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A tiny LLM agent loop library for simple one-off projects with LLMs."
readme = "README.md"
license = "AGPL-3.0-only"

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

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

[dependencies.async-openai]
version = "0.33.1"
features = ["chat-completion"]

[dependencies.futures-util]
version = "0.3.32"

[dependencies.log]
version = "0.4.29"

[dependencies.schemars]
version = "1.2.1"

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

[dependencies.serde_json]
version = "1.0.149"

[dev-dependencies.tokio]
version = "1.51.0"
features = ["rt-multi-thread"]