Ayan Pahwa
Agentic AI consultant
Posts by Ayan Pahwa

How to Red-Team Your AI Agent's Pull Requests in GitHub Actions: One Prompt Change, 26 Cents, and a Red Build
A one-sentence prompt change passed every normal check. A red-team gate in GitHub Actions caught it for 26 cents. The full workflow, real numbers from three runs, how to cap spend, and what to do when the build goes red.

How to test a LangChain agent for security (in 15 lines of FastAPI)
A working LangChain agent isn't a tested one. Wrap it in FastAPI, red-team it with Humanbound, and find out what it actually does under attack.

Attack your own AI agent in under 10 minutes – then secure it before deploying
Ayan built a customer support agent in an afternoon, then pointed Humanbound at it and watched it fabricate a settled $185 refund for an order that does not exist. A hands-on walkthrough of running Humanbound's local adversarial testing against your own agent.

Agent Security Debt: Nobody Is Trying to Break Your AI Agent until It Ships
In 2017 I got a CVE for an unencrypted smart bulb. Nine years later, AI agents are shipping with the same gap: nobody tried to break them before launch. Here's how to break your own agent this afternoon, before someone else does.

