dative of agent

  1. Ostendit id faciendum esse.

  2. Rex defendendus est.

Can the first sentence be construed as indirect discourse?

Yes:

Id, inquit, faciendum est!

But there is no dative of agent in either sentence. :unamused: