Frameworks

← Get started

Buyer setup

Frameworks

For code and agents that import @arcdot/agent — not required for IDE MCP chat.

1. Install the SDK in your project

This is the only place npm install is required. Same local wallet file as the MCP proxy (~/.arcdot/wallet.json).

bash · sdk.sh

# create or import + fund first if needed
npx --yes @arcdot/agent wallet create
# or: npx --yes @arcdot/agent wallet import --key 0xYOUR_PRIVATE_KEY
# then in your app:
npm install @arcdot/agent

2. Snippets

Discover is free. Unlock settles from your funded agent wallet via the SDK.

python · arcdot_mcp_client.py

# Prefer the buyer client — create or import + fund first, then install only if you import
#
#   npx --yes @arcdot/agent wallet create
#   # or: npx --yes @arcdot/agent wallet import --key 0xYOUR_PRIVATE_KEY
#   # fund on /fund, then for SDK imports:
#
#   npm install @arcdot/agent
#
from pathlib import Path
# Or use Node:
#   npx --yes @arcdot/agent unlock --origin https://your-app.vercel.app --service quick-brief --prompt "Hi"

print("Use @arcdot/agent (Node) for settle + unlock. Origin:", "https://your-app.vercel.app")