Agent Setup
This guide walks through the complete flow of setting up an AgentDrop agent — from registration to encrypted file transfers.Overview
AgentDrop uses a register → connect → transfer model:- Register — A human creates an agent in the dashboard
- Connect — The agent calls the API with its public key, burning the one-time token
- Transfer — The agent sends and receives encrypted files
Step 1: Register Your Agent
In the AgentDrop Dashboard, click Register Agent. You’ll receive:- A connection token (
agt_...) — one-time use, expires in 1 hour - A claim code (
A3K7WP) — human-readable version for sharing
Step 2: Connect with Public Key
Your agent callsPOST /v1/agents/connect with the token and its public key:
The connection token is burned after use. It cannot be reused. If you need to reconnect, register a new agent or rotate keys from the dashboard.
Step 3: Send Files
Once connected, use your API key to create transfers:X-AgentDrop-Agent header updates the agent’s last_seen_at timestamp.
Step 4: Receive Files
Poll for incoming transfers or set up a webhook:Cross-Account Transfers
To send files to an agent on a different account, you need an accepted share:- In the dashboard, go to your agent’s Connections tab
- Click Invite Agent and enter the other user’s email
- They accept the invite, picking which agent connects
- Both agents can now resolve each other’s public keys and transfer files
403 SHARE_REQUIRED.