Archives containing JAR files are available as releases.
Server-side AI library for Java: providers, accounts/quota, and a routing proxy, ported from the intisy TypeScript AI stack.
- Maven (inside the
pom.xmlfile)
<repository>
<id>github</id>
<url>https://maven.pkg.github.com/intisy-ai/ai-java</url>
<snapshots><enabled>true</enabled></snapshots>
</repository>
<dependency>
<groupId>io.github.intisy</groupId>
<artifactId>ai-java</artifactId>
<version>1.1.0</version>
</dependency>- Maven (inside the
settings.xmlfile)
<servers>
<server>
<id>github</id>
<username>your-username</username>
<password>your-access-token</password>
</server>
</servers>- Gradle (inside the
build.gradle.ktsorbuild.gradlefile)
repositories {
maven {
url "https://maven.pkg.github.com/intisy-ai/ai-java"
credentials {
username = "<your-username>"
password = "<your-access-token>"
}
}
}
dependencies {
implementation 'io.github.intisy:ai-java:1.1.0'
}- Gradle (inside the
build.gradle.ktsorbuild.gradlefile)
plugins {
id "io.github.intisy.github-gradle" version "1.3.7"
}
dependencies {
githubImplementation "intisy-ai:ai-java:1.1.0"
}Once you have it installed you can use it like so:
AccountManager mgr = new AccountManager("claude-code", opts);
Acquired a = mgr.acquire("messages");