Problem
AI copilots that touch wallets, DeFi tools, and external connectors fail quickly when they treat every action as a chat completion. The hard problem is controlled delegation: users need useful autonomy without giving models direct authority over tokens, private connector credentials, or irreversible transactions.
Solution
Nex Copilot separates clients, API/BFF, agent runtime, MCP tool gateway, sandbox execution, on-chain intents, policy checks, approvals, and audit receipts. The user can stay in read-only, approval, or execution mode while every risky action passes through deterministic policy and human-in-the-loop gates.
Challenges
The system has to coordinate streaming UX, resumable agent sessions, connector vaulting, sandbox artifacts, transaction simulation, signing isolation, and event ledgers without leaking secrets into model context or letting retries create duplicate runs.
Innovation
The architecture treats on-chain execution as typed intent orchestration rather than raw transaction generation. It combines OpenAI Agents SDK, AI SDK streams, MCP routing, E2B-style isolation, and Supabase-backed approvals into one governed execution plane.
Domain expertise
This page shows Stefan's depth across agent platform architecture, Web3 risk controls, MCP connector boundaries, Supabase/RLS data design, SSE run streaming, policy packages, and audit-ready execution receipts.