How do I keep my corner pergola from wobbling?
You need to install knee braces every where you can. (The diagonal piece)



Ideally, the ends should be tightly dadoed a small amount into the beam and post to minimize the inevitable play that develops in connections made solely of mechanical fasteners. The bigger the brace the better, within reason. The best bracing would be the grand-daddy of knee braces-- X-bracing.