Skip to content

coinbase/agentkit

Repository files navigation

CDP Agentkit

PyPI - Downloads npm downloads GitHub star chart Open Issues

The Coinbase Developer Platform (CDP) AgentKit simplifies bringing your AI Agents onchain. Every AI Agent deserves a crypto wallet!

Key Features

  • Framework-agnostic: Common AI Agent primitives that can be used with any AI framework.

  • Python and Node.js Support

  • LangChain integration: Seamless integration with LangChain for easy agentic workflows. More frameworks coming soon!

  • Twitter integration: Seamless integration of Langchain with Twitter for easy agentic workflows.

  • Support for various on-chain actions:

    • Faucet for testnet funds
    • Getting wallet details and balances
    • Transferring and trading tokens
    • Registering Basenames
    • Deploying ERC-20 tokens
    • Deploying ERC-721 tokens and minting NFTs
    • Buying and selling Zora Wow ERC-20 coins
    • Deploying tokens on Zora's Wow Launcher (Bonding Curve)
    • Wrapping ETH to WETH on Base

    Or add your own!

Examples

Check out cdp-langchain/examples for inspiration and help getting started!

  • Chatbot Python: Simple example of a Python Chatbot that can perform complex onchain interactions, using OpenAI.
  • Chatbot Typescript: Simple example of a Node.js Chatbot that can perform complex onchain interactions, using OpenAI.

Repository Structure

CDP Agentkit is organized as a monorepo that contains multiple packages.

./
├── cdp-agentkit-core/
│   ├── python/
│   └── typescript/
├── cdp-langchain/
│   ├── python/
│   ├── typescript/
│   └── examples/
└── twitter-langchain/
    ├── python/
    ├── typescript/
    └── examples/

cdp-agentkit-core

Core primitives and framework-agnostic tools that are meant to be composable and used via CDP Agentkit framework extensions (ie, cdp-langchain). See CDP Agentkit Core to get started!

cdp-langchain

Langchain Toolkit extension of CDP Agentkit. Enables agentic workflows to interact with onchain actions. See CDP Langchain to get started!

twitter-langchain

Langchain Toolkit extension for Twitter. Enables agentic workflows to interact with Twitter, such as to post a tweet. See Twitter Langchain to get started!

Contributing

CDP Agentkit welcomes community contributions. See CONTRIBUTING.md for more information.

Documentation

Security and bug reports

The CDP AgentKit team takes security seriously. See SECURITY.md for more information.

License

Apache-2.0