TILStrands agent() hangs inside FastAPI async def endpointsStrands Agents SDK's agent() is a blocking call. Calling it inside an async def FastAPI endpoint blocks the event loop and hangs the request. Switching to def fixes it.April 19, 20261 min read#strands-agents#fastapi#python+1