| 1 | --- |
| 2 | title: "How to Create an AI Agent" |
| 3 | description: "Learn how to create custom AI coding agents in Continue Hub by remixing existing agents or building new ones from scratch with reusable blocks and YAML configuration." |
| 4 | sidebarTitle: "Create an AI Agent" |
| 5 | --- |
| 6 | |
| 7 | ## How to Create an AI Agent from Scratch |
| 8 | |
| 9 | To create an agent from scratch, select “New agent” in the top bar. |
| 10 | |
| 11 |  |
| 12 | |
| 13 | |
| 14 | Choose a name, slug, description, and icon for your agent. |
| 15 | |
| 16 | The easiest way to create an agent is to click "Create agent" with the default configuration and then add / remove blocks using the sidebar. |
| 17 | |
| 18 | Alternatively, you can edit the agent YAML directly before clicking "Create agent". Refer to examples of agents on [hub.continue.dev](https://hub.continue.dev) and visit the [YAML Reference](/reference#complete-yaml-config-example) docs for more details. |
| 19 | |
| 20 |  |
| 21 | |
| 22 | ## How to Remix an Agent |
| 23 | |
| 24 | You can also create an agent by remixing an existing one. This is useful if you want to start with a pre-configured agent and make modifications. |
| 25 | |
| 26 | By clicking the “remix” button, you’ll be taken to the “Create a remix” page. |
| 27 | |
| 28 |  |
| 29 | |
| 30 | Once here, you’ll be able to |
| 31 | |
| 32 | 1. add or remove blocks in YAML configuration |
| 33 | 2. change the name, description, icon, etc. |
| 34 | |
| 35 | Clicking “Create agent” will make this agent available for use. |