SDK Installation
Install the AEP TypeScript SDK for account deployment, policy management, x402 and MPP (Tempo session) policy helpers, and UserOp execution.
Install
pnpm add @economicagents/sdk
From monorepo: use file:../sdk in other packages.
Configuration
- RPC:
rpcUrlorRPC_URLenv - Chain:
baseSepolia(84532),base(8453); override viaAEP_CHAIN_ID - Config file:
~/.aep/config.json(override:AEP_CONFIG_PATH)
Dependencies
viem— Ethereum RPC and encoding@economicagents/graph— Credit scoring, analytics (optional for graph features)zod— Intent schema validation
Next Steps
- Usage — Usage patterns and examples
- API Reference — Exported functions and types