SuperAPIAI Directory

safeagents vs valet-fs

Metrics & specs comparison

safeagents

safeagents is a lightweight local proxy open-sourced by Hugging Face, positioned between the user's AI agent and its model server. It intercepts and checks model-initiated tool calls before the coding harness executes them, replacing blocked calls with a text prompt, thereby preventing dangerous operations from being executed. It supports any coding harness that allows setting a base URL (such as Claude Code, Pi, Hermes, OpenCode, etc.), is compatible with the OpenAI Chat Completions and Anthropic Messages protocols, and supports both streaming and non-streaming. Checks are divided into three stages: request-level checks (whether the tool is declared, whether parameters contain hosts that have not appeared, whether the call targets the proxy itself), atif-scan checks (detecting sensitive file reads, network bypasses, Kubernetes tokens, namespace operations, etc.), and an optional decision model (judge) that makes a second judgment on suspicious calls. It also provides a plugin mechanism, trajectory redaction and publishing, decision model benchmarking, and other features.

valet-fs

ValetFS is an open-source tool designed to keep API keys on your phone, lending them to AI agents on your computer only temporarily when needed, with keys existing only in memory and never touching disk. It consists of a daemon written in Go and an optional mobile app, and through an end-to-end encrypted peer-to-peer connection, it exposes short-lived tokens and keys to AI agents with the user's permission, returning them once the work is done. When the user closes the app, the daemon starts a grace timer, and once the timer ends, it unmounts and wipes the memory. This approach avoids putting keys into dotfiles, environment variables, or config directories, thereby reducing the risk of theft via prompt injection. ValetFS provides the command-line tool valetfs, supporting commands such as ls, cat, and exec, where exec can inject keys directly into a child process's environment without writing to output, reducing the risk of leakage. The project uses the MIT license; the iOS app is an optional paid convenience item, and access is not sold.

Dimensionsafeagentsvalet-fs
CategoryAI securityAI security
Pricing开源项目(可免费自部署)开源项目(可免费自部署)
PlatformsmacOS · LinuxiOS · macOS · Linux
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools