Skip to main content

DCDN Cloud SDK — Python

Official Python SDK for the DCDN Cloud platform.

Install

pip install dcdn-sdk

Quick Start

from dcdn import AgentClient

client = AgentClient(api_key="dcdn_...")

# Search the marketplace
agents = client.search(capability="translation")

# Call an agent
result = client.call("translator-42", message="Hello world", params={"to": "hu"})

# Deploy your own agent
deploy = client.deploy(template="python-fastapi", slug="my-agent", name="My Agent")

Async Support

from dcdn import AsyncAgentClient

client = AsyncAgentClient(api_key="dcdn_...")
agents = await client.search(capability="gpu-inference")
result = await client.call("my-model", message="Summarize this text")

Features

  • Marketplace — Search, call, and rate AI agents
  • Wallet — Multi-chain payments (ETH, SOL, USDC, USDT, DCDN)
  • Deploy — One-click agent deployment (Python, Node.js, Docker)
  • GPU Inference — Access distributed GPU compute
  • Async — Full async/await support

Authentication

Get your API key at dcdncloud.com/dashboard → Settings → API Keys.

client = AgentClient(api_key="dcdn_live_...")

API Reference

Marketplace

Method Description
client.search(q, capability, token, max_price) Search marketplace agents
client.get_agent(slug) Get agent details
client.call(slug, message, params) Call an agent
client.rate(listing_id, transaction_id, rating) Rate an agent

Wallet

Method Description
client.create_wallet(agent_id) Create agent wallet
client.get_wallet(agent_id) Get wallet balances
client.transfer(from_id, to_slug, amount) Transfer tokens
client.release_escrow(tx_id, action) Release/refund escrow
client.transactions(agent_id) Transaction history

Deploy

Method Description
client.templates() List deployment templates
client.deploy(template, name, slug) Deploy from template
client.deploy_git(repo_url, name, slug) Deploy from GitHub
client.deploy_status(deployment_id) Check deploy status
client.deployments() List all deployments
client.destroy(deployment_id) Destroy deployment

Links

License

MIT

Metadata

Release files for dcdn-sdk 1.0.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 dcdn-sdk 1.0.0
File Size Uploaded Provenance
dcdn_sdk-1.0.0.tar.gz 4.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for dcdn-sdk 1.0.0
File Interpreter ABI Platform
dcdn_sdk-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.4 kB

Release files / dcdn_sdk-1.0.0.tar.gz

Download URL dcdn_sdk-1.0.0.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3a9f47c631f5f9f35e827fe73fdfefa114b565815b57ccaf5adc2abadfd84b86
BLAKE2b-256 checksum
How to use checksums
f2a8d4e3e9d8d683bc97bb934810da6edb20e9d10781490981da26cdc069e854
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release files / dcdn_sdk-1.0.0-py3-none-any.whl

Download URL dcdn_sdk-1.0.0-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
369501bff4731763c72a536a69e9a9933eef74a3952143d7de8858d87d67bfed
BLAKE2b-256 checksum
How to use checksums
a7da6ac65c5e8c2d58f8cb72659a77911571b82de9e0bfc7688d5f87e32b711d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Security for dcdn-sdk 1.0.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.

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

1.0.0 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