Skip to content

Latest commit

 

History

History

python

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

agenthook Python Kit

Small implementation kit for the AgentHook draft standard.

pipx install .
agenthook emit --event PreToolUse --source demo --session demo --tool Bash --input '{"command":"pwd"}'
agenthook validate event.json
agenthook init claude-code --target http://localhost:18800/event --token "$HOOKBUS_TOKEN"
agenthook doctor --target http://localhost:18800/event --token "$HOOKBUS_TOKEN"
agenthook test publisher
agenthook test collector --target http://localhost:18800/event --token "$HOOKBUS_TOKEN"

The package is intentionally boring: envelope builders, schema validation, a CLI, smoke-test commands, and runtime adapter scaffolding.