Menu

Long-running AI agents without waiting Lambdas: a Bedrock preview
πŸ“°

Long-running AI agents without waiting Lambdas: a Bedrock preview

DEV Community: serverlessΒ·Sascha Mirow-StanitzokΒ·about 17 hours ago
#3B1NzCec
#devtoserverless#devto#dev#agent#session
Long article (969 words) β€” no AI summary yet.
Reading 0:00
15s threshold

Picture this: your team wants an AI agent to write a weekly report. The agent needs a few minutes, calls a couple of tools, thinks, calls another tool. Your platform is Serverless, built on Lambda, and nobody wants a function sitting idle while a model ponders. Until recently that meant writing and operating the agent loop yourself. With Claude Managed Agents on Bedrock, now in preview, that loop becomes a managed service inside AWS.

I built a small example around exactly this situation: a fictional bookshop that gets an agent-written sales report every Monday, driven by EventBridge Scheduler and two TypeScript Lambda functions. The complete walkthrough lives in my full article on Claude Managed Agents with Lambda . Here I want to share the ideas that matter most.

What actually changes

Classic agent code is a loop: ask the model, check whether it wants a tool, run the tool, hand back the result, repeat. Frameworks help, but you still run that loop somewhere.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.