
What happened
AWS published guidance on three asynchronous invocation patterns for Amazon Bedrock AgentCore agents in serverless pipelines—task-token callback, direct service integration, and durable functions—designed to eliminate idle compute costs while agents reason through tasks.
Why it matters
When a Lambda function or compute service calls an agent synchronously and waits for a response, it remains billed for its full compute allocation during that idle time, even though the agent itself is not consuming CPU. The three patterns release the caller's compute during the wait, resuming only when the agent returns a result, dramatically reducing costs for workflows like document validation in real-estate financing.
What to watch
Pattern 2 (direct service integration) removes the Lambda dispatcher entirely by having Step Functions invoke Amazon Bedrock AgentCore directly; Pattern 1 (task-token callback) keeps a Lambda for custom logic but returns in seconds; Pattern 3 (durable functions) expresses the same orchestration as code in a single Lambda using the durable-execution SDK.
Summaries like this, every morning.
By signing up you agree to the Terms of Service and Privacy Policy.
AWS's guidance addresses a fundamental cost asymmetry in serverless AI agent workflows. Amazon Bedrock AgentCore uses a consumption-based model that charges only for memory (and model output tokens) while the agent is idle—it does not bill CPU time during waits on language model generation or external tool calls. The compute service that called the agent, however, has no such behavior: a Lambda, container, or EC2 instance that blocks on a synchronous call holds its entire allocation and incurs billing for every second of that idle time. This mismatch means the caller's cost tracks the agent's runtime, not the agent's actual work. The three patterns AWS describes—task-token callback, direct service integration, and durable functions—all follow the same principle: start the agent, release the caller's compute immediately, and resume only when the agent has a result. The differences are trade-offs in implementation: task-token callback keeps a Lambda in the path for custom logic; direct service integration removes the Lambda entirely by integrating Step Functions directly with AgentCore; and durable functions allow the same orchestration to be expressed as code in a single Lambda rather than a state machine.
Pick your industry and the AI tools you use, and get news related to your work every day.
By signing up you agree to the Terms of Service and Privacy Policy.
Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →
Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.
AWS CEO Matt Garman detailed AWS Greenlight ahead of re:Invent 2026, an automated reasoning service that mathe…
Amazon introduced Ergo at re:Invent, priced at $1 per million input tokens and $3 per million output tokens, a…

David Fincher confirmed using AI in postproduction on The Further Mis-Adventures of Cliff Booth to alter wigs…

Amazon released Ergo, an open-weight AI model it says is the most capable open-weight model on day one, and sa…

Meta revealed the Muse Charm costs $299 and can be ordered now by asking your Muse AI agent; it launches in Me…

Gray Swan's new Frontier Hazard Tracker found OpenAI and Anthropic models took the top seven spots on reward h…
