A complete technical overview of the four-layer stack for building AI agents that autonomously trade prediction markets: Identity, Wallet, Trading, Intelligence.