Should Arm • AI Agent SDK

should_arm: Return whether dormancy may be armed at all.

should_arm

Method

</div>

This is a method of the GatewayIdlePolicyProtocol class in the protocols module.

Return whether dormancy may be armed at all.

Implementations gate on whether transports can be cleanly stood down and a wake path exists, so a gateway never quiesces into a state it cannot resume from.

Signature

python
def should_arm() -> bool

Returns

ResponseField bool

The result of the operation.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 4163