Is agar poisonous?

Agar itself is not poisonous. It is a plant derived substance and used in some cuisines.

Agar is often used to analyse DNA. For this purpose it is commonly combined with ethidium bromide which is highly carcinogenic.