Repository

ioni-dev/mati

Mati

Open github.com

ioni-dev/mati

Mati

Local guardrail layer for AI coding agents (Claude Code, Codex). Denies file reads/edits until knowledge is read. Rust binary, MCP interface, hash-chained audit log.

Visit project

Show me a random project

First shared
Sep 19, 2026
HN activity
20

Show HN@fennectSep 19, 2026

Show HN: Built a local guardrail layer for Claude Code

I built Mati to give me more control over what Claude Code and Codex are allowed to do. Many important product constraints live in an engineer's or product person's head. This isn't new for engineers. We've always had important constraints that only certain people know about, but with coding agents it gets worse because we can now delegate a lot more, sometimes without realizing how much context the agent is missing. Then we delegate changes and the agent implements a change that looks reasonable but breaks some hidden constraint, hurts performance, exposes data, or does something destructive. It’s a local, Apache-2.0 licensed tool. It works with Claude Code and Codex, and also exposes MCP and CLI interfaces. The name comes from a Nahuatl verb meaning “to know” or “to think.” It’s probably a bit over-engineered. Anyway, sharing it here in case it’s useful to someone.

Community

Hacker News discussion

Loading the thread…