Exporting and importing agents and workflows

Status: Current | Last reviewed: 2026-10-08

Move an agent or workflow between environments (dev → staging → production, or between tenants) with the portable export container.

Export

Exports from inside an editor always use the version you're currently viewing — the dialog's title shows a badge (e.g. Exports: Draft or Exports: v4 (live)) confirming which version the download will contain. Switch versions with the version selector before exporting if you need a different one. List-row exports use the agent's current published version / the workflow's current configuration.

The portable zip contains the configuration plus a mappings file listing every external item the config references — integrations, tools, other workflows, surface configs — with their names, so the destination environment can match them even though the ids differ.

Import

If the export references external items, a mapping dialog opens: for each referenced item you pick the matching one in this environment. Exact name matches are pre-selected. You can leave entries blank:

The import always creates a new draft named "… (Imported)" — it never overwrites an existing agent or workflow.

What does NOT travel

Export code packages

The agent editor's Export dialog can generate one-way code packages that run the agent outside TrueServe. These downloads differ from the portable export container:

Three targets are available, each behind its feature flag:

If an agent's shape can't be exported to a target (for example a translation agent, or a non-Google agent to ADK), the export shows the reasons in a notification instead of downloading.

External developers remain responsible for their production UI, web audio, SIP/PSTN, telephony, hosting, and secret management.

Export a workflow as code (LangGraph)

When code export is enabled, LangGraph code package (.zip) appears both in the Workflows list's ⋯ menu and in the workflow editor's Export dialog — a standalone Python package that executes the designed workflow using LangGraph. From the editor it exports the version you're currently viewing.

If a workflow can't be exported (for example a batch-mode workflow), the reasons appear in a notification.

See also