Guides

External AI agents

What AI assistants and agent platforms can do with IntelliDent today, and what is coming.

StatusLink to this section

CapabilityStatus
Read appointments, patients, agents and usage with a clinic-issued API keyAvailable now
Request logging and audit attribution for every keyAvailable now
Public clinic profiles for assistants (opening hours, services, published fees)In development
Appointment requests from assistants, confirmed by clinic staffIn development
An MCP server over the same interfacePlanned
Live availability for clinics on IntelliDent’s own schedulerPlanned
Patient-authorised access (a patient lets an assistant manage their own appointments)Planned

No booking through the API today

No public endpoint creates, changes or cancels appointments. An agent cannot book on a patient’s behalf through the Public API yet. Do not tell users that it can.

Available nowLink to this section

An AI agent, assistant or agent platform working for a specific clinic integrates exactly like any other integration:

  • Authentication: the clinic’s owner or an admin creates an API key in Settings → API and gives it to you. There is no separate agent credential.
  • Permissions: the key’s scopes decide what the agent can read. Ask for the fewest, for example only appointments:read for a scheduling summary.
  • Resources: the four read-only endpoints in the API reference.
  • Isolation: the key reads only that clinic’s organisation, across all of its centres. An agent serving several clinics needs one key per clinic and must keep them apart.
  • Attribution: every request is logged against the key with its real status and latency, and refused requests are audited against the key. Give each agent deployment its own key so the clinic can see and revoke it separately.
  • Errors and limits: as for any client. See Errors and Rate limits.
agent-tools.ts
// A tool your agent can call. The key stays in this server process:
// it is never put in the prompt, the tool description, or the tool result.
const tools = {
  async list_upcoming_appointments({ from, to }: { from: string; to: string }) {
    const url = new URL("https://intellident.com.au/api/v1/appointments");
    url.searchParams.set("from", from);
    url.searchParams.set("to", to);
    url.searchParams.set("limit", "50");
    const res = await fetch(url, {
      headers: { Authorization: `Bearer ${process.env.INTELLIDENT_API_KEY}` },
    });
    const body = await res.json();
    if (!res.ok) return { error: body.error?.code ?? "UNKNOWN" }; // never echo headers or the key
    // Return only what the model needs.
    return body.data.map((a: { startTime: string; endTime: string; centerId: string; status: string }) => ({ start: a.startTime, end: a.endTime, centre: a.centerId, status: a.status }));
  },
};

In developmentLink to this section

We are building a narrow interface for third-party AI assistants acting for patients, for example a patient asking a general-purpose assistant to find a dentist and request an appointment. The intended design:

  • Each clinic opts in, per centre, and chooses what to publish. Nothing is public by default.
  • An assistant reads the clinic’s published profile: opening hours, services, policies, and fees only if the clinic publishes them.
  • An assistant submits an appointment request, with an idempotency key so a retry cannot create a duplicate. Clinic staff confirm it; nothing is booked automatically, and no time slot is held while the request waits.
  • The assistant checks the request’s status with a token returned when it was made.
  • No patient records or clinical information are ever returned to an assistant.
  • Every action is audited as an external agent, with the client identifier the assistant presents, the organisation and the centre.

The platform groundwork is in place: external-agent audit attribution, a tenant-scoped request inbox that staff resolve exactly once, and SSRF-protected outbound calls. The endpoints themselves are not released, and their paths and fields may change before they are. There is no date yet.

PlannedLink to this section

  • MCP server: a thin Model Context Protocol adapter over the same interface, with the same limits and audit trail, so MCP clients can use it without custom code.
  • Availability: bookable times for clinics on IntelliDent’s own scheduler, offered without holding the slot; staff still confirm.
  • Patient-authorised access: a verified patient lets an assistant see or change their own appointments. This needs patient identity verification and is some way off.
  • Agent-to-agent (A2A) protocols are being watched, not built. We will follow demand.

Interested in piloting the assistant interface? Contact us.

Guidelines for agent buildersLink to this section

  • Keep the key out of the model. Call the API from your tool server. Never put the key in a prompt, a tool description, a tool result, or anything the model can repeat.
  • Fixed endpoints only. Do not let the model build arbitrary URLs or headers. Expose specific tools with validated parameters.
  • Return the minimum. Strip fields the task does not need before passing results to the model, especially patient contact details.
  • Treat API data as data. Record fields such as names come from people and could contain text that looks like instructions. Never follow them.
  • Do not overpromise. Until the request interface ships, an agent can read schedules but cannot book. Hand booking to the clinic’s phone line or website.
  • Emergencies are not agent work. Direct anyone describing a dental emergency to the clinic’s emergency line, or 000 in Australia.