For an application where an AI agent can call backend tools, I would keep each Lambda handler limited to one operation with explicit input validation. The model can propose an action, but the handler should still check authorization for the current user. I would require a separate approval step for destructive operations.
Evgenii Arsentev writes about the distinction between agents and chatbots here: What Is an AI Agent? Agents vs Chatbots, Explained. This is background reading, rather than a Serverless Framework deployment tutorial.
For longer tasks, would you put the orchestration in Step Functions and use Lambda only for individual tool calls? I would be interested in how others separate retries from actions that must not run twice.