Develop Dynamic Routing and Demand Prediction Tools

implementationChallenge

Prompt Content

Create mock tools (Python functions) for 'RoutingAgent' and 'DispatchAgent': one that simulates dynamic routing based on traffic (takes current location, destination, returns optimal path) and another that predicts demand for specific zones and times. Integrate these tools into your CrewAI agents and demonstrate their use in a scenario where demand suddenly surges.

Try this prompt

Open the workspace to execute this prompt with free credits, or use your own API keys for unlimited usage.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations