.md, an internal system’s export, or a definition your pipeline generates. One import call creates or updates it.
Pick a flow
All three use the same import engine.
The conversational flow
Paste the definition to Omni, in xpander Chat or an MCP client connected through Omni in your MCP client.tools entry with no xpander skill equivalent and suggests a next step for each. From Claude Code connected to Omni’s MCP endpoint, you can just ask it to “export this agent to xpander”.
The direct flow: import_agent_manifest
For structured data, pass the canonical manifest to import_agent_manifest, available in any Omni conversation, including over MCP.
The REST API has a separate import for agents published as templates. The Import agent endpoint (
POST /v1/agents/template_import/{template_id}) copies a template from your organization, or one shared with it, into a new agent. The manifest import on this page is for definitions that live outside xpander.Manifest fields
Validation is all-or-nothing. An invalid manifest imports nothing, and the error names each bad field and how to fix it.
What happens to each asset
Credentials: where each kind is entered
Secret values never travel through the import, the conversation or the report. Where they live afterwards: Credentials.Idempotent re-import
Re-importing the samename, as the same user, updates the agent and the report says updated. Instructions and description are rewritten, model is set again when it resolves, files are re-seeded, and missing schedules and MCP endpoints are added (matched by (cron, prompt) and by URL). The manifest is safe to keep in version control and re-apply on every change.
The CI flow
1
Import the manifest
Call
import_agent_manifest over the Omni MCP endpoint with an org API key. The report returns the agent_id.2
Set credentials headlessly
POST /v1/agents/{agent_id}/workspace/secrets with your org API key writes the same vault the browser link does.3
Re-run on every change
The import is idempotent, so the pipeline converges the agent to the manifest.
The import is non-blocking on anything it cannot map. The agent deploys anyway, and the report names every
tools entry, endpoint and credential that still needs you. Nothing is dropped silently.Next steps
Adjust the imported agent
Model, instructions and behavior.
Enter the agent's credentials
Where secret values live.

