Yuga Planner is a prototype system developed for the Gradio Agents & MCP 2025 Hackathon, positioned as a "neuro-symbolic" scheduling tool: large language models are responsible for understanding and breaking down tasks, while a constraint solver is responsible for generating optimized schedules.
Purpose and main capabilities
- Team scheduling and task allocation: after a project description is entered, the system uses a LLamaIndex agent to break the project down into executable tasks and uses the Timefold optimization engine to generate employee schedules for complex projects.
- MCP chat interface: in the Chat tab of the Gradio interface, scheduling requests can be made in natural language, for example task descriptions such as creating a cloud instance, developing an interface, or building a chatbot UI; an .ics calendar file can optionally be uploaded to provide existing schedules, and the system returns an optimized schedule combining new tasks with existing calendar events, displayed with rich tables and status indicators.
- MCP personal tool: by calling the yuga-planner MCP tool in an MCP-compatible chatbot or agent platform and attaching a task description and an .ics calendar file, tasks can be scheduled around a personal calendar and existing arrangements.
How to use
- Run locally: after cloning the repository, run make venv, make install, make setup-secrets (edit tests/secrets/cred.py to fill in API credentials), and make run in sequence.
- Docker: build the image with docker build -t yuga-planner ., and run the container with docker run -p 7860:7860 yuga-planner.
- Online demo:https://huggingface.co/spaces/blackopsrepl/yuga-planner
- Source code:https://github.com/blackopsrepl/yuga-planner
Architecture highlights The system uses a service-oriented layered architecture, including data services, scheduling services, state services, logging services, sample project services, and an MCP client wrapper; the MCP integration part includes tool call assembly, tool call handling, the chat interface, and streaming processing; system components include the Gradio UI, the task orchestration agent, the Timefold constraint solver, and the MCP endpoint. The chat interface automatically detects scheduling requests based on scheduling keywords, supports streaming tool call assembly, JSON repair, progress prompts, and a 60-second timeout protection, and has a dual-response mechanism with Nebius API and MCP backend fallback.
Applicable scenarios Suitable for personal productivity scenarios that need to turn natural language task descriptions into calendar schedules, and for team scheduling prototype validation that needs to break down projects and allocate them to employees.
Limitations Currently only a single time zone context is supported, and calendar events in different time zones are uniformly converted to UTC for processing; the project is a hackathon prototype, and multi-time-zone support, Pydantic model migration, Gradio UI rework, and other work are still in progress. Pricing, price, and commercial licensing information are not yet provided.