# Team export and import (team.json)

> Saves a whole agent team in one file, <team-name>.team.json: its steps (role, CLI, model, step prompt and instructions, skills by name, check and entry commands), its connections and their conditions, its layout on the canvas and its settings.

- Area: Desktop app
- Plans: All plans
- Last checked against the product: 2026-11-21
- Web page: https://agentsroom.dev/docs/team-file

## What it does

Saves a whole agent team in one file, `<team-name>.team.json`: its steps (role, CLI, model, step prompt and instructions, skills by name, check and entry commands), its connections and their conditions, its layout on the canvas and its settings. Another user, or you on another account or computer, imports that file and gets the same team without redrawing it. Before anything is saved, the import shows a preview with what does not match on that side and every shell command the team will run.

**Video (1 min 20):** [Send your AI agent team to a colleague as one file, shown in the real app](https://youtu.be/oFikyx010Gk). A three-agent team (Claude Code codes, Codex tests with `npm test`, Claude Code reviews) is exported with **Export to a file**, then imported in another project: the **Import a team** preview lists the three agents, a missing skill under **To check before importing** and `npm test` under **Commands this team runs on your computer**, and the same team opens in the editor.

## Where to find it

Inside a project, agents panel bar, **Teams**, then the **Configure** tab:
- **Export to a file**: the download icon on a team's row (project, client folder, global teams and templates alike). Your system's "Save As" dialog opens.
- **Import**: the button next to **New project team**, in the header of the **Project teams** section, below the global teams and templates (scroll down the **Configure** tab). It opens a file picker for a `.json` file.

## How to use it

1. On the first machine: **Teams**, **Configure**, **Export to a file** on the team, save the file.
2. Send the file (chat, mail, repository, forum post).
3. On the other side: **Teams**, **Configure**, **Import**, pick the file.
4. Read the preview: **Team name** (a free name such as "Bug hunt (2)" is proposed when the name is taken, edit it as you like), the crew, **To check before importing** and **Commands this team runs on your computer**.
5. Click **Import**: the team is added to this project's teams and opens in the editor. **Make app-wide** on its row moves it to all your projects.

## Settings

None.

## Agent tools (MCP)

No tool of its own. An agent asked to import a team file passes its `team` fields (`name`, `nodes`, `edges`, settings) to `teams_save`, with a dry run first, and shows you the commands the team runs. Asked to write one, it reads the team with `teams_get` and leaves out account slots, saved-agent links and literal environment values.

## Providers

All providers. A step on a CLI this version of the app does not know is listed in the preview; pick another CLI for it after the import.

## Mobile

Not on the mobile companion: a team file is a file on your computer, and the phone has no team editor to land it in. A team imported on the desktop is runnable from the phone like any other.

## Limits

- What is never in the file: account slots of a step, the link to a saved agent, the agent mailed by the team's runs, run dates, and environment values (only `{{secret:NAME}}` references are kept: the importer's own secret of that name is used). Your home folder is written `~` everywhere in the file.
- Skills are referenced by name, not copied: the preview lists those missing from the importer's libraries, and the steps start without them until they are added to the Skills library. Toolkits of another account are removed from the steps.
- A file is refused when it is larger than 1 MB, is not an AgentsRoom team, was exported by a newer version of the app, or has steps or connections that do not hold together.
- Importing a team from another multi-agent tool (WorkBuddy or similar) is not supported yet.

## Common questions

- **How do I send my agent team to a colleague?** Export it to a file and send them the file: **Teams**, **Configure**, the download icon **Export to a file** on the team's row. They open **Teams**, **Configure**, click **Import** in **Project teams** and pick the file; the preview shows the agents, what is missing on their side and every command, then **Import** adds the team. Video: https://youtu.be/oFikyx010Gk
- **Is it safe to import a team someone posted?** The import runs nothing. A team can run shell commands during a run (check commands, entry checks, launch commands): the preview lists every one of them verbatim, read them before clicking **Import**.
- **Do I need a file to use my team on my other computer?** No: on the same account, project and global teams already sync between your computers. The file is for another account, a backup or a post.
- **The name is already taken, what happens?** The preview proposes a free name; you can keep the same name anyway, two teams may share a name.
- **Is there a video that shows it?** Yes, a short video filmed in the real app shows a three-agent team exported with **Export to a file**, the **Import a team** preview in another project, and the same team opened in the editor: https://youtu.be/oFikyx010Gk

## Related

- [Agent Teams](https://agentsroom.dev/docs/teams.md): what a team is and how a run works.
- [Team Shared Library](https://agentsroom.dev/docs/team-shared-library.md): share teams with the colleagues of a Team plan without a file.
- [Skills Library](https://agentsroom.dev/docs/skills-library.md): add the skills a team references.
