optionally pass model ID in AgentTypeEdge
create or load CA according to input
added example input with model loading (model ID hardcoded)