Skip to content

Conversation

ucegbe
Copy link

@ucegbe ucegbe commented Oct 7, 2025

Description of changes:

Add Autonomous AI Advertising Agent with Crypto Payments Sample

This PR adds a comprehensive sample demonstrating an AI agent that autonomously creates advertising campaigns while paying for premium services using cryptocurrency.

Key Features:

  • 🤖 Autonomous Economic Agent: AI that manages its own budget and purchases services
  • 💳 X402 Payment Protocol: Cryptocurrency micropayments for API access
  • 🎨 Complete Campaign Creation: Generates visuals, copy, and HTML output
  • 🔗 Coinbase AgentKit Integration: Blockchain wallet management and transactions
  • 🛡️ Safety-First: Testnet-only implementation with extensive safety warnings

What This Demonstrates:

  • Integration between Strands AI framework and blockchain technology
  • Real-world economic interactions by autonomous agents
  • Payment-gated API consumption with automatic cost management
  • End-to-end advertising campaign generation workflow

Files Added:
Artifacts added under the [02-samples](https://github.com/strands-agents/samples/tree/main/02-samples) dir, within a dir named 16-ai-ads-generation-agent-with-crypto-payments

This sample showcases the future of AI agents as independent economic actors while maintaining strict safety practices for educational use.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link

github-actions bot commented Oct 7, 2025

Latest scan for commit: a634101 | Updated: 2025-10-07 18:13:56 UTC

✅ Security Scan Report (PR Files Only)

Scanned Files

  • 02-samples/16-ai-ads-generation-agent-with-crypto-payments/ad_campaign/miami_ice_cream_social_ad.html
  • 02-samples/16-ai-ads-generation-agent-with-crypto-payments/agentkit-x402-strands.ipynb
  • 02-samples/16-ai-ads-generation-agent-with-crypto-payments/output/a_vibrant_and_colorful_ice.png
  • 02-samples/16-ai-ads-generation-agent-with-crypto-payments/output/close_up_shot_of_colorful.png
  • 02-samples/16-ai-ads-generation-agent-with-crypto-payments/output/hand_holding_a_triple_scoop.png
  • 02-samples/16-ai-ads-generation-agent-with-crypto-payments/output/overhead_view_of_multiple_tropical.png
  • 02-samples/16-ai-ads-generation-agent-with-crypto-payments/output/wide_angle_view_of_a.png
  • 02-samples/16-ai-ads-generation-agent-with-crypto-payments/paid_server.py
  • 02-samples/16-ai-ads-generation-agent-with-crypto-payments/requirements.txt

Security Scan Results

Critical High Medium Low Info
0 0 0 0 0

Threshold: High

No security issues detected in your changes. Great job!

This scan only covers files changed in this PR.

@ucegbe
Copy link
Author

ucegbe commented Oct 7, 2025

Fixed the security findings. The exposed api key in the logs was my OpenWeather API key which I have remove and deactivated.

@ucegbe
Copy link
Author

ucegbe commented Oct 10, 2025

updated the Readme to follow the strands samples guideline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant