> ## Documentation Index
> Fetch the complete documentation index at: https://graph.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# graph agent migrate

> Rewrite an agent file to the current agent format

Rewrites one agent file to the current agent file version.

## Arguments

**PATH** `string` *required*

Path to the agent file

## Options

**--json** `boolean`

Print a JSON envelope instead of text

## Global options

**-v, --verbose** `integer`

Increase log verbosity (-v info, -vv debug, -vvv trace)

```bash Usage theme={null}
graph agent migrate [OPTIONS] <PATH>
```

```bash Example theme={null}
graph agent migrate .graph/agents/release_notes.yaml
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.