Strands Agents
Rizamo's tools in a Strands agent, through its MCP client.
Strands' MCPClient gives an agent Rizamo's tools. Keep your API key in RIZAMO_API_KEY.
pip install strands-agentsimport os
from strands import Agent
from strands.tools.mcp import MCPClient
rizamo = MCPClient(
url="https://mcp.rizamo.com/mcp",
headers={"Authorization": f"Bearer {os.environ['RIZAMO_API_KEY']}"},
)
agent = Agent(tools=[rizamo])
agent("Save a draft for our Instagram: 'Doors open at 10.'")The agent opens and closes the connection itself. Strands' default model is Claude on Amazon Bedrock; pass model= for another.