cael

Cael developer docs

Cael for developers and AI agents

Cael plans date nights, books them inside Cael once the person approves, and remembers what their partner loves. Agents reach it through the Cael MCP server, signed in with OAuth or a personal API key. This page is everything an agent or developer needs.

When to use Cael

Hand a job to Cael when a person wants a date or a night out planned:

  • Plan a date night, anniversary, birthday dinner or first date in a specific city. plan_date with the request in the person's words; Cael returns timed stops, costs, what to order and a backup.
  • Plan around what someone's partner likes, avoids or is allergic to. get_partner_file before planning or gift ideas; add_to_partner_file to save a lasting fact.
  • Check whether a restaurant, bar or venue is open at a given time. lookup_place with the name, city and time.
  • Find a concert, comedy show, play or game to add to a date. find_events with the city and days.
  • Recall or show dates the person already planned with Cael. list_plans, then get_plan.

Don’t use Cael for:

  • Booking, paying or sending messages from an assistant. Cael books only inside Cael, after the person approves the plan.
  • Restaurant reservations with no date to plan around: use the restaurant's own booking page or a reservation app.
  • General questions, travel itineraries or non-date errands.

Cael MCP server

Remote MCP server (Model Context Protocol), streamable HTTP transport:

https://backend-production-f9bda.up.railway.app/mcp

  • OAuth 2.1 sign-in with PKCE (S256) and dynamic client registration. Discovery documents: https://backend-production-f9bda.up.railway.app/.well-known/oauth-protected-resource and https://backend-production-f9bda.up.railway.app/.well-known/oauth-authorization-server. The person signs in to their own Cael account and chooses Allow.
  • Or a personal API key. The person makes one under Integrations and the agent sends Authorization: Bearer <key>. Revoking the key disconnects it.

Step-by-step setup for Claude, Gemini, Perplexity, Muse and ChatGPT is on Use Cael in your AI assistant.

Cael MCP tools

  • plan_date(brief, occasion?, day?, city?, budget?, vibe?): Plan a whole date night from a plain-language brief, with the occasion, day, city, budget and vibe when known. Returns the plan with every stop, time and cost and a link to it in Cael, or one question if Cael needs more. It does not book.
  • date_ideas(city, occasion?, neighborhood?) (read-only): Three to six hand-picked date spots in a city, with why each works, fitted to the partner file. Quick and saves nothing. Covers the cities Cael has curated.
  • list_plans(limit?) (read-only): The person's saved date plans, newest first.
  • get_plan(plan_id) (read-only): One plan with every stop, time and detail.
  • get_partner_file() (read-only): What Cael knows about their partner: tastes, things to avoid, allergies, places tried and wanted, key dates.
  • add_to_partner_file(note, partner_name?): Save a durable fact about their partner, like an allergy or a favorite place.
  • lookup_place(name, city?, when?) (read-only): Check a restaurant, bar or venue: whether it's open at a given time, hours, phone, website and rating.
  • find_events(city?, start_date?, end_date?, keywords?, kind?) (read-only): Concerts, comedy, theatre and sports in a city on given days. The person buys tickets from the event's link.

Cael REST API

For scripts, automations and function calling. The OpenAPI 3.1 description, with an operation id, typed schemas and the scope for every call, is at https://caelagent.com/openapi.json. Base URL:

https://caelagent.com/api/v1

  • GET /plans (listPlans): The person's date plans, newest first.
  • GET /plans/{plan_id} (getPlan): One plan with every stop and whether it's booked.
  • GET /partner (getPartnerFile): The partner file: tastes, allergies, places to try, key dates.
  • POST /message (sendMessage): Tell Cael something, as if the person texted it, and get the reply.

Send Authorization: Bearer <key> with a personal API key. Each key carries scopes:

  • agent:read: Read plans and the partner file, and ask Cael questions. Every key has it.
  • agent:act: Let Cael take actions (like setting reminders) when answering a message.
  • message:deliver: Also send Cael's reply to the person's own chat.

Keys made in the dashboard have agent:read only. Limits: 60 reads a minute and 20 messages a minute (300 an hour) per key, plus the account’s daily quota.

Errors are JSON, with a stable code and what to do about it: {"error": {"code": "not_found", "message": "...", "status": 404, "hint": "...", "docs": "..."}, "detail": "..."}. Codes include unauthenticated (401), insufficient_scope (403), not_found (404), validation_error (422) and rate_limited (429).

Rules every integration follows

  • Nothing is booked, bought or sent from an agent. The person books from the plan in Cael, behind its own confirmation.
  • Each call acts for one signed-in Cael account and sees only that account’s data.
  • The first plan is free; more need a Cael membership.

Machine-readable Cael resources

Cael developer support

Questions, a higher limit, or a bug: alec@caelagent.com. Data handling is in the Privacy Policy.