agentdrop 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,71 @@
1
+ Metadata-Version: 2.4
2
+ Name: agentdrop
3
+ Version: 0.1.0
4
+ Summary: Python SDK for AgentDrop — encrypted file transfer for AI agents
5
+ Author-email: AgentDrop <hello@agent-drop.com>
6
+ License: MIT
7
+ Project-URL: Homepage, https://agent-drop.com
8
+ Project-URL: Documentation, https://docs.agent-drop.com
9
+ Project-URL: Repository, https://github.com/qFlav/AgentDrop
10
+ Keywords: ai,agents,file-transfer,encryption,agentdrop
11
+ Classifier: Development Status :: 3 - Alpha
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: License :: OSI Approved :: MIT License
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Topic :: Security :: Cryptography
16
+ Classifier: Topic :: Software Development :: Libraries
17
+ Requires-Python: >=3.9
18
+ Description-Content-Type: text/markdown
19
+ Requires-Dist: requests>=2.28.0
20
+ Requires-Dist: cryptography>=41.0.0
21
+
22
+ # AgentDrop — Encrypted File Transfer for AI Agents
23
+
24
+ The official Python SDK for [AgentDrop](https://agent-drop.com). Send and receive encrypted files between AI agents with three lines of code.
25
+
26
+ ## Install
27
+
28
+ ```bash
29
+ pip install agentdrop
30
+ ```
31
+
32
+ ## Quick Start
33
+
34
+ ```python
35
+ from agentdrop import AgentDrop
36
+
37
+ # Connect (one-time setup)
38
+ client = AgentDrop(api_key="agd_your_key")
39
+ client.connect("agt_your_connection_token")
40
+
41
+ # Send an encrypted file
42
+ client.send("other-agent", ["report.pdf"])
43
+
44
+ # Check inbox
45
+ for transfer in client.inbox():
46
+ files = client.download(transfer)
47
+ print(f"Received: {files}")
48
+ ```
49
+
50
+ ## What's Included
51
+
52
+ - **Pairwise encryption** — unique X25519 channel per agent pair, HKDF-derived keys per transfer
53
+ - **AgentDrop Shield** — multi-layer security scanning (prompt injection, malware, format validation)
54
+ - **Inbox polling** — `listen()` with background thread for real-time file receiving
55
+ - **Zero config** — encryption and Shield are on by default
56
+
57
+ ## Shield Protection
58
+
59
+ Every downloaded file is scanned before reaching your agent:
60
+
61
+ - Prompt injection detection (11 languages, encoded payloads, intent classification)
62
+ - Malware signatures and format validation
63
+ - Resource guards (zip bombs, oversized files)
64
+ - Configurable strictness: `permissive`, `standard`, `strict`, `paranoid`
65
+
66
+ ## Links
67
+
68
+ - [Documentation](https://docs.agent-drop.com)
69
+ - [Agent Setup Guide](https://docs.agent-drop.com/guides/agent-setup)
70
+ - [API Reference](https://docs.agent-drop.com/api-reference/create-transfer)
71
+ - [GitHub](https://github.com/qFlav/AgentDrop)
@@ -0,0 +1,50 @@
1
+ # AgentDrop — Encrypted File Transfer for AI Agents
2
+
3
+ The official Python SDK for [AgentDrop](https://agent-drop.com). Send and receive encrypted files between AI agents with three lines of code.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ pip install agentdrop
9
+ ```
10
+
11
+ ## Quick Start
12
+
13
+ ```python
14
+ from agentdrop import AgentDrop
15
+
16
+ # Connect (one-time setup)
17
+ client = AgentDrop(api_key="agd_your_key")
18
+ client.connect("agt_your_connection_token")
19
+
20
+ # Send an encrypted file
21
+ client.send("other-agent", ["report.pdf"])
22
+
23
+ # Check inbox
24
+ for transfer in client.inbox():
25
+ files = client.download(transfer)
26
+ print(f"Received: {files}")
27
+ ```
28
+
29
+ ## What's Included
30
+
31
+ - **Pairwise encryption** — unique X25519 channel per agent pair, HKDF-derived keys per transfer
32
+ - **AgentDrop Shield** — multi-layer security scanning (prompt injection, malware, format validation)
33
+ - **Inbox polling** — `listen()` with background thread for real-time file receiving
34
+ - **Zero config** — encryption and Shield are on by default
35
+
36
+ ## Shield Protection
37
+
38
+ Every downloaded file is scanned before reaching your agent:
39
+
40
+ - Prompt injection detection (11 languages, encoded payloads, intent classification)
41
+ - Malware signatures and format validation
42
+ - Resource guards (zip bombs, oversized files)
43
+ - Configurable strictness: `permissive`, `standard`, `strict`, `paranoid`
44
+
45
+ ## Links
46
+
47
+ - [Documentation](https://docs.agent-drop.com)
48
+ - [Agent Setup Guide](https://docs.agent-drop.com/guides/agent-setup)
49
+ - [API Reference](https://docs.agent-drop.com/api-reference/create-transfer)
50
+ - [GitHub](https://github.com/qFlav/AgentDrop)
@@ -0,0 +1,29 @@
1
+ """AgentDrop — Encrypted file transfer for AI agents."""
2
+
3
+ from .client import AgentDrop, AgentDropError, ShieldBlockError, Transfer
4
+ from .crypto import KeyPair
5
+ from .shield import (
6
+ Shield,
7
+ ShieldError,
8
+ ScanConfig,
9
+ ScanResult,
10
+ InjectionFinding,
11
+ ThreatLevel,
12
+ Strictness,
13
+ )
14
+
15
+ __version__ = "0.1.0"
16
+ __all__ = [
17
+ "AgentDrop",
18
+ "AgentDropError",
19
+ "ShieldBlockError",
20
+ "Transfer",
21
+ "KeyPair",
22
+ "Shield",
23
+ "ShieldError",
24
+ "ScanConfig",
25
+ "ScanResult",
26
+ "InjectionFinding",
27
+ "ThreatLevel",
28
+ "Strictness",
29
+ ]