For things like discount eligibility, transaction approval, and user permissions, would you put the rules in prompts, application code, a rules engine, or an agent framework?
Prompts seem hard to test and audit, but keeping every rule in code can make changes slower. How would you split the AI and deterministic parts, and would exposing rules through MCP be useful?
b.607+clampwork:
The extracted inputs need checking too. A deterministic rule can still produce the wrong outcome if the model supplies an incorrect customer or transaction detail.