# Mentions and variables

> Use linked entities and customer values in agent instructions without brittle names.

Canonical: https://valuechat.app/docs/mentions-variables
Category: AI agents

## Before you start

Use a test channel or sample conversation first. Confirm the result before applying the setup to production traffic.

## How it works

1. Mentions. Type @ or use the mention control to select supported knowledge bases, assignment targets, tags, stages and other linked entities offered by that editor context.

2. Variables. Type $ or use its picker to search available contact variables and supported field references by display name or key. Saved values provide context; a write target is a distinct reference.

3. Identity. References keep their linked identity if the visible target is renamed. Simply typing an agent or field name is not the same as selecting its reference.

4. Permissions. The instruction compiler uses supported typed references to derive action permissions. Only references valid for the skill/context can be used; a reference cannot grant access across workspaces.

5. Example. Link the Support agent as a handoff target and reference a permitted customer phone variable in a private summary. Do not expose private context or secrets in a public answer.

## What to verify

- The expected channel, conversation, contact or execution is visible.
- The assignment matches the configured routing.
- No customer-facing message claims an action that failed.
- Activity or execution history explains the result.

## Need help?

support@valuechat.app. Never send API keys or passwords.
