Being a contractor carries certain obligations and legal responsibilities.
You have a financial responsibility to your client for errors that you make.
Clients have a legal recourse at law to claim for mistakes made by contractors. In most cases an agency contract will not protect you.
The majority of clients will legally require you to have some level of Professional Indemnity Insurance, which supports your independent status.