Added sample coversion code from AgentImpl to AgentTermList