← ClaudeAtlas

aws-strandslisted

Build AI agents with Strands Agents SDK. Use when developing model-agnostic agents, implementing ReAct patterns, creating multi-agent systems, or building production agents on AWS. Triggers on Strands, Strands SDK, model-agnostic agent, ReAct agent.
Makiya1202/ai-agents-skills · ★ 2 · AI & Automation · score 65
Install: claude install-skill Makiya1202/ai-agents-skills
# Strands Agents SDK Build model-agnostic AI agents with the Strands framework. ## Installation ```bash pip install strands-agents strands-agents-tools # Or with npm npm install @strands-agents/sdk ``` ## Quick Start ```python from strands import Agent from strands.tools import tool @tool def get_weather(city: str) -> str: """Get current weather for a city.""" # Implementation return f"Weather in {city}: 72°F, Sunny" agent = Agent( model="anthropic.claude-3-sonnet", tools=[get_weather] ) response = agent("What's the weather in Seattle?") print(response) ``` ## TypeScript/JavaScript ```typescript import { Agent, tool } from '@strands-agents/sdk'; const getWeather = tool({ name: 'get_weather', description: 'Get current weather for a city', parameters: { city: { type: 'string', description: 'City name' } }, handler: async ({ city }) => { return `Weather in ${city}: 72°F, Sunny`; } }); const agent = new Agent({ model: 'anthropic.claude-3-sonnet', tools: [getWeather] }); const response = await agent.run('What\'s the weather in Seattle?'); ``` ## Model Agnostic Strands works with any LLM: ```python from strands import Agent # Anthropic (default) agent = Agent(model="anthropic.claude-3-sonnet") # OpenAI agent = Agent(model="openai.gpt-4o") # Amazon Bedrock agent = Agent(model="amazon.titan-text-premier") # Custom endpoint agent = Agent( model="custom", endpoint="https://your-model-endpoint.com", api_key="...