agentkit  by coinbase

SDK for AI agents to interact with crypto wallets and onchain

Created 10 months ago
843 stars

Top 42.3% on SourcePulse

GitHubView on GitHub
Project Summary

AgentKit is a toolkit from Coinbase Developer Platform that empowers AI agents with cryptocurrency wallet functionality and on-chain interaction capabilities. It is designed for developers building AI applications that require blockchain integration, enabling features like fee-free stablecoin payments and AI agent monetization.

How It Works

AgentKit provides a framework-agnostic and wallet-agnostic approach, allowing integration with various AI frameworks and cryptocurrency wallets. It abstracts complex blockchain interactions into simple actions that AI agents can execute, facilitating seamless on-chain operations. The toolkit includes pre-built action providers and wallet providers, with mechanisms to generate new ones, supporting a wide range of protocols, frameworks, and networks.

Quick Start & Requirements

  • Node.js: npm create onchain-agent@latest, npm install, npm run dev. Requires Node.js 18+, CDP Secret API Key, and OpenAI API Key.
  • Python: pipx run create-onchain-agent, poetry install, poetry run python chatbot.py. Requires Python 3.10+, Poetry, CDP Secret API Key, and OpenAI API Key.
  • Documentation: AgentKit Documentation

Highlighted Details

  • Supports over 50 action providers and multiple wallet providers (CDP, Privy, Viem) in TypeScript, and over 30 action providers in Python.
  • Offers framework extensions for Langchain, Vercel AI SDK, and Model Context Protocol.
  • Includes numerous examples demonstrating integrations with various AI frameworks and blockchain protocols.
  • Provides nightly builds for the latest features and updates.

Maintenance & Community

Licensing & Compatibility

  • Licensed under the Apache-2.0 license.
  • The software is experimental and provided AS-IS. Use is contingent on agreeing to CDP Terms of Service.

Limitations & Caveats

The software is experimental and may produce inaccurate or undesirable output; users are responsible for evaluating its use. It is not intended to provide financial, legal, or tax advice, and acts performed by agents are not Coinbase acts. Use of proceeds from loans or credit to purchase digital assets via Coinbase products, including AgentKit, is prohibited.

Health Check
Last Commit

1 day ago

Responsiveness

1 day

Pull Requests (30d)
27
Issues (30d)
3
Star History
40 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.