Skip to content

Conversation

@phdargen
Copy link
Contributor

Description

  • Adds IQAI ADK framework extension along with 2 chatbot examples:

    • iqai-adk-cdp-chatbot: equivalent of langchain-cdp-chatbot using IQAI ADK
    • iqai-adk-cdp-multichain-chatbot: more advanced example using IQAI ADK specific workflow patter such as delegation to subagents to implement a multi-chain agent. A multi_chain_coordinator agent can switch networks via the switch_network tool and delegate user tasks to respective network agents
  • Fixed request_faucet_funds prompt to include ethereum-sepolia

Tests

Chatbot: typescript/examples/iqai-adk-cdp-chatbot/chatbot.ts
Network: Base Sepolia

Prompt: wallet info
Here are the details of the connected wallet:

- **Provider:** cdp_evm_wallet_provider
- **Address:** `0xf2d4580ADfe8E012f5550322706d62DF11fDBE21`
- **Network:**
  - Protocol Family: EVM
  - Network ID: base-sepolia
  - Chain ID: 84532
- **Native Balance:** 0.000772507455393231 ETH (772,507,455,393,231 WEI)

Prompt: eth price?
The current price of ETH in USD is $3,933.09. If you have any other questions or need assistance, feel free to ask!
-------------------

Prompt: request usdc
USDC has been successfully requested from the faucet. Here is the transaction hash: `0xa22266c029435e815ed5eb6e556157f683a30569aa9ab9969ddffd32754be4dc`. If you need any more assistance, feel free to ask!
-------------------

Prompt: send 0.1 usdc to 0xCe8C96bBF12aa630f439a74A75f86E96c9F50B3B
0.1 USDC has been successfully transferred to `0xCe8C96bBF12aa630f439a74A75f86E96c9F50B3B`. Here is the transaction hash for your reference: `0x71dcfddc00522d8506dbf675691e9b9ed23e0ede5dafb4f0bb5544781b40efd9`. If you need anything else, just let me know!
-------------------
Chatbot: typescript/examples/iqai-adk-cdp-multichain-chatbot/chatbot.ts
Networks: "base-sepolia, ethereum-sepolia"

💬 Prompt: wallet info

Here are your wallet details on base-sepolia:

- Provider: cdp_evm_wallet_provider  
- Address: 0xf2d4580ADfe8E012f5550322706d62DF11fDBE21  
- Network:
  - Protocol family: evm
  - Network ID: base-sepolia
  - Chain ID: 84532
- Native balance: 872,445,291,542,634 WEI (0.000872445291542634 ETH)
-------------------

💬 Prompt: send 0.00001 eth to 0xCe8C96bBF12aa630f439a74A75f86E96c9F50B3B

Sent 0.00001 ETH to 0xCe8C96bBF12aa630f439a74A75f86E96c9F50B3B
Transaction hash: 0xb12f5703471d6e65496c97351b79a4a9be227847c63479afe1e4dd59c789cbab
-------------------

💬 Prompt: price of eth?

The current ETH/USD price from Pyth is $3938.28.
-------------------

💬 Prompt: switch to ethereum-sepolia

Switched to ethereum-sepolia.

Wallet details:
- Provider: cdp_evm_wallet_provider
- Address: 0xf2d4580ADfe8E012f5550322706d62DF11fDBE21
- Network: ethereum-sepolia (chain ID 11155111)
- Native balance: 200000000000000 WEI (0.0002 ETH)
-------------------

💬 Prompt: send 0.00002 eth to 0xCe8C96bBF12aa630f439a74A75f86E96c9F50B3B

Done.

- Current network: ethereum-sepolia (chainId 11155111)
- Wallet: 0xf2d4580ADfe8E012f5550322706d62DF11fDBE21
- Native balance: 0.0002 ETH

Transfer completed:
- Amount: 0.00002 ETH
- To: 0xCe8C96bBF12aa630f439a74A75f86E96c9F50B3B
- Tx hash: 0xb10652237e165431c3299361219db05d94ad818c828c0b9387a529ae5ab62415

💬 Prompt: what networks are available?

Supported networks:
- base-sepolia (agent: base_sepolia_agent)
- ethereum-sepolia (agent: ethereum_sepolia_agent)

If you want me to switch networks, say "switch to <network>" (for example: "switch to ethereum-sepolia") and I'll perform the switch.
-------------------

💬 Prompt: switch back to base-sepolia

Switched to base-sepolia. Current network is now base-sepolia. Ready for blockchain operations on base-sepolia — what would you like to do next?

Checklist

A couple of things to include in your PR for completeness:

  • Added documentation to all relevant README.md files
  • Added a changelog entry

@phdargen phdargen requested a review from murrlincoln as a code owner October 21, 2025 03:32
@cb-heimdall
Copy link

🟡 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

@phdargen phdargen marked this pull request as draft October 21, 2025 03:32
@github-actions github-actions bot added documentation Improvements or additions to documentation action provider New action provider example New example agent framework extension New framework extension typescript labels Oct 21, 2025
@kesar
Copy link

kesar commented Oct 28, 2025

looks cool

@cb-heimdall
Copy link

Review Error for Syaidhelmi @ 2025-11-08 20:14:50 UTC
User failed mfa authentication, either user does not exist or public email is not set on your github profile. \ see go/mfa-help

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

Labels

action provider New action provider documentation Improvements or additions to documentation example New example agent framework extension New framework extension typescript

Development

Successfully merging this pull request may close these issues.

4 participants