The Agentic Layer (Agent Kit) lets you build products where each user gets an AI agent with real Web3 wallets, MCP tools for LLMs, and x402 payments to external APIs. Your backend holds secrets; your users chat or act through your UI.

Who this is for

  • Teams building agentic apps (chat + on-chain actions).
  • Developers wiring Cursor / Claude to Abstraxn MCP for internal tools.
  • Products that need autonomous transfers, balances, and paid API access per user.

Choose your path

Pick the track that matches your goal. You can combine paths later (for example MCP in Cursor while building your app).

Build a full app

Dashboard → SDK → sample backend API + sample web app. Per-user agents, chat, signing on your server.

MCP in IDE only

Copy Overview mcp.json, use tools from Cursor. No custom backend required for reads and catalog search.

x402 & paid APIs

discover_services catalog → paid_fetch → sign paymentPayload on your server with accessKey.
PathStart hereThen
Full appDashboard setupSDKFull-stack integration
IDE onlyDashboard setupMCP in Cursor
x402Smoke test (discover_services)x402 payments + SDK for signing
After copying your API key, run the 5-minute smoke test to confirm MCP before deeper integration.

Complete implementation path

StepDocOutcome
1Dashboard setupAPI key, MCP URL, agents list, tools catalog
1bSmoke testConfirm MCP + catalog with curl (optional, ~5 min)
2SDK quickstartAgents + server wallets + accessKey storage
3Full-stack integrationSample NestJS API + Next.js web app
4ERC-8004 identityOn-chain identity (10 supported chainIds) + registration file
5MCP tools referencetools/list discovery and call patterns
6x402 paymentsdiscover_services, paid_fetch, signing

Architecture

ComponentResponsibility
DashboardCredentials, monitoring agents, browsing MCP tools
Agent Kit serviceAgent registry, MCP router, x402 facilitator hooks
@abstraxn/agent-kitCreate agents, provision server wallets, sign txs
Your backendUser auth, DB, encrypt accessKey, call MCP for LLM
Your frontendUX only — no Abstraxn secrets

Credentials

Three different secrets (application API key, per-agent API key, wallet accessKey) are easy to confuse. See the full Credentials cheat sheet — including env vars, headers, and a decision tree.
The dashboard API key is not the wallet accessKey. The app key talks to Agent Kit; each agent’s access key signs on-chain and x402 payments.

What agents can do

CategoryWho signs
Read wallet / chain (via MCP)Nobody
Move funds (unsigned transfer intents)Your backend + accessKey
Market data & external APIs (x402)x402 via accessKey on retry
On-chain identity (ERC-8004)Server wallet signs register(agentURI)
Tool names for each category come from live tools/list — see MCP tools reference. Register agents on-chain and publish a public registration file (MCP endpoint, x402 flag, metadata). See ERC-8004 agent identity.

Sample applications

Abstraxn provides a sample backend API and sample web app you can clone or adapt:
ProjectStackShows
Sample backend APINestJS, Postgres, JWTSDK createAgent, MCP chat loop, transfer + x402 signing
Sample web appNext.jsLogin, agents, chat SSE, portfolio
Use them as the canonical integration pattern in Full-stack app integration.

MCP endpoint

EnvironmentMCP URL
Productionhttps://agent-kit.abstraxn.com/mcp
Dev (example)https://dev-agent-kit.abstraxn.com/mcp
REST Agent Kit base URL uses the same host without /mcp.

Documentation map

Credentials

Application key vs accessKey — when to use each.

5-minute smoke test

curl tools/list and discover_services after dashboard setup.

Dashboard setup

Account → app → Agentic Stack UI walkthrough.

SDK quickstart

@abstraxn/agent-kit install and createAgent (server wallet).

External wallet

BYO EVM/Solana address — no accessKey; ERC-8004 with your signer.

ERC-8004 identity

On-chain identity, registration file, dashboard Identity tab.

Full-stack integration

Sample NestJS API + Next.js web app.

MCP tools

Tool-by-tool reference.

x402 payments

Paid HTTP and paymentPayload flow.

MCP in Cursor

IDE setup with Overview snippet.

Troubleshooting

401, agent_id, x402 -32402, funding, signing FAQ.