Observed since 21 Oct, 08:55 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Give your AI agent a wallet and hands: custodied funds, gasless x402 payments, and paid tools (web/scrape/search) as LLM actions.
Give your AI agent a wallet and hands. Custodied funds, gasless stablecoin payments, and the ability to pay for real work on the internet — as tools your LLM can call.
AgentKit turns the 0xGasless platform into a set of agent tools. An agent gets a KMS-custodied wallet (no private key in your process), a server-enforced spending policy, and actions to:
The agent needs zero native gas token — the 0xGasless facilitator pays the gas. It only spends the stablecoin.
| Mode | Wallet | Use when |
|---|---|---|
| Platform (recommended) | KMS-custodied by 0xGasless; policy-enforced; no key in your code | You want payments, tools, identity, spend limits, audit |
| Self-custody | A local private key / mnemonic via an ERC-4337 smart account | You hold the key and want classic gasless DeFi actions |
npm install @0xgasless/agentkit
import { Agentkit, AgentkitToolkit } from "@0xgasless/agentkit";
import { ChatOpenAI } from "@langchain/openai";
import { createReactAgent } from "@langchain/langgraph/prebuilt";
// 1. Configure — the API key (from your dashboard project) authenticates every
// action; the wallet lives in 0xGasless KMS.
const agentkit = await Agentkit.configureWithPlatform({
apiKey: process.env.OXGAS_API_KEY!, // Dashboard → Project → Auth → API Key
agentId: "my-first-agent", // create with client.agents.create first
chain: "avalanche-fuji", // Avalanche is the primary network
});
// 2. Turn it into LangChain tools and hand them to your agent.
const tools = new AgentkitToolkit(agentkit).getTools();
const app = createReactAgent({ llm: new ChatOpenAI({ model: "gpt-4o" }), tools });
// 3. Let it work — it can now pay for what it needs.
await app.invoke({
messages: [{ role: "user", content:
"Find a tool that can read a web page, then read https://example.com and summarize it." }],
});
Behind that one prompt: the agent calls search_tools (free), picks the web
reader, calls browse_web → which pays ~$0.05 in USDC from its custodied wallet
via x402, settled on Avalanche by the 0xGasless facilitator → and gets the page
back. All under the spending policy you set in the dashboard.
Money (platform mode)
x402_pay — pay a recipient in USDC/XSGD, gasless, settled by the facilitatorpay_api — fetch any URL and auto-pay if it responds 402 (with a mandatory maxValue cap)smart_transfer — transfer USDC/XSGD to an addressget_spend_status — read the agent's caps + remaining daily budgetget_agent_wallet — address, chain, balancesInternet hands (Tool Gateway)
search_tools — discover a tool for a task (free)call_tool — run any gateway tool, paying per call under a capbrowse_web — read/search the web (via the gateway's browser tool)http_request — a guarded plain HTTP call (https-only, SSRF-protected) for free/public APIsTrust (ERC-8004)
register_identity — mint the agent's on-chain identity (gas sponsored)check_agent_reputation — score + confidence + basis, before you pay another agentgive_agent_feedback — record +/- feedback after an interactionDeFi (both modes) — balances, token details, swaps & bridges (deBridge),
disperse, market data (DexScreener), and more. Call getAllAgentkitActions()
to enumerate the full set at runtime.
const agentkit = await Agentkit.configureWithWallet({
apiKey: process.env.API_KEY!,
privateKey: process.env.PRIVATE_KEY as `0x${string}`, // you hold this key
chainID: 43113,
});
Same toolkit; actions that require the platform (payments, tools, identity)
will say so. run_terminal_command is disabled unless you explicitly pass
unsafeTerminalAccess: true (only in a sandbox you control).
Avalanche C-Chain (43114) and Avalanche Fuji (43113) are the primary, fully supported networks. Base (8453), Sonic (146), and BSC (56) are available for self-custody DeFi actions.
Platform mode and the money/tool/trust actions are new in 1.0. Your existing
configureWithWallet code keeps working. See MIGRATION.md.
Apache-2.0
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.0.1Registry latest | 11 Aug 2026 | 21 | |
| 1.0.0 | 10 Aug 2026 | 21 | |
| 0.0.17 | 8 Aug 2026 | 22 | |
| 0.0.16 | 28 Aug 2025 | 18 | |
| 0.0.15 | 27 Aug 2025 | 18 | |
| 0.0.14 | 11 Jun 2025 | 18 | |
| 0.0.13 | 11 Jun 2025 | 18 | |
| 0.0.11 | 30 Apr 2025 | 16 | |
| 0.0.10 | 23 Apr 2025 | 16 | |
| 0.0.9 | 7 Apr 2025 | 16 | |
| 0.0.8 | 4 Mar 2025 | 16 | |
| 0.0.7 | 3 Mar 2025 | 16 | |
| 0.0.6 | 2 Mar 2025 | 16 | |
| 0.0.5 | 23 Feb 2025 | 16 | |
| 0.0.4 | 1 Feb 2025 | 0 | |
| 0.0.3 | 31 Jan 2025 | 0 | |
| 0.0.2 | 28 Jan 2025 | 0 | |
| 0.0.1 | 28 Jan 2025 | 0 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 08:55 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:165cb220aea1913232dd74930c4c6d882d32a97a4c95cdcfc8004cf6e2e033af