"""ARC before_checkout through the OpenAI Agents SDK. No model, no key. pip install openai-agents python example.py """ import asyncio import os from agents.mcp import MCPServerStreamableHttp ARC = os.environ.get("ARC_MCP_URL", "https://www.arcreport.ai/api/ask") async def main() -> None: async with MCPServerStreamableHttp(name="arc", params={"url": ARC}) as arc: # Call before_checkout before you send the user to checkout. record = await arc.call_tool("before_checkout", {"url": "https://allbirds.com"}) print(record.content[0].text) asyncio.run(main())