Skip to content

convert

Description

Commands for converting between component types.

Available Commands:

agent_to_service: Convert an autonomous agent into a deployable service

Notes

- Handles package type conversion while preserving functionality
- Manages dependencies and package structure automatically
- Validates components before conversion
- Supports Open Autonomy service standards

Subcommands

agent-to-service

Convert an autonomous agent into a deployable service.

Required Parameters:

agent_public_id: Public ID of the source agent

service_public_id: Public ID for the target service

Optional Parameters:

number_of_agents (-n): Number of agents to include in the service

force (-f): Force overwrite if service exists

Notes

The agent must exist in the agent registry. The service must not exist unless force=True.

The function will validate these prerequisites before proceeding.

Exceptions are handled by the underlying ConvertCliTool class.

Example usage:

adev convert agent-to-service author/some_agent author/some_finished_service