The Gemini agent can write and run code, integrate into apps like Gmail, and help workers knock out everyday workplace tasks, Google said.