An open standard for human-readable, agent-modifiable calendars using Markdown and Event Sourcing.
Calendar.md is a lightweight calendar/schedule specification for agents, combining an append-only log with generated monthly views for clear human reading and reliable automation.
This project defines a file format and interaction protocol for maintaining calendars in a Git repository. It is designed to be:
- Human-Friendly: Visualized using
markdown-it-calendarsyntax in monthly files. - Agent-Friendly: Structured as an append-only log of events, ensuring every change is traceable and reproducible.
- Conflict-Resilient: Modifications are log-based, minimizing merge conflicts.
- Specification (SPEC.md): The core technical specification.
- Agent Tooling (AGENT_TOOLING.md): Optional reference interface (Protocol) for agent interactions.
- Schemas: JSON Schemas for validation.
Calendar.md is recommended to work alongside AGENTS.md/SOUL.md and Agent Skills as a complementary trio for building complete personal assistant workflows.
This project is licensed under the MIT License.
Check the examples/ directory for a reference implementation:
examples/
├── .calendar/
│ └── logs/
│ └── 2024/
│ └── 01.log <-- Source of Truth (Append-only)
└── calendar/
└── 2024/
├── 01.md <-- Generated View (Do not edit)
└── 02.md <-- Generated View (Do not edit)
To add or update an event, append a new line to .calendar/logs/YYYY/MM.log following the Log Format.
TIMESTAMP | ACTOR | ACTION | PAYLOAD
To update the view, you need a script that parses the log and generates the markdown files.
A reference implementation is available in the separate calendar-skills project.
Special thanks to markdown-it-calendar for the inspiring calendar syntax and initial implementation concept.