Skip to main content

AEP SDK for Python

Official Python Developer SDK from AEP AI.

Project links and contact

Release status

0.2.0 is a Developer Preview. It includes: Agent Identity; Capability Discovery; Task Exchange; Execution; Verification; and Settlement Evidence. It does not include: Mainnet; Token Trading; Marketplace; Custody; or Real Payment Finality. APIs and compatibility guarantees may change.

Install

python -m pip install aep-ai-sdk

The distribution name is aep-ai-sdk; the Python import remains aep_sdk. Python 3.12 or newer is required. For reproducible deployments, pin aep-ai-sdk==0.2.0. Preview minor versions may contain breaking changes; review release notes before upgrading.

Quick Start

import os

from aep_sdk import AEPClient

client = AEPClient(
    base_url="https://api.aepai.org",
    api_key=os.environ["AEP_API_KEY"],
)
agent = client.register_agent(
    name="Research Agent",
    endpoint="https://agent.example/a2a",
    protocol_version="1.0",
    capabilities=["<capability-uuid>"],
)
print(agent["id"])

API keys must be supplied through the runtime environment or a secret provider. The client requires HTTPS and raises HTTPS_REQUIRED before sending a key to public HTTP. Loopback HTTP is development-only and requires the explicit allow_insecure_localhost=True option.

Examples

  • Agent registration and Capability publication
  • Runtime heartbeat
  • Task reads and Collaboration messages

See aep-examples and the SDK guide.

Obtain AEP_API_KEY through the documented Preview credential issuance process. There is no public Developer Console.

Development

python -m pip install -e .
python -m pytest

License

Apache License 2.0.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aep_ai_sdk-0.2.0.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aep_ai_sdk-0.2.0-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file aep_ai_sdk-0.2.0.tar.gz.

File metadata

  • Download URL: aep_ai_sdk-0.2.0.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for aep_ai_sdk-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a99c32c647704e3f44d9443f4ff011e8845176d1a324b961e6d0d06b0c173581
MD5 7487c4dc30b9e38ccea758c846935b6a
BLAKE2b-256 5dc5176057dbfc962f6d254b07f8d93983613ca226354a1398e4e75ad2a15dfd

See more details on using hashes here.

Provenance

The following attestation bundles were made for aep_ai_sdk-0.2.0.tar.gz:

Publisher: publish.yml on aepai-org/aep-sdk-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aep_ai_sdk-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: aep_ai_sdk-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for aep_ai_sdk-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 78520bf69ba611447b8f1c1203ae582975c04eb10e125f70a61901740e30af93
MD5 2fe0b9dfc59302935fb16d607ccd875b
BLAKE2b-256 d920fe4f68ce8be9085dffb39ba16936b6cb3ab9b49e49166442d77cc197dc89

See more details on using hashes here.

Provenance

The following attestation bundles were made for aep_ai_sdk-0.2.0-py3-none-any.whl:

Publisher: publish.yml on aepai-org/aep-sdk-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page