AgentKit Strands Agents Extension
Strands Agents extension of AgentKit. Enables agentic workflows to interact with onchain actions.
Setup
Prerequisites
- CDP API Key
- Amazon Bedrock Models
- Configure AWS Credentials OR use Amazon Bedrock API keys alternatively for Amazon Bedrock model access with Strands Agents.
- Set up Amazon Bedrock
NOTE: Strands Agents is model provider agnostic
Installation
pip install coinbase-agentkit coinbase-agentkit-strands-agents
Environment Setup
Set the following environment variables:
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
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.
For Strands Agents configuration options, see the Strands Agents Documentation.
For a full example, see the chatbot example.
Contributing
See CONTRIBUTING.md for detailed setup instructions and contribution guidelines.
Metadata
Release files for coinbase-agentkit-strands-agents 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| coinbase_agentkit_strands_agents-0.2.0.tar.gz | 5.4 kB | With provenance | Details for coinbase_agentkit_strands_agents-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| coinbase_agentkit_strands_agents-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for coinbase_agentkit_strands_agents-0.2.0-py3-none-any.whl |
Total release size: 10.4 kB
Release files / coinbase_agentkit_strands_agents-0.2.0.tar.gz
| Download URL | coinbase_agentkit_strands_agents-0.2.0.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cce318a375bcb82c9369b4ec54803cd9aad5f1878801f5a1c5d266bbd271221f
|
|
BLAKE2b-256 checksum How to use checksums |
5f2eea430553e346e54192a6bca1e73ff6189dad2b2e0b3356e5165887783990
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 6, 2025.
Transparency logRelease files / coinbase_agentkit_strands_agents-0.2.0-py3-none-any.whl
| Download URL | coinbase_agentkit_strands_agents-0.2.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
458208d2df6d86506af409f48449f9333b955fb5cf2472bf571b8bc1c92a8094
|
|
BLAKE2b-256 checksum How to use checksums |
b456858aede566b036792541316a575aa60443b1b1100c1d8324170510701591
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 6, 2025.
Transparency logSecurity for coinbase-agentkit-strands-agents 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for coinbase_agentkit_strands_agents-0.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 6, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.