issue #22143: Add default for agent.
Merge pull request #1120 from jrogelstad/22143

issue #22143: Add default for agent.