{"id":30503743,"url":"https://github.com/gpsxtreme/coinbase-agent","last_synced_at":"2025-08-25T13:42:19.773Z","repository":{"id":310823512,"uuid":"1041171991","full_name":"GPSxtreme/coinbase-agent","owner":"GPSxtreme","description":"ai agent 🤖","archived":false,"fork":false,"pushed_at":"2025-08-20T11:58:39.000Z","size":153,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-20T13:30:30.160Z","etag":null,"topics":["adk-ts","agentkit"],"latest_commit_sha":null,"homepage":"https://adk.iqai.com","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/GPSxtreme.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,"zenodo":null}},"created_at":"2025-08-20T05:04:59.000Z","updated_at":"2025-08-20T12:13:03.000Z","dependencies_parsed_at":"2025-08-20T13:31:36.397Z","dependency_job_id":"0b36979e-16f7-45ce-a079-5a4347006cb1","html_url":"https://github.com/GPSxtreme/coinbase-agent","commit_stats":null,"previous_names":["gpsxtreme/coinbase-agent"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/GPSxtreme/coinbase-agent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GPSxtreme%2Fcoinbase-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GPSxtreme%2Fcoinbase-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GPSxtreme%2Fcoinbase-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GPSxtreme%2Fcoinbase-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GPSxtreme","download_url":"https://codeload.github.com/GPSxtreme/coinbase-agent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GPSxtreme%2Fcoinbase-agent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272077660,"owners_count":24869288,"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-08-25T02:00:12.092Z","response_time":1107,"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":["adk-ts","agentkit"],"created_at":"2025-08-25T13:42:18.542Z","updated_at":"2025-08-25T13:42:19.694Z","avatar_url":"https://github.com/GPSxtreme.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Coinbase Agent\n\nA tiny proof‑of‑concept that wires Coinbase AgentKit into the IQAI ADK (adk-ts) using the Model Context Protocol (MCP). AgentKit providers are exposed as MCP SDK tools, then adapted into ADK tools so your ADK agent can call on-chain actions through Coinbase.\n\n## How it works\n\n- **AgentKit → MCP**: AgentKit's MCP package exposes its action providers as MCP tools plus a handler.\n- **MCP → ADK**: Those MCP tools are converted to ADK `BaseTool`s and attached to an `AgentBuilder`.\n- **Model**: Uses OpenRouter if `OPEN_ROUTER_KEY` is set; otherwise falls back to the model string configured in `LLM_MODEL`.\n\n### Quick start\n\n1. Install\n\n```bash\npnpm install\n```\n\n2. Configure environment\nCreate a `.env` with the essentials:\n\n```bash\nDEBUG=false\nOPEN_ROUTER_KEY=your_openrouter_key\nLLM_MODEL=gpt-4.1-mini\n\n# Required for AgentKit / CDP\n# Get these 2 from: https://portal.cdp.coinbase.com/projects/api-keys\nCDP_API_KEY_ID=...\nCDP_API_KEY_SECRET=...\n\nWALLET_PRIVATE_KEY=0x...\n# get it from: https://zerion.io/api\nZERION_API_KEY=...\n```\n\n3. Run\n\nRun the predefined set of agent prompts `src/index.ts`\n\n```bash\npnpm dev\n```\n\nHave a full on conversation using the adk cli (requires [adk-cli](https://adk.iqai.com/docs/framework/get-started/cli) package installed )\n\n```bash\n# Spins up chat interface on cli\nadk run\n# (or)\n# Opens up web interface to chat with the agent\nadk web\n```\n\n### Included tools (via AgentKit)\n\n- `defillamaActionProvider` (Querying defi llama platform for coin data \u0026 details)\n- `pythActionProvider` (Retrieves price data from Pyth price feed)\n- `walletActionProvider` (getting wallet details \u0026 enables native token transfer)\n- `erc20ActionProvider` (enables transfer \u0026 get balance of erc20 token)\n- `x402ActionProvider` (enables http requests)\n- `zerionActionProvider` (provides portfolio overview \u0026 fungible token positions, requires API key)\n\nThese are automatically adapted into ADK tools; you can add or remove providers in `src/agents/coinbase/tools/agentkit.ts`. Check for more [providers](https://github.com/coinbase/agentkit/blob/main/typescript/agentkit/README.md#action-providers) on the AgentKit repo.\n\n### Project layout\n\n```bash\nsrc/\n  env.ts                      # env + model selection (OpenRouter optional)\n  index.ts                    # simple demo prompt\n  agents/coinbase/\n    agent.ts                  # ADK agent wiring\n    tools/\n      agentkit.ts            # AgentKit + providers setup \u0026 MCP → ADK tool adapter\n```\n\n\n### References\n\n- [IQAI ADK (adk-ts)](https://adk.iqai.com)\n- [Coinbase AgentKit](https://docs.cdp.coinbase.com/agent-kit)\n\n### License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpsxtreme%2Fcoinbase-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgpsxtreme%2Fcoinbase-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpsxtreme%2Fcoinbase-agent/lists"}