Install the SDK
- npm
- bun
- pip (Python)
bash npm install @oneshot-agent/sdk Send Your First Email
- CDP Wallet (Recommended)
- Private Key
No private keys in your config. Signing happens in Coinbase’s secure enclave.Get CDP credentials at Coinbase Agentic Wallet.
- Gets a price quote from the API
- If paying with ETH, auto-swaps to USDC via Uniswap V3
- Signs a USDC payment authorization with your wallet
- Submits the signed payment and request
- Polls until the job completes
The SDK operates on Base Mainnet with real USDC. Fund your agent wallet before making paid tool calls.
What Just Happened
Under the hood, the SDK handled the x402 payment protocol:Try More Tools
Advanced Configuration
Next Steps
SDK Examples
Email, voice, SMS, research, commerce, and build examples
API Reference
Raw endpoint docs for all tools
Pricing
Cost per endpoint
LangChain (Python)
Python integration with 31 LangChain tools
MCP Server
Use OneShot in Claude Desktop or Cursor