I have a whole workflow for coding with agents.
Get very good at context management (updating AGENTS.md, starting new session, etc).
Embrace TDD. It might have been annoying when Extreme Programming came out 25 years ago, but now that agents can type a lot faster than us, it's an awesome tool for putting guardrails around the agent.
(I teach workshops on best practices for agentic coding)