# Docs for AI agents

How an AI agent connects to Xale through its MCP server, what each tool does, and how Xale wants you to behave with a person's things.

## [Start here](https://xale.app/docs/ai/start-here)

- [Start here read this first](https://xale.app/docs/ai/start-here-read-this-first)
- [Which page to read by job](https://xale.app/docs/ai/which-page-to-read-by-job)
- [Xale in one page for AI](https://xale.app/docs/ai/xale-in-one-page-for-ai)
- [How Xale wants you to behave summary](https://xale.app/docs/ai/how-xale-wants-you-to-behave-summary)
- [What Xale can do overview](https://xale.app/docs/ai/what-xale-can-do-overview)
- [llms.txt and llms-full.txt](https://xale.app/docs/ai/llms-txt-and-llms-full-txt)

## [Connect and sign in](https://xale.app/docs/ai/connect-and-sign-in)

- [MCP server address and transport](https://xale.app/docs/ai/mcp-server-address-and-transport)
- [OAuth sign-in how it works](https://xale.app/docs/ai/oauth-sign-in-how-it-works)
- [Dynamic client registration details](https://xale.app/docs/ai/dynamic-client-registration-details)
- [Scopes what each allows](https://xale.app/docs/ai/scopes-what-each-allows)
- [Xale Pro required for connecting](https://xale.app/docs/ai/xale-pro-required-for-connecting)
- [Supported apps Claude, ChatGPT, Gemini, Grok](https://xale.app/docs/ai/supported-apps-claude-chatgpt-gemini-grok)
- [Claude setup for developers](https://xale.app/docs/ai/claude-setup-for-developers)
- [ChatGPT setup for developers](https://xale.app/docs/ai/chatgpt-setup-for-developers)
- [Gemini setup for developers](https://xale.app/docs/ai/gemini-setup-for-developers)
- [Grok setup for developers](https://xale.app/docs/ai/grok-setup-for-developers)
- [Other MCP clients generic setup](https://xale.app/docs/ai/other-mcp-clients-generic-setup)
- [Test the connection first calls](https://xale.app/docs/ai/test-the-connection-first-calls)
- [Tokens expiry and refresh](https://xale.app/docs/ai/tokens-expiry-and-refresh)
- [Disconnect and revoke access](https://xale.app/docs/ai/disconnect-and-revoke-access)

## [Xale's model](https://xale.app/docs/ai/xale-s-model)

**The shape of a person's space**

- [Data model overview](https://xale.app/docs/ai/data-model-overview)
- [Memories and Intentions the three parts](https://xale.app/docs/ai/memories-and-intentions-the-three-parts)
- [Areas what they group](https://xale.app/docs/ai/areas-what-they-group)
- [People and people groups](https://xale.app/docs/ai/people-and-people-groups)
- [Links between items how they work](https://xale.app/docs/ai/links-between-items-how-they-work)
- [Origin of an item where it came from](https://xale.app/docs/ai/origin-of-an-item-where-it-came-from)
- [Trash and removal what's kept](https://xale.app/docs/ai/trash-and-removal-what-s-kept)
- [Hidden Areas kept away from AI](https://xale.app/docs/ai/hidden-areas-kept-away-from-ai)

**Memories**

- [Notes fields and format](https://xale.app/docs/ai/notes-fields-and-format)
- [Lists fields and nesting](https://xale.app/docs/ai/lists-fields-and-nesting)
- [Mindmaps nodes and depth](https://xale.app/docs/ai/mindmaps-nodes-and-depth)
- [Meetings notes and action items](https://xale.app/docs/ai/meetings-notes-and-action-items)
- [Captures links and filing](https://xale.app/docs/ai/captures-links-and-filing)

**Intentions**

- [Tasks fields and states](https://xale.app/docs/ai/tasks-fields-and-states)
- [Projects tasks and status](https://xale.app/docs/ai/projects-tasks-and-status)
- [Habits frequency and logs](https://xale.app/docs/ai/habits-frequency-and-logs)
- [Milestones dates to plan towards](https://xale.app/docs/ai/milestones-dates-to-plan-towards)
- [Check-ins recurring workflows](https://xale.app/docs/ai/check-ins-recurring-workflows)

**Days**

- [Time blocks what they are](https://xale.app/docs/ai/time-blocks-what-they-are)
- [Quickblocks and Transitions](https://xale.app/docs/ai/quickblocks-and-transitions)
- [Activities plan and log them](https://xale.app/docs/ai/activities-plan-and-log-them)
- [Schedule reading a day](https://xale.app/docs/ai/schedule-reading-a-day)
- [Time zones how Xale handles them](https://xale.app/docs/ai/time-zones-how-xale-handles-them)
- [Subscribed calendars what you see](https://xale.app/docs/ai/subscribed-calendars-what-you-see)

## [Where things go](https://xale.app/docs/ai/where-things-go)

- [What goes where decision guide](https://xale.app/docs/ai/what-goes-where-decision-guide)
- [Research and decisions as a Mindmap](https://xale.app/docs/ai/research-and-decisions-as-a-mindmap)
- [Long discussions as a Note](https://xale.app/docs/ai/long-discussions-as-a-note)
- [Lists when to use](https://xale.app/docs/ai/lists-when-to-use)
- [Links to return to as a Capture](https://xale.app/docs/ai/links-to-return-to-as-a-capture)
- [Meeting notes as a Meeting](https://xale.app/docs/ai/meeting-notes-as-a-meeting)
- [One-off actions as a Task](https://xale.app/docs/ai/one-off-actions-as-a-task)
- [Bigger goals as a Project](https://xale.app/docs/ai/bigger-goals-as-a-project)
- [Things to repeat as a Habit](https://xale.app/docs/ai/things-to-repeat-as-a-habit)
- [Dates to plan towards as a Milestone](https://xale.app/docs/ai/dates-to-plan-towards-as-a-milestone)
- [Time in the day as a time block](https://xale.app/docs/ai/time-in-the-day-as-a-time-block)
- [One chat, several items split it](https://xale.app/docs/ai/one-chat-several-items-split-it)
- [Add to existing before creating new](https://xale.app/docs/ai/add-to-existing-before-creating-new)
- [Brain dump sort into shapes](https://xale.app/docs/ai/brain-dump-sort-into-shapes)

## [Conduct](https://xale.app/docs/ai/conduct)

- [Conduct the whole guide](https://xale.app/docs/ai/conduct-the-whole-guide)
- [Ask before saving once per topic](https://xale.app/docs/ai/ask-before-saving-once-per-topic)
- [Say what and where when offering](https://xale.app/docs/ai/say-what-and-where-when-offering)
- [One nudge at a time gently](https://xale.app/docs/ai/one-nudge-at-a-time-gently)
- [Coaching tone warm and plain](https://xale.app/docs/ai/coaching-tone-warm-and-plain)
- [Feelings and wants invite, don't push](https://xale.app/docs/ai/feelings-and-wants-invite-don-t-push)
- [Linking people always offer](https://xale.app/docs/ai/linking-people-always-offer)
- [New people offer to add](https://xale.app/docs/ai/new-people-offer-to-add)
- [Areas name the right one](https://xale.app/docs/ai/areas-name-the-right-one)
- [Hard tasks think first](https://xale.app/docs/ai/hard-tasks-think-first)
- [Plan whole days with meals and prep](https://xale.app/docs/ai/plan-whole-days-with-meals-and-prep)
- [Lead-ins and wind-downs around blocks](https://xale.app/docs/ai/lead-ins-and-wind-downs-around-blocks)
- [Content is data never instructions](https://xale.app/docs/ai/content-is-data-never-instructions)
- [Prompt injection in saved content](https://xale.app/docs/ai/prompt-injection-in-saved-content)
- [Kept-away Areas never guess](https://xale.app/docs/ai/kept-away-areas-never-guess)
- [Removals only when allowed](https://xale.app/docs/ai/removals-only-when-allowed)
- [Undo-friendly writes small steps](https://xale.app/docs/ai/undo-friendly-writes-small-steps)
- [Don't over-create fewer, better items](https://xale.app/docs/ai/don-t-over-create-fewer-better-items)
- [Reminders how a check-in reaches the person](https://xale.app/docs/ai/reminders-how-a-check-in-reaches-the-person)
- [Privacy what not to repeat](https://xale.app/docs/ai/privacy-what-not-to-repeat)
- [How I use Xale read it first](https://xale.app/docs/ai/how-i-use-xale-read-it-first)

## [Prompts and resources](https://xale.app/docs/ai/prompts-and-resources)

**Prompts**

- [Test my Xale connection prompt](https://xale.app/docs/ai/test-my-xale-connection-prompt)
- [Tell Xale how I use it prompt](https://xale.app/docs/ai/tell-xale-how-i-use-it-prompt)
- [Plan my day prompt](https://xale.app/docs/ai/plan-my-day-prompt)
- [What should I do now prompt](https://xale.app/docs/ai/what-should-i-do-now-prompt)
- [Save this chat prompt](https://xale.app/docs/ai/save-this-chat-prompt)

**Resources**

- [Note format Markdown](https://xale.app/docs/ai/note-format-markdown)
- [List format nested list](https://xale.app/docs/ai/list-format-nested-list)
- [Mindmap format OPML](https://xale.app/docs/ai/mindmap-format-opml)
- [Draw a Mindmap as an image](https://xale.app/docs/ai/draw-a-mindmap-as-an-image)
- [Your AI instructions to paste](https://xale.app/docs/ai/your-ai-instructions-to-paste)

## [Tool reference](https://xale.app/docs/ai/tools)

- [Tool reference index](https://xale.app/docs/ai/tool-reference-index)
- [Read-only tools list](https://xale.app/docs/ai/read-only-tools-list)
- [Write tools list](https://xale.app/docs/ai/write-tools-list)
- [Tool annotations read-only and destructive hints](https://xale.app/docs/ai/tool-annotations-read-only-and-destructive-hints)
- [Result shape notice, data and links](https://xale.app/docs/ai/result-shape-notice-data-and-links)
- [Words in results Milestones, Habits and calendar events](https://xale.app/docs/ai/words-in-results-milestones-habits-and-calendar-events)
- [Tool errors shared shapes](https://xale.app/docs/ai/tool-errors-shared-shapes)
- [Request ids safe retries](https://xale.app/docs/ai/request-ids-safe-retries)

**Today and schedule**

- [xale_read_now](https://xale.app/docs/ai/tools/xale_read_now)
- [xale_read_today](https://xale.app/docs/ai/tools/xale_read_today)
- [xale_read_schedule](https://xale.app/docs/ai/tools/xale_read_schedule)
- [xale_plan_block](https://xale.app/docs/ai/tools/xale_plan_block)
- [xale_move_block](https://xale.app/docs/ai/tools/xale_move_block)
- [xale_complete_block](https://xale.app/docs/ai/tools/xale_complete_block)
- [xale_schedule_intention](https://xale.app/docs/ai/tools/xale_schedule_intention)

**Notes**

- [xale_find_notes](https://xale.app/docs/ai/tools/xale_find_notes)
- [xale_read_note](https://xale.app/docs/ai/tools/xale_read_note)
- [xale_save_note](https://xale.app/docs/ai/tools/xale_save_note)
- [xale_append_to_note](https://xale.app/docs/ai/tools/xale_append_to_note)

**Lists**

- [xale_save_list](https://xale.app/docs/ai/tools/xale_save_list)
- [xale_append_to_list](https://xale.app/docs/ai/tools/xale_append_to_list)
- [xale_tick_list_row](https://xale.app/docs/ai/tools/xale_tick_list_row)

**Mindmaps**

- [xale_find_mindmaps](https://xale.app/docs/ai/tools/xale_find_mindmaps)
- [xale_read_mindmap](https://xale.app/docs/ai/tools/xale_read_mindmap)
- [xale_render_mindmap](https://xale.app/docs/ai/tools/xale_render_mindmap)
- [xale_save_mindmap](https://xale.app/docs/ai/tools/xale_save_mindmap)
- [xale_add_mindmap_nodes](https://xale.app/docs/ai/tools/xale_add_mindmap_nodes)
- [xale_rename_mindmap_node](https://xale.app/docs/ai/tools/xale_rename_mindmap_node)
- [xale_tick_mindmap_node](https://xale.app/docs/ai/tools/xale_tick_mindmap_node)

**Meetings**

- [xale_find_meetings](https://xale.app/docs/ai/tools/xale_find_meetings)
- [xale_save_meeting](https://xale.app/docs/ai/tools/xale_save_meeting)

**Captures**

- [xale_find_captures](https://xale.app/docs/ai/tools/xale_find_captures)
- [xale_read_capture](https://xale.app/docs/ai/tools/xale_read_capture)
- [xale_save_link](https://xale.app/docs/ai/tools/xale_save_link)
- [xale_mark_capture_filed](https://xale.app/docs/ai/tools/xale_mark_capture_filed)

**Memories**

- [xale_find_memories](https://xale.app/docs/ai/tools/xale_find_memories)

**Tasks**

- [xale_read_tasks](https://xale.app/docs/ai/tools/xale_read_tasks)
- [xale_read_task](https://xale.app/docs/ai/tools/xale_read_task)
- [xale_create_task](https://xale.app/docs/ai/tools/xale_create_task)
- [xale_update_task](https://xale.app/docs/ai/tools/xale_update_task)
- [xale_complete_task](https://xale.app/docs/ai/tools/xale_complete_task)

**Projects**

- [xale_read_projects](https://xale.app/docs/ai/tools/xale_read_projects)
- [xale_read_project](https://xale.app/docs/ai/tools/xale_read_project)
- [xale_create_project](https://xale.app/docs/ai/tools/xale_create_project)
- [xale_update_project](https://xale.app/docs/ai/tools/xale_update_project)

**Habits**

- [xale_read_habits](https://xale.app/docs/ai/tools/xale_read_habits)
- [xale_create_habit](https://xale.app/docs/ai/tools/xale_create_habit)
- [xale_update_habit](https://xale.app/docs/ai/tools/xale_update_habit)
- [xale_complete_habit](https://xale.app/docs/ai/tools/xale_complete_habit)
- [xale_record_entry](https://xale.app/docs/ai/tools/xale_record_entry)

**Milestones**

- [xale_read_milestone](https://xale.app/docs/ai/tools/xale_read_milestone)
- [xale_create_milestone](https://xale.app/docs/ai/tools/xale_create_milestone)
- [xale_update_milestone](https://xale.app/docs/ai/tools/xale_update_milestone)

**Areas and categories**

- [xale_read_areas](https://xale.app/docs/ai/tools/xale_read_areas)
- [xale_add_area](https://xale.app/docs/ai/tools/xale_add_area)
- [xale_rename_area](https://xale.app/docs/ai/tools/xale_rename_area)
- [xale_read_categories](https://xale.app/docs/ai/tools/xale_read_categories)

**People**

- [xale_read_people](https://xale.app/docs/ai/tools/xale_read_people)
- [xale_read_person](https://xale.app/docs/ai/tools/xale_read_person)
- [xale_add_person](https://xale.app/docs/ai/tools/xale_add_person)
- [xale_update_person](https://xale.app/docs/ai/tools/xale_update_person)
- [xale_create_people_group](https://xale.app/docs/ai/tools/xale_create_people_group)
- [xale_change_people_group_members](https://xale.app/docs/ai/tools/xale_change_people_group_members)

**Links**

- [xale_change_links](https://xale.app/docs/ai/tools/xale_change_links)

**Proposals**

- [xale_propose](https://xale.app/docs/ai/tools/xale_propose)
- [xale_read_proposals](https://xale.app/docs/ai/tools/xale_read_proposals)
- [xale_accept_proposal](https://xale.app/docs/ai/tools/xale_accept_proposal)
- [xale_dismiss_proposal](https://xale.app/docs/ai/tools/xale_dismiss_proposal)

**Removals**

- [xale_prepare_removal](https://xale.app/docs/ai/tools/xale_prepare_removal)
- [xale_confirm_removal](https://xale.app/docs/ai/tools/xale_confirm_removal)
- [xale_allow_removals](https://xale.app/docs/ai/tools/xale_allow_removals)
- [xale_stop_allowing_removals](https://xale.app/docs/ai/tools/xale_stop_allowing_removals)

**Check-ins and workflows**

- [xale_read_check_ins](https://xale.app/docs/ai/tools/xale_read_check_ins)
- [xale_take_on_check_in](https://xale.app/docs/ai/tools/xale_take_on_check_in)
- [xale_end_check_in](https://xale.app/docs/ai/tools/xale_end_check_in)
- [xale_find_workflows](https://xale.app/docs/ai/tools/xale_find_workflows)
- [xale_get_workflow](https://xale.app/docs/ai/tools/xale_get_workflow)
- [xale_begin_run](https://xale.app/docs/ai/tools/xale_begin_run)
- [xale_report_run](https://xale.app/docs/ai/tools/xale_report_run)

**How I use Xale**

- [xale_read_my_instructions](https://xale.app/docs/ai/tools/xale_read_my_instructions)
- [xale_save_my_instructions](https://xale.app/docs/ai/tools/xale_save_my_instructions)

## [Recipes](https://xale.app/docs/ai/recipes)

**Everyday**

- [Test the connection starter recipe](https://xale.app/docs/ai/test-the-connection-starter-recipe)
- [Tell Xale how I use it interview recipe](https://xale.app/docs/ai/tell-xale-how-i-use-it-interview-recipe)
- [Plan my day full recipe](https://xale.app/docs/ai/plan-my-day-full-recipe)
- [What to do now recipe](https://xale.app/docs/ai/what-to-do-now-recipe)
- [Morning check today and Now](https://xale.app/docs/ai/morning-check-today-and-now)
- [End of day close and carry over](https://xale.app/docs/ai/end-of-day-close-and-carry-over)
- [Replan a broken day recipe](https://xale.app/docs/ai/replan-a-broken-day-recipe)
- [Plan the week Sunday recipe](https://xale.app/docs/ai/plan-the-week-sunday-recipe)
- [Weekend look-ahead protect rest](https://xale.app/docs/ai/weekend-look-ahead-protect-rest)
- [Brain dump sort into items](https://xale.app/docs/ai/brain-dump-sort-into-items)
- [Chat into a Mindmap recipe](https://xale.app/docs/ai/chat-into-a-mindmap-recipe)
- [Chat into a Note recipe](https://xale.app/docs/ai/chat-into-a-note-recipe)
- [Research into a Mindmap recipe](https://xale.app/docs/ai/research-into-a-mindmap-recipe)
- [Meeting to tasks recipe](https://xale.app/docs/ai/meeting-to-tasks-recipe)
- [Triage Captures open and file](https://xale.app/docs/ai/triage-captures-open-and-file)
- [Weekly review recipe](https://xale.app/docs/ai/weekly-review-recipe)
- [Monthly look back recipe](https://xale.app/docs/ai/monthly-look-back-recipe)
- [Brief me on this scoping brief](https://xale.app/docs/ai/brief-me-on-this-scoping-brief)

**Intentions**

- [Big task into steps recipe](https://xale.app/docs/ai/big-task-into-steps-recipe)
- [Goal into Project recipe](https://xale.app/docs/ai/goal-into-project-recipe)
- [Milestone prep plan backwards](https://xale.app/docs/ai/milestone-prep-plan-backwards)
- [Packing list reuse the last one](https://xale.app/docs/ai/packing-list-reuse-the-last-one)
- [Start a habit with a check-in](https://xale.app/docs/ai/start-a-habit-with-a-check-in)
- [Habit check-in daily recipe](https://xale.app/docs/ai/habit-check-in-daily-recipe)
- [Missed habit kind follow-up](https://xale.app/docs/ai/missed-habit-kind-follow-up)
- [Overdue tasks gentle sweep](https://xale.app/docs/ai/overdue-tasks-gentle-sweep)
- [Link to the note behind recipe](https://xale.app/docs/ai/link-to-the-note-behind-recipe)

**People and Areas**

- [Add people while saving](https://xale.app/docs/ai/add-people-while-saving)
- [Before a meeting person brief](https://xale.app/docs/ai/before-a-meeting-person-brief)
- [Who's waiting on me recipe](https://xale.app/docs/ai/who-s-waiting-on-me-recipe)
- [Work and home keep apart](https://xale.app/docs/ai/work-and-home-keep-apart)

**Calendars**

- [Plan around meetings subscribed calendar](https://xale.app/docs/ai/plan-around-meetings-subscribed-calendar)

**Recurring work and the person away**

- [Run a recurring check-in lifecycle](https://xale.app/docs/ai/run-a-recurring-check-in-lifecycle)
- [Suggest while away proposals recipe](https://xale.app/docs/ai/suggest-while-away-proposals-recipe)
- [Archive or remove two-step recipe](https://xale.app/docs/ai/archive-or-remove-two-step-recipe)

**Use-case walk-throughs**

- [Calmer mind late-night brain dump](https://xale.app/docs/ai/calmer-mind-late-night-brain-dump)
- [Calmer mind four days ahead](https://xale.app/docs/ai/calmer-mind-four-days-ahead)
- [Running a business client job plan](https://xale.app/docs/ai/running-a-business-client-job-plan)
- [Running a business who's waiting on me](https://xale.app/docs/ai/running-a-business-who-s-waiting-on-me)
- [Work-life balance weekly flow](https://xale.app/docs/ai/work-life-balance-weekly-flow)
- [Work-life balance hard stop days](https://xale.app/docs/ai/work-life-balance-hard-stop-days)
- [Healthier days clinic questions](https://xale.app/docs/ai/healthier-days-clinic-questions)
- [Healthier days active days plan](https://xale.app/docs/ai/healthier-days-active-days-plan)
- [Big goal training week](https://xale.app/docs/ai/big-goal-training-week)
- [Big goal goal into milestones](https://xale.app/docs/ai/big-goal-goal-into-milestones)
- [Big life change moving abroad plan](https://xale.app/docs/ai/big-life-change-moving-abroad-plan)
- [Big life change room setup list](https://xale.app/docs/ai/big-life-change-room-setup-list)
- [Work and home one shared day](https://xale.app/docs/ai/work-and-home-one-shared-day)

## [Limits and errors](https://xale.app/docs/ai/limits-and-errors)

- [Limits overview](https://xale.app/docs/ai/limits-overview)
- [Size limits notes, maps, calls](https://xale.app/docs/ai/size-limits-notes-maps-calls)
- [Rate limits and retries](https://xale.app/docs/ai/rate-limits-and-retries)
- [Error codes what they mean](https://xale.app/docs/ai/error-codes-what-they-mean)
- [Refusals how to fix](https://xale.app/docs/ai/refusals-how-to-fix)
- [Hidden items Trash and kept-away Areas](https://xale.app/docs/ai/hidden-items-trash-and-kept-away-areas)
- [Pro required what happens](https://xale.app/docs/ai/pro-required-what-happens)
- [Time zone limits for agents](https://xale.app/docs/ai/time-zone-limits-for-agents)
- [Write conflicts edits at once](https://xale.app/docs/ai/write-conflicts-edits-at-once)
- [Partial saves what to tell people](https://xale.app/docs/ai/partial-saves-what-to-tell-people)

## [Security and trust](https://xale.app/docs/ai/security-and-trust)

- [Security model for connectors](https://xale.app/docs/ai/security-model-for-connectors)
- [What agents can read by scope](https://xale.app/docs/ai/what-agents-can-read-by-scope)
- [Prompt injection Xale's defences](https://xale.app/docs/ai/prompt-injection-xale-s-defences)
- [Audit of changes what's recorded](https://xale.app/docs/ai/audit-of-changes-what-s-recorded)
- [Revoking access person's side](https://xale.app/docs/ai/revoking-access-person-s-side)

## [For builders](https://xale.app/docs/ai/for-builders)

- [Build an agent on Xale](https://xale.app/docs/ai/build-an-agent-on-xale)
- [Example conversations good and bad](https://xale.app/docs/ai/example-conversations-good-and-bad)
- [Evaluating your agent checklist](https://xale.app/docs/ai/evaluating-your-agent-checklist)
