Crude agent implementation finished