Comppleted notes on agents