Implement support for agent-based checks.

Refs #4865