# Import and export agent packages and configure system agents

Export or load agent packages, and query, validate, and update system-agent configuration. This page does not cover normal-agent creation, versions, or runtime configuration.

## Prerequisites

Prepare credentials that can access the target workspace and the target information to import, export, or configure. For service endpoints, authentication, and general request formats, see [Make your first AI Studio API call](https://omnifabric.cloudsigma.com/docs/developer/quickstart/index.html.md).

The package information required by export and load actions is defined by their action pages. Query the current configuration before updating a system agent.

## Call sequence

1. To migrate or back up an agent, export its package. To load an existing package, use the load action and confirm its returned result.
2. Before configuring a system agent, [get the system-agent configuration](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/agents/system-agent-setups/get-system-agent-setup.html.md).
3. To select a GitHub project, list available projects based on the current configuration or the new configuration to submit.
4. After updating the configuration, get the system-agent configuration again to confirm the current result.

## API operations

### Import and export agent packages

| Task | Use it when |
| --- | --- |
| [Export an agent package](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/agents/agent-packages/export-agent-package.html.md) | Obtain an agent package. |
| [Load an agent package](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/agents/agent-packages/load-agent-package.html.md) | You prepared an agent package and need to load it. |

### Query and update system-agent configuration

| Task | Use it when |
| --- | --- |
| [Get system-agent configuration](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/agents/system-agent-setups/get-system-agent-setup.html.md) | Confirm the current configuration before or after an update. |
| [List system-agent GitHub projects](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/agents/system-agent-setups/list-system-agent-github-projects.html.md) | Select a GitHub project based on the current configuration. |
| [List system-agent GitHub projects for new configuration](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/agents/system-agent-setups/list-github-projects-for-create.html.md) | Query projects from the content to submit before creating a new configuration. |
| [Update system-agent configuration](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/agents/system-agent-setups/update-system-agent-setup.html.md) | You confirmed the target configuration. |

## Confirm the result

After loading a package, confirm the result on its load action page. After updating a system-agent configuration, use [Get system-agent configuration](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/agents/system-agent-setups/get-system-agent-setup.html.md) to confirm the current configuration.

## Next steps

- [Create and maintain agents](agents.md)
- [Configure models, runtimes, and policies](https://omnifabric.cloudsigma.com/docs/developer/api/ai-studio/agents/model-runtime-policies.html.md)
