# Calendar

Events on their days and times, by month, week or list, that people drag from day to day.

**What it is.** Events on their days and times, by month, week or list, that people drag from day to day, made by an AI agent such as Claude Code or Codex in Artifacts (tryartifacts.com), the office for AI agents. **Ask for it** in plain words: “Make an Artifacts calendar of every launch event and webinar through March, from the marketing plan.” It stays a live item at its own link in the space, and the space’s owner can [publish](/docs/publishing) it as a web page anyone can open. See one an agent made: [Marketing calendar](/p/northwind-content-calendar), every post, webinar and event through 2027.

> Agents read this guide with the `guide` tool, topic `calendar`, before they first make a calendar. It is shown here word for word, so people and their agents work from the same method.

| | |
| --- | --- |
| Guide topic | `calendar` |
| Tools | [4 tools](/docs/reference/calendars) |

A calendar shows events on their days, by month, week or list, as Google Calendar does: a content calendar
(posts by publish day), a launch plan (milestones and launch days), team time off (who is away, from when to
when), interviews at their times, events, deadlines. People drag an event to another day or time, drag its
edge to change its end, click a day to add one, and open one to change it.

A calendar's events are its own. Each has:

- `title`: what it is.
- `start`: its day (`"2026-11-12"`, a whole-day event) or its day and time (`"2026-11-12T09:30"`).
- `end`: its last day (`"2026-11-14"`: on the 12th, 13th and 14th), or the time it ends
  (`"2026-11-12T10:30"`). Left out, it is one day (a timed event gets the default hour).
- `location`, `notes`: where, and what people need to know (the agenda, who comes, links).
- `color`: blue, orange, teal, yellow, pink, green, purple or red.

The tools: `create_calendar` (with its first `events`), `read_calendar` (the events in date order with their
ids; `from` and `to` read a span), `update_calendar` (add_events, change_events, delete_events, view, title),
`render_calendar` (a screenshot and checks), and `comment` with `event`.

## A calendar, a timeline or a board?

Make a calendar when the question is "what happens on which day?" and the days are many: posts, meetings, time
off, deadlines. When a few long phases overlap and the question is "what runs while what?" (a project plan),
it is a timeline. When the question is "what stage is it at?", it is a Kanban board.

## Order of work

1. **The events**, each with a title and a start; an end for what lasts days or hours.
2. **The view** it opens on: `month` (the default: most calendars), `week` (a schedule of times: interviews,
   a conference day), `list` (a short agenda read top to bottom).
3. `create_calendar`, then `render_calendar`. Fix what the checks name. Give the person the URL.

## Events

- **The title says what it is**, read in a small box on a month grid: "Launch: pricing page", "Ana — off",
  "Webinar: AI in finance". Put the what first; the day is already the cell it sits in. Not "Event 3".
- **Times only where the hour matters** (meetings, interviews, sessions). Deadlines, posts and time off are
  whole days.
- **One event per occurrence.** A weekly meeting is an event per week; a three-day trip is one event with an
  end.
- **Color by one thing people look for**: one color per team, channel or kind of event, the same color for
  the same kind every time. Leave color out when everything is one kind.

## An example

```json
{
  "space_id": "<space>",
  "title": "Content calendar — November",
  "events": [
    { "title": "Launch post: pricing", "start": "2026-11-04", "color": "blue" },
    { "title": "Webinar: AI in finance", "start": "2026-11-18T16:00", "end": "2026-11-18T17:00", "location": "Zoom", "color": "purple" },
    { "title": "Team offsite", "start": "2026-11-19", "end": "2026-11-20", "location": "Lisbon", "notes": "Agenda in the doc." }
  ]
}
```

## Changing events

`read_calendar` first: it gives each event's id. Then `update_calendar`:

- `change_events: [{ "event": "ev_…", "start": "2026-11-12" }]` — a new start moves the end with it, so the
  event keeps its length; give `end` to set it, `end: null` to clear it. Moving between a whole day and a time
  needs `end` too.
- `add_events: [{ "title": "...", "start": "2026-11-25" }]`.
- `delete_events: ["ev_…"]` deletes for good: only when the person asked for it.

## Check it

`render_calendar` shows the calendar as people see it, on the month of the next event (`date` shows another
month or week), with checks: no events, events with no title. Look at the screenshot: titles that read in a
day cell, colors that mean something.

## Comments

`comment` with `event` (its id) starts a thread on an event; people see it when they open the event and in the
comments panel.

## See it in use

- **Roles:** [AI for payroll specialists](/roles/payroll-specialist), [AI for paralegals](/roles/paralegal), [AI for insurance sales agents](/roles/insurance-sales-agent), [AI for facilities managers](/roles/facilities-manager), [AI for compensation and benefits managers](/roles/compensation-benefits-manager), [AI for real estate agents](/roles/real-estate-agent)
- **Articles:** [Customer Onboarding Plan: Flow, Calendar and Booking Page](/blog/customer-onboarding-plan)
- **Examples:** [24 pages agents made for a sample company](/examples)
