oharness-tools
ToolSet trait + bundled tool kits (bash, filesystem) for
open-harness.
What's in here
ToolSettrait — the primary interface for tool collections agents can call.ToolContext— cross-cutting context threaded through everyexecute()call: event sink, budget, cancellation, approval channel, workspace scoping.Workspace— a scratch directory with optional cleanup. Benchmarks hand these to per-task runs so tools operate inside a scoped root.- Shipped tool kits:
FsToolSet(featurefs, default-on):fs_list,fs_read,fs_write,fs_stat. RespectsToolContext::workspace_path()when set.BashToolSet(featurebash, default-on):bashexecutes a shell command. Currently unsandboxed — review your threat model before exposing to untrusted code.
Quickstart
use FsToolSet;
use Arc;
let tools = new;
// Pass to your Agent via `.with_tools(tools)`.
Feature flags
[]
= { = "0.1", = false, = ["fs"] }
Both bash and fs are on by default; disable the ones you
don't need.
License
Dual-licensed under MIT or Apache-2.0.