Stop fighting with brittle API wrappers and complex wallet integrations. Kuberna abstracts the complexity of cross-chain finance and secure execution into a unified SDK.
// Traditional approach: Manual gas estimation, wallet management, and cross-chain routing
const provider = new ethers.JsonRpcProvider(RPC_URL);
const wallet = new ethers.Wallet(PRIVATE_KEY, provider);
const tx = await bridgeContract.swapAndBridge(sourceToken, targetChain, amount, {
gasLimit: 500000,
});
// ... plus 50 more lines for error handling, retries, and intent fulfillmentimport { KubernaSDK } from '@kuberna/sdk';
const agent = await KubernaSDK.initialize({ wallet: process.env.WALLET_KEY });
await agent.deploy({
task: 'Swap 1 ETH to SOL and stake on Marinade',
secureExecution: 'TEE',
});Kuberna Labs orchestrates a seamless flow from high-level LLM commands to verified on-chain state changes, all protected by Trusted Execution Environments.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β USER LAYER β
β Developer writes natural language intent (e.g., "Swap 1 ETH to USDC") β
ββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β LLM / NLP ENGINE β
β Parses intent β extracts parameters β validates β creates structured task β
ββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β KUBERNA SDK β
β Provides APIs for agent creation, intent submission, and execution β
ββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
ββββββββββββββββΌβββββββββββββββ
βΌ βΌ βΌ
ββββββββββββββ βββββββββββββ βββββββββββββββ
β TEE Layer β β zkTLS β β Marketplaceβ
β (Phala/ β β (Reclaim/ β β (Solvers) β
β Marlin) β β zkPass) β β β
βββββββ¬βββββββ βββββββ¬ββββββ ββββββββ¬βββββββ
β β β
ββββββββββββββββΌββββββββββββββββ
βΌ
βββββββββββββββββββββββββββββββ
β INTENT ROUTER (ERC-7683) β
β Broadcasts to solver network β
ββββββββββββββββ¬βββββββββββββββ
β
ββββββββββββββΌβββββββββββββ
βΌ βΌ βΌ
ββββββββββββ ββββββββββββ ββββββββββββ
βEthereum β β Solana β β NEAR β
ββββββ¬ββββββ ββββββ¬ββββββ ββββββ¬ββββββ
β β β
ββββββββββββββΌβββββββββββββ
βΌ
βββββββββββββββββββββββββββββββ
β ESCROW CONTRACTS β
β Funds held until task β
β completion verified β
βββββββββββββββββββββββββββββββ
| Component | Description |
|---|---|
| SDK | TypeScript/JavaScript SDK for agent management |
| TEE Layer | Trusted Execution Environments (Phala, Marlin) for secure computation |
| zkTLS | Zero-knowledge proofs for Web2 data verification |
| Intent Router | ERC-7683 compliant intent broadcast system |
| Solver Network | Decentralized network of agents competing to fulfill intents |
| Escrow Contracts | Smart contracts securing funds during task execution |
Get your first agent running in seconds.
npm install @kuberna/sdkCreate an index.ts file:
import { KubernaSDK } from '@kuberna/sdk';
async function main() {
const sdk = new KubernaSDK({ apiKey: 'YOUR_API_KEY' });
const agent = await sdk.createAgent({
name: 'YieldOptimizer',
framework: 'ElizaOS',
});
console.log(`Agent ${agent.id} is live!`);
}
main();npx ts-node index.ts- Multi-Chain Intents (ERC-7683): Deploy agents that operate across Ethereum, Solana, NEAR, and more without managing bridges manually.
- Trusted Execution (TEE): Run your proprietary AI logic in Phala Network enclaves with cryptographic proof of execution.
- zkTLS Data Privacy: Fetch verified Web2 data (Bank balances, KYC) using Reclaim Protocol without revealing private credentials.
- Agentic IDE: A browser-based environment for writing, debugging, and deploying agents with built-in AI assistance.
- Intent Marketplace: A decentralized solver network where agents compete to fulfill tasks with optimized pricing.
kuberna-labs/
βββ contracts/ # Solidity smart contracts (Hardhat)
β βββ Escrow.sol # Secure fund management
β βββ Intent.sol # Cross-chain intent protocol
β βββ ReputationNFT.sol # On-chain agent trust scores
β βββ Payment.sol # Payment processing
β βββ ...
βββ backend/ # Node.js API server (Express + Prisma)
β βββ src/
β β βββ routes/ # REST API endpoints
β β βββ services/ # Business logic
β β βββ middleware/# Auth, error handling
β βββ prisma/ # Database schema
βββ sdk/ # @kuberna/sdk - TypeScript SDK
βββ frontend/ # React + Wagmi frontend
βββ examples/ # Example implementations
βββ scripts/ # Deployment scripts
βββ test/ # Smart contract tests
Kuberna is built on a foundation of cryptographic guarantees:
- Non-Custodial: You always control your keys.
- Verifiable: TEE attestations are checked on-chain.
- Audited: Core contracts are derived from OpenZeppelin v5 standards.
We're building the future of the agentic economy. See CONTRIBUTING.md to get started.