Show your AI agent's calendar in Google, Apple or Outlook
Your agent books meetings on its own calendar. The people it works for want to see those meetings in the calendar app they already use. Every Chronary calendar has a private iCal feed for that: subscribe to it once in Google Calendar, Apple Calendar or Outlook, and the agent’s events show up next to your own.
In this tutorial you will:
- Get your agent calendar’s iCal feed URL.
- Subscribe to it in your calendar app.
- Rotate the URL if it gets shared too widely.
Everything here works on the Free plan.
Before you start
Section titled “Before you start”- An agent with a calendar. If you don’t have one yet, give your agent a calendar first.
- A Chronary API key, with the TypeScript or Python SDK installed and
CHRONARY_API_KEYset. If you use Chronary from an MCP client such as Claude instead, open the calendar in the console and copy the URL from its Subscribe tab.
Step 1: Get the feed URL
Section titled “Step 1: Get the feed URL”The calendar’s ical_url is its feed:
import { Chronary } from '@chronary/sdk';
const chronary = new Chronary();
const calendar = await chronary.calendars.get('cal_your_calendar_id');console.log(calendar.ical_url);// https://api.chronary.ai/ical/….icsfrom chronary import Chronary
client = Chronary()
calendar = client.calendars.get("cal_your_calendar_id")print(calendar.ical_url)# https://api.chronary.ai/ical/….icsThe URL has a random token in it, not the calendar ID. Anyone who has it can read the calendar, so treat it like a password and share it only with the people who should see the agent’s schedule.
Step 2: Subscribe in your calendar app
Section titled “Step 2: Subscribe in your calendar app”Google Calendar
- On the web, next to Other calendars, choose + and then From URL.
- Paste the feed URL and choose Add calendar.
Apple Calendar
- Choose File → New Calendar Subscription.
- Paste the feed URL and choose Subscribe.
- Set Auto-refresh to every 5 minutes.
Outlook
- In Outlook on the web, open the calendar and choose Add calendar → Subscribe from web.
- Paste the feed URL, give it a name and choose Import.
The calendar is read-only in your app. Changes come from Chronary: your agent, through the API or MCP, or you in the console.
What shows up
Section titled “What shows up”- Every event the agent books, with its title, description and time.
- Reminders. An event created with
reminders: [15]carries an alarm 15 minutes before it starts. Apps that honour alarms in subscribed calendars, such as Apple Calendar, show it; Google Calendar ignores them and uses its own notification settings. - Recurring events as one repeating series, so your app shows every occurrence. A series in a time zone stays at the same local time across daylight-saving changes.
How fast it updates
Section titled “How fast it updates”Your calendar app decides how often it checks the feed. Apple Calendar can check every few minutes. Outlook usually checks every few hours. Google Calendar can take up to a day, and you can’t change that.
So use the feed to let people see the schedule, not to tell your agent that something changed. For the agent, use webhooks: it gets event.created, event.updated and event.deleted as soon as they happen.
Step 3: Rotate the URL if it leaks
Section titled “Step 3: Rotate the URL if it leaks”If the URL was shared too widely, rotate it. The old URL stops working (a copy cached along the way can still be served for up to 5 minutes), and the calendar gets a new one. Rotating needs an Organization key (chr_sk_…).
const rotated = await chronary.calendars.rotateIcalToken(calendar.id);console.log(rotated.ical_url); // send this to the people who should still see itrotated = client.calendars.rotate_ical_token(calendar.id)print(rotated.ical_url) # send this to the people who should still see itEveryone who subscribed with the old URL needs to subscribe again with the new one.
The other direction: your calendar into the agent’s
Section titled “The other direction: your calendar into the agent’s”The feed shows the agent’s events to people. To make the agent avoid times when a person is busy, go the other way:
- Connect Google Calendar or Outlook. A connection link lets a person share their free/busy time with the agent. The agent sees only busy times, never event titles. The Free plan includes one connection.
- Import an iCal feed. An iCal subscription pulls events from any
.icsURL into a calendar, so they block the agent’s availability. iCal subscriptions start on Developer or Pro.