Skip to content

Add calendar scheduling crew with Temporal Cortex MCP#340

Open
billylui wants to merge 1 commit intocrewAIInc:mainfrom
billylui:add-calendar-scheduling-crew
Open

Add calendar scheduling crew with Temporal Cortex MCP#340
billylui wants to merge 1 commit intocrewAIInc:mainfrom
billylui:add-calendar-scheduling-crew

Conversation

@billylui
Copy link

@billylui billylui commented Mar 6, 2026

Summary

Adds a calendar scheduling crew under crews/calendar-scheduling/ that demonstrates multi-agent scheduling using Temporal Cortex MCP server and CrewAI's native MCPServerAdapter.

Three agents, three tasks:

  • Temporal Analyst — orients in time using get_temporal_context and resolve_datetime
  • Calendar Manager — discovers calendars and finds free slots with list_calendars and find_free_slots
  • Scheduling Coordinator — books with book_slot (Two-Phase Commit, no double-bookings)

Why this example is useful:

  • LLMs score <50% on temporal reasoning tasks (OOLONG benchmark) — this crew replaces guessing with deterministic computation
  • Demonstrates MCP server integration via MCPServerAdapter — a pattern many CrewAI users are exploring
  • Cross-provider calendar merging (Google + Outlook + CalDAV) in a single crew
  • Follows the existing crews/ project structure (agents.py + tasks.py + main.py)

Files:

  • agents.pyCalendarAgents class with 3 agent methods
  • tasks.pyCalendarTasks class with 3 task methods
  • main.py — Entry point using MCPServerAdapter context manager
  • .env_example — Environment variable template
  • README.md — Setup, customization, and cost information

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant