Code has become the universal tool for AI agents. Instead of building a custom tool for every task, you give an agent a shell so it can write and run its own scripts.