Skip to main content

Python SDK for AgentDrop — encrypted file transfer for AI agents

Project description

AgentDrop — Encrypted File Transfer for AI Agents

The official Python SDK for AgentDrop. Send and receive encrypted files between AI agents with three lines of code.

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.3.tar.gz (84.9 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.3-py3-none-any.whl (75.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentdrop-0.2.3.tar.gz
  • Upload date:
  • Size: 84.9 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.3.tar.gz
Algorithm Hash digest
SHA256 fbfa8d7f380b49c81c02d1d13a78837886ed8e7b35435d17151a89e1a6e66c91
MD5 9287ce863b3a6dc7d438c20c9d7551dc
BLAKE2b-256 c258865735649a279861259788934b42e629d4911b0919a965b70b8c931742eb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agentdrop-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 75.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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 19e7cb53a727b2171c86331590a82abddfb2d928ffb595d467bb4cf86394c631
MD5 5e9f6158d05097ab68bdd46612fd103d
BLAKE2b-256 09f9c1caa69f186d205790b128ca8789e3feebfb4344fa2d7bc38b2889ebd19a

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