跳过主要内容
M

genkaku-plugin

mlaimail77/genkaku-plugin

通过 GenKaKu 点对点网络购买模型推理服务。

安装

dsh plugin --profile web add github:mlaimail77/genkaku-plugin

README

GenKaKu for DeepSeek Harness

Peer-to-peer AI compute, settled in USDC on Base. Two plugins, one protocol.

packages/protocol       @genkaku/protocol        chain, escrow billing, libp2p, Ollama
packages/dsh-runtime    @genkaku/dsh-runtime     the adapter both plugins share
packages/worker         @genkaku/dsh-worker-plugin   share this machine's models
packages/user           @genkaku/dsh-user-plugin     buy inference from the network

The protocol core has no dependency on DeepSeek Harness. That is deliberate: the next adapter (another harness) should not require touching it.

Status

Experimental, Base Sepolia only. The desktop app that used to carry this plugin is retired — the plugin is the product now, and the harness provides the shell.

Install

Requires DeepSeek Harness (dsh).

# supply side: serve your Ollama models
dsh plugin add @genkaku/dsh-worker-plugin

# demand side: use the network from a normal agent session
dsh plugin add @genkaku/dsh-user-plugin

Both plugins can be installed on one machine. Each owns its own settings document and key directory so they cannot fight over the same peer identity.

How it works

LayerWhat it isWhere it lives
WorkerRegistryOn-chain directory of workersBase Sepolia
libp2pDirect connection between user and workerBetween the two peers
JobEscrowUSDC escrow, released per started minuteBase Sepolia

Billing is an hourly quote with started-minute accrual: a two-minute job pays two minutes, not an hour. Settlement is 99% worker / 1% treasury.

Boundaries

  • Base Sepolia only. The main process refuses a mainnet chain ID.
  • No token. No issuance, no staking, no treasury sale.
  • No unsigned installers. There is nothing to download; the plugin is source and npm.
  • Prompts are not stored by the marketplace. The worker you choose can see the traffic it serves.

Develop

pnpm install
pnpm build        # tsc for every package
pnpm typecheck

Licence

MIT.

相关插件