Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

834 B
Raw Blame
//! Host adapter for the filesystem tools.
//!
//! The tools themselves (`file_read`, `file_write`, `edit_file`,
//! `apply_patch`, `grep`, `glob`, `list_files`, `csv_export`, `read_diff`,
//! `git_operations`, `run_linter`, `run_tests`, `update_memory_md`) live in
//! `tinyagents_harness_tools::fs::filesystem` and are registered by `tools/ops.rs`. What stays
//! here is the policy they consult: [`gate`] implements
//! `tinyagents_harness_tools::fs::filesystem::FsGate` for [`crate::security::SecurityPolicy`],
//! so the autonomy flag, the `is_always_forbidden` floor, `workspace_only`,
//! trusted roots and the approval gate remain host decisions. The tools only
//! ask.

pub(in crate::tools::implementations) mod gate;

#[cfg(test)]
#[path = "gate_tests.rs"]
mod gate_tests;

#[cfg(test)]
#[path = "mod_tests.rs"]
mod tests;