[package]
edition = "2024"
name = "opi-agent"
version = "0.2.0"
authors = ["OdradekAI"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "General-purpose agent runtime with tool calling and transport abstraction"
readme = "README.md"
license = "MIT"
repository = "https://github.com/OdradekAI/opi"
resolver = "2"
[lib]
name = "opi_agent"
path = "src/lib.rs"
[[test]]
name = "agent_loop_mock"
path = "tests/agent_loop_mock.rs"
[[test]]
name = "agent_loop_semantics"
path = "tests/agent_loop_semantics.rs"
[[test]]
name = "agent_wrapper"
path = "tests/agent_wrapper.rs"
[[test]]
name = "hooks_queues"
path = "tests/hooks_queues.rs"
[[test]]
name = "tool_validation"
path = "tests/tool_validation.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.futures-util]
version = "0.3"
[dependencies.jsonschema]
version = "0.28"
[dependencies.opi-ai]
version = "0.2.0"
[dependencies.schemars]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.time]
version = "0.3"
features = [
"serde",
"formatting",
"parsing",
]
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
"process",
"io-util",
"fs",
]
[dependencies.tokio-util]
version = "0.7"
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1"
features = ["v7"]
[dev-dependencies.futures-util]
version = "0.3"