Skip to main content

Overview

game-plugin-oneshot adds OneShot tools to a Virtuals Protocol GAME agent as one worker. It signs x402 payments locally; your private key stays on your machine.

Installation

Requirements

  • Python 3.10+
  • A wallet private key (for x402 payment signing)
  • USDC on Base Mainnet
  • A Virtuals GAME API key

Quick start

Fund your wallet with USDC on Base Mainnet before paid calls.

Available tools

See Pricing for current tool costs.
The plugin exposes the same tools as langchain-oneshot, except LinkedIn invitations (oneshot_linkedin_invite and oneshot_linkedin_withdraw_invitation).

Complex arguments

GAME Argument supports only scalar types (string, int, float, bool). Tools that need structured input, such as commerce_buy and build, take JSON strings:
GAME generates these JSON strings; use the example to debug or test manually.

Configuration

Environment variables

PyPI Package

Virtuals Protocol

TypeScript SDK

LangChain SDK

Optional phone lookup

GAME arguments use strings: pass include_phone: "true" or "false".