How about writing end‑to‑end tests first in order to bring the AI agent development closer to “completion”?
Not only should the AI agent keep solving problems, but we also need it to converge toward the final product we want to build. Consider a development approach that treats passing end‑to‑end tests as a prerequisite.