Question: why kcn is ionic and agcn is covalent?
Answer: It is because of pseudo-noble gas configuration (ns2, np6, nd10; 18 electron in valence shell of ion) of Ag+ or Cu+. It is due to poor shielding of ten d-electrons hence greater effective nuclear charge leading to the greater polarizing power of cations and hence greater covalent character in its compounds.