This one gives you the full AWS SDK for Java 2.x patterns for calling Bedrock foundation models. You get client setup, model-specific payload builders for Claude, Llama, and Titan, streaming response handlers with exponential backoff, and embeddings for RAG workflows. The examples cover practical scenarios like multi-model invocation with proper JSON formatting for each provider and retry logic for throttling. Honestly the most useful part is the streaming implementation with error recovery, since that's where most Bedrock integrations get messy. If you're building Java microservices that need to talk to Claude or other Bedrock models, this handles the boilerplate and edge cases so you don't have to hunt through AWS docs.

skills.sh installs
3.8K
GitHub stars
369
last updated
Aug 21, 2026

Install

$ npx -y skills add giuseppe-trisciuoglio/developer-kit --skill aws-sdk-java-v2-bedrock --agent claude-code

Installs into .claude/skills of the current project.

Files

AWS SDK for Java 2.x - Amazon Bedrock

Overview

Invokes foundation models through AWS SDK for Java 2.x. Configures clients, builds model-specific JSON payloads, handles streaming responses with error recovery, creates embeddings for RAG, integrates generative AI into Spring Boot applications, and implements exponential backoff for resilience.

When to Use

  • Invoke Claude, Llama, Titan, or Stable Diffusion for text/image generation
  • Configure BedrockClient and BedrockRuntimeClient instances
  • Build and parse model-specific payloads (Claude, Titan, Llama formats)
  • Stream real-time AI responses with async handlers and error recovery
  • Create embeddings for retrieval-augmented generation
  • Integrate generative AI into Spring Boot microservices
  • Handle throttling with exponential backoff retry logic

Quick Start

Dependencies

<!-- Bedrock (model management) -->
<dependency>
    <groupId>software.amazon.awssdk</groupId>
    <artifactId>bedrock</artifactId>
</dependency>

<!-- Bedrock Runtime (model invocation) -->
<dependency>
    <groupId>software.amazon.awssdk</groupId>
    <artifactId>bedrockruntime</artifactId>
</dependency>

Sponsors

Details

Repository
github.com/giuseppe-trisciuoglio/developer-kit
Categories
AI & Agent Building, Cloud & Infrastructure, Java & JVM
First seen
May 16, 2026

More from giuseppe-trisciuoglio/developer-kit

All 102
1szkocot avatarkarpathy-guidelinesszkocot/andrej-karpathy-skillsBehavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes, s3.8Kskills.sh installs
2microsoft avatarplaywright-devmicrosoft/playwrightExplains how to develop Playwright - add APIs, MCP tools, CLI commands, and vendor dependencies.3.8Kskills.sh installs
3everyinc avatarce-workeveryinc/compound-engineering-pluginExecute a plan or concrete work prompt end-to-end. Use when implementing from a plan document, a spec path, or a clear build request; use ce-debug for open-ende3.8Kskills.sh installs
4sundial-org avatarontologysundial-org/awesome-openclaw-skillsTyped knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linking r3.7Kskills.sh installs
5daleseo avatarhumanizerdaleseo/korean-skillsAI가 생성한 한국어 텍스트의 특징적인 패턴을 감지하고 자연스러운 인간의 글쓰기로 변환합니다. 과학적 언어학 연구(KatFishNet 논문, 94.88% AUC 정확도)에 기반합니다. 쉼표 과다, 띄어쓰기 경직성, 품사 다양성, AI 어휘 과용, 번역투(에 대해/통해/되어진다), 대명사3.7Kskills.sh installs
6vercel-labs avataropensrcvercel-labs/opensrcFetch dependency source code to give AI agents deeper implementation context. Use when the agent needs to understand how a library works internally, read source3.7Kskills.sh installs