
Hey Bas,
This is because your are actually replacing the loop and therefore the post data isn't set. You should eighter set a standard WP while ( have_posts() ) : the_post();
loop or since it is a single view, you could just the set the post data as below:
beans_modify_action_callback( 'beans_loop_template', 'show_agent_content' );
function show_agent_content() {
setup_postdata( get_post() );
the_content();
wp_reset_postdata();
}

Thanks, it is working.