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
GAMEArgument supports only scalar types (string, int, float, bool). Tools that need structured input, such as commerce_buy and build, take JSON strings:
Configuration
Environment variables
Links
PyPI Package
Virtuals Protocol
TypeScript SDK
LangChain SDK
Optional phone lookup
GAME arguments use strings: passinclude_phone: "true" or "false".