← ClaudeAtlas

aws-agentcorelisted

Build AI agents with AWS Bedrock AgentCore. Use when developing agents on AWS infrastructure, creating tool-use patterns, implementing agent orchestration, or integrating with Bedrock models. Triggers on keywords like AgentCore, Bedrock Agent, AWS agent, Lambda tools.
Makiya1202/ai-agents-skills · ★ 2 · AI & Automation · score 65
Install: claude install-skill Makiya1202/ai-agents-skills
# AWS Bedrock AgentCore Build production-grade AI agents on AWS infrastructure. ## Quick Start ```python import boto3 from agentcore import Agent, Tool # Initialize AgentCore client client = boto3.client('bedrock-agent-runtime') # Define a tool @Tool(name="search_database", description="Search the product database") def search_database(query: str, limit: int = 10) -> dict: # Tool implementation return {"results": [...]} # Create agent agent = Agent( model_id="anthropic.claude-3-sonnet", tools=[search_database], instructions="You are a helpful product search assistant." ) # Invoke agent response = agent.invoke("Find laptops under $1000") ``` ## AgentCore Components AgentCore provides these primitives: | Component | Purpose | |-----------|---------| | **Runtime** | Serverless agent execution (framework-agnostic) | | **Gateway** | Convert APIs/Lambda to MCP-compatible tools | | **Memory** | Multi-strategy memory (semantic, user preference) | | **Identity** | Auth with Cognito, Okta, Google, EntraID | | **Tools** | Code Interpreter, Browser Tool | | **Observability** | Deep analysis and tracing | ## Lambda Tool Integration ```python # Lambda function as tool import json def lambda_handler(event, context): action = event.get('actionGroup') function = event.get('function') parameters = event.get('parameters', []) # Parse parameters params = {p['name']: p['value'] for p in parameters} if function == 'get_weather':