Choose your control model
Privy supports two primary models for agentic wallets depending on your custody and control requirements:Model 1: Agent-controlled, developer-owned wallets
- Your application backend controls the wallet via authorization keys
- Suitable for fully autonomous agents where users delegate complete control
- Agent can execute transactions within policy constraints without user approval
- Users maintain ownership while granting limited permissions to agents
- Agent operates as an additional signer with scoped policies
- Users retain ultimate control and can revoke agent access at any time
Create authorization keys
Set up authorization keys that your application backend will use to control agent wallets.To start, create authorization keys in the Privy Dashboard and securely store the corresponding private keys. Your backend will use these keys to sign requests to Privy’s API on behalf of agents.For enhanced security, register the authorization keys in a key quorum. This enables multi-party approval for critical actions like updating policies or exporting wallets.
Create authorization keys
Create authorization keys in your Privy Dashboard.
Key quorums quickstart
Set up a key quorum for enhanced security.
Define agent policies
Policies are critical as they define the boundaries within which your AI agents can operate. Well-designed policies prevent agents from taking unintended or harmful actions while allowing them to function effectively.Common policy constraints for agents include:
- Transfer limits: Maximum amounts per transaction or within time windows
- Allowlisted contracts: Restrict agents to interact only with approved protocols
- Recipient restrictions: Limit where funds can be sent
- Time-based controls: Define when agents can operate
- Action-specific rules: Control parameters for swaps, trades, or other operations
id to assign the policy to the wallet(s) you create later.Policies overview
Learn how to construct policies with Privy’s policy language.
Create a policy
Create policies for your agents.
Create the agent wallet
Create a wallet owned by your authorization key, with the policies you previously defined attached. Make sure to:
- Set the
owner_idof the wallet to theidof the authorization key you created earlier - Set the
policy_idsarray of the wallet to a singleton containing theidof the policy you created earlier
Wallets quickstart
Create a wallet.
Execute transactions
You can now send transactions, sign transactions, or sign messages with Privy’s API. Follow the guide below to send a transaction.
Send EVM transaction
Execute transactions on Ethereum and EVM chains.
Send Solana transaction
Execute transactions on Solana.
Tier 2 chains
Execute transactions on other supported chains.
Monitor and observe agent behavior
Implement monitoring and logging to track your agent’s actions and ensure it operates as intended. Privy provides webhooks for transaction events and balance changes.
Transaction webhooks
Monitor transaction status and completion.
Balance webhooks
Track deposits and withdrawals.
Learn more
OpenClaw integration
Use Privy wallets with OpenClaw AI agents.
x402 payments quickstart
Set up your agent to pay for APIs and content.
Hyperliquid quickstart
Set up your agent to trade on Hyperliquid.
Gas sponsorship
Automatically sponsor gas fees for agent transactions.

