Skip to main content

AgentCore AgentRun Compatibility SDK — Core

agentcore-sdk-agentrun-compat-core is the implementation package used by agentcore-sdk-agentrun-compat. It helps applications written for the original AgentRun Python SDK migrate to AgentCore.

Most users should not install this package directly. Install the compatibility entry package instead:

python -m pip uninstall -y agentrun-sdk
python -m pip install agentcore-sdk-agentrun-compat

The SDK requires Python 3.10 or newer. The release gate builds and installs both distributions in clean Python 3.10 and Python 3.12 containers. The distributions are py3-none-any wheels.

The PyPI distribution was deliberately given a compatibility-specific name so that it is not confused with the official AgentCore SDK. The Python import names remain unchanged:

from agentrun.agent_runtime import AgentRuntimeClient
from agentrun.utils.config import Config

The entry package installs this core package automatically and provides the agentrun namespace. The core package itself provides the agentcore namespace.

Configuration

Set the AgentCore workspace and standard Alibaba Cloud credentials in the runtime environment:

export AGENTCORE_WORKSPACE_ID="<workspace-id>"
export ALIBABA_CLOUD_ACCESS_KEY_ID="<access-key-id>"
export ALIBABA_CLOUD_ACCESS_KEY_SECRET="<access-key-secret>"

AGENTCORE_ENDPOINT, AGENTCORE_REGION_ID, AGENTCORE_API_VERSION, and ALIBABA_CLOUD_SECURITY_TOKEN can be set when the deployment requires them.

The compatibility SDK implements the AgentRun-facing APIs that AgentCore can carry. APIs that depend on capabilities not provided by AgentCore either expose an explicit platform-difference error or require migration-specific input. See the compatibility entry package README and the repository migration guide for the supported migration boundary.

Do not install agentrun-sdk and agentcore-sdk-agentrun-compat in the same environment: both provide the agentrun import namespace.

Metadata

Release files for agentcore-sdk-agentrun-compat-core 0.1.0.post1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agentcore-sdk-agentrun-compat-core 0.1.0.post1
File Size Uploaded Provenance Actions
agentcore_sdk_agentrun_compat_core-0.1.0.post1.tar.gz 446.4 kB Without provenance Details for agentcore_sdk_agentrun_compat_core-0.1.0.post1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agentcore-sdk-agentrun-compat-core 0.1.0.post1
File Interpreter ABI Platform Actions
agentcore_sdk_agentrun_compat_core-0.1.0.post1-py3-none-any.whl Python 3 none any Details for agentcore_sdk_agentrun_compat_core-0.1.0.post1-py3-none-any.whl

Total release size: 727.9 kB

Release files / agentcore_sdk_agentrun_compat_core-0.1.0.post1.tar.gz

Download URL agentcore_sdk_agentrun_compat_core-0.1.0.post1.tar.gz
Size 446.4 kB
Tags Source
SHA-256 checksum
How to use checksums
29f42bbc3134fae25b4d79b74a12789f684165792c8d674265797cf89c952e4b
BLAKE2b-256 checksum
How to use checksums
03cf053c3fbd6d4dc26f648221fff69c1e05ba4fc601bce6adbbe913b1f37293
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / agentcore_sdk_agentrun_compat_core-0.1.0.post1-py3-none-any.whl

Download URL agentcore_sdk_agentrun_compat_core-0.1.0.post1-py3-none-any.whl
Size 281.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc70d7b859f15024e20efa6cf1cfabe7b58af88af1f0e2466fb226107726dad7
BLAKE2b-256 checksum
How to use checksums
0c30e99d165a35ef10f6aae9ddf67b2b368db670ae922fbb913e0870422b8eca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Security for agentcore-sdk-agentrun-compat-core 0.1.0.post1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Release history Release notifications | RSS feed

This release

0.1.0.post1 This release

2 release files No provenance

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