# What's next for configuration

> One policy for the realm's AI tools, written into each tool's settings on every device, with each tool's state reported back; planned, and what to use until then.

These configuration features are planned. None of them is available yet; each says what to use today.

The realm's endpoint settings already hold a switch for each (**AI tools**: inventory, config, sandbox, gateway, usage,
telemetry, opt-out). Changing them has no effect on devices yet: discovery runs on every approved device whatever the
inventory switch says.

## Managed configuration

**What it will do.** You set one policy for the realm's AI tools, and the AI tools agent on each device turns it into
each tool's own managed settings files, all or nothing: no one edits a tool's settings by hand, and no device is left
out. Each tool's state comes back to the realm's [fleet records](../../fleet/fleet-records/).

**How you'll use it.** You'll write the policy once for the realm, and watch `config_failures` in the fleet's overview
and each device's `programs` for tools it didn't take on.

**What to use today.** See which tools each device runs with [AI tool discovery](../../discovery/ai-tool-discovery/),
and configure them by hand or with your own device management.

## Managed programs

**What it will do.** Tools that reach their models only through settings written for them are pointed at the realm's
model gateway through a [local proxy](../../models/whats-next/#local-model-proxy) on the device, so their model calls
go out as the signed-in user. Model calls are attributed to the tool they come from. The first are GitHub Copilot CLI
and VS Code's Copilot Chat.

**How you'll use it.** You'll name the programs in the policy; their users keep working as before, with their model
calls going through the gateway.

**What to use today.** Each tool reaches its model provider directly, with its own key.

## Sandbox policy

**What it will do.** Set which network domains and folders the AI tools' own commands may reach, written into each
tool that has a sandbox of its own (Claude Code and Codex). A tool without one is reported as unsupported, not
silently skipped.

**How you'll use it.** You'll list the allowed domains and folders in the policy, and read each tool's outcome in its
configuration status.

**What to use today.** Each tool's sandbox is set on the device.

## User choice

**What it will do.** If the realm allows it, a user on the device chooses which of their tools the policy manages:
all, none, or a list. A tool they opt out has everything the AI tools agent wrote taken away cleanly, and is still
found by discovery.

**How you'll use it.** You'll allow the choice in the policy; users make it on their device, and their choice shows
as `opted_out` in the tool's status.

**What to use today.** Nothing is managed, so there is nothing to opt out of.

## Configuration status

**What it will do.** After every apply, report each managed tool's outcome beside the device in the fleet: applied,
unchanged, removed, in conflict with a local edit, inactive, blocked by another tool's failure, opted out, or failed,
with the worst shown for the device.

**How you'll use it.** You'll read it in each device's `programs`, and count failing devices in the overview's
`config_failures`.

**What to use today.** The fleet's `config_failures` and each device's `programs` are there, and empty.

## Drift repair and dry run

**What it will do.** A user who edits a managed settings file by hand doesn't keep the edit: the next apply puts the
policy back, including file permissions loosened by hand. Before any apply, a dry run shows every file it would write,
without writing one.

**How you'll use it.** You'll preview a policy change on a device with a dry run, then let it apply; hand edits are
undone on the next apply.

**What to use today.** Nothing is applied.

## Periodic re-apply

**What it will do.** Apply the current policy again on an interval of up to 30 days, off by default, so a deleted or edited file comes back between policy changes. Nothing is written when nothing changed.

**How you'll use it.** You'll set the interval in the policy.

**What to use today.** Nothing is applied.
