RuleHook

Jun 24, 2023 · 1 min read
RuleHook blocking an unsafe test modification in an agent workflow
projects

RuleHook is a Python toolkit that turns natural-language engineering policies into executable hook checks during agent workflows.

It supports cross-platform enforcement for Claude Code, Cursor, and Codex, with deny, remind, and warn actions backed by rule-driven event matching.

Source Code

Wenkai Xing
Authors
Ph.D. Student in Electronic Information
I am a Ph.D. student at Peking University and a member of the Programming Languages Lab, advised by Prof. Zhenjiang Hu. My research interests include programming languages, LLM-based program verification, and simplifying agent implementation.