Skip to main content
Welcome to the Coinbase AgentKit FAQ section. Below are some of the most common questions developers have asked, along with detailed answers from our engineering team. This resource is designed to help you navigate and utilize AgentKit effectively in your projects.

Table of Contents

  1. Getting Started
  2. Installation and Integration
  3. Agent Architecture
  4. Network and Trading Capabilities
  5. Wallet Management
  6. Agent Functionality
  7. Support and Contributions

Getting Started

Yes. Check out our Quickstart Guide and access the Replit link to get started in less than five minutes.
A good starting point is to run the agent chatbot using our repository supporting both Python and Node.js.

Installation and Integration

Use the following command to install the package:
npm install @coinbase/cdp-langchain
There are a few options available:
  1. Seed Phrase Export: Export the seed phrase from your Coinbase Wallet App and initialize your AgentKit agent using the seed phrase.
  2. Fund Transfer: Transfer funds from your Coinbase Wallet App to your agent’s address.
  3. Future Integrations: We are actively working on deeper integrations between the Coinbase Wallet App and Agents for more seamless connectivity.

Agent Architecture

It is generally best to limit complexity where possible. Start with a single agent that supports all necessary actions. If the agent has difficulty distinguishing between actions or requires specialization for certain scenarios, you can expand your solution to include multiple agents, each focused on specific subsets of actions.

Network and Trading Capabilities

Currently, only Base Mainnet is supported for trading feature. There are no immediate plans to support additional networks; however, we have other swap functionality features on our roadmap. Please let us know which networks you are most interested in.
USDC, EURC and cbBTC transactions are gasless for the agent on both Base Mainnet and Base Sepolia when using CDP Server Wallet. Other transactions currently require ETH for gas. You can use the faucet action to obtain Base Sepolia ETH or, if you are on Mainnet, have the agent provide its onchain address for you to send Mainnet ETH.

Wallet Management

If you are using the Replit template, you may notice that there is a file called “wallet_file.txt” that holds your agent’s wallet information. If the program finds this file, it will default to giving the agent this wallet instead of creating a new one on a different network. To fix this issue, either rename the “wallet_data.txt” file or specify a different file in the program where the wallet info will be saved. Note that wallet_file.txt stores the agent’s wallet seed which should be properly backed up to prevent loss of access to the wallet.
The agent has a one-to-one wallet setup (Externally Owned Account [EOA] with keys stored locally on the machine running the agent).
For production use cases, you can store the keys encrypted in a database, utilize a TEE, or use any other secure storage solution.
Currently, the maximum number of addresses per wallet is 20 with CDP Server Wallet. Different wallet providers may have different limits, so please refer to the documentation for your specific wallet provider.
The agent’s wallet is capable of creating multiple addresses, but there is not currently an agent action to create new addresses. This functionality is on our roadmap. In the meantime, you can add a custom agent action by following our Add Custom Functionality Guide and call wallet.create_address(...) within this action to enable your agent to create multiple addresses.

Agent Functionality

For real-time internet access, we recommend using the WebBrowser Tool. You can add this tool to the list of tools when instantiating your agent.
AgentKit supports whatever networks your wallet provider supports, which will generally be most EVM-based chains. CDP Server Wallet supports the following networks:
  • Base
  • Ethereum
  • Arbitrum
  • Polygon
AgentKit works with any wallet that can connect via the EIP-1193 standard. By default, AgentKit uses CDP Server Wallet.
The “interval=10” refers to 10 seconds, which is the default interval between autonomous inferences. The agent will continue to run autonomously as long as the process is active.

Support and Contributions

Please open a bug report or feature request on our AgentKit GitHub Repository.
We hope this FAQ section helps you effectively utilize Coinbase AgentKit in your development projects. If you have any additional questions or need further assistance, feel free to reach out through our Coinbase Developer Platform Discord.
I