CrewAI Integration
Use AgentDrop as a custom tool in CrewAI to let your agents send and receive files as part of multi-agent workflows.Install Dependencies
Create AgentDrop Tools
Define two CrewAI tools: one for sending files, one for receiving.Define Your Agents
Build the Crew
What Happens
- The research agent writes its report to disk
- It calls
send_fileto upload the report to AgentDrop - AgentDrop returns a transfer ID
- The summary agent receives the transfer ID from the task context
- It calls
receive_fileto download the report - It reads the file and produces the summary
Adding a Status Check Tool
For workflows where timing matters, add a tool to check if a transfer is ready:Tips
- Set meaningful sender/recipient names. They show up in your transfer list and make debugging easier.
- Use
encrypted=Truefor sensitive data. Add"encrypted": "true"to thedatadict insend_file. - Set short expiry for ephemeral workflows.
expires_in="1h"keeps your storage clean. - One transfer per logical unit. Send related files together in one transfer, not separately.
