coinbase / agentkit
- ΠΏΠΎΠ½Π΅Π΄Π΅Π»ΡΠ½ΠΈΠΊ, 3 ΡΠ΅Π²ΡΠ°Π»Ρ 2025β―Π³. Π² 00:00:03
AgentKit is Coinbase Developer Platform's framework for easily enabling AI agents to take actions onchain. It is designed to be framework-agnostic, so you can use it with any AI framework, and wallet-agnostic, so you can use it with any wallet. AgentKit is actively being built out, and welcomes community contributions!
Prerequisites:
# Clone the repository
git clone https://github.com/coinbase/agentkit.git
# Navigate to the langchain-cdp-chatbot example
cd agentkit/typescript/examples/langchain-cdp-chatbot
# At this point, fill in your CDP API key name, private key, and OpenAI API key in
# the .env.example file.
# Then, rename the .env.example file to .env
mv .env.example .env
# Install dependencies
npm install
# Run the chatbot
npm run start
Prompt: Fund my wallet with some testnet ETH.
-------------------
Wallet: ccaf1dbf-3a90-4e52-ad34-89a07aad9e8b on network: base-sepolia with default address: 0xD9b990c7b0079c1c3733D2918Ee50b68f29FCFD5
-------------------
-------------------
Received eth from the faucet. Transaction: https://sepolia.basescan.org/tx/0x03e82934cd04be5b725927729b517c606f6f744611f0f36e834f21ad742ad7ca
-------------------
Your wallet has been successfully funded with testnet ETH. You can view the transaction [here](https://sepolia.basescan.org/tx/0x03e82934cd04be5b725927729b517c606f6f744611f0f36e834f21ad742ad7ca).
-------------------
Prerequisites:
# Clone the repository
git clone https://github.com/coinbase/agentkit.git
# Navigate to the chatbot-python example
cd agentkit/python/examples/cdp-langchain-chatbot
# At this point, fill in your CDP API key name, private key, and OpenAI API key in the
# .env.example file.
# Then, rename the .env.example file to .env
mv .env.example .env
# Install dependencies
poetry install
# Run the chatbot
make run
Prompt: Fund my wallet with some testnet ETH.
-------------------
Wallet: ccaf1dbf-3a90-4e52-ad34-89a07aad9e8b on network: base-sepolia with default address: 0xD9b990c7b0079c1c3733D2918Ee50b68f29FCFD5
-------------------
-------------------
Received eth from the faucet. Transaction: https://sepolia.basescan.org/tx/0x03e82934cd04be5b725927729b517c606f6f744611f0f36e834f21ad742ad7ca
-------------------
Your wallet has been successfully funded with testnet ETH. You can view the transaction [here](https://sepolia.basescan.org/tx/0x03e82934cd04be5b725927729b517c606f6f744611f0f36e834f21ad742ad7ca).
-------------------
AgentKit is organized as a monorepo that contains multiple packages.
./
βββ typescript/
β βββ agentkit/
β βββ framework-extensions/
β | βββ langchain/
β βββ examples/
β βββ langchain-cdp-chatbot/
β βββ langchain-farcaster-chatbot/
β βββ langchain-twitter-chatbot/
βββ python/
β βββ cdp-agentkit-core/
β βββ cdp-langchain/
β βββ twitter-langchain/
β βββ examples/
β βββ cdp-langchain-chatbot/
β βββ twitter-langchain-chatbot/
AgentKit is actively looking for community contributions!
The AgentKit team takes security seriously. See SECURITY.md for more information.
For feature requests, feedback, or questions, please reach out to us via the Coinbase Developer Platform Discord.
AgentKit is licensed under the Apache-2.0 license.
The AgentKit software is novel and experimental, and is therefore provided on an AS-IS basis. The software is intended to be used only for the purposes of assisting with designing blockchain transactions and enabling other API integrations using natural language inputs, and is not intended to provide (i) an offer, or solicitation of an offer, to invest in, or to buy or sell, any interests or shares, or to participate in any investment or trading strategy, (ii) accounting, legal, tax advice, investment recommendations or other professional advice or (iii) an official statement of Coinbase. Acts proposed or performed by an agent through AgentKit software are NOT acts of Coinbase. You should consult with a professional advisor before making any decisions based on the information provided by the software. No representation or warranty is made, expressed or implied, with respect to the accuracy, completeness, reliability, security, or suitability of the software or to any information provided in connection with the software. The risk of loss through use of the software can be substantial, and you assume any and all risks of loss and liability. The software may produce output that is inaccurate, incorrect, unpredictable or undesirable, and it is the user's exclusive responsibility to evaluate the output and the use-case and determine whether it is appropriate. The right to use the software is contingent on your agreement to the CDP Terms of Service (except to the extent it conflicts with the Apache-2.0 license).