Back to articles
Hawkeye - open source flight recorder & guardrails for AI agents before things go wrong
NewsTools

Hawkeye - open source flight recorder & guardrails for AI agents before things go wrong

via Dev.tomlaminekane

AI coding agents are incredibly powerful — but they're also black boxes. You give Claude Code, Cursor, or Aider a task, and 5 minutes later you find it's been editing CSS when you asked for auth, burned $3 in tokens, or worse, touched your .env file. I built Hawkeye to fix this. What is Hawkeye ? An open-source observability & security layer for AI agents. Think of it as a flight recorder - it captures everything the agent does, scores its behavior in real-time, and can auto-pause it before things go wrong. How DriftDetect works ? Every action the agent takes gets a drift score from 0 to 100. The score starts at 100 and drops based on: Dangerous commands (-40 pts each) rm -rf /, sudo rm, curl | bash, DROP TABLE... Sensitive file access (-15 to -25 pts) Files outside the project directory System paths: /etc/, ~/.ssh/, ~/.aws/ Credentials: .env, .pem, .key Suspicious behavior (-10 to -15 pts) 5+ errors in the last 10 actions (infinite loop?) 15 actions with zero file changes (token burn)

Continue reading on Dev.to

Opens in a new tab

Read Full Article
0 views

Related Articles