---
title: "Set Agent Mesh Backend"
method: PATCH
path: "/admin/mesh/agents/{agent_id}"
tags: ["admin"]
---

# Set Agent Mesh Backend

`PATCH /admin/mesh/agents/{agent_id}`

Set the per-agent mesh backend for a single agent.

Body: {"mesh_backend": "nova" | "ang" | "shadow" | null}

- "nova": use Nova OS native /v1/ surface regardless of global setting
- "ang": use legacy ANG-compat endpoints regardless of global setting
- "shadow": use Nova OS as primary, fire local-flow comparison in background
- null: remove per-agent override (inherit global MESH_BACKEND)

Returns the updated effective backend.

## Path parameters

- `agent_id` string, uuid, required

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/meganova/apis/fastapi.md) · [All operations](https://skmtc.net/meganova/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/meganova/fastapi/revisions/2b2bab8b9017/schema)
