agents linting as well as code clean up for agents and patching