Skip to main content
Enable Agno agents to trigger serverless backend logic and AWS resources without a dedicated API server by using AWS Lambda tools. Use enable_ flag patterns to selectively grant the agent access to only the specific functions it needs.

Prerequisites:

  • Run: uv pip install boto3 to install dependencies
  • Set up AWS credentials (AWS CLI, environment variables, or IAM roles)
  • Ensure proper IAM permissions for Lambda operations

Run the Example

For details, see AWS Lambda cookbook.