Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions ai/agentic-wallets.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
description: 'Build AI agents with secure, programmable wallets on Sei using Coinbase AgentKit or Privy server wallets. Includes setup guides, policy engines, and a full feature comparison.'
keywords: ['agentic wallets', 'ai agents', 'coinbase agentkit', 'privy', 'server wallets', 'sei ai', 'agent wallet', 'cdp wallet', 'wallet policy engine']
---

import { AgenticWalletFlow } from '/snippets/agentic-wallet-diagrams.jsx';

Agentic wallets let AI agents hold funds, sign transactions, and interact with smart contracts autonomously. They do this without exposing private keys to the agent or the LLM. This page covers the two leading solutions that work on Sei today: Coinbase AgentKit and Privy server wallets.

<Info>
Expand All @@ -19,12 +22,7 @@
4. **TEE signs**: The private key is isolated in a Trusted Execution Environment (TEE) and signs the transaction there. The key is never exposed to the agent.
5. **Broadcast**: The signed transaction is submitted to Sei's EVM RPC.

```
┌─────────┐ ┌───────────┐ ┌──────────────┐ ┌─────────┐ ┌──────────┐
│ LLM / │────▶│ Wallet │────▶│ Policy │────▶│ TEE │────▶│ Sei EVM │
│ Agent │ │ SDK │ │ Engine │ │ Signer │ │ RPC │
└─────────┘ └───────────┘ └──────────────┘ └─────────┘ └──────────┘
```
<AgenticWalletFlow />

## Quick comparison

Expand All @@ -45,7 +43,7 @@

---

## Coinbase AgentKit on Sei

Check warning on line 46 in ai/agentic-wallets.mdx

View check run for this annotation

Mintlify / Mintlify Validation (seilabs) - vale-spellcheck

Sei.Headings

Use sentence case for headings: 'Coinbase AgentKit on Sei'.

[AgentKit](https://github.com/coinbase/agentkit) is Coinbase's open-source toolkit that gives AI agents crypto wallets and onchain capabilities. It is framework-agnostic (LangChain, Vercel AI SDK, OpenAI Agents SDK, MCP) and wallet-agnostic (CDP wallets, Privy, Viem, and others).

Expand Down Expand Up @@ -220,7 +218,7 @@
- **Balances are labeled "ETH" in action output.** `walletActionProvider` hard-codes the native-currency symbol. Even on Sei, `get_wallet_details` returns strings like `Native Balance: 512993.50 ETH`, and `native_transfer` responses say `Transferred 0.05 ETH to 0x...`. The quirk affects only the display, not signing or arithmetic. If the LLM quotes balances or transfer confirmations to users, rewrite `ETH` to `SEI` when `chain_id == 1329 || 1328`. Use a post-processing step or a system-prompt instruction.
- **`networkId` is `undefined`.** Coinbase's internal `CHAIN_ID_TO_NETWORK_ID` map includes only Ethereum, Polygon, Base, Arbitrum, and Optimism (mainnet and testnet). Sei's chain IDs are not in the map, so `walletProvider.getNetwork()` returns `{ protocolFamily: 'evm', chainId: '1328', networkId: undefined }`. This is harmless for signing and sending, but any action provider that branches on `networkId` refuses to run on Sei. In practice, `AgentKit.from({...})` prints a warning like `The following action providers are not supported on the current network and will be unavailable: weth, x402` and silently drops those providers. If you expect an action and it is missing from `agentKit.getActions()`, check this warning first.

### CDP-managed wallets and Sei

Check warning on line 221 in ai/agentic-wallets.mdx

View check run for this annotation

Mintlify / Mintlify Validation (seilabs) - vale-spellcheck

Sei.Headings

Use sentence case for headings: 'CDP-managed wallets and Sei'.

AgentKit's `CdpEvmWalletProvider` (CDP-managed server wallets with built-in policies) currently supports only `base`, `base-sepolia`, `ethereum`, `ethereum-sepolia`, `polygon`, `arbitrum`, and `optimism`. **Sei is not a supported network.**

Expand Down Expand Up @@ -500,7 +498,7 @@

---

## Using AgentKit with Privy (combined)

Check warning on line 501 in ai/agentic-wallets.mdx

View check run for this annotation

Mintlify / Mintlify Validation (seilabs) - vale-spellcheck

Sei.Headings

Use sentence case for headings: 'Using AgentKit with Privy (combined)'.

AgentKit includes a built-in `PrivyWalletProvider`. With it, you can use Privy's wallet infrastructure and policy engine as the backend, and AgentKit's 40+ action providers for onchain operations.

Expand Down Expand Up @@ -578,7 +576,7 @@
| ERC-20 token operations on Sei | Yes, with `erc20ActionProvider` | Yes, with standard EVM operations |


### Agentic DeFi actions

Check warning on line 579 in ai/agentic-wallets.mdx

View check run for this annotation

Mintlify / Mintlify Validation (seilabs) - vale-spellcheck

Sei.Headings

Use sentence case for headings: 'Agentic DeFi actions'.

| Capability | Coinbase AgentKit | Privy |
| --- | --- | --- |
Expand All @@ -593,7 +591,7 @@
For Sei-native DeFi actions, use the [Cambrian Agent Kit](/ai/cambrian-agent-kit). It includes built-in integrations for Symphony, DragonSwap, Silo, Takara, and Citrex.
</Info>

### x402 & machine-to-machine payments

Check warning on line 594 in ai/agentic-wallets.mdx

View check run for this annotation

Mintlify / Mintlify Validation (seilabs) - vale-spellcheck

Sei.Headings

Use sentence case for headings: 'x402 & machine-to-machine payments'.

| Capability | Coinbase AgentKit | Privy |
| --- | --- | --- |
Expand Down Expand Up @@ -630,7 +628,7 @@

---

## Sei network configuration reference

Check warning on line 631 in ai/agentic-wallets.mdx

View check run for this annotation

Mintlify / Mintlify Validation (seilabs) - vale-spellcheck

Sei.Headings

Use sentence case for headings: 'Sei network configuration reference'.

Use these values when you configure any agentic wallet provider for Sei:

Expand Down
Binary file removed assets/address-derivation.png
Binary file not shown.
Binary file added assets/fonts/KaTeX_Main-Regular.woff2
Binary file not shown.
Binary file added assets/fonts/KaTeX_Math-Italic.woff2
Binary file not shown.
21 changes: 21 additions & 0 deletions assets/fonts/LICENSE-KaTeX
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2013-2020 Khan Academy and other contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Binary file removed assets/interoperability.png
Binary file not shown.
Binary file removed assets/pointer-contracts-how-it-works.png
Binary file not shown.
Binary file removed assets/pointer-contracts-simplified.png
Binary file not shown.
Binary file removed assets/pointer-contracts-without.png
Binary file not shown.
6 changes: 3 additions & 3 deletions giga/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ On an internal devnet of 40 nodes across 20 regions, Giga sustained more than 5
| State proofs | Block Update Digests (BUDs). Proof cost scales with per-block updates, not total state size |
| Transaction ingress | No traditional public mempool. Before Sedna, complete transactions route to validator lanes. The later [Sedna](/giga/specs#sedna-private-dissemination) milestone introduces coded symbol bundles |
| EVM compatibility | Will be equivalent to Ethereum mainnet except EIP-4844 blobs, `PREVRANDAO`, the state root, the block gas limit, and the fee mechanism |
| Security model | Whitepaper model: BFT with `n = 3f + 1` replicas. Live implementation thresholds are stake-weighted. Under the stated assumptions, safety does not depend on network timing, and liveness requires network stabilization |
| Security model | Whitepaper model: BFT with $n = 3f + 1$ replicas. Live implementation thresholds are stake-weighted. Under the stated assumptions, safety does not depend on network timing, and liveness requires network stabilization |
| Delivery | Phased, in-place upgrades of the live Sei network that keep the existing chain ID |

## Why does Sei Giga exist?
Expand All @@ -62,7 +62,7 @@ Giga is designed to separate the work of a blockchain into four decoupled stages
Giga will order transactions with [Autobahn](https://arxiv.org/abs/2401.10369), a Byzantine Fault Tolerant consensus protocol that separates data dissemination from ordering:

- Each validator will continuously stream batches of transactions ("cars") into its own hash-chained lane, in parallel with every other validator.
- In the whitepaper's replica-count model, a Proof of Availability (PoA) will certify a batch after `f + 1` replica votes. Under the stated assumptions, this guarantees at least one honest holder. The implementation applies stake-weighted thresholds.
- In the whitepaper's replica-count model, a Proof of Availability (PoA) will certify a batch after $f + 1$ replica votes. Under the stated assumptions, this guarantees at least one honest holder. The implementation applies stake-weighted thresholds.
- Consensus will periodically commit a cut: a snapshot of the latest certified tip of every lane. Lanes are hash-chained, so committing a tip implicitly commits everything behind it. One consensus decision can therefore finalize many blocks of data at once.
- Pipelined slots are designed for an effective steady-state cadence of one committed cut per 1.5 network round trips, versus three full rounds for Tendermint. This is a throughput cadence, not a submission-to-finality guarantee. Validators will vote on compact certificates instead of downloading full blocks first.

Expand Down Expand Up @@ -130,7 +130,7 @@ The walkthrough and the steps below describe the initial Autobahn flow before Se

1. You will send a signed transaction to an RPC node, which will route it toward a validator. Allocation will be stake-weighted. For censorship resistance, you will be able to submit the same transaction to several validators.
2. The validator will append the transaction to its next batch and chain that batch into its lane.
3. When the batch reaches the availability threshold, it will hold a Proof of Availability, and the lane tip will advance. The threshold is `f + 1` replicas in the whitepaper model and stake-weighted in the implementation.
3. When the batch reaches the availability threshold, it will hold a Proof of Availability, and the lane tip will advance. The threshold is $f + 1$ replicas in the whitepaper model and stake-weighted in the implementation.
4. Pipelined consensus will commit a cut of all lane tips. Your transaction's position will then be fixed. This is ordering finality. On the internal devnet, it arrived in under 250 ms.
5. Each executing validator or full node will merge the cut into one sequence with the deterministic tip-priority rule. It will drop duplicates by hash and execute the result in parallel. Duplicate copies will not execute and will not pay execution costs twice.
6. Validators will attest to the block's divergence digest in a later block. This is state attestation finality.
Expand Down
Loading
Loading