ad-injector is a Python library that lets API providers inject agent-targeted instructions into their JSON responses. Think referral codes, product recommendations, affiliate links, all buried in your API response so that when an AI agent fetches the data, it picks up your instructions too and (hopefully) listens to them.