Specifying and Analyzing Agent Architectures using the Agent Competency Framework