An enterprise-grade, localized autonomous agent infrastructure that orchestrates non-custodial, gas-abstracted on-chain transactions. Powered by MetaMask Smart Accounts Kit, 1Shot Permissionless Relayer, and Venice AI (Privacy-first Intellect Layer), Vortex Agentic Pay enables secure machine-to-machine context execution and programmatic web3 payments.
Vortex Agentic Pay is built from the ground up to support high-throughput, latency-optimized autonomous workflows without compromising user privacy or regional infrastructure limits.
- Granular Execution Permissions (ERC-7715 & ERC-7710): Implements rule-based, fine-grained delegation flows. Users delegate temporal budget constraints (e.g., spending limits per day/week) using the MetaMask Smart Accounts Kit, allowing the autonomous engine to act on their behalf smoothly.
- Zero-Overhead Gas Abstraction: Integrates 1Shot APIβs Public Relayer to completely eliminate transaction failure risks due to gas variance. Accounts are dynamically upgraded via EIP-7702 authorizations and pay for network usage permissionlessly in stablecoins (USDC/USDT), bypassing standard paymaster funding debt.
- Privacy-Preserving Intelligence Layer: Leverages Venice AI API for uncensored, zero-surveillance agent reasoning. Utilizing advanced open-weights frontier models with built-in parameter options like real-time web search (
enable_web_search) and automated scraping capabilities.
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β MetaMask Smart Accounts Kit β
β (EIP-7702 Account Upgrade & ERC-7715 Permissions) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
β Sovereign Session Intent
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Vortex Agent Execution Engine β
β (Privacy-Preserving Inference via Venice AI Gateway) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
β Structured Payload Generation
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β 1Shot Permissionless Relayer β
β (Gas Abstraction Matrix & ERC-7710 Budget Compliance) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
β Gasless Broadcast
βΌ
ββββββββββββββββββββββββββββ
β Hardened On-Chain State β
ββββββββββββββββββββββββββββ
The Vortex Agentic Pay dashboard features a modular split-frame layout engineered for complete sovereign control and live telemetry monitoring.
- Sovereign Account Controller: A linear onboarding channel that orchestrates the MetaMask Flask connection, executes the local smart account cryptographic upgrade, and signs off on temporal spending permissions (e.g., 10 USDC/Week).
- Executive Agent Terminal: A clean CLI telemetry log that monitors network status, active decentralized identifiers, pending
ERC-7715permissions, and live execution cycles triggered via privacy-first agents.
- Core Framework: Next.js 15 (Hardened App Router, Standalone Layer Isolation)
- Web3 Interface Core: MetaMask Smart Accounts Kit (
@metamask/smart-accounts-kit), Viem v2 - Relayer Orchestration: 1Shot API Public Relayer Core Hook Execution System
- LLM Context Engine: Venice AI SDK (OpenAI-compatible Private Inference Gateway)
- Package Infrastructure:
pnpmMonorepo Workspaces (Strict dependency isolation) - Container Sandbox: Hardened Multi-stage Docker Build Pipeline (Non-root user configuration)
Follow these systematic steps to spin up the agent ecosystem natively in your Linux/Ubuntu environment:
Ensure your environment variables are set up accurately. Clone the repository and generate your configuration mapping:
git clone [https://github.com/shahwali-dev/vortex-agentic-pay.git](https://github.com/shahwali-dev/vortex-agentic-pay.git)
cd vortex-agentic-pay
cp .env.example .envEnsure your .env contains the correct endpoints for Venice AI and 1Shot infrastructure:
VENICE_API_KEY=your_secure_venice_api_key
NEXT_PUBLIC_1SHOT_RELAYER_URL=[https://relayer.1shotapi.com/relayers](https://relayer.1shotapi.com/relayers)Execute a clean dependency map lock optimization via pnpm:
# Clean high-performance workspace package installation
pnpm install
# Compile the static standalone distribution build
pnpm buildThe server runtime runs inside an isolated container with minimal privileges to mitigate breakout vulnerabilities.
docker build -t vortex-agentic-pay:latest .Inject host environment states dynamically during runtime scheduling:
docker run -p 3000:3000 --env-file .env vortex-agentic-pay:latestThe node engine boots securely on http://localhost:3000.
Before transaction submission, Vortex requests network configuration targets dynamically to ensure permission safety boundaries:
// Fetching dynamic capabilities to pick non-hardcoded payment token collectors
const response = await fetch("[https://relayer.1shotapi.com/relayers](https://relayer.1shotapi.com/relayers)", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
jsonrpc: "2.0",
id: 1,
method: "relayer_getCapabilities",
params: ["8453"] // Base Mainnet/Sepolia dynamic matching
})
});The system leverages Venice AIβs text-to-action layer to interpret prompt intentions into structured on-chain transaction logs without leaving data crumbs:
import OpenAI from "openai";
const venice = new OpenAI({
apiKey: process.env.VENICE_API_KEY,
baseURL: "[https://api.venice.ai/api/v1](https://api.venice.ai/api/v1)",
});
const executionIntent = await venice.chat.completions.create({
model: "zai-org-glm-5",
messages: [{ role: "user", content: "Optimize and route treasury balance across 1Shot payload" }],
venice_parameters: {
enable_web_search: "auto" // Real-time data sync for on-chain optimization
}
});- Least Privilege Delegations: Budget limits enforced via
ERC-20 Periodic Transfer Permissionsrestrict our agent from draining user assets, enforcing safety boundaries even if an LLM hallucination occurs. - Hardened Execution Context: The deployment image strips out the native package manager layer post-build and transfers operational execution to the
nextjs:nodejsinternal non-root Linux group ecosystem.
Engineered and Hardened by Shah Wali (shahwali-dev) for MetaMask x 1Shot x Venice Dev Cook Off Hackathon.
