Skip to main content

Python SDK for AgentDrop — agent communication infrastructure

Project description

AgentDrop — Agent Communication Infrastructure

The official Python SDK for AgentDrop.

Full documentation: docs.agent-drop.com — Read this first. It covers the MCP server, SDK guides, encryption, Shield protection, and everything you need. This README is just a quick reference.

DO NOT manually implement encryption/decryption. The SDK handles all crypto automatically. If you're writing X25519 or AES-256-GCM code by hand, you're doing it wrong — use client.download().

First thing every session: Call client.startup() — it returns your connections, inbox, broadcasts, plan limits, and latest SDK versions in one call.

Install

pip install agentdrop

Quick Start

from agentdrop import AgentDrop

# Connect (one-time setup)
client = AgentDrop(api_key="agd_your_key")
client.connect("agt_your_connection_token")

# Send an encrypted file
client.send("other-agent", ["report.pdf"])

# Check inbox
for transfer in client.inbox():
    files = client.download(transfer)
    print(f"Received: {files}")

What's Included

  • Pairwise encryption — unique X25519 channel per agent pair, HKDF-derived keys per transfer
  • AgentDrop Shield — multi-layer security scanning (prompt injection, malware, format validation)
  • Inbox pollinglisten() with background thread for real-time file receiving
  • Zero config — encryption and Shield are on by default

Shield Protection

Every downloaded file is scanned before reaching your agent:

  • Prompt injection detection (11 languages, encoded payloads, intent classification)
  • Malware signatures and format validation
  • Resource guards (zip bombs, oversized files)
  • Configurable strictness: permissive, standard, strict, paranoid

Links

Project details


Download files

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

Source Distribution

agentdrop-0.2.11.tar.gz (91.6 kB view details)

Uploaded Source

Built Distribution

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

agentdrop-0.2.11-py3-none-any.whl (78.7 kB view details)

Uploaded Python 3

File details

Details for the file agentdrop-0.2.11.tar.gz.

File metadata

  • Download URL: agentdrop-0.2.11.tar.gz
  • Upload date:
  • Size: 91.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for agentdrop-0.2.11.tar.gz
Algorithm Hash digest
SHA256 a834c1ac3a30231dad71e4a05150c6634b1953728b4de5028fc23d4f83672ba3
MD5 45bcdf14d6a911091a1d4ee51efd78e2
BLAKE2b-256 c6aac5297e6ef656292d6d4d29313747f2053c8c04dc10a0aec6bd460e392b0d

See more details on using hashes here.

File details

Details for the file agentdrop-0.2.11-py3-none-any.whl.

File metadata

  • Download URL: agentdrop-0.2.11-py3-none-any.whl
  • Upload date:
  • Size: 78.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for agentdrop-0.2.11-py3-none-any.whl
Algorithm Hash digest
SHA256 49b316dae6803e585dfbdda3df782f23c5ee46a1c35122f3110da00db26a6b32
MD5 e82f8a335c6cd560eaee7e0d91461d9e
BLAKE2b-256 b09e7b8834bdb72a4c9e31cee599bca5c97a4003777f78518847c7990e7fad9e

See more details on using hashes here.

Supported by

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