CrabMeat v0.1.0: A Security-First Agent Gateway That Doesn't Trust the LLM with the Security Boundary

CrabMeat v0.1.0 dropped yesterday under Apache 2.0, built on one design thesis: the LLM never holds the security boundary. The project is a direct response to failures like Summer Yue's agent deleting 200+ emails — where a safety instruction was a prompt that got compacted away.
Key protections (all always-on, no config toggle)
- Capability ID indirection — The model sees per-session HMAC-derived opaque IDs like
cap_a4f9e2b71c83, never real tool names. It cannot guess or forge a tool name because it doesn't know any. - Effect classes — Every tool declares a class (
read,write,exec,network). Every agent declares which classes it can use. The check is a pure function with no runtime state, easy to test exhaustively, hard to bypass. - IRONCLAD_CONTEXT — Critical safety instructions are pinned to the top of the context window and explicitly marked as non-compactable. The compaction failure mode that stripped Yue's instruction cannot happen.
- Tamper-evident audit chain — Every tool call, privileged operation, and scheduler run enters the same SHA-256 hash-chained log. Tampering is provable.
- Streaming output leak filter — Secrets (API keys, JWTs, PEM blocks, capability IDs) are redacted mid-stream across token boundaries before reaching the client.
- No YOLO mode — There is no global 'trust the LLM with everything' switch. Expanded reach comes through named scoped roots that are explicit, audit-logged, and bounded.
The README lists 15 always-on protections in a table; none can be turned off by config. The gateway is local-first by default, configured for Ollama, LM Studio, vLLM out of the box. Anthropic and OpenAI require explicit configuration — no silent cloud shipping.
Who it's for
Developers building agentic systems who need architectural guarantees, not prompt-based safety, and want a gateway they can trust with tool execution and sensitive data.
📖 Read the full source: r/ClaudeAI
👀 See Also

Show HN: WUPHF — Karpathy-Style LLM Wiki with Markdown + Git as Source of Truth
WUPHF ships a wiki layer for AI agents using Markdown + Git for persistence, bleve (BM25) + SQLite for retrieval, with entity fact logs, wikilinks, and a daily lint cron. Runs locally with no vector DB dependency yet.

AI Functions: Runtime Code Generation with Automated Verification
AI Functions is a Python library that lets you define functions with natural language specifications instead of implementation code, executes LLM-generated code at runtime, and validates outputs with post-conditions that trigger automatic retries on failure.

Exploring LiveDocs: An AI-native Data Analysis Notebook
LiveDocs offers a reactive notebook environment allowing data teams to perform multi-step analyses and maintain analysis end-to-end with the help of an AI agent.

Claude to PDF Chrome Extension Exports Long Conversations with Formatting Intact
A developer has released a free Chrome extension called Claude to PDF that captures full conversation history from Claude AI chats and preserves code blocks, LaTeX math, and table formatting when exporting to PDF.