{"id":31580041,"url":"https://github.com/lit-protocol/cb-agentkit","last_synced_at":"2025-10-05T21:05:45.244Z","repository":{"id":278268349,"uuid":"935061541","full_name":"LIT-Protocol/cb-agentkit","owner":"LIT-Protocol","description":"Coinbase agent kit integration with Lit and Lit Agent Wallet","archived":false,"fork":false,"pushed_at":"2025-02-18T21:50:06.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-18T22:22:50.970Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LIT-Protocol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-18T20:56:22.000Z","updated_at":"2025-02-18T21:50:10.000Z","dependencies_parsed_at":"2025-02-18T22:22:57.156Z","dependency_job_id":"5cc59307-0bba-47ef-b9cb-4c83bb721682","html_url":"https://github.com/LIT-Protocol/cb-agentkit","commit_stats":null,"previous_names":["lit-protocol/cb-agentkit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LIT-Protocol/cb-agentkit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIT-Protocol%2Fcb-agentkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIT-Protocol%2Fcb-agentkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIT-Protocol%2Fcb-agentkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIT-Protocol%2Fcb-agentkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LIT-Protocol","download_url":"https://codeload.github.com/LIT-Protocol/cb-agentkit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIT-Protocol%2Fcb-agentkit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278518898,"owners_count":26000177,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10-05T21:05:42.918Z","updated_at":"2025-10-05T21:05:45.239Z","avatar_url":"https://github.com/LIT-Protocol.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cb-agentkit\n\n**Coinbase Agent Kit Integration with Lit Protocol and Lit Agent Wallet**\n\nThis repository contains the integration of Coinbase's agent kit with the Lit Protocol and Lit Agent Wallet. It provides tools and examples for building chatbots that interact with EVM wallets, execute Lit Actions, and perform ERC20 token transfers using the Lit Agent Wallet.\n\nThe project includes implementations in both TypeScript and Python, with examples for each language.\n\n---\n\n## Table of Contents\n\n1. [Project Overview](#project-overview)\n2. [Repository Structure](#repository-structure)\n3. [Getting Started](#getting-started)\n   - [Prerequisites](#prerequisites)\n   - [Installation](#installation)\n4. [Usage](#usage)\n   - [TypeScript](#typescript)\n   - [Python](#python)\n5. [Important Files](#important-files)\n6. [Contributing](#contributing)\n7. [License](#license)\n\n---\n\n## Project Overview\n\nThe `cb-agentkit` project demonstrates how to integrate Coinbase's agent kit with the Lit Protocol and Lit Agent Wallet. It includes:\n\n- A chatbot implementation that interacts with EVM wallets.\n- Tools for executing Lit Actions (e.g., a \"Hello World\" example).\n- A Lit Agent Wallet implementation for performing ERC20 token transfers.\n\nThe project is designed to be modular and extensible, allowing developers to build on top of the provided examples.\n\n---\n\n## Repository Structure\n```\nThe repository is organized as follows:\ncb-agentkit/\n├── typescript/\n│ ├── examples/\n│ │ └── langchain-cdp-chatbot/\n│ │ ├── chatbot.ts # Chatbot implementation with EVM wallet integration\n│ │ ├── litActionProvider.ts # Basic Lit Action tool (Hello World)\n│ │ └── litAgentWalletTransfer.ts # ERC20 transfer using Lit Agent Wallet\n│ └── ... # Other TypeScript files and configurations\n├── python/\n│ ├── examples/\n│ │ └── langchain-cdp-chatbot/\n│ │ ├── chatbot.py # Chatbot implementation with EVM wallet integration\n│ │ ├── litActionProvider.py # Basic Lit Action tool (Hello World)\n│ │ └── litAgentWalletProvider.py # ERC20 transfer using Lit Agent Wallet\n│ └── ... # Other Python files and configurations\n└── README.md # This file\n```\n\n---\n\n## Getting Started\n\n### Prerequisites\n\nBefore running the examples, ensure you have the following installed:\n\n- **Node.js** (for TypeScript) or **Python** (for Python examples)\n- **Yarn** or **npm** (for TypeScript)\n- **pip** (for Python)\n- A basic understanding of EVM wallets, Lit Protocol, and ERC20 tokens.\n\n### Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/your-username/cb-agentkit.git\n   cd cb-agentkit\nInstall dependencies for the desired language:\n\nTypeScript:\n\n```bash\nCopy\ncd typescript/examples/langchain-cdp-chatbot\nyarn install\n```\nPython:\n```bash\nCopy\ncd python/examples/langchain-cdp-chatbot\npip install -r requirements.txt\n```\nUsage\nTypeScript\nNavigate to the TypeScript examples folder:\n\n```bash\nCopy\ncd typescript/examples/langchain-cdp-chatbot\n```\nRun the chatbot:\n\n```bash\nCopy\nyarn start\n```\nExplore the chatbot.ts, litActionProvider.ts, and litAgentWalletTransfer.ts files to understand how the EVM wallet, Lit Actions, and ERC20 transfers are implemented.\n\nPython\nNavigate to the Python examples folder:\n\n```bash\nCopy\ncd python/examples/langchain-cdp-chatbot\n```\nRun the chatbot:\n\n```bash\nCopy\npython chatbot.py\n```\nExplore the chatbot.py, litActionProvider.py, and litAgentWalletProvider.py files to understand how the EVM wallet, Lit Actions, and ERC20 transfers are implemented.\n\nImportant Files\nTypeScript:\n\nchatbot.ts: Implements the chatbot with EVM wallet integration.\n\nlitActionProvider.ts: Provides a basic \"Hello World\" Lit Action tool.\n\nlitAgentWalletTransfer.ts: Implements an ERC20 transfer using the Lit Agent Wallet.\n\nPython:\n\nchatbot.py: Implements the chatbot with EVM wallet integration.\n\nlitActionProvider.py: Provides a basic \"Hello World\" Lit Action tool.\n\nlitAgentWalletProvider.py: Implements an ERC20 transfer using the Lit Agent Wallet.\n\nContributing\nWe welcome contributions! If you'd like to contribute to the project, please follow these steps:\n\nFork the repository.\n\nCreate a new branch for your feature or bugfix.\n\nCommit your changes and push to your fork.\n\nSubmit a pull request with a detailed description of your changes.\n\nLicense\nThis project is licensed under the MIT License. Feel free to use, modify, and distribute it as needed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flit-protocol%2Fcb-agentkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flit-protocol%2Fcb-agentkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flit-protocol%2Fcb-agentkit/lists"}