Gryph

Add real-time policy controls and local audit trails to AI coding agents.

Source repo
safedep/gryph
Stars
★ 186
Last updated
12d ago v0.9.0
FARS reviewed
Nov 08, 2026
License
Apache-2.0
Primary language
Go

At a glance

How it runs
CLI
Works with
Universal · cross-platformClaude CodeCodex (Partial support)
Cost
Free, no paid service needed
Setup effort
Low · running in minutes
You'll need
Shell / CLINetwork accessLocal filesystemMCP Server
Typical use
Developers reviewing how an agent changed code can inspect a session's ordered file reads, writes, reversions, and commands.
Not a fit if
  • Teams that need centralized cloud auditing without configuring an export or cloud service
  • Teams that need protection against a same-user adversary or root
Website
gryph.sh ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-11-20latest release v0.9.0 (2026-08-27)
Source review
77/100 · Good

What does this agent do, and when should you use it?

Gryph is a CLI that connects to AI coding agents through lightweight hooks for actions such as file reads, writes, and command execution. It records agent events in a local SQLite database and provides commands including gryph logs, gryph query, gryph session, and gryph export to inspect, filter, replay, and export activity. Optional YAML policies apply block, warn, guide, or allow decisions based on action type, path, command pattern, tool, agent, project, and CEL session counters. Data stays on the host by default; sensitive file contents are not stored, and credentials in logged output are redacted. Gryph supports multiple agents and can send data off-host through configured exports, stream targets, or SafeDep Cloud.

After gryph install, Gryph installs hooks for detected agents. When an agent invokes a tool, a hook sends a JSON event to Gryph; pre-tool and post-tool events capture the action lifecycle, while policies can decide before tool execution. Events are stored in local SQLite and can be viewed live with gryph logs --live, filtered with gryph query, inspected with gryph session for history and diffs, or exported as JSONL. The default export profile excludes secret content and exports prompts as keyed digests.

  1. Developers reviewing how an agent changed code can inspect a session's ordered file reads, writes, reversions, and commands.
  2. Security teams restricting risky actions can write YAML rules to block destructive commands or writes that expose credentials.
  3. Teams looking for side effects absent from Git diffs can query execution events such as npm install, curl, or rm.
  4. Individuals and teams handling sensitive files can use automatic detection to log access without storing matching file contents.
  5. Developers comparing agent behavior or costs can filter events by agent and review session token usage and estimated costs.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • curl -fsSL https://raw.githubusercontent.com/safedep/gryph/main/install.sh | sh
Install notes cover
Windows · macOS · Linux

How do you install or deploy this agent?

The README quick start downloads and runs an install script through the shell. It also documents Homebrew, npm, and Go installation methods. Prebuilt releases are available for macOS, Linux, and Windows. The install script requires network access; installed hooks use filesystem access and invoke shell commands.

curl -fsSL https://raw.githubusercontent.com/safedep/gryph/main/install.sh | sh
gryph install
gryph status

How do you use this agent?

After installation, use a supported AI coding agent as usual, then inspect its events. Policies can be initialized, edited, validated, and enabled.

gryph logs --live
gryph query --action exec --since "1w"
gryph sessions
gryph export --since 1d
gryph policy init
gryph policy edit
gryph policy validate
gryph config set policy.enabled true

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

FARS trust-control audit

Verified present in source (3/3)
  • data-flow disclosure
  • sensitive-data handling
  • rollback or recovery path

What are this agent's strengths and limitations?

Pros
  • Events are stored in local SQLite, so audit records can be viewed and queried without a cloud service by default.
  • Policies can block, warn, or guide actions using conditions such as paths, commands, and agents, and decisions are persisted.
  • The README lists integrations including Claude Code, Codex, Cursor, Devin CLI, Gemini CLI, OpenCode, Pi Agent, and Windsurf.
Limitations
  • Hooks must be installed into agent configuration; Codex also requires enabling the codex_hooks feature flag.
  • Centralized auditing, SIEM export, or SafeDep Cloud requires configuring an export, stream target, or cloud service; data stays local by default.
  • The README says the guard profile cannot stop a determined same-user adversary or root.

How does this agent compare with similar options?

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Gryph This agent 77 · Good CLIFree ★ 186 12d ago Go Claude Code
Kontext 80 · Good CLIFreemium ★ 235 1d ago Go Codex · Claude Code
Microsoft Agent Governance Toolkit 70 · Some gaps Library / SDKFree ★ 6.6k 2d ago Python Claude Code · OpenAI API
OpenBot: AI Coworkers You Can Trust with Real Work 87 · Good Self-hosted serviceFree + model costs ★ 15k today TypeScript —

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Good
77/ 100 5-point scale 3.9 / 5
Trust 21/29
Reliability 8/14
Adaptability 16/18
Convention 14/18
Effectiveness 12/13
Verifiability 6/8
Why each dimension lost points
Trust21 / 29 · 3.6/5

The documentation describes policy decisions that block, warn, or guide actions and records them. Storage is local by default with no telemetry; exports and cloud use are opt-in. Sensitive file contents are not stored, logged output is redacted, and default exports omit secret content. Install backups, dry runs, and uninstall restoration give users control. However, a normal user install runs with that user's privileges, cannot resist the same user or root, and policy is disabled by default, so least privilege and confirmation are not comprehensive. Dependencies are version-pinned in the module file, but the packet shows no vulnerability review or supply-chain mitigation. Publisher identity is unverified; README and community links offer attribution clues but do not establish maintenance responsibility.

Reliability8 / 14 · 2.9/5

The README, threat model, and self-protection material consistently describe policy as disabled by default and acknowledge same-user bypass and root limits. However, the supplied JSON Schema generator says disabled rules can suppress rules across sources, while the security documentation says disabled applies only within the declaring file. This direct conflict lowers self-consistency. The Go module lists specific dependency versions, and CI describes multi-platform builds, tests, and fuzzing; this is process evidence, not a run result from this review, and the packet shows no dependency audit or vulnerability response. The entry point writes errors to stderr and exits nonzero, but user-facing error detail is only partially evidenced.

Adaptability16 / 18 · 4.4/5

The material names several coding agents and gives concrete use cases, hook types, configuration, and commands. The threat model distinguishes user, managed-host, root, and kernel boundaries and names bypasses. Skill files describe relevant trigger contexts, though some supplied samples are incomplete and cannot establish coverage of every trigger. Installation guidance covers macOS, Linux, and Windows and explains agent-specific configuration and managed-host options.

Convention14 / 18 · 3.9/5

The README is organized around quick start, capabilities, configuration, security, commands, and privacy, with links to detailed documents. Installation, backups, uninstall, and restoration are specific; command examples, a policy-authoring guide, and limitations are present. The full license text states Apache 2.0. The packet provides module versions and a release link but no changelog or maintenance commitment. Publisher identity is unverified, and community links alone do not establish who is responsible for maintenance. Product naming is generally stable, but the support list includes specific names such as Command Code and Codex without a complete compatibility policy.

Effectiveness12 / 13 · 4.6/5

Logs, queries, session replay, diffs, statistics, and JSONL exports provide reviewable or integrable outputs. Policy decisions and audit trails add a clear capability beyond ordinary agent logs, and cost and token tracking are described. The material explains deployment and maintenance costs from local SQLite, hooks, configuration changes, and optional managed services, but does not quantify performance or operational cost, so cost-benefit is not fully established.

Verifiability6 / 8 · 3.8/5

README claims about privacy, installation changes, backups, and policy have corresponding details in documentation. The CI file describes a test matrix, acceptance suite, and fuzzing; the acceptance catalog and policy fixtures provide partial corroboration, but none is treated as executed or independently verified here. The documentation distinguishes current behavior, best-effort limits, and planned capabilities, supporting separation of facts from inference. The disagreement about the scope of disabled rules weakens cross-source corroboration.

Risks and how to mitigate them
  • This is a static review with low confidence; CI configuration and test fixtures do not show that this revision passed execution.
  • Policy is disabled by default. A user-level install cannot resist processes of the same user, and shell, script, or unhooked paths may bypass mediation.
  • The supplied sources conflict about the scope of disabled rules; verify that behavior before relying on source isolation.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 9cc05b5ddc91 New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/gryph.svg)](https://followagents.com/en/agents/gryph)
<a href="https://followagents.com/en/agents/gryph"><img src="https://followagents.com/badge/gryph.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v0.9.0
    Release notes excerpt
    Changelog * b8e260488bbbdd2140fed278f0b5893d9ac87753 Add Devin CLI agent adapter (#55)
    View on GitHub ↗
  2. v0.8.0
    Release notes excerpt
    Changelog * 140df39202f0f9fa1266c63d6d5ec649e90e5947 Add policy authoring commands: list, install, and multi-file support (#49) * 316cfefb48ec7b4308a7c8def6b2dd2941782e5a Add real-binary acceptance suite with guarantee catalog (#50) * 7d3ebfcb9937c251979e3e40b42dfaf28bef655b Add robustness and adversarial acceptance guarantees (#52) * c9bbb0f82d91d6f147752ffa8edb1550bea78d7e Decouple agent adapters from the CLI, config, and tui layers (#54) * 1eb2b6a2003b7fa5282716378955eeb4457f6e77 Extend acceptance suite to 28 guarantees, macOS and release-binary CI (#51) …
    View on GitHub ↗
  3. v0.7.0
    Release notes excerpt
    Changelog * 5d4975909aae6db542f1caa251f27a62c8090dbb feat(claudecode): wire DecisionGuidance through to hook output (#35) * 5a4ba4a24cfe7a3adf23f7f0f7e196f29e65eb7e feat(cli): add RegisterCheckFactory extension point for external binaries (#36) * 1443c8c233b4b47a18091a2043eaabb3aacc3856 feat: subagent observation for Claude Code (#38) * 61159f7b4f3fb783c1511828e47df2fb4add1a16 fix: Redact events and enforce log levels (#40) * a465597ee3b77db346925776547f1910d2891ae1 fix: respect XDG env vars across platforms, and show configured DB path in user-facing commands (#37) …
    View on GitHub ↗

FAQ

Does Gryph send logs to the cloud?
Not by default. Data stays local unless you configure an export, stream target, or SafeDep Cloud.
Can it block agent actions?
Yes. With a YAML policy enabled, rules can block, warn, guide, or allow actions; blocked actions do not reach the agent's tool.
Which agents can I install it for?
The README lists Claude Code, Codex, Command Code, Cursor, Devin CLI, Gemini CLI, OpenCode, Pi Agent, and Windsurf. Codex requires the codex_hooks feature flag.
Are sensitive file contents recorded?
Files matching patterns such as .env and key files are flagged; actions are logged, but file contents are not stored. Credentials in logged output are also redacted automatically.
Was this page helpful?
View on GitHub ↗ Install ↓

Host ecosystems

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts