Add getEntity to Agents.
Signed-off-by: Chris Sanders <zidane@outlook.com>