You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Integrate gonka.ai, a decentralized AI inference network on a Cosmos-SDK chain that routes LLM requests to a peer-to-peer pool of GPU operators. Two access paths, shipped in two phases:
Phase
Path
Auth
Onboarding
Code impact
1 (MVP)
GonkaGate (https://api.gonkagate.com/v1)
Bearer gp-...
Sign up at gonkagate.com, top up USD
Zero new Rust code — reuse existing CompatibleProvider
A fresh user runs zeph init, picks Gonka (gateway), pastes a gp-... API key, and gets a chat reply on the first prompt within 5 minutes. Phase 2 acceptance: a user with inferenced installed runs the wizard's "native" branch and gets a chat reply against node1.gonka.ai.
Reference
Plan: .local/plan/gonka-ai-structured-bentley.md (in repo, not committed)
Summary
Integrate gonka.ai, a decentralized AI inference network on a Cosmos-SDK chain that routes LLM requests to a peer-to-peer pool of GPU operators. Two access paths, shipped in two phases:
https://api.gonkagate.com/v1)gp-...CompatibleProvidernode1/2/3.gonka.ai)inferencedCLI for keys + GNK stakingGonkaProviderinzeph-llmPhase 1 — GonkaGate (MVP)
CompatibleProvideralready speaks OpenAI Chat Completions. Phase 1 is wizard + config + docs only:"Gonka (decentralized — via GonkaGate)"pre-fillsname = "gonkagate",base_url = "https://api.gonkagate.com/v1"ZEPH_COMPATIBLE_GONKAGATE_API_KEY(existing convention)Phase 2 — Native gonka transport
New module
crates/zeph-llm/src/gonka/:RequestSigner— ECDSA over secp256k1 viak256crate, bech32 address derivationEndpointPool— round-robin over node URLs with fail-skipGonkaProvider— wrapsOpenAiProviderfor body building / response decoding, owns its own signedreqwestsend pathAuthorization(base64 ECDSA sig),X-Requester-Address(bech32),X-Timestamp(nanoseconds)payload_hash_hex || timestamp_ns_str || transfer_address, thensha256then signinferenced keys addand zeph imports the exported private key into the age vaultZEPH_GONKA_PRIVATE_KEY,ZEPH_GONKA_ADDRESSStrategy decisions (recorded)
inferencedCLI for key generation (no Cosmos wallet code in zeph for now).Child issues
Phase 1 — Gateway MVP (release blockers)
Phase 2 — Native transport (release blockers)
Phase 2 — Follow-up (next minor release)
Sequencing
Epic-level acceptance
A fresh user runs
zeph init, picks Gonka (gateway), pastes agp-...API key, and gets a chat reply on the first prompt within 5 minutes. Phase 2 acceptance: a user withinferencedinstalled runs the wizard's "native" branch and gets a chat reply againstnode1.gonka.ai.Reference
.local/plan/gonka-ai-structured-bentley.md(in repo, not committed)Risks
hybrid_timestamp_ns(); live testnet probe gates issue feat(zeph-llm): RequestSigner with k256 + bech32 + Python-derived fixtures #3609 merge.reqwest::body(Vec<u8>); fixture tests cover Unicode + nested JSON.inferencedCLI breaking changes (Medium) — pinMIN_INFERENCED_VERSION.gonka_chain_prefixconfig field exposed.Out of scope
inferencedexternally.