create-agentkit-app scaffold sets up an Eliza agent pre-wired with a CDP wallet, ready to run on Base.
Prerequisites
- Node 18+
- A CDP API key
- An LLM API key (OpenAI or compatible)
Quickstart
Scaffold the project
Terminal
Project structure
The scaffolded project follows Eliza’s character-based structure:my-agent
characters
agent.json
src
index.ts
.env.example
package.json
Customizing your agent
Editcharacters/agent.json to change the agent’s personality:
characters/agent.json
Connecting to Base mainnet
By default the scaffold targets Base Sepolia. Switch to mainnet:.env
Available actions
The scaffold comes with AgentKit’s full action set pre-registered:| Action | Description |
|---|---|
get_wallet_details | Show the agent’s wallet address and network |
get_balance | Check ETH or token balance |
native_transfer | Send ETH to an address |
erc20_transfer | Send an ERC-20 token |
trade | Swap tokens via an onchain DEX |
deploy_token | Deploy a new ERC-20 contract |
wrap_eth | Wrap ETH to WETH |
Next steps
AgentKit quickstart
Build an agent with AgentKit directly, without Eliza.
LangChain integration
Use LangChain instead of Eliza for more complex agent workflows.