Openai App Store Integration
Overview
Nexlabs is integrating Vibe Coding as a ChatGPT “app,” letting users trade Nexlabs indexes through plain-language instructions—e.g., “Buy me CRYPTO5 index with Nexlabs.” This builds on our BYOI and AI-Agent roadmap: natural-language intents are translated into verifiable, policy-safe actions with explicit user confirmation.
Why this matters
Frictionless UX: No command syntax or dashboards required; users act from chat.
Trust & control: Human-in-the-loop confirmations, strict scopes, and transparent fees/slippage.
Composability: The same trading capability can be invoked from any MCP-compatible client.
Architecture:
Vibe MCP Server: exposes trading tools over HTTPS.
Client (e.g., ChatGPT app): plans actions, renders our confirmation UI, calls tools.
Auth: OAuth 2.1 (scoped tokens like
trade.read/trade.write).Nexlabs Core: quotes, KYC/limits, execution, receipts.
Exemplary user flow:
User: “Buy me CRYPTO5 index with Nexlabs for $250.”
App calls
quote_index_order→ shows price, fees, slippage.User confirms → app calls
place_index_order.Receipt returned (orderId, avgPrice, txHash).
Tooling we expose
quote_index_order– Return live quote, est. slippage/fees for an index order.Inputs:
indexSymbol,side,notional,currencyOutput: price, est. total, slippage, quoteId, expiry
place_index_order– Place a confirmed buy/sell. (Write scope required.)Inputs:
indexSymbol,side,notional,currency,quoteId?,clientRef?,maxSlippageBps?Output: orderId, status, filledNotional, averagePrice, txHash
get_positions– Read current holdings and P&L. (Read scope.)Output: positions array (symbol, qty/notional, basis, Unrealized P&L)
Use Vibe Coding outside our website
Vibe Coding is not limited to the Nexlabs UI. Because it’s exposed via the MCP server:
It can be used inside ChatGPT (as the “Nexlabs – Trade & Indexes” app).
It can be embedded in other MCP-aware clients (IDEs, copilots, internal assistants).
Partners can integrate via our documented HTTPS endpoint with OAuth-scoped access.
Security & Compliance
Auth: OAuth 2.1 with short-lived tokens; per-tool scopes.
Confirmations: Mandatory human confirmation for any state-changing action.
Guardrails: Regional checks, KYC/AML gating, max-slippage enforcement, clear error returns.
Privacy: Minimum data sharing; no secrets in prompts; audit logs server-side.
Rollout
Phase 1: App launch on Nex Labs dApp
Phase 2: Openai App store listing (onboarding to be announced by Openai, still in beta)
Phase 3: Toolset expansion (redeem, rebalance, withdrawals) and analytics components.
Automated payment with x402 protocol
The open-source x402 protocol, managed by Coinbase, allows agents to ask for payment (with subcent gas fee costs) before returning the response. Our agent, connected by a crypto address, can ask for payment to perform wallet management directly on a users wallet without requiring a (non-custodial) vault to move the assets into. Furthermore, we have valuable datafeeds related to indices and their constituents that can be shared. Variable such as:
market cap
on-chain data:
TVL (per chain, per pair)
Active User addresses
volatility
...more to be announced...
Last updated