Dev.to
7/24/2026

Fixing a None-response crash in hermes-agent permission handling
Original: The None That Broke Permissions: How a Single Null Crashed Hermes Agent Approvals
Short summary
A bug in NousResearch/hermes-agent caused crashes when ACP clients sent empty permission responses, returning None instead of a decision object. The fix adds a simple guard clause that denies safely instead of crashing, following the fail-safe principle. The author used Google's Antigravity IDE with Gemini 2.5 Pro to trace the call graph and implement the fix.
- •None response from ACP permission request caused AttributeError crash in hermes-agent
- •Fix adds guard clause returning 'deny' when result is None, following fail-safe principle
- •Author used Google Antigravity IDE with Gemini 2.5 Pro for codebase exploration and debugging
Generated with AI, which can make mistakes.
Is this a good recommendation for you?

