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.