Skip to content

intisy-ai/ai-java

Repository files navigation

AI Java

Archives containing JAR files are available as releases.

What is ai-java?

Server-side AI library for Java — providers, accounts/quota, and a routing proxy, ported from the intisy TypeScript AI stack.

Usage in private projects

  • Maven (inside the file)
  <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.0.7</version>
  </dependency>
  • Maven (inside the file)
  <servers>
      <server>
          <id>github</id>
          <username>your-username</username>
          <password>your-access-token</password>
      </server>
  </servers>
  • Gradle (inside the or file)
  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.0.7'
  }

Usage in public projects

  • Gradle (inside the or file)
  plugins {
      id "io.github.intisy.github-gradle" version "1.3.7"
  }
  dependencies {
      githubImplementation "intisy:ai-java:1.0.7"
  }

Once you have it installed you can use it like so:

AccountManager mgr = new AccountManager("claude-code", opts);
Acquired a = mgr.acquire("messages");

License

Apache License 2.0

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors