AWS releases Java agent building tutorial
Understand this story
AWS releases a tutorial and open-sources sample code demonstrating how Java teams can use Spring AI 2.0 and spring-ai-agentcore 2.0 to build autonomous AI agents on Amazon Bedrock AgentCore. The tutorial requires JDK 21 and Spring Boot 4.1. AWS says the AgentCore runtime can scale to zero and bills per invocation, so idle agents incur almost no cost; the main variable cost comes from Amazon Bedrock token usage, plus a small amount for Amazon CloudWatch and Amazon ECR storage.
AI overview based on source reports · Updated 3 days ago
Coverage timeline
Follow the coverage to explore different perspectives.
- AWS Machine Learning BlogBuild autonomous AI agents with Amazon Bedrock and Spring AI
This post shows how Java teams can build autonomous AI agents on the JVM using Spring AI and Amazon Bedrock AgentCore, with a single-agent travel assistant demonstrating tool calling, streaming, and memory, and a multi-agent intelligent document processing system with five specialist agents, a SpEL rules engine, and alerting. It covers the AgentCore runtime contract (@AgentCoreInvocation for POST /invocations and GET /ping), @Tool methods, structured output to Java records, memory advisors, and production patterns including Resilience4j retries, twelve-factor configuration, least-privilege IAM, Bedrock Guardrails, and Micrometer observability. Deployment uses an ARM64 image pushed to Amazon ECR and provisioned through modular Terraform, with an optional Amazon EKS and IRSA path.
Activity for this story
- Current comparable activity
- 3
- Peak comparable activity
- 10Nov 12 11:00
- Change in the past 24 hours
- -50%
Trends compare the same fully observed participants, which may cover fewer participants than current activity. Move the pointer or tap the chart to inspect hourly activity; use the left and right arrow keys with a keyboard.