Skip to content

Conversation

@jadonamite
Copy link

Summary

Adds a step-by-step guide for setting up a CDP AgentKit Wallet with LangChain to execute natural language commands via a CLI.

Content

  • Author: @jadonamite
  • Stack: Node.js, LangChain, AgentKit (CDP), OpenAI.
  • Key Concepts:
    • CdpWalletProvider configuration and persistence (handling wallet_data.txt).
    • Interactive REPL loop implementation using readline.
    • Integration of cdpWalletActionProvider for asset swaps and transfers.

Motivation

This fulfills the need for a "Hello World" guide that focuses purely on the wallet setup and command interaction flow, separate from autonomous looping agents.

Verification

  • Verified wallet_data.txt creation and persistence.
  • Tested "Request funds from faucet" command on Base Sepolia.
  • Tested "Swap ETH for USDC" command.

Added a comprehensive tutorial on building a Natural Language CLI using AgentKit, LangChain, and CDP MPC Wallet, covering architecture, prerequisites, implementation steps, and common pitfalls.
@cb-heimdall
Copy link
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants