ZATS-32: Create an interface over ComponentAgent and others with query() methods