This page configures the Agentic panel's assistant. Most of it is a details panel, so the rows below are grouped by the same categories the app itself uses.
Backend
| Setting | What it does | Default | Choices |
|---|---|---|---|
| Backend | Which AI provider and connection method the Agentic panel uses. | Anthropic API (key) | Anthropic API (key), Claude Code (installed), OpenAI API (key), Codex (installed), Grok API (key), Grok Build (installed) |
The model and effort fields for each backend are not exposed on this page - use the model combo in the Agentic panel's own header instead.
Conversation
| Setting | What it does | Default | Range |
|---|---|---|---|
| Image Quality | Quality setting for images the assistant sends to the model. | 70 | 0 - 100 |
| Max Tokens | Maximum tokens in a single reply from the assistant. | 8192 | 1024 - 64000 |
| Max Tool Turns | Maximum number of tool-call turns allowed per conversation. | 100 | 1 - 400 |
| Max Images In Context | Maximum number of images kept in the conversation context at once. | 6 | 1 - 20 |
| Enable Subagents | Whether the assistant can delegate work to subagents. | on | - |
| Max Subagent Depth | How many levels deep a subagent can itself delegate to further subagents. | 1 | 1 - 3 |
Chat
| Setting | What it does | Default |
|---|---|---|
| Show Tool Call Rows | Shows each tool call as its own row in the chat transcript. | off |
Integration
| Setting | What it does | Default | Range / condition |
|---|---|---|---|
| Enable MCP Server | Runs a local MCP server so external tools can connect to Mesh Morpher. | on | - |
| MCP Port | Port the local MCP server listens on. | 47800 | 1024 - 65535 |
| Require MCP Auth | Requires the bearer token below to connect to the local MCP server. | on | - |
| Claude CLI Path | Path to the Claude Code CLI executable. | empty | Shown only when Backend is Claude Code |
| Codex CLI Path | Path to the Codex CLI executable. | empty | Shown only when Backend is Codex |
| Grok CLI Path | Path to the Grok Build CLI executable. | empty | Shown only when Backend is Grok Build |
| Sidecar Tool Access | What the assistant's sidecar process is allowed to touch. | Mesh tools only (safe) | Mesh tools only (safe), Full access (files, shell, web) |
| Sidecar Working Dir | Working directory for the sidecar process. | empty (uses the project directory) | - |
| Codex 1M context | Enables Codex's 1 million token context window. | off | Shown only when Backend is Codex |
API keys and the MCP token
Below the details panel, hand-built rows hold the actual secrets:
| Row | Behaviour |
|---|---|
| API key / API key (set) | Password box, shown only when Backend is Anthropic API. Hint text: sk-ant-... (stored encrypted on this machine). A Save button commits it. |
| OpenAI key / OpenAI key (set) | Password box, shown only when Backend is OpenAI API. Hint text: sk-... (stored encrypted on this machine). Save commits it. |
| Grok key / Grok key (set) | Password box, shown only when Backend is Grok API. Hint text: xai-... (stored encrypted on this machine). Save commits it. |
| MCP Bearer Token | Read-only, shown elided to 21 characters plus ..., or "(unavailable - see log)" if none exists yet. Tooltip: "Bearer token required by the local MCP server. Use Copy to get the full value for an external client's config." |
| Copy | Copies the full token to the clipboard. Tooltip: "Copy the MCP bearer token to the clipboard" |
| Regenerate | Mints a new token. Tooltip: "Generate a new MCP bearer token. Any client using the old token, including a running sidecar, must reconnect with the new one." |
All three provider keys are encrypted with Windows' own per-user encryption (DPAPI) before they touch disk, and are stored only on this machine - never as plain text.