Dynamic agent demo working.
Removed unneeded dependency from agent demos.