Let your agent RSVP to invites it receives Nylas enables AI agents to RSVP to calendar invitations as first-class participants. When an agent receives an invite, Nylas converts it to an event on the agent's calendar, and the agent can respond with yes, no, or maybe based on its availability. The system uses standard Nylas endpoints, treating the agent as an invitee rather than an organizer. An agent that gets invited to meetings should respond like a real attendee. Not with a polite "I'm an AI assistant, please contact my human" auto-reply. Not by silently dropping the invite on the floor. It should look at the meeting, look at its own calendar, and click Yes, No, or Maybe — the same three buttons every other person on the invite gets. Most "AI calendar" demos run the other direction. They point a model at a human's Google Calendar and let it organize : propose times, send invites, chase RSVPs. That's the organizer flow, and it's useful. But the moment your agent has its own email address and people start inviting it to things, you need the mirror image. The agent is now an invitee , and invitees don't organize — they respond. This post is about that response. An invite lands in the agent's mailbox, Nylas turns it into an event on the agent's calendar, your code decides yes/no/maybe based on whether the agent is actually free, and you fire a single send-rsvp call that updates the organizer's calendar the way any human's RSVP would. I work on the Nylas CLI, so the terminal commands below are the exact ones I reach for, and I'll pair every one with the raw HTTP call so you can wire it into a backend with no SDK. Before the calendar mechanics, the one abstraction worth internalizing: an Agent Account is just a grant . It has a grant id , and that grant id addresses the same /v3/grants/{grant id}/ endpoints every other Nylas grant does — Messages, Threads, Events, Calendars, free/busy, all of it. There's no special "agent API." If you've ever listed events or sent an RSVP for a connected Google or Microsoft account, you already know the surface area here. Nothing new to learn on the data plane. What makes an Agent Account different is the identity : it owns a real mailbox and a real calendar on Nylas-hosted infrastructure, so it can be addressed, invited, and RSVP'd-against like a person. The endpoints are boring on purpose. The interesting part is that a piece of software is now a first-class participant on the invite. If you're new to Agent Accounts, the Agent Accounts overview https://developer.nylas.com/docs/v3/agent-accounts/ and the calendar mechanics page https://developer.nylas.com/docs/v3/agent-accounts/calendars/ are the two pages to read alongside this one. Here's the lifecycle, because it's the part people get wrong. The agent doesn't parse ICS attachments by hand, and it doesn't reply to the invite email to accept. Nylas does the ICS plumbing for you: assistant@yourcompany.com as a participant. event.created webhook fires. participants with status: "noreply" . The organizer is whoever sent the invite — That third point is the conceptual pivot. The agent is a participant, not the organizer. It can't update or cancel the meeting; it can only respond. And because the event object already carries the organizer, the participants, the time window, and the description, you can drive your whole decision off event.created without ever opening the invite email. The agent also gets a message.created webhook for the invitation email itself, because an Agent Account is always a real mailbox too. You get to pick which signal drives your logic. My advice: drive the RSVP off event.created it's already structured data and treat the message.created as optional context you fetch only if you want the human-readable note the organizer wrote. One honest caveat on the webhook body, because the Nylas docs hedge on it: don't rely on the webhook payload to hand you the full message body. Fetch the full message with GET /v3/grants/{grant id}/messages/{message id} when you need it, and branch on the message.created.truncated trigger name it appears when a body exceeds ~1 MB and the body is omitted . For RSVP decisions you usually don't need the email at all — the event has everything. You can react to event.created from a webhook, or you can poll. Webhooks are application-scoped — you subscribe once at the app level with POST /v3/webhooks , every grant's events land at your endpoint, and each payload carries a grant id you filter on. That's the right call for near-real-time RSVPs. But for a tour, polling the events list is the clearest way to see the invite that just arrived. List the agent's upcoming events with curl: curl --request GET \ --url "https://api.us.nylas.com/v3/grants/