Skip to content

Export and import

You can export an agent, a custom tool or a skill as a JSON file and import it into another workspace, for example to move an agent from a test workspace to production, or to share a skill with another team. Credentials never travel in the file.

To bring in agents your team keeps as files in a repository, such as an AGENTS.md or CLAUDE.md with Claude Code sub-agents and skills, import the stack from Git.

Each card has an export icon, Export as JSON:

  • an agent’s card on Agents
  • a custom tool’s card on Tools
  • a skill’s card on Skills

The browser downloads a file named after what you exported, for example agent-support-billing.virtuai.json.

An agent is exported with what it needs to work, each piece once:

Part In the file
The agent’s settings Name, description, system prompt, harness, model settings, initial memory seed, tags, its group’s name, and channel settings without their credentials
Custom tools In full, with their parameters. Header values that hold credentials are replaced with <set-me>
Skills In full, including the files that came with a skill imported from Git
Sub-agents In full, with their own tools and skills
Built-in tools and MCP servers By name only
Knowledge bases By name only. Their documents are not exported

What the agent learned (its current memory), its version history, its conversations and its evaluations stay in the original workspace.

No credential is written to the file: Telegram and Slack bot tokens and secrets, and tool header values that look like secrets. A header whose value is a {{parameter}} keeps it, since it names no secret.

  1. Open Agents, Tools or Skills in the workspace that should receive it.
  2. Select Import (on Skills, Import file) and pick the .virtuai.json file.
  3. Read the Imported summary.

Any file can be imported from any of the three pages: an agent’s file creates the agent with its tools and skills wherever you import it.

The import is all or nothing. If something in the file can’t be created, nothing is.

  • Agents are always created new, sub-agents included. Each gets a new Agent ID made from its name, for example support-billing-3f9a1c2e, so channel URLs from the original workspace don’t point at it.
  • The agent joins the group of the same name if the workspace has one, and starts with versioning off. If none of its channels is on, Web chat is turned on so you can try it.
  • A tool or skill whose name already exists in the workspace is reused, not duplicated. If its content differs from the file, the summary says so and the existing one is kept.
  • Built-in tools and MCP servers are linked by name to the ones in this workspace. A built-in tool that doesn’t exist here is left out. An MCP server that isn’t in the workspace has to be added and connected.
  • Knowledge bases are not imported. Create them here, upload their documents and connect them to the agent.
  • Channel credentials have to be set again. Telegram and Slack come in turned off until you set the bot token again and turn them back on.

The Imported summary lists the agents, tools and skills created, the tools and skills reused, and, under To finish setting it up, each thing to do by hand, such as “set the value of header ‘Authorization’ (credentials are not exported)” or “knowledge base ‘Policies’ is not imported; create it here and connect it”.

Teams often keep their agents as files in a repository: an AGENTS.md or CLAUDE.md with the project’s instructions, Claude Code sub-agents in .claude/agents/, skills and MCP servers. Import from Git turns them into VirtuAI agents in one step, as drafts that nobody can use until you publish them.

  1. Open Agents and select Import from Git.
  2. Enter the Repository URL, on GitHub, GitLab or Bitbucket. Optionally, enter a Branch or tag (default) and a Folder (optional). For a private repository, pick a saved token, or + Add a read-only token….
  3. Select Look for agents. VirtuAI reads the repository at its current commit and lists what it found, for example “3 agents at commit 4f1c2ab”. Everything that follows uses that commit, even if the repository changes meanwhile.
  4. Under Model for every agent, choose the Provider, Model, Max output tokens, Temperature and, where the model has it, Thinking level. Only providers with a key in the workspace are offered, and the field under Max output tokens shows the model’s limit. To give one agent its own settings, select Override model settings on it.
  5. Under Agents, clear any you don’t want and rename the rest if you like. an agent with this name already exists warns of a name already in use. Under Skills and MCP servers, choose what comes along; items the workspace already has read already here, reused.
  6. Read the notes, which list what isn’t imported and why, then select Import N agents as drafts.

The import is all or nothing: if something can’t be created, nothing is.

In the repository In VirtuAI
A folder with an AGENTS.md, CLAUDE.md or GEMINI.md An agent. The whole file becomes its system prompt, unchanged. Its name and description come from the file’s front matter, or else from the folder’s name and the file’s first paragraph.
.claude/agents/*.md Sub-agents of the agent in the same folder, which becomes a deep agent. A sub-agent’s model (sonnet, opus or haiku) suggests the newest Claude model of that family when the workspace has Anthropic credentials; otherwise it uses the model for every agent. Its tools list isn’t mapped: give it tools in VirtuAI.
A folder with a SKILL.md A skill, attached to the nearest agent above it. Like any skill imported from Git, it can be updated from Skills later.
HTTP or SSE servers in a .mcp.json MCP servers for the nearest agent. A server that runs a local command isn’t supported. ${…} placeholders are imported as they are: fill in the real values in MCP servers after importing.
Instructions for other tools, such as Cursor, Windsurf or Copilot, plus slash commands, hooks, settings and plugin manifests Not imported. The notes list them.

An agent with skills or sub-agents is created as a deep agent; the others are classic. Imported agents are tagged imported. An agent whose instructions are over 200 KB is left out, and one import takes at most 100 agents and 500 skills.

Until it’s published, an imported agent answers on no channel: it isn’t in the web chat picker, and a parent agent skips an unpublished sub-agent. Its card on Agents reads Draft · not published.

  • Review one: open it from the import result or from Agents. Edit it in the agent editor, try it with Test draft, and publish it with Publish…. See Drafts and publishing.
  • Publish them all: select Publish all in the import result. Sub-agents are published before the agents that use them, and each agent’s publishing policy applies: the result shows each agent as published, waiting for approval or not published, with the reason.

Imported agents keep versioning on, so later changes go to a draft too.

Action Needs
Export an agent or a skill agents.view
Export a tool tools.view
Import a file that creates agents or skills agents.create
Import a file that creates tools tools.create
Import an agent stack from Git agents.create
Publish the imported agents agents.publish

Importing an agent whose file carries custom tools needs both agents.create and tools.create. If a permission is missing, nothing is imported and the message names it. See Users and roles.