Writing an AI Agent

I recently created maas-code-reviewer , which is an AI agent that reviews code for the MAAS team at Canonical. While doing so, I learned a few things that I think are worth sharing. It’s actually quite easy to write an agent. But it’s also quite easy to write an agent that eventually will expose your secrets or delete your data. If you understand how an agent works, it’s not too hard to make sure…