Skip to content

SDKs

Hypnex publishes five primary SDKs, all dual-language (Python + TypeScript), MIT-licensed.

PackageLanguagePurpose
hypnex-openaiTS + PythonDrop-in OpenAI client routed to Morpheus inference network
hypnex-stakingTS + PythonWallet-native onramp + helpers for the Morpheus capital pool
hypnex-registryTS + PythonMRC-58 agent registration (v1 free, v2 paid)
hypnex-forgeTS + PythonMRC-60 tool registry + escrow flows
hypnex-benchTS + PythonEval suite + leaderboard client

Installation

TypeScript / JavaScript

bash
npm install hypnex-openai hypnex-staking hypnex-registry hypnex-forge hypnex-bench
# or
pnpm add hypnex-openai hypnex-staking hypnex-registry hypnex-forge hypnex-bench

Python

bash
pip install hypnex-openai hypnex-staking hypnex-registry hypnex-forge hypnex-bench

Common patterns

All Hypnex on-chain SDKs (hypnex-staking, hypnex-registry, hypnex-forge) share:

  • Chain selection via constructor: { chain: 'arbitrum' | 'base' }
  • Wallet injection via standard provider interface (viem WalletClient, ethers Signer, web3.py)
  • MOR token handling via .approveMOR() helper (one-time per chain per signer)
  • Subgraph reads via .list() / .byId() for off-chain indexed queries

Current versions

PackageCurrent versionDefault chain
hypnex-openai0.x(off-chain, no chain)
hypnex-staking0.xboth Arb + Base
hypnex-registry (TS + Py)0.3.0MRC-58 v2 (paid, 1 MOR)
hypnex-forge (TS + Py)0.2.1Forge v1 + Escrow Phase 3
hypnex-bench0.xboth Arb + Base

Versioning

All SDKs follow semver. Breaking changes are gated through GitHub Issues with the breaking label and announced ≥1 week in advance via release notes.

See also

Released under the MIT License.