[package]
name = "agentool"
version = "0.2.0"
edition = "2021"
authors = ["Zoranner"]
license = "MIT"
repository = "https://github.com/Zoranner/agent-tools"
description = "Rust toolkit for AI agents: JSON Schema-defined tools for workspace files, search, web, Markdown, Git, memory, human-in-the-loop hooks, and todos."
[features]
default = []
fs = ["dep:tokio"]
find = ["dep:globset", "dep:regex", "dep:tokio", "dep:walkdir"]
web = ["dep:htmd", "dep:regex", "dep:reqwest", "dep:serde"]
md = ["dep:regex", "dep:serde", "dep:tokio"]
git = ["dep:chrono", "dep:git2", "dep:tokio"]
memory = ["dep:chrono", "dep:tokio", "dep:walkdir"]
exec = []
code = []
office = []
browser = []
design = []
gui = []
todo = ["dep:chrono", "dep:serde", "dep:tokio", "dep:uuid"]
interact = []
full = [
"fs",
"find",
"web",
"md",
"git",
"memory",
"todo",
"interact",
]
[dependencies]
async-trait = "0.1"
serde_json = "1"
thiserror = "2"
chrono = { version = "0.4", optional = true }
git2 = { version = "0.20", optional = true }
globset = { version = "0.4", optional = true }
htmd = { version = "0.5", optional = true }
regex = { version = "1", optional = true }
reqwest = { version = "0.13", features = ["form", "json", "query"], optional = true }
serde = { version = "1", features = ["derive"], optional = true }
tokio = { version = "1", features = ["macros", "rt"], optional = true }
walkdir = { version = "2", optional = true }
uuid = { version = "1", features = ["v4"], optional = true }
[dev-dependencies]
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }