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

# Projects

> Create, switch, rename, and delete projects from the dashboard, the CLI, or the plugin.

A project holds your tasks, tools, treatments, and experiments, and every member can open it. Model providers, Oqoqo AI feature models, and the run balance belong to the organization, so all projects share them. Choosing a project is step 1 of the [setup checklist](https://docs.oqoqo.ai/setup/organization.md#setup-checklist).

There's no project settings page: use the project switcher in the dashboard header, the CLI, or the plugin. The switcher has **New project** at the bottom, a search box once you have more than seven projects, and an edit button on each row that opens **Rename project**.

![Header project switcher open, with the project search box, a matching project, and New project.](https://mintcdn.com/oqoqo/YO1ysyUx4SPwBwoz/images/screenshots/project-switcher-light.png?fit=max\&auto=format\&n=YO1ysyUx4SPwBwoz\&q=85\&s=2b42b8653e414a43d257a3a5a9f87048)

## Create a project

> [tab] Dashboard
>
> 1. Open the project switcher in the dashboard header.
> 2. Select **New project**.
> 3. In **Create project**, enter a **Name** and select **Create project**.

> [tab] CLI
>
> ```bash theme={null}
> oqoqo projects create --name "Checkout agents" --mutation-attempt-id 4c1e2f0a-create-checkout
> ```
>
> Retry with the same `--mutation-attempt-id` to avoid creating a second project ([`oqoqo projects create`](https://docs.oqoqo.ai/cli/projects#oqoqo-projects-create)).

> [tab] Plugin (MCP)
>
> Ask your AI assistant to create the project. It calls **Create or rename a project** ([`manage_project`](https://docs.oqoqo.ai/mcp-server/tools#manage_project)).
>
> ```text theme={null}
> Create an Oqoqo project named "Checkout agents".
> ```

## Switch projects

The dashboard and the CLI each remember a current project. The plugin has no current project, so each tool call names its project.

> [tab] Dashboard
>
> Select a project in the project switcher. The **Manage** pages, experiments, and Ask Oqo use it.

> [tab] CLI
>
> ```bash theme={null}
> oqoqo projects list
> oqoqo projects use prj_7d20e6b4
> oqoqo projects current
> ```
>
> `projects use` remembers the project for later commands. To use another project for one command, pass `--project-id` ([`oqoqo projects use`](https://docs.oqoqo.ai/cli/projects#oqoqo-projects-use)).

> [tab] Plugin (MCP)
>
> Your AI assistant calls **Get the organization and its projects** ([`get_project_context`](https://docs.oqoqo.ai/mcp-server/tools#get_project_context)), then names the project in each call.

## Rename a project

> [tab] Dashboard
>
> 1. Open the project switcher.
> 2. Select the edit button on the project row.
> 3. In **Rename project**, edit **Project name** (80 characters or fewer) and select **Save changes**.

> [tab] CLI
>
> ```bash theme={null}
> oqoqo projects update prj_7d20e6b4 --name "Checkout agents (Q3)"
> ```
>
> To avoid overwriting someone else's change, pass `--expected-updated-at` with the value from `oqoqo projects inspect`. If the project changed since then, the rename fails ([`oqoqo projects update`](https://docs.oqoqo.ai/cli/projects#oqoqo-projects-update)).

> [tab] Plugin (MCP)
>
> Ask your AI assistant to rename the project. It calls **Create or rename a project** ([`manage_project`](https://docs.oqoqo.ai/mcp-server/tools#manage_project)).

## Delete a project

Deleting a project permanently removes everything in it: tasks, files, machines, tools, treatments, experiments, schedules, runs, and their Evals and Insights results. Oqoqo first stops running experiments, and the stopped runs don't count against your run balance.

> [!WARNING]
>
> You can't undo a deletion, and you can't delete the organization's only project.

> [tab] Dashboard
>
> 1. Open the project switcher.
> 2. Select the edit button on the project row.
> 3. In **Rename project**, select **Delete project**.
> 4. Type the project name to confirm, then select **Delete project**.

> [tab] CLI
>
> Preview what the deletion stops and removes, and any blockers:
>
> ```bash theme={null}
> oqoqo projects delete prj_7d20e6b4 --dry-run
> ```
>
> Then delete it. In a terminal, the CLI asks you to confirm. With `--output json` or outside a terminal, pass `--yes`.
>
> ```bash theme={null}
> oqoqo projects delete prj_7d20e6b4
> ```

> [tab] Plugin (MCP)
>
> Ask your AI assistant to preview the deletion first. It calls **Preview project deletion** ([`preview_delete_project`](https://docs.oqoqo.ai/mcp-server/tools#preview_delete_project)), then **Permanently delete a project** ([`delete_project`](https://docs.oqoqo.ai/mcp-server/tools#delete_project)) after you approve it.

## From the CLI and the plugin

| Task | CLI | Plugin (MCP) |
| - | - | - |
| List projects and show the current one | [`oqoqo projects list`](https://docs.oqoqo.ai/cli/projects#oqoqo-projects-list) | [`get_project_context`](https://docs.oqoqo.ai/mcp-server/tools#get_project_context) |
| Read one project | [`oqoqo projects inspect`](https://docs.oqoqo.ai/cli/projects#oqoqo-projects-inspect) | [`get_project_context`](https://docs.oqoqo.ai/mcp-server/tools#get_project_context) |
| Remember a project for later commands | [`oqoqo projects use`](https://docs.oqoqo.ai/cli/projects#oqoqo-projects-use) | Not needed: each call names its project |
| Create a project | [`oqoqo projects create`](https://docs.oqoqo.ai/cli/projects#oqoqo-projects-create) | [`manage_project`](https://docs.oqoqo.ai/mcp-server/tools#manage_project) |
| Rename a project | [`oqoqo projects update`](https://docs.oqoqo.ai/cli/projects#oqoqo-projects-update) | [`manage_project`](https://docs.oqoqo.ai/mcp-server/tools#manage_project) |
| Preview a deletion | [`oqoqo projects delete --dry-run`](https://docs.oqoqo.ai/cli/projects#oqoqo-projects-delete) | [`preview_delete_project`](https://docs.oqoqo.ai/mcp-server/tools#preview_delete_project) |
| Delete a project | [`oqoqo projects delete`](https://docs.oqoqo.ai/cli/projects#oqoqo-projects-delete) | [`delete_project`](https://docs.oqoqo.ai/mcp-server/tools#delete_project) |

## Next steps

> [card] [Model providers](https://docs.oqoqo.ai/setup/model-providers.md)
>
> Step 2: connect the models your agents use.

> [card] [Set up your organization](https://docs.oqoqo.ai/setup/organization.md#setup-checklist)
>
> See every setup step.

> [card] [oqoqo projects](https://docs.oqoqo.ai/cli/projects.md)
>
> Look up every projects command and flag.


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