<https://github.com/openai/openai-java> fun fact, ...
# ai
a
https://github.com/openai/openai-java fun fact, the OpenAI SDK for Java is made in Kotlin
K 3
p
like anthropic-java-sdk, both use stainless
a
Ah okay x)
k
Consider using my anthropic-sdk-kotlin, which is fully multiplatform and comes with some extra agentic goodies: https://github.com/xemantic/anthropic-sdk-kotlin
p
@Kazik Pogoda What kind of agentic goodies do you mean?
k
It's powered by the whole ecosystem of KMP libraries which extend it with: • automatic JSON schema generation for tool use / function calling, like Pydantic in Python and Zod in JavaScript, but much simpler to use and kotlinx.serialization native • Automatic execution of tool use requests with error handling, so writing agents is as simple as putting messages += response.useTools() in a loop • Media type detection based on file content simplifying attachment of non-textual content elements to messages And many more. I use it everyday to power my coding and self-modifying agents, so I would say it's pretty stable, if it can analyse and modify its own code by adding tools. Kotlin is the best language to use with LLMs. https://github.com/xemantic/xemantic-ai
🔥 1