gopidesupavan commented on PR #70087:
URL: https://github.com/apache/airflow/pull/70087#issuecomment-5013919362
```
@dag(tags=["example"])
def example_agent_aws_toolset():
AgentOperator(
task_id="s3_auditor",
prompt="Which buckets exist, and roughly how much data is in
'data-lake-raw'?",
llm_conn_id="pydanticai_default",
system_prompt=(
"You are an AWS operations assistant. Discover what you are
allowed "
"to call, check parameter shapes before calling, and answer
with "
"concrete numbers."
),
toolsets=[
AWSToolset(
aws_conn_id="aws_default",
allowed_actions=[
"s3:ListBuckets",
"s3:ListObjectsV2",
"s3:GetBucketLocation",
],
region_name="us-east-1",
)
],
)
```
<img width="1839" height="941" alt="Screenshot 2026-07-19 at 03 53 30"
src="https://github.com/user-attachments/assets/9905f9b8-7fe8-4736-9088-3d994e22fcc2"
/>
<img width="1854" height="961" alt="Screenshot 2026-07-19 at 03 53 23"
src="https://github.com/user-attachments/assets/0e4d6104-f3ec-4a00-b22f-0be4129b748d"
/>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]