Agnic Skill Guide
Install skills, connect via MCP, or call the REST API directly. Agnic gives your agent access to 340+ AI models, x402 paid services, a cryptographic identity, and its own email inbox — one dashboard at app.agnic.ai.
First-Time Wallet Setup
If you don't have an Agnic wallet yet, guide the user through these steps to create one and get an API key.
Authenticate
# Token mode — recommended for agents
npx agnic@latest --token <agnic_token> status
# Or: export AGNIC_TOKEN=<agnic_token>
# Browser OAuth — for humans
npx agnic@latest auth login
# Check status
npx agnic@latest status --json
# Install skills
npx skills add agnicpay/agnic-wallet-skillsFund your wallet
Get your wallet address, then add credits via the dashboard.
npx agnic@latest address
# Add credits: https://app.agnic.ai → "Add Funds"
npx agnic@latest balance --jsonGet your API token
Visit app.agnic.ai and copy your API token. It will look like agnic_tok_...
Connect via Skills or MCP
Choose your integration method below.
Install Agnic Skills
Works with Claude Code, Claude Cowork, OpenClaw, and any agent that supports the Vercel Skills format. Once installed, the agent automatically invokes the right skill based on user intent.
npx skills add agnicpay/agnic-wallet-skillsAvailable Skills
Each skill is triggered automatically when the user's intent matches. All skills use the agnic CLI under the hood.
authenticateBrowser OAuth or headless token auth — recommended for autonomous agents.
"log in", "sign in", "authenticate"
check-balanceCheck your credit balance across all supported networks.
"what's my balance", "how much do I have"
search-for-serviceDiscover x402-enabled paid APIs in the bazaar marketplace.
"find an API", "search for a service"
pay-for-serviceMake a paid HTTP request to any x402-enabled API endpoint.
"call this API", "pay for https://..."
fund-walletGet your wallet address and instructions to add credits.
"add funds", "deposit", "top up my wallet"
get-agent-identityCheck on-chain ERC-8004 identity, trust score, and verifiable credentials.
"my agent identity", "trust score", "KYA credentials"
agent-emailManage your agent's email inbox — send, receive, reply.
"send an email", "check my inbox", "agent email"
ai-gatewayAccess 340+ AI models — chat with GPT, Claude, Gemini, Llama, generate images.
"chat with GPT-4o", "generate an image", "list AI models"
MCP Server
Connect directly to the Agnic MCP server for tool-level access in any MCP-compatible client.
Claude Desktop
Add to claude_desktop_config.json
{
"mcpServers": {
"agnic": {
"url": "https://mcp.agnic.ai/sse",
"transport": "sse",
"headers": {
"Authorization": "Bearer agnic_tok_YOUR_TOKEN"
}
}
}
}Claude Code (CLI)
claude mcp add agnic --transport sse \
--url https://mcp.agnic.ai/sse \
--header "Authorization: Bearer agnic_tok_YOUR_TOKEN"OpenClaw
Add an MCP server with URL https://mcp.agnic.ai/sse, transport SSE, and the Bearer auth header above. OpenClaw also supports skill installation:
npx skills add agnicpay/agnic-wallet-skillsn8n
In your n8n MCP node: set Server URL to https://mcp.agnic.ai/sse, authentication to Bearer Token, and paste your agnic_tok_... token.
REST API
Call the Agnic API directly. Base URL: https://api.agnic.ai
Authentication — include one of:
# API Token
X-Agnic-Token: agnic_tok_YOUR_TOKEN
# OAuth2 Bearer
Authorization: Bearer agnic_at_YOUR_OAUTH_TOKEN| Method | Endpoint | Description |
|---|---|---|
| GET | /api/balance | Wallet credit balance |
| GET | /api/transactions | Payment history |
| POST | /api/x402/fetch | Transparent x402 payment proxy (recommended) |
| POST | /api/sign-payment | Manual x402 payment signing |
Full reference: docs.agnic.ai
Security
- NEVER send your API token (
agnic_tok_...) or OAuth token (agnic_at_...) to any domain other thanapi.agnic.aiormcp.agnic.ai. - Your API token represents your wallet identity. If compromised, rotate it immediately at app.agnic.ai.
- Set spending limits on your wallet to cap agent expenditure.
Get Started