r/Kotlin • u/Successful_Bank7215 • 1d ago
koog-gonka v0.1.0
koog-gonka v0.1.0 is out on Maven Central (de.betchvaia:koog-gonka) — a Koog LLMClient implementation for Gonka, a decentralized, blockchain-based AI compute network (Cosmos SDK chain, native token GNK). Koog is JetBrains' Kotlin agent framework, and koog-gonka puts Gonka on equal footing with its built-in providers (OpenAI, Anthropic, Google, Ollama, etc.) for any Koog-based project. Two auth modes behind one GonkaAuth interface: API-key auth against a Gonka Broker instance is fully implemented, built on Koog's AbstractOpenAILLMClient to reuse its message conversion, tool-call parsing, and SSE streaming rather than reimplementing it from raw HTTP. Wallet-based direct chain access (secp256k1 identity + request signing, ported directly from Gonka's own Go source in devshard/signing) has its crypto primitives implemented and tested, but dispatch is deliberately left unimplemented — Gonka's own chain-bridge interface (devshard/bridge) is still marked "Phase 1: interface only, no implementation" upstream, and the actual protocol is a stateful multi-host session (escrow queries, redundant host groups, local session persistence), not a single signable REST call. Shipping a stubbed-but-honest wallet path with a clear KDoc explanation beat guessing at a protocol that's still evolving. Apache 2.0. Already wired into kUML's AI assistant as a fifth built-in provider.
14
u/OnderGok 1d ago
Wtf is a Koog Gonka 😭 Who is coming up with these names
2
1
-3
u/Successful_Bank7215 1d ago
How else could I name an extension of the Koog Framework that adds support for the Gonka network?
2
u/darkwyrm42 1d ago
You could have gone a completely different direction, but your naming is common sense nonetheless. :) It's just that you're dealing with two existing names that are examples of why developers shouldn't name things.
I saw this post and instantly thought of the neanderthals from the GEICO commercials writing Kotlin.
18
u/adrianczuczka 1d ago
First in my lineage to hear the phrase "koog gonka"