# AgentKit Strands Agents Extension
Strands Agents extension of AgentKit. Enables agentic workflows to interact with onchain actions.
## Setup
### Prerequisites
- [CDP API Key](https://portal.cdp.coinbase.com/access/api)
- Amazon Bedrock Models
- [Configure AWS Credentials](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html) OR use [Amazon Bedrock API keys](https://docs.aws.amazon.com/bedrock/latest/userguide/getting-started-api-keys.html) alternatively for Amazon Bedrock model access with Strands Agents.
- [Set up Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/getting-started.html)
> **_NOTE:_** [Strands Agents](https://strandsagents.com/latest/) is model provider agnostic
### Installation
```bash
pip install coinbase-agentkit coinbase-agentkit-strands-agents
```
### Environment Setup
Set the following environment variables:
```bash
export CDP_API_KEY_ID=<your-cdp-api-key-id>
export CDP_API_KEY_SECRET=<your-cdp-api-key-secret>
export CDP_WALLET_SECRET=<your-cdp-wallet-secret>
export AWS_ACCESS_KEY_ID=<your-aws-access-key-id>
export AWS_SECRET_ACCESS_KEY=<your-aws-secret-access-key>
export AWS_REGION=<your-aws-region>
```
⚠ **Note**: If using Bedrock API keys instead of AWS credentials, set `AWS_BEARER_TOKEN_BEDROCK` instead of `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` as environment variable for Bedrock model access. Also make sure the `AWS_REGION` aligns with the AWS region the Bedrock access key was created in.
## Usage
### Basic Setup
```python
from coinbase_agentkit import AgentKit
from coinbase_agentkit_strands_agents import get_strands_tools
from strands.models import BedrockModel
from strands import Agent
agentKit = AgentKit()
tools = get_strands_tools(agentKit)
llm = BedrockModel(
model_id="us.amazon.nova-pro-v1:0",
region_name='us-east-1' ## set to the appropiate region with model access
)
agent = Agent(
model=llm,
tools=tools,
)
```
For AgentKit configuration options, see the [Coinbase Agentkit README](https://github.com/coinbase/agentkit/blob/master/python/coinbase-agentkit/README.md).
For Strands Agents configuration options, see the [Strands Agents Documentation](https://strandsagents.com/latest/).
For a full example, see the [chatbot example](https://github.com/coinbase/agentkit/blob/main/python/examples/strands-agents-cdp-server-chatbot/chatbot.py).
## Contributing
See [CONTRIBUTING.md](https://github.com/coinbase/agentkit/blob/master/CONTRIBUTING.md) for detailed setup instructions and contribution guidelines.
Raw data
{
"_id": null,
"home_page": null,
"name": "coinbase-agentkit-strands-agents",
"maintainer": null,
"docs_url": null,
"requires_python": "~=3.10",
"maintainer_email": null,
"keywords": "agent, agentkit, ai, cdp, coinbase, crypto, sdk, strands, strands agents",
"author": null,
"author_email": "Uchenna Egbe <ucheegbe@amazon.com>",
"download_url": "https://files.pythonhosted.org/packages/f4/d3/11e9f88d15898711e70fef78d9169922b83afa2b1512fb91009b869df82d/coinbase_agentkit_strands_agents-0.1.0.tar.gz",
"platform": null,
"description": "# AgentKit Strands Agents Extension\n\nStrands Agents extension of AgentKit. Enables agentic workflows to interact with onchain actions.\n\n## Setup\n\n### Prerequisites\n\n- [CDP API Key](https://portal.cdp.coinbase.com/access/api)\n- Amazon Bedrock Models\n - [Configure AWS Credentials](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html) OR use [Amazon Bedrock API keys](https://docs.aws.amazon.com/bedrock/latest/userguide/getting-started-api-keys.html) alternatively for Amazon Bedrock model access with Strands Agents.\n - [Set up Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/getting-started.html)\n > **_NOTE:_** [Strands Agents](https://strandsagents.com/latest/) is model provider agnostic\n\n### Installation\n\n```bash\npip install coinbase-agentkit coinbase-agentkit-strands-agents\n```\n\n### Environment Setup\n\nSet the following environment variables:\n\n```bash\nexport CDP_API_KEY_ID=<your-cdp-api-key-id>\nexport CDP_API_KEY_SECRET=<your-cdp-api-key-secret>\nexport CDP_WALLET_SECRET=<your-cdp-wallet-secret>\nexport AWS_ACCESS_KEY_ID=<your-aws-access-key-id>\nexport AWS_SECRET_ACCESS_KEY=<your-aws-secret-access-key>\nexport AWS_REGION=<your-aws-region>\n```\n\u26a0 **Note**: If using Bedrock API keys instead of AWS credentials, set `AWS_BEARER_TOKEN_BEDROCK` instead of `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` as environment variable for Bedrock model access. Also make sure the `AWS_REGION` aligns with the AWS region the Bedrock access key was created in.\n\n## Usage\n\n### Basic Setup\n\n```python\nfrom coinbase_agentkit import AgentKit\nfrom coinbase_agentkit_strands_agents import get_strands_tools\nfrom strands.models import BedrockModel\nfrom strands import Agent\n\nagentKit = AgentKit()\n\ntools = get_strands_tools(agentKit)\n\nllm = BedrockModel(\n model_id=\"us.amazon.nova-pro-v1:0\",\n region_name='us-east-1' ## set to the appropiate region with model access\n)\n\nagent = Agent(\n model=llm,\n tools=tools,\n)\n```\n\nFor AgentKit configuration options, see the [Coinbase Agentkit README](https://github.com/coinbase/agentkit/blob/master/python/coinbase-agentkit/README.md).\n\nFor Strands Agents configuration options, see the [Strands Agents Documentation](https://strandsagents.com/latest/).\n\nFor a full example, see the [chatbot example](https://github.com/coinbase/agentkit/blob/main/python/examples/strands-agents-cdp-server-chatbot/chatbot.py).\n\n## Contributing\n\nSee [CONTRIBUTING.md](https://github.com/coinbase/agentkit/blob/master/CONTRIBUTING.md) for detailed setup instructions and contribution guidelines.",
"bugtrack_url": null,
"license": null,
"summary": "Coinbase AgentKit Strands Agents extension",
"version": "0.1.0",
"project_urls": null,
"split_keywords": [
"agent",
" agentkit",
" ai",
" cdp",
" coinbase",
" crypto",
" sdk",
" strands",
" strands agents"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "33c4abca6a081d8b3f217885739f6a71c8da19a05d0ce8680777b9abc39e9b7a",
"md5": "4497c176677617d08cfb1987f57108a2",
"sha256": "925192b4e803eb430225de2608d5bc3be70e239b9e76d84ac817ab865d5f4c06"
},
"downloads": -1,
"filename": "coinbase_agentkit_strands_agents-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4497c176677617d08cfb1987f57108a2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "~=3.10",
"size": 5027,
"upload_time": "2025-08-01T22:04:36",
"upload_time_iso_8601": "2025-08-01T22:04:36.200458Z",
"url": "https://files.pythonhosted.org/packages/33/c4/abca6a081d8b3f217885739f6a71c8da19a05d0ce8680777b9abc39e9b7a/coinbase_agentkit_strands_agents-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "f4d311e9f88d15898711e70fef78d9169922b83afa2b1512fb91009b869df82d",
"md5": "3a408a3a12a8d48bac41d92697f1d2cc",
"sha256": "5ffbcb86f6e760f6fa09369c5d3133fcbf112a30ebc0914339da4f775eaf1735"
},
"downloads": -1,
"filename": "coinbase_agentkit_strands_agents-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "3a408a3a12a8d48bac41d92697f1d2cc",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.10",
"size": 5373,
"upload_time": "2025-08-01T22:04:37",
"upload_time_iso_8601": "2025-08-01T22:04:37.197308Z",
"url": "https://files.pythonhosted.org/packages/f4/d3/11e9f88d15898711e70fef78d9169922b83afa2b1512fb91009b869df82d/coinbase_agentkit_strands_agents-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-01 22:04:37",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "coinbase-agentkit-strands-agents"
}