feat(aws): add AWS Agentcore Bedrock icons

- Add Agentcore icon and Agentcore class
- Add AI Agent icon and AiAgent class
- Add Runtime icon and Runtime class
- Add Gateway icon and Gateway class
- Add Identity icon and Identity class
- Add Code Interpreter icon and CodeInterpreter class
- Add Observability icon and Observability class
- Add Browser Tool icon and BrowserTool class
- Add Memory icon and Memory class
- Add Evaluations icon and Evaluations class
- Add Policy Engine Agentic Guardrails icon and PolicyEngineAgenticGuardrails class
- Update diagrams/aws/ml.py with new classes via autogen
- Include test diagram for validation
- Icons sourced from custom Agentcore Bedrock Icons collection

This enables users to create diagrams with AWS Agentcore and Bedrock agent
components including core services, tools, and monitoring capabilities.
pull/1157/head
Michael Tran 2 months ago
parent cfad8846ad
commit 1d295d8f5f

@ -8,6 +8,14 @@ class _ML(_AWS):
_icon_dir = "resources/aws/ml" _icon_dir = "resources/aws/ml"
class Agentcore(_ML):
_icon = "agentcore.png"
class AiAgent(_ML):
_icon = "ai-agent.png"
class AmazonCodewhisperer(_ML): class AmazonCodewhisperer(_ML):
_icon = "amazon-codewhisperer.png" _icon = "amazon-codewhisperer.png"
@ -36,6 +44,14 @@ class Bedrock(_ML):
_icon = "bedrock.png" _icon = "bedrock.png"
class BrowserTool(_ML):
_icon = "browser-tool.png"
class CodeInterpreter(_ML):
_icon = "code-interpreter.png"
class Comprehend(_ML): class Comprehend(_ML):
_icon = "comprehend.png" _icon = "comprehend.png"
@ -64,6 +80,10 @@ class ElasticInference(_ML):
_icon = "elastic-inference.png" _icon = "elastic-inference.png"
class Evaluations(_ML):
_icon = "evaluations.png"
class Forecast(_ML): class Forecast(_ML):
_icon = "forecast.png" _icon = "forecast.png"
@ -72,6 +92,14 @@ class FraudDetector(_ML):
_icon = "fraud-detector.png" _icon = "fraud-detector.png"
class Gateway(_ML):
_icon = "gateway.png"
class Identity(_ML):
_icon = "identity.png"
class Kendra(_ML): class Kendra(_ML):
_icon = "kendra.png" _icon = "kendra.png"
@ -84,10 +112,22 @@ class MachineLearning(_ML):
_icon = "machine-learning.png" _icon = "machine-learning.png"
class Memory(_ML):
_icon = "memory.png"
class Observability(_ML):
_icon = "observability.png"
class Personalize(_ML): class Personalize(_ML):
_icon = "personalize.png" _icon = "personalize.png"
class PolicyEngineAgenticGuardrails(_ML):
_icon = "policy-engine-agentic-guardrails.png"
class Polly(_ML): class Polly(_ML):
_icon = "polly.png" _icon = "polly.png"
@ -108,6 +148,10 @@ class Rekognition(_ML):
_icon = "rekognition.png" _icon = "rekognition.png"
class Runtime(_ML):
_icon = "runtime.png"
class SagemakerGroundTruth(_ML): class SagemakerGroundTruth(_ML):
_icon = "sagemaker-ground-truth.png" _icon = "sagemaker-ground-truth.png"

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

@ -0,0 +1,58 @@
#!/usr/bin/env python3
"""
Test script for AWS Agentcore Bedrock icons
Validates that all 11 new Agentcore icons can be imported and used correctly.
"""
from diagrams import Diagram
from diagrams.aws.ml import (
Agentcore,
AiAgent,
Runtime,
Gateway,
Identity,
CodeInterpreter,
Observability,
BrowserTool,
Memory,
Evaluations,
PolicyEngineAgenticGuardrails
)
def test_agentcore_icons():
"""Test all Agentcore icons in a sample diagram"""
with Diagram("AWS Agentcore Bedrock Icons Test", show=False, filename="agentcore_test"):
# Core Agentcore components
agentcore = Agentcore("Agentcore")
ai_agent = AiAgent("AI Agent")
runtime = Runtime("Runtime")
gateway = Gateway("Gateway")
# Identity and security
identity = Identity("Identity")
policy_engine = PolicyEngineAgenticGuardrails("Policy Engine")
# Tools and capabilities
code_interpreter = CodeInterpreter("Code Interpreter")
browser_tool = BrowserTool("Browser Tool")
memory = Memory("Memory")
# Monitoring and evaluation
observability = Observability("Observability")
evaluations = Evaluations("Evaluations")
# Create a flow showing the relationships
agentcore >> ai_agent >> runtime
ai_agent >> [code_interpreter, browser_tool, memory]
gateway >> identity >> policy_engine
[runtime, code_interpreter, browser_tool] >> observability
observability >> evaluations
print("✅ Test diagram created successfully!")
print("📁 Generated file: agentcore_test.png")
print("🔍 Please verify the icons render correctly in the diagram")
if __name__ == "__main__":
test_agentcore_icons()
Loading…
Cancel
Save