Skip to content

v0.1.0 — Initial release

Choose a tag to compare

@brandoneilers brandoneilers released this 29 Jul 23:52

First release of the Anthropic Spring Boot Starter — auto-configuration for the Anthropic Java SDK, so a Spring Boot app gets a configured AnthropicClient and a chat convenience bean with zero manual wiring.

What's included

  • Auto-configurationAnthropicClient and AnthropicChatService beans, activated automatically when the SDK is on the classpath, driven by anthropic.* properties
  • AnthropicChatService — a thin convenience wrapper for the common "send a prompt, get text back" case; the raw AnthropicClient bean is still available for tool use, streaming, vision, etc.
  • Standard Spring Boot conventions@ConditionalOnClass, @ConditionalOnMissingBean, @ConfigurationProperties, so it composes cleanly with the rest of your app's configuration
  • Sample app (anthropic-spring-boot-sample) — a minimal working Spring Boot app with a /api/chat endpoint
  • Full test suite, CI via GitHub Actions, JitPack support

Install

<repositories>
  <repository>
    <id>jitpack.io</id>
    <url>https://jitpack.io</url>
  </repository>
</repositories>

<dependency>
  <groupId>com.github.brandoneilers.anthropic-spring-boot-starter</groupId>
  <artifactId>anthropic-spring-boot-starter</artifactId>
  <version>v0.1.0</version>
</dependency>

Requirements

Java 21+, Spring Boot 3.4.x, anthropic-java 2.52.0

See the README for configuration properties and usage examples.