{"id":24287605,"url":"https://github.com/coinbase/agentkit","last_synced_at":"2025-05-14T00:07:50.748Z","repository":{"id":261181924,"uuid":"881569514","full_name":"coinbase/agentkit","owner":"coinbase","description":"Every AI Agent deserves a wallet.","archived":false,"fork":false,"pushed_at":"2025-05-09T19:26:39.000Z","size":9656,"stargazers_count":703,"open_issues_count":86,"forks_count":421,"subscribers_count":15,"default_branch":"main","last_synced_at":"2025-05-09T20:29:23.763Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://docs.cdp.coinbase.com/agentkit/docs/welcome","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coinbase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING-PYTHON.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-10-31T20:40:22.000Z","updated_at":"2025-05-09T11:11:38.000Z","dependencies_parsed_at":"2024-11-20T23:24:49.873Z","dependency_job_id":"0c8eeabd-bda0-4426-8a43-ca4bd9716808","html_url":"https://github.com/coinbase/agentkit","commit_stats":{"total_commits":63,"total_committers":9,"mean_commits":7.0,"dds":0.5238095238095238,"last_synced_commit":"12ddc1175474f4b8a79aeff6d0fb3e51fb4c9aa2"},"previous_names":["coinbase/cdp-agentkit","coinbase/agentkit"],"tags_count":48,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coinbase%2Fagentkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coinbase%2Fagentkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coinbase%2Fagentkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coinbase%2Fagentkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coinbase","download_url":"https://codeload.github.com/coinbase/agentkit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254043776,"owners_count":22005014,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-16T08:08:25.056Z","updated_at":"2025-05-14T00:07:50.742Z","avatar_url":"https://github.com/coinbase.png","language":"TypeScript","funding_links":[],"categories":["Framework Integrations","Cryptocurrency","TypeScript","Frameworks","Servers","🤖 AI Agent Frameworks","Agent Identity and Wallets"],"sub_categories":["ClawRouter — Cost Optimizer for Existing API Key Users","Crypto Trading Execution","Finance","Benchmark Reality Check (real-world tool use)"],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cp\u003e\n    \u003ca href=\"https://docs.cdp.coinbase.com/agentkit/docs/welcome\"\u003e\n      \u003cimg src=\"./agentkit_banner.png\"/\u003e\n    \u003c/a\u003e\n  \u003c/p\u003e\n  \u003ch1 style=\"font-size: 3em; margin-bottom: 20px;\"\u003e\n    AgentKit\n  \u003c/h1\u003e\n\n  \u003cp style=\"font-size: 1.2em; max-width: 600px; margin: 0 auto 20px;\"\u003e\n    Every agent deserves a wallet.\n  \u003c/p\u003e\n\n[![](https://github.com/coinbase/agentkit/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/coinbase/agentkit/actions/workflows/github-code-scanning/codeql)\n[![pypi downloads](https://img.shields.io/pypi/dm/coinbase-agentkit?label=pypi:coinbase-agentkit\u0026style=flat-square)](https://pypistats.org/packages/coinbase-agentkit)\n[![npm downloads](https://img.shields.io/npm/dm/@coinbase/agentkit?label=npm:@coinbase/agentkit\u0026style=flat-square)](https://www.npmjs.com/package/@coinbase/agentkit)\n[![GitHub star chart](https://img.shields.io/github/stars/coinbase/agentkit?style=flat-square)](https://star-history.com/#coinbase/agentkit)\n[![Open Issues](https://img.shields.io/github/issues-raw/coinbase/agentkit?style=flat-square)](https://github.com/coinbase/agentkit/issues)\n\n\u003c/div\u003e\n\n## Table of Contents\n\n- [📖 Overview](#-overview)\n- [🚀 Quickstart](#-quickstart)\n  - [Node.js](#nodejs)\n  - [Python](#python)\n- [🗂 Repository Structure](#-repository-structure)\n- [🤝 Contributing](#-contributing)\n- [📜 Documentation](#-documentation)\n- [🌙 Nightly Builds](#-nightly-builds)\n- [🚨 Security and bug reports](#-security-and-bug-reports)\n- [📧 Contact](#-contact)\n- [🔗 Supported Wallets, Protocols, and Frameworks](#-supported-wallets-protocols-and-frameworks)\n- [📝 License](#-license)\n- [🔒 Legal and Privacy](#-legal-and-privacy)\n\n## 📖 Overview\n\nAgentKit is [Coinbase Developer Platform's](https://docs.cdp.coinbase.com) toolkit for giving AI agents a crypto wallet and onchain interactions. 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. With AgentKit, you can enable fee-free stablecoin payments and monetize your AI agents seamlessly. AgentKit is actively being built out, and [welcomes community contributions!](#-contributing)\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://youtu.be/hw-PuogqLR0\"\u003e\n    \u003cimg src=\"https://img.youtube.com/vi/hw-PuogqLR0/maxresdefault.jpg\" alt=\"Video Title\" style=\"max-width: 600px;\"\u003e\n  \u003cp align=\"center\"\u003e\n    Watch our welcome guide above to understand what AgentKit is, learn how to navigate this repository, and get started building your first onchain AI agent.\n  \u003c/p\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n## 🚀 Quickstart\n\n### Node.js\n\n_Prerequisites_:\n\n- [Node.js 18+](https://nodejs.org/en/download/)\n- [CDP Secret API Key](https://docs.cdp.coinbase.com/get-started/docs/cdp-api-keys#creating-secret-api-keys)\n- [OpenAI API Key](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key)\n\n1. Get your agent running:\n\n```bash\n# Create a new fullstack agent project\nnpm create onchain-agent@latest\n\n# Navigate to your project directory\ncd onchain-agent\n\n# At this point, fill in your CDP API key name, OpenAI API key, and any other environment variables in the .env.local file.\n# Then, rename the .env.local file to .env\nmv .env.local .env\n\n# Install dependencies\nnpm install\n\n# Run the development server\nnpm run dev\n```\n\n2. Visit `http://localhost:3000` in your browser and start telling your Agent to do things onchain!\n\n```bash\nUser: Fund my wallet with some testnet ETH.\nAgent: Your wallet has been successfully funded with testnet ETH. You can view the transaction [here](https://sepolia.basescan.org/tx/0x03e82934cd04be5b725927729b517c606f6f744611f0f36e834f21ad742ad7ca)\n```\n\n### Python\n\n_Prerequisites_:\n\n- [Python 3.10+](https://www.python.org/downloads/)\n- [Poetry](https://python-poetry.org/docs/)\n- [CDP Secret API Key](https://docs.cdp.coinbase.com/get-started/docs/cdp-api-keys#creating-secret-api-keys)\n- [OpenAI API Key](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key)\n\n1. Get your agent running:\n\n```bash\n# Create a new agent chatbot\npipx run create-onchain-agent\n\n# Navigate to your project directory\ncd onchain-agent\n\n# At this point, fill in your CDP API key name, OpenAI API key, and any other environment variables in the .env.local file.\n# Then, rename the .env.local file to .env\nmv .env.local .env\n\n# Install dependencies\npoetry install\n\n# Run the chatbot\npoetry run python chatbot.py\n```\n\n2. Select \"1. chat mode\" and start telling your Agent to do things onchain!\n\n```bash\nPrompt: Fund my wallet with some testnet ETH.\n-------------------\nWallet: ccaf1dbf-3a90-4e52-ad34-89a07aad9e8b on network: base-sepolia with default address: 0xD9b990c7b0079c1c3733D2918Ee50b68f29FCFD5\n-------------------\n\n-------------------\nReceived eth from the faucet. Transaction: https://sepolia.basescan.org/tx/0x03e82934cd04be5b725927729b517c606f6f744611f0f36e834f21ad742ad7ca\n-------------------\nYour wallet has been successfully funded with testnet ETH. You can view the transaction [here](https://sepolia.basescan.org/tx/0x03e82934cd04be5b725927729b517c606f6f744611f0f36e834f21ad742ad7ca).\n-------------------\n```\n\n## 🗂 Repository Structure\n\nAgentKit is organized as two monorepos, one for Python and one for Typescript, each containing multiple packages.\n\n```\nagentkit/\n├── typescript/\n│   ├── agentkit/\n│   │   └── src/\n│   │       ├── action-providers/ # find 50+ actions in here\n│   │       └── wallet-providers/\n│   │           ├── cdp/\n│   │           ├── privy/\n│   │           └── viem/\n│   │       └── scripts/generate-action-provider/ # use this to create new actions\n│   ├── create-onchain-agent/\n│   ├── framework-extensions/\n│   │   ├── langchain/\n│   │   ├── vercel-ai-sdk/\n│   │   └── model-context-protocol/\n│   └── examples/\n│       ├── langchain-cdp-chatbot/\n│       ├── langchain-cdp-v2-chatbot/\n│       ├── langchain-farcaster-chatbot/\n│       ├── langchain-privy-chatbot/\n│       ├── langchain-solana-chatbot/\n│       ├── langchain-twitter-chatbot/\n│       ├── langchain-xmtp-chatbot/\n│       ├── model-context-protocol-smart-wallet-server/\n│       └── vercel-ai-sdk-smart-wallet-chatbot/\n├── python/\n│   ├── coinbase-agentkit/\n│   │   └── coinbase_agentkit/\n│   │       ├── action_providers/  # find 30+ actions in here\n│   │       └── wallet_providers/\n│   │           ├── cdp/\n│   │           ├── privy/\n│   │           └── viem/\n│   ├── create-onchain-agent/\n│   ├── framework-extensions/\n│   │   ├── langchain/\n│   │   └── openai-agents-sdk/\n│   └── examples/\n│       ├── langchain-cdp-chatbot/\n│       ├── langchain-eth-account-chatbot/\n│       ├── langchain-smart-wallet-chatbot/\n│       ├── langchain-twitter-chatbot/\n│       └── openai-agents-cdp-voice-chatbot/\n│       └── openai-agents-sdk-smart-wallet-chatbot/\n```\n\n## 🤝 Contributing\n\n**AgentKit is actively looking for community contributions!**\n\n- To see a list of actions and frameworks we'd love to see open-source contributions for, see [WISHLIST.md](./WISHLIST.md).\n- To understand the process for contributing to AgentKit, see [CONTRIBUTING.md](./CONTRIBUTING.md).\n\n## 📜 Documentation\n\n- [AgentKit Documentation](https://docs.cdp.coinbase.com/agentkit/docs/welcome)\n- Python API References\n  - [AgentKit](https://coinbase.github.io/agentkit/coinbase-agentkit/python/index.html)\n  - [AgentKit Langchain Extension](https://coinbase.github.io/agentkit/coinbase-agentkit-langchain/python/index.html)\n- Node.js API References\n  - [AgentKit](https://coinbase.github.io/agentkit/agentkit/typescript/index.html)\n  - [AgentKit Langchain Extension](https://coinbase.github.io/agentkit/agentkit-langchain/typescript/index.html)\n  - [AgentKit Vercel AI SDK Extension](https://coinbase.github.io/agentkit/agentkit-vercel-ai-sdk/typescript/index.html)\n  - [AgentKit Model Context Protocol Extension](https://coinbase.github.io/agentkit/agentkit-model-context-protocol/typescript/index.html)\n\n## 🌙 Nightly Builds\n\nTo access the bleeding edge version of AgentKit, you can install the nightly build for your language. This is a build of the latest code in the `main` branch, and is updated nightly.\n\n### Typescript\n\nYou can install the latest nightly build with the following command:\n\n```bash\nnpm install @coinbase/agentkit@nightly @coinbase/agentkit-langchain@nightly\n```\n\nIf you're using an AI framework other than Langchain, make sure to install the corresponding package instead of `@coinbase/agentkit-langchain`.\n\nTo install a specific version of the nightly build, you can specify the exact version. For example, if you want to install the nightly build from February 20th, 2025, you can run the following:\n\n```bash\nnpm install @coinbase/agentkit@0.2.3-nightly.20250220.0 @coinbase/agentkit-langchain@0.2.3-nightly.20250220.0\n```\n\n### Python\n\nYou can install the latest nightly build with the following command:\n\n```bash\npip install --pre coinbase-agentkit coinbase-agentkit-langchain\n\n# or, using poetry\npoetry add coinbase-agentkit coinbase-agentkit-langchain --allow-prereleases\n```\n\nIf you're using an AI framework other than Langchain, make sure to install the corresponding package instead of `coinbase-agentkit-langchain`.\n\nTo install a specific version of the nightly build, you can specify the exact version. For example, if you want to install the nightly build from February 20th, 2025, you can run the following:\n\n```bash\npip install coinbase-agentkit==0.1.2.dev20250220 coinbase-agentkit-langchain==0.1.1.dev20250220\n\n# or, using poetry\npoetry add coinbase-agentkit==0.1.2.dev20250220 coinbase-agentkit-langchain==0.1.1.dev20250220 --allow-prereleases\n```\n\n## 🚨 Security and Bug Reports\n\nThe AgentKit team takes security seriously.\nSee [SECURITY.md](SECURITY.md) for more information.\n\n## 📧 Contact\n\nFor feature requests, feedback, or questions, please reach out to us via the\n[Coinbase Developer Platform Discord](https://discord.com/channels/1220414409550336183/1304126107876069376).\n\n## 🔗 Supported Wallets, Protocols, and Frameworks\n\nAgentKit is proud to have support for the following protocols, frameworks, wallets and networks. For detailed documentation on supported providers, see:\n\n- [Action Providers (TypeScript)](https://github.com/coinbase/agentkit/blob/main/typescript/agentkit/src/action-providers)\n- [Action Providers (Python)](https://github.com/coinbase/agentkit/blob/main/python/coinbase-agentkit/coinbase_agentkit/action_providers)\n- [Wallet Providers (TypeScript)](https://github.com/coinbase/agentkit/blob/main/typescript/agentkit/src/wallet-providers)\n- [Wallet Providers (Python)](https://github.com/coinbase/agentkit/blob/main/python/coinbase-agentkit/coinbase_agentkit/wallet_providers)\n\n### Wallets\n\n\u003ca href=\"https://coinbase.com\" target=\"_blank\"\u003e\u003cimg src=\"./assets/wallets/coinbase.svg\" width=\"100\" height=\"auto\" alt=\"Coinbase\"\u003e\u003c/a\u003e\n\u003ca href=\"https://privy.io\" target=\"_blank\"\u003e\u003cimg src=\"./assets/wallets/privy.svg\" width=\"100\" height=\"auto\" alt=\"Privy\"\u003e\u003c/a\u003e\n\u003ca href=\"https://viem.sh\" target=\"_blank\"\u003e\u003cimg src=\"./assets/wallets/viem.svg\" width=\"100\" height=\"auto\" alt=\"ViEM\"\u003e\u003c/a\u003e\n\n### Protocols\n\n\u003ca href=\"https://www.alchemy.com/\" target=\"_blank\"\u003e\u003cimg src=\"./assets/protocols/alchemy.svg\" width=\"100\" height=\"auto\" alt=\"Alchemy\"\u003e\u003c/a\u003e\n\u003ca href=\"https://compound.finance/\" target=\"_blank\"\u003e\u003cimg src=\"./assets/protocols/compound.svg\" width=\"100\" height=\"auto\" alt=\"Compound\"\u003e\u003c/a\u003e\n\u003ca href=\"https://defillama.com/\" target=\"_blank\"\u003e\u003cimg src=\"./assets/protocols/defillama.svg\" width=\"100\" height=\"auto\" alt=\"DefiLlama\"\u003e\u003c/a\u003e\n\u003ca href=\"https://farcaster.xyz\" target=\"_blank\"\u003e\u003cimg src=\"./assets/protocols/farcaster.svg\" width=\"100\" height=\"auto\" alt=\"Farcaster\"\u003e\u003c/a\u003e\n\u003ca href=\"https://jup.ag\" target=\"_blank\"\u003e\u003cimg src=\"./assets/protocols/jupiter.svg\" width=\"100\" height=\"auto\" alt=\"Jupiter\"\u003e\u003c/a\u003e\n\u003ca href=\"https://hyperbolic.xyz/\" target=\"_blank\"\u003e\u003cimg src=\"./assets/protocols/hyperbolic.svg\" width=\"100\" height=\"auto\" alt=\"Hyperbolic\"\u003e\u003c/a\u003e\n\u003ca href=\"https://www.moonwell.fi\" target=\"_blank\"\u003e\u003cimg src=\"./assets/protocols/moonwell.svg\" width=\"100\" height=\"auto\" alt=\"Moonwell\"\u003e\u003c/a\u003e\n\u003ca href=\"https://app.morpho.org\" target=\"_blank\"\u003e\u003cimg src=\"./assets/protocols/morpho.svg\" width=\"100\" height=\"auto\" alt=\"Morpho\"\u003e\u003c/a\u003e\n\u003ca href=\"https://pyth.network\" target=\"_blank\"\u003e\u003cimg src=\"./assets/protocols/pyth.svg\" width=\"100\" height=\"auto\" alt=\"Pyth\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opensea.io\" target=\"_blank\"\u003e\u003cimg src=\"./assets/protocols/opensea.svg\" width=\"100\" height=\"auto\" alt=\"OpenSea\"\u003e\u003c/a\u003e\n\u003ca href=\"https://superfluid.org\" target=\"_blank\"\u003e\u003cimg src=\"./assets/protocols/superfluid.svg\" width=\"100\" height=\"auto\" alt=\"Superfluid\"\u003e\u003c/a\u003e\n\u003ca href=\"https://zora.co\" target=\"_blank\"\u003e\u003cimg src=\"./assets/protocols/zora.svg\" width=\"100\" height=\"auto\" alt=\"Zora\"\u003e\u003c/a\u003e\n\u003ca href=\"https://allora.network\" target=\"_blank\"\u003e\u003cimg src=\"./assets/protocols/allora.svg\" width=\"100\" height=\"auto\" alt=\"Allora\"\u003e\u003c/a\u003e\n\n### Frameworks\n\n\u003ca href=\"https://langchain.com\" target=\"_blank\"\u003e\u003cimg src=\"./assets/frameworks/langchain.svg\" width=\"100\" height=\"auto\" alt=\"Langchain\"\u003e\u003c/a\u003e\n\u003ca href=\"https://www.elizaos.ai\" target=\"_blank\"\u003e\u003cimg src=\"./assets/frameworks/eliza.svg\" width=\"100\" height=\"auto\" alt=\"Eliza\"\u003e\u003c/a\u003e\n\u003ca href=\"https://sdk.vercel.ai\" target=\"_blank\"\u003e\u003cimg src=\"./assets/frameworks/vercel.svg\" width=\"100\" height=\"auto\" alt=\"Vercel AI SDK\"\u003e\u003c/a\u003e\n\u003ca href=\"https://modelcontextprotocol.io/\" target=\"_blank\"\u003e\u003cimg src=\"./assets/frameworks/modelcontextprotocol.svg\" width=\"100\" height=\"auto\" alt=\"Model Context Protocol\"\u003e\u003c/a\u003e\n\u003ca href=\"https://platform.openai.com/docs/guides/agents-sdk\" target=\"_blank\"\u003e\u003cimg src=\"./assets/frameworks/openai.svg\" width=\"100\" height=\"auto\" alt=\"Agents SDK\"\u003e\u003c/a\u003e\n\n### Networks\n\n\u003ca href=\"https://base.org\" target=\"_blank\"\u003e\u003cimg src=\"./assets/networks/base.svg\" width=\"100\" height=\"auto\" alt=\"Base\"\u003e\u003c/a\u003e\n\u003ca href=\"https://ethereum.org\" target=\"_blank\"\u003e\u003cimg src=\"./assets/networks/ethereum.svg\" width=\"100\" height=\"auto\" alt=\"Ethereum\"\u003e\u003c/a\u003e\n\u003ca href=\"https://solana.com\" target=\"_blank\"\u003e\u003cimg src=\"./assets/networks/solana.svg\" width=\"100\" height=\"auto\" alt=\"Solana\"\u003e\u003c/a\u003e\n\n\nNote: We support all EVM and SVM networks, with deep protocol support for the above networks. Please don't hesitate to make contributions to add more support for your preferred networks.\n\n## 📝 License\n\nAgentKit is licensed under the [Apache-2.0](LICENSE.md) license.\n\n## 🔒 Legal and Privacy\n\nThe 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. You are not permitted to use the proceeds of loans or credit to purchase digital assets on or through coinbase.com, Coinbase's APIs, the Coinbase mobile application, or any other Coinbase website or product, including AgentKit. 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](https://www.coinbase.com/legal/developer-platform/terms-of-service) (except to the extent it conflicts with the Apache-2.0 license).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoinbase%2Fagentkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoinbase%2Fagentkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoinbase%2Fagentkit/lists"}