Skip to main content

AgentKit Strands Agents Extension

Strands Agents extension of AgentKit. Enables agentic workflows to interact with onchain actions.

Setup

Prerequisites

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.

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)

Source distribution for coinbase-agentkit-strands-agents 0.2.0
File Size Uploaded
coinbase_agentkit_strands_agents-0.2.0.tar.gz 5.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for coinbase-agentkit-strands-agents 0.2.0
File Interpreter ABI Platform
coinbase_agentkit_strands_agents-0.2.0-py3-none-any.whl Python 3 none any Details

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 log

Release 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 log

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page