# doctl genai agent – DigitalOcean Documentation > The subcommands of `doctl genai agent` manage your GenAI agents. - [doctl genai agent create](https://docs.digitalocean.com/reference/doctl/reference/genai/agent/create/index.html.md): Creates a GenAI agent on your account. The command requires values for the `--name``--project-id``--model-id``--region`, and `--instruction` flags. - [doctl genai agent delete](https://docs.digitalocean.com/reference/doctl/reference/genai/agent/delete/index.html.md): Deletes a GenAI agent by ID. - [doctl genai agent get](https://docs.digitalocean.com/reference/doctl/reference/genai/agent/get/index.html.md): Retrieves information about an agent, including: - The Agent ID - The Agent name - The Agent's region - The Agent's model ID - The Agent's project ID - The Agent creation date, in ISO8601 combined date and time format - The ID of the user who created the … - [doctl genai agent list](https://docs.digitalocean.com/reference/doctl/reference/genai/agent/list/index.html.md): Retrieves a list of all the agents on your account, including the following information for each: - The Agent ID - The Agent name - The Agent's region - The Agent's model ID - The Agent's project ID - The Agent creation date, in ISO8601 combined date and … - [doctl genai agent list-versions](https://docs.digitalocean.com/reference/doctl/reference/genai/agent/list-versions/index.html.md): Retrieves a list of all the versions for an agent on your account including the following information for each version: - The Agent ID - Can it be rollbacked - The Version creation date, in ISO8601 combined date and time format - The Email of the user who … - [doctl genai agent update](https://docs.digitalocean.com/reference/doctl/reference/genai/agent/update/index.html.md): Use this command to update the name and configuration of an agent. - [doctl genai agent update-visibility](https://docs.digitalocean.com/reference/doctl/reference/genai/agent/update-visibility/index.html.md): Update the visibility of a GenAI agent. ## doctl genai agent apikeys The subcommands of `doctl genai agent apikeys` manage your API Keys linked with agents. - [doctl genai agent apikeys create](https://docs.digitalocean.com/reference/doctl/reference/genai/agent/apikeys/create/index.html.md): Creates an API key for your GenAI agent on your account. The command requires values for the `--name``--agent-id` The API key is created in the specified agent. - [doctl genai agent apikeys delete](https://docs.digitalocean.com/reference/doctl/reference/genai/agent/apikeys/delete/index.html.md): Deletes an api-key for an agent by ID. - [doctl genai agent apikeys list](https://docs.digitalocean.com/reference/doctl/reference/genai/agent/apikeys/list/index.html.md): Retrieves a list of all the api keys for your agent, including the following details: - The ApiKey ID - The ApiKey name - The ID of the user who created the Apikey - The ApiKey's Secret Key - The ApiKey deletion date, in ISO8601 combined date and time … - [doctl genai agent apikeys regenerate](https://docs.digitalocean.com/reference/doctl/reference/genai/agent/apikeys/regenerate/index.html.md): Regenerates an api-key for an agent by ID. - [doctl genai agent apikeys update](https://docs.digitalocean.com/reference/doctl/reference/genai/agent/apikeys/update/index.html.md): Use this command to update the name of an API key. ## doctl genai agent functionroute The subcommands of `doctl genai agent functionroute` allows you to access and manage function routes for GenAI Agents. - [doctl genai agent functionroute create](https://docs.digitalocean.com/reference/doctl/reference/genai/agent/functionroute/create/index.html.md): Create a function route for your GenAI agent.The command requires values for the `--agent-id``--description``--faas_name``--faas_namespace` `--function_name``--input_schema `, and `--output_schema ` flags. - [doctl genai agent functionroute delete](https://docs.digitalocean.com/reference/doctl/reference/genai/agent/functionroute/delete/index.html.md): Use this command to delete a function route of an agent. The command requires values for the `--agent-id` and `--function-id` flags. - [doctl genai agent functionroute update](https://docs.digitalocean.com/reference/doctl/reference/genai/agent/functionroute/update/index.html.md): Use this command to update function route of an agent.The command requires values for the `--agent-id` and `--function-id` flags. ## doctl genai agent route The subcommands of `doctl genai agent route` manage your GenAI agent routes. - [doctl genai agent route add](https://docs.digitalocean.com/reference/doctl/reference/genai/agent/route/add/index.html.md): Use this command to add an agent route to an agent. The command requires values for the `--parent-agent-id` and `--child-agent-id` flags. - [doctl genai agent route delete](https://docs.digitalocean.com/reference/doctl/reference/genai/agent/route/delete/index.html.md): Use this command to delete an agent route to an agent. The command requires values for the `--parent-agent-id` and `--child-agent-id` flags. - [doctl genai agent route update](https://docs.digitalocean.com/reference/doctl/reference/genai/agent/route/update/index.html.md): Use this command to updates an agent route to an agent.The command requires values for the `--parent-agent-id` and `--child-agent-id` flags.