Compete for what exactly? Under the assumption that AI agents will make human software engineering obsolete there won't be a market for you to compete in. Everyone that wants a piece of software will ask their AI agent to create it.
My ability to create software is only really useful to me because other people pay me for it. If AI agents take that from me, it won't matter that I can now create awesome software in minutes instead of weeks. The software was never really the thing that was useful for me.