standardize and document ClientWorker
standardize and document AgentWorker