Calendar Agent
This guide provides detailed steps to create a Calendar Agent using CrewAI, Composio, and Google Calendar API. You will build a system capable of converting roughly written todo items into Google Calendar events, ensuring your tasks are scheduled efficiently.
This project is an example which uses Composio to seamlessly convert your to-do lists into Google Calendar events. It automatically schedules tasks with specified labels and times, ensuring your calendar is always up-to-date and organized.
Calendar Agent GitHub Repository
Explore the complete source code for the Calendar Agent project. This repository contains all the necessary files and scripts to set up and run the Calendar Agent using CrewAI and Composio.
Run the `setup.sh` file
Fork and Clone this repository, Navigate to the Project Directory
cd python/examples/calendar_agent
Make the setup.sh Script Executable (if necessary): On Linux or macOS, you might need to make the setup.sh script executable:
Import base packages
Next, we’ll import the essential libraries for our project.
Initialise Language Model and Define tools
We’ll initialize our language model and set up the necessary tools for our agents.
Setup Todo
Define the todo list that we want to convert into calendar events.
Create and Execute Agent
Finally, we’ll define and execute the agent responsible for creating Google Calendar events based on the todo list.
Putting it All Together
Was this page helpful?