---
title: "Agents & confirmations | Fitaily Docs"
description: "The shared MCP interface, Fitaily’s in-app Agent Core and in-chat write confirmation."
url: "https://fitaily.com/docs/agents/en"
canonical: "https://fitaily.com/docs/agents/en"
lang: en
---

# Agents & confirmations

Fitaily exposes one MCP tool contract. External assistants such as ChatGPT and Claude connect directly; Fitaily’s in-app chat uses the backend Agent Core and the same MCP tool layer.

## Models and the tool layer

- ChatGPT, Claude and other MCP clients provide their own model; they do not run Fitaily’s agent loop.
- Fitaily chat uses `AgentModelAdapter`; DeepSeek is the current default adapter. This is an extension point, not a completed backend integration for OpenAI or Anthropic.
- The Agent Core policy is versioned (currently `1.1.0`) and its version is recorded in the turn audit. The model is not the security boundary — the backend enforces writes.

## How write approval works

1. **The user asks for an operation**: Say what you want to log (e.g. “log lunch: chicken with rice”). The assistant shows the exact tool and values (dish, meal type, macros) and asks for approval in the chat.
2. **You confirm in the chat**: Reply “yes” (or correct the values). Only after your approval does the assistant call the write tool, which performs the operation immediately and returns the saved entry.

> **You always see the exact operation: The assistant never writes without your in-chat approval. If the dish, meal type or macros are wrong, correct them before confirming — the assistant shows the updated version for approval.

## Shared memory

- Memory stores `preference` or `context` entries, up to 50 per user and 500 characters per value. Saving the same key updates the existing entry.
- Fitaily chat loads up to the 20 most recently changed entries into context. Fitness goals remain in the existing goals model, and conversation/actions in their existing logs — they are not duplicated into memory.
- Use `list_agent_memory` to review entries, `save_agent_memory` to add/update, and `delete_agent_memory` to remove them. Every save and deletion is confirmed in the chat.

## Dashboards and analytics

- Dashboards are private to their owner. Configurations require `schemaVersion: 1`, use a metric whitelist, are limited to 20 widgets and support `metric`, `line_chart` and `bar_chart`.
- `clientRequestId` makes create retries idempotent; `expectedVersion` detects concurrent edits. Updates preserve versioned configuration history.
- Analytics uses the same backend Metrics Registry for MCP and the app. Trend results include freshness metadata, and dashboards return their period and `fetchedAt`; correlation does not imply causation.

## Compatibility test coverage

Automated tests verify the shared MCP contract and approval gate, but do not run models in external services. Behavioral differences between ChatGPT, Claude and DeepSeek still require QA runs with real clients.

---

[Fitaily MCP na GitHubie](https://github.com/rafafau/fitaily-mcp)
