Five principles for building AI agents that balance autonomy with safety, with defenses spanning the model, harness, tools, and environment.