cpln agent — Manage agents that connect self-hosted infrastructure to Control Plane.
Manage agentsFor a detailed overview, please visit the agent’s reference page.
cpln agent [SUBCOMMAND]
Commands: cpln agent access-report <ref> Show the access report for the referenced agent cpln agent audit [ref] Retrieve audit trail events for the referenced agent cpln agent create Create a new agent cpln agent delete <ref...> Delete one or more referenced agents cpln agent edit <ref> Edit the referenced agent, as YAML, within an editor cpln agent eventlog <ref> Show the event log of the referenced agent [aliases: log] cpln agent get [ref...] Retrieve one or more referenced agents cpln agent info <ref> Get info about an agent cpln agent manifest Generate a manifest for running an agent in K8S cpln agent patch <ref> Update the referenced agent's metadata using an input file cpln agent permissions Show the grantable permissions for an agent object type cpln agent query Find all the agents based on the given query cpln agent tag <ref...> Manage the tags belonging to one or more referenced agents cpln agent up Run an agent within a local Docker instance cpln agent update <ref> Update properties of the referenced agentOptions: --help Show help [boolean]
Show the access report for the referenced agentUsage
cpln agent access-report <ref> [OPTIONS]
Reference
Positionals: ref The resource reference. Usually it is the name of the resource. [required]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Retrieve audit trail events for the referenced agentUsage
cpln agent audit [ref] [OPTIONS]
Reference
Positionals: ref The resource reference. Usually it is the name of the resource.Command options: --subject Filter by subject (serviceaccount name or user email) [string] --context Audit context name (the 'cpln' context displays Control Plane actions) [string] [default: "cpln"] --since Relative lookback window from now (e.g., 1h, 24h, 7d). Mutually exclusive with --from/--to [string] [default: "7d"] --from Start time for audit events (ISO 8601 format or relative duration, e.g., 2025-10-23T07:00:00Z, 7d, 1h). Cannot be used with --since [string] --to End time for audit events (ISO 8601 format or relative duration, e.g., 2025-10-23T07:00:00Z, 1d, 30m) [string]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Command options: --name Name of the agent [required] --description, --desc Optional description, defaults to the name if not set --tag Attach tags (e.g., --tag drink=water) --dry-run Validate the request and print the resource that would be written, without writing it. Defaults the output format to yaml-slim [boolean]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Positionals: ref One or more resource references. Usually it is the name of the resource. [array] [required] [default: []]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Edit the referenced agent, as YAML, within an editorUsage
cpln agent edit <ref> [OPTIONS]
The default editor can be set by using the EDITOR environment variable.
Reference
Positionals: ref The resource reference. Usually it is the name of the resource. [required]Command options: --replace, -r Replace instead of patch/merge [boolean] [default: false] --dry-run Validate the request and print the resource that would be written, without writing it. Defaults the output format to yaml-slim [boolean]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Positionals: ref The resource reference. Usually it is the name of the resource. [required]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Positionals: ref One or more resource references. Usually it is the name of the resource. [array] [default: []]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Positionals: ref The resource reference. Usually it is the name of the resource. [required]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Command options: --bootstrap-file Path to the bootstrap config file [required] --namespace, -n Namespace where the agent deployment(s) will live [required] --image Advanced use: Use a different agent Docker image --cluster Add metadata to agent's environment, useful to remind you which cluster an agent is running in --replicas Number of agent deployments to create [default: 1] --create-namespace Create the namespace [boolean] [default: true]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Update the referenced agent’s metadata using an input fileUsage
cpln agent patch <ref> --file FILE_NAME [OPTIONS]
Running this command with the option --file - sets the input to stdin. The input is required to be a valid JSON or YAML string (e.g., {"description": "My new description"} or description: My new description). To complete the update, press Control-D (or Control-Z if you are using Windows).
Reference
Positionals: ref The resource reference. Usually it is the name of the resource. [required]Command options: --file, -f File to load the patch from. Use `--file -` to enable input from stdin. [required] --dry-run Validate the request and print the resource that would be written, without writing it. Defaults the output format to yaml-slim [boolean]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Show the grantable permissions for an agent object typeUsage
cpln agent permissions [OPTIONS]
Reference
Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Query options: --match Query filter type [choices: "all", "none", "any"] [default: "all"] --property, --prop Property to query --tag Tag to query --rel Relation to queryContext options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Manage the tags belonging to one or more referenced agentsUsage
cpln agent tag <ref...> --tag KEY=VALUE [OPTIONS]
Built-in tags, which begin with cpln/*, can’t be modified.
Reference
Positionals: ref One or more resource references. Usually it is the name of the resource. [array] [required] [default: []]Command options: --tag Attach tags (e.g., --tag drink=water) --remove-tag Remove tags (e.g., --remove-tag tagname) --dry-run Validate the request and print the resource that would be written, without writing it. Defaults the output format to yaml-slim [boolean]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
cpln agent up --bootstrap-file FILE_NAME [--background] [OPTIONS]
Reference
Command options: --bootstrap-file Path to the bootstrap config file [required] --background, -b If set, run the agent as a background process [boolean] --image Advanced use: Use a different agent Docker image --net Docker network to use [default: "bridge"] --exposeProxy, -p Expose port 3128 if agent is to be used as forward proxy. Has no effect on v1 agents [boolean]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
Positionals: ref The resource reference. Usually it is the name of the resource. [required]Update Properties: --set Update the following properties (e.g., --set description="Updated Description"): description string tags.<key> string --unset Unset a property (same paths as --set, e.g., --unset description)Command options: --dry-run Validate the request and print the resource that would be written, without writing it. Defaults the output format to yaml-slim [boolean]Context options: --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` commandFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --help Show help [boolean]
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Control Plane","description":"Documentation for Control Plane, a hybrid multi-cloud platform for deploying and managing workloads, Kubernetes, networking, secrets, logs, and infrastructure across AWS, GCP, Azure, and private clouds.","colors":{"primary":"#1563ff","light":"#64a5ef","dark":"#1563ff"},"logo":{"light":"https://mintcdn.com/controlplanecorporation/hwvJiAoqIziVJ3gK/logos/dark.svg?fit=max\u0026auto=format\u0026n=hwvJiAoqIziVJ3gK\u0026q=85\u0026s=ec7b5a4bb958adc4d92dedfb41ab2e3c","dark":"https://mintcdn.com/controlplanecorporation/hwvJiAoqIziVJ3gK/logos/light.svg?fit=max\u0026auto=format\u0026n=hwvJiAoqIziVJ3gK\u0026q=85\u0026s=4904ca0b5a8c55fa87495b8edd04aadc"},"favicon":"https://mintcdn.com/controlplanecorporation/hwvJiAoqIziVJ3gK/logos/favicon.png?fit=max\u0026auto=format\u0026n=hwvJiAoqIziVJ3gK\u0026q=85\u0026s=11640a5f7b1a462c233be7a72afa72d7","api":{"openapi":["https://api.cpln.io/openapi.json","https://audit.cpln.io/openapi.json"],"mdx":{"auth":{"method":"bearer"},"server":"https://api.cpln.io"}},"navbar":{"links":[{"href":"https://console.cpln.io/signin","label":"Sign in"}],"primary":{"type":"button","label":"Sign up","href":"https://console.cpln.io/signup"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/control-plane-corporation","youtube":"https://www.youtube.com/@controlplanecorporation","reddit":"https://www.reddit.com/r/controlplane"}},"search":{"prompt":"Search Control Plane docs..."},"seo":{"indexing":"navigable"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity",{"title":"Install MCP Server","description":"Connect the Control Plane MCP Server to your AI tool","icon":"plug","href":"https://docs.controlplane.com/ai/overview"}],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Website","icon":"compass","href":"https://controlplane.com"},{"anchor":"Status","icon":"signal","href":"https://status.cpln.io/"},{"anchor":"Blog","icon":"newspaper","href":"https://controlplane.com/blog"},{"anchor":"FAQ","icon":"question","href":"https://controlplane.com/faq"},{"anchor":"Product Demos","icon":"video","href":"https://controlplane.com/product-demos"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"controlplanecorporation","hasAudioNarration":false,"actualSubdomain":"controlplanecorporation","customDomains":["docs.controlplane.com"],"gitSource":{"type":"github","owner":"controlplane-docs","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"DISABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"DISABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af4fab4dc28594f180fced1","clientVersion":"0.0.4117","searchFilterCounts":[{"language":"default","tag":"API Reference","count":173},{"language":"default","tag":"Core API","count":164},{"language":"default","tag":"Template Catalog","count":112},{"language":"default","tag":"Templates","count":102},{"language":"default","tag":"Home","count":79},{"language":"default","tag":"How-to Guides","count":72},{"language":"default","tag":"CLI Reference","count":66},{"language":"default","tag":"Reference","count":49},{"language":"default","tag":"Commands","count":38},{"language":"default","tag":"Workload","count":24}],"searchSettings":{"maxResults":5}},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"global.css","content":"html{overflow-y:scroll}"},{"filePath":"style.css","content":"img[src*=\"/icons/mcp-sidebar.svg\"]{filter:brightness(0) saturate(100%) invert(69%) sepia(9%) saturate(309%) hue-rotate(176deg) brightness(95%) contrast(87%)!important}a[aria-current=\"page\"] img[src*=\"/icons/mcp-sidebar.svg\"]{filter:brightness(0) saturate(100%) invert(28%) sepia(98%) saturate(3000%) hue-rotate(213deg) brightness(102%) contrast(101%)!important}.dark img[src*=\"/icons/mcp-sidebar.svg\"]{filter:brightness(0) saturate(100%) invert(47%) sepia(8%) saturate(420%) hue-rotate(177deg) brightness(94%) contrast(85%)!important}.dark a[aria-current=\"page\"] img[src*=\"/icons/mcp-sidebar.svg\"]{filter:brightness(0) saturate(100%) invert(63%) sepia(74%) saturate(380%) hue-rotate(186deg) brightness(98%) contrast(91%)!important}img.sidebar-group-icon[src*=\"/icons/mcp-sidebar.svg\"]{filter:brightness(0)!important}.dark img.sidebar-group-icon[src*=\"/icons/mcp-sidebar.svg\"]{filter:brightness(0) invert(1)!important}img[src*=\"/icons/mcp.svg\"]{filter:brightness(0) saturate(100%) invert(28%) sepia(98%) saturate(3000%) hue-rotate(213deg) brightness(102%) contrast(101%)!important}.dark img[src*=\"/icons/mcp.svg\"]{filter:brightness(0) saturate(100%) invert(63%) sepia(74%) saturate(380%) hue-rotate(186deg) brightness(98%) contrast(91%)!important}.dark img[src*=\"/icons/chatgpt.svg\"],.dark img[src*=\"/icons/codex.svg\"],.dark img[src*=\"/icons/cursor.svg\"],.dark img[src*=\"/icons/opencode.svg\"]{filter:invert(1)!important}"}],"page":{"pagePath":"cli-reference/commands/agent","slug":"/cli-reference/commands/agent","pageMetadata":{"title":"agent","description":"cpln agent — Manage agents that connect self-hosted infrastructure to Control Plane.","keywords":["cpln agent","wormhole agent","self-hosted agent","private network access","on-prem connectivity","tunnel agent","agent token","agent bootstrap","cross-cloud connectivity","vpc access"],"href":"/cli-reference/commands/agent"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"cpln agent — Manage agents that connect self-hosted infrastructure to Control Plane.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,CodeBlock,CodeGroup,Heading,Note}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Manage agents`}),`\n`,_jsxs(_components.p,{children:[`For a detailed overview, please visit the `,_jsx(_components.a,{href:`/reference/agent`,children:`agent’s`}),` reference page.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln agent [SUBCOMMAND]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`20`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`20`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Commands:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln agent access-report \u003cref> Show the access report for the referenced agent`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln agent audit [ref] Retrieve audit trail events for the referenced agent`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln agent create Create a new agent`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln agent delete \u003cref...> Delete one or more referenced agents`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln agent edit \u003cref> Edit the referenced agent, as YAML, within an editor`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln agent eventlog \u003cref> Show the event log of the referenced agent [aliases: log]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln agent get [ref...] Retrieve one or more referenced agents`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln agent info \u003cref> Get info about an agent`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln agent manifest Generate a manifest for running an agent in K8S`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln agent patch \u003cref> Update the referenced agent's metadata using an input file`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln agent permissions Show the grantable permissions for an agent object type`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln agent query Find all the agents based on the given query`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln agent tag \u003cref...> Manage the tags belonging to one or more referenced agents`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln agent up Run an agent within a local Docker instance`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln agent update \u003cref> Update properties of the referenced agent`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`agent-access-report`,children:`agent access-report`}),`\n`,_jsx(_components.p,{children:`Show the access report for the referenced agent`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln agent access-report \u003cref> [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`25`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`25`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref The resource reference. Usually it is the name of the resource. [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsx(Accordion,{title:`Example`,id:`example`,children:_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` agent`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` access-report`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-agent`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`18`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`18`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-----------+--------------------------------------------------------+--------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|PERMISSION |PRINCIPAL |GRANTED |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|-----------|--------------------------------------------------------|--------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|create |/org/demo-cpln-organization/group/superusers |manage |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|create |/org/demo-cpln-organization/serviceaccount/controlplane |manage |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|delete |/org/demo-cpln-organization/group/superusers |manage |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|delete |/org/demo-cpln-organization/serviceaccount/controlplane |manage |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|edit |/org/demo-cpln-organization/group/superusers |manage |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|edit |/org/demo-cpln-organization/serviceaccount/controlplane |manage |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|manage |/org/demo-cpln-organization/group/superusers |manage |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|manage |/org/demo-cpln-organization/serviceaccount/controlplane |manage |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|use |/org/demo-cpln-organization/group/superusers |manage |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|use |/org/demo-cpln-organization/serviceaccount/controlplane |manage |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|view |/org/demo-cpln-organization/group/viewers |view |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|view |/org/demo-cpln-organization/group/superusers |manage |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|view |/org/demo-cpln-organization/serviceaccount/controlplane |manage |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-----------+--------------------------------------------------------+--------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`agent-audit`,children:`agent audit`}),`\n`,_jsx(_components.p,{children:`Retrieve audit trail events for the referenced agent`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln agent audit [ref] [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-1`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`32`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`32`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref The resource reference. Usually it is the name of the resource.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Command options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --subject Filter by subject (serviceaccount name or user email) [string]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --context Audit context name (the 'cpln' context displays Control Plane actions) [string] [default: \"cpln\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --since Relative lookback window from now (e.g., 1h, 24h, 7d). Mutually exclusive with --from/--to [string] [default: \"7d\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --from Start time for audit events (ISO 8601 format or relative duration, e.g., 2025-10-23T07:00:00Z, 7d, 1h). Cannot be used with --since [string]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --to End time for audit events (ISO 8601 format or relative duration, e.g., 2025-10-23T07:00:00Z, 1d, 30m) [string]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`agent-create`,children:`agent create`}),`\n`,_jsx(_components.p,{children:`Create a new agent`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln agent create --name AGENT_NAME [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-2`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`28`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`28`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Command options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --name Name of the agent [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --description, --desc Optional description, defaults to the name if not set`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --tag Attach tags (e.g., --tag drink=water)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --dry-run Validate the request and print the resource that would be written, without writing it. Defaults the output format to yaml-slim [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsx(Accordion,{title:`Example`,id:`example-1`,children:_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` agent`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --name`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-agent`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --desc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-agent`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --tag`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` drink=water`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`8`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"agentId\": \"83508199-6a83-4e02-b2cb-fa20016624bd\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"agentLink\": \"/org/demo-cpln-organization/agent/demo-agent\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"hubEndpoint\": \"https://hub.test.cpln.io\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"registrationToken\": \"a2JnqiLnDquf9gDn-JSU5au1EzP68IpET9VMWe_TabX_yK236t8Lkr6g/l5-Fot\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"protocolVersion\": \"v2\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`agent-delete`,children:`agent delete`}),`\n`,_jsx(_components.p,{children:`Delete one or more referenced agents`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln agent delete \u003cref...> [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-3`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`25`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`25`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref One or more resource references. Usually it is the name of the resource. [array] [required] [default: []]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsx(Accordion,{title:`Example`,id:`example-2`,children:_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` agent`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` delete`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-agent`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`If the delete was successful, a new command prompt will be shown.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`agent-edit`,children:`agent edit`}),`\n`,_jsx(_components.p,{children:`Edit the referenced agent, as YAML, within an editor`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln agent edit \u003cref> [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`The default editor can be set by using the EDITOR environment variable.`})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-4`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`29`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`29`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref The resource reference. Usually it is the name of the resource. [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Command options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --replace, -r Replace instead of patch/merge [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --dry-run Validate the request and print the resource that would be written, without writing it. Defaults the output format to yaml-slim [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsx(Accordion,{title:`Example`,id:`example-3`,children:_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` agent`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` edit`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-agent`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Your default editor will be launched.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Once any modifications are saved, the updates will be sent to the API.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`agent-eventlog`,children:`agent eventlog`}),`\n`,_jsx(_components.p,{children:`Show the event log of the referenced agent`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln agent eventlog \u003cref> [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-5`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`25`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`25`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref The resource reference. Usually it is the name of the resource. [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsx(Accordion,{title:`Example`,id:`example-4`,children:_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` agent`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` eventlog`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-agent`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`The event log for the referenced agent will be shown.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`agent-get`,children:`agent get`}),`\n`,_jsx(_components.p,{children:`Retrieve one or more referenced agents`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln agent get [ref...] [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`An empty reference will return all references`})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-6`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`25`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`25`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref One or more resource references. Usually it is the name of the resource. [array] [default: []]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsxs(Accordion,{title:`Example`,id:`example-5`,children:[_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Get all agents`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` agent`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` get`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`8`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-----------------+-----------------+--------+--------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |CREATED |TAGS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|-----------------|-----------------|--------|--------------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-agent |demo-agent |Now |drink=\"water\" |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-agent-get-1 |demo-agent-get-1 |Now | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-agent-get-2 |demo-agent-get-2 |Now | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-----------------+-----------------+--------+--------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Get one agent`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` agent`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` get`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-agent-get-1`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-----------------+-----------------+--------+-----+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |CREATED |TAGS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|-----------------|-----------------|--------|-----|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-agent-get-1 |demo-agent-get-1 |Now | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-----------------+-----------------+--------+-----+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Get multiple agents`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` agent`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` get`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-agent-get-1`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-agent-get-2`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`7`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-----------------+-----------------+--------+-----+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |CREATED |TAGS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|-----------------|-----------------|--------|-----|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-agent-get-1 |demo-agent-get-1 |Now | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-agent-get-2 |demo-agent-get-2 |Now | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-----------------+-----------------+--------+-----+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`agent-info`,children:`agent info`}),`\n`,_jsx(_components.p,{children:`Get info about an agent`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln agent info \u003cref> [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-7`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`25`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`25`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref The resource reference. Usually it is the name of the resource. [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsxs(Accordion,{title:`Example`,id:`example-6`,children:[_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Return the details of a deployed agent. The example below was for an agent deployed at AWS.`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` agent`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` info`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-agent`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`18`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`18`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"env\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cpuPlatform\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"x86_64\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"image\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ami-0fff5e2863a768052\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"i-01adfe256a82a2a76\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"machineType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"t2.micro\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"zone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"us-west-2c\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"internalIP\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"172.31.13.246\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"hostname\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ip-172-31-13-246.us-west-2.compute.internal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"vpc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"vpc-29e3c451\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"subnet\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"subnet-b11e9dec\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"accountId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"015716931765\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cloudProvider\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"aws\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lastActive\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2021-05-01T00:26:55.945Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"serviceCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"peerCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`agent-manifest`,children:`agent manifest`}),`\n`,_jsx(_components.p,{children:`Generate a manifest for running an agent in K8S`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln agent manifest --bootstrap-file FILE_NAME --namespace NAME_SPACE [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-8`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`30`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`30`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Command options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --bootstrap-file Path to the bootstrap config file [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --namespace, -n Namespace where the agent deployment(s) will live [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --image Advanced use: Use a different agent Docker image`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --cluster Add metadata to agent's environment, useful to remind you which cluster an agent is running in`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --replicas Number of agent deployments to create [default: 1]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --create-namespace Create the namespace [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`agent-patch`,children:`agent patch`}),`\n`,_jsx(_components.p,{children:`Update the referenced agent’s metadata using an input file`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln agent patch \u003cref> --file FILE_NAME [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Running this command with the option `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`--file -`})}),` sets the input to stdin. The input is required to be a valid JSON or YAML string (e.g., `,_jsx(_components.code,{children:`{\"description\": \"My new description\"}`}),` or `,_jsx(_components.code,{children:`description: My new description`}),`). To complete the update, press Control-D (or Control-Z if you are using Windows).`]})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-9`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`29`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`29`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref The resource reference. Usually it is the name of the resource. [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Command options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --file, -f File to load the patch from. Use `--file -` to enable input from stdin. [required]\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --dry-run Validate the request and print the resource that would be written, without writing it. Defaults the output format to yaml-slim [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsx(Accordion,{title:`Example`,id:`example-7`,children:_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` agent`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` patch`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-agent`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --file`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` update.json`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`The changes within the JSON file will be performed against the referenced agent.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`agent-permissions`,children:`agent permissions`}),`\n`,_jsx(_components.p,{children:`Show the grantable permissions for an agent object type`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln agent permissions [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-10`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`22`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`22`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsx(Accordion,{title:`Example`,id:`example-8`,children:_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` agent`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` permissions`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`11`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-------+----------------------------+----------------------------------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |IMPLIES |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|-------|----------------------------|----------------------------------------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|create |Create new agents | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|delete |Delete service agents | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|edit |Modify existing agents |view |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|manage |Full access |create, delete, edit, manage, use, view |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|use |Use an agent in an identity |view |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|view |Read-only access | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-------+----------------------------+----------------------------------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`agent-query`,children:`agent query`}),`\n`,_jsx(_components.p,{children:`Find all the agents based on the given query`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln agent query QUERY_OPTIONS [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-11`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`28`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`28`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Query options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --match Query filter type [choices: \"all\", \"none\", \"any\"] [default: \"all\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --property, --prop Property to query`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --tag Tag to query`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --rel Relation to query`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsxs(Accordion,{title:`Example`,id:`example-9`,children:[_jsx(Note,{children:_jsxs(_components.p,{children:[`Use the `,_jsx(_components.code,{children:`--match`}),` option to display `,_jsx(_components.strong,{children:`all`}),`, `,_jsx(_components.strong,{children:`none`}),`, or `,_jsx(_components.strong,{children:`any`}),` of the results based on a given property or tag`]})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Search for an agent based on the name property`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` agent`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` query`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --match`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` any`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --prop`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` name=demo-agent`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-----------+------------+--------+--------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |CREATED |TAGS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|-----------|------------|--------|--------------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-agent |demo-agent |Now |drink=\"water\" |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-----------+------------+--------+--------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Search for an agent based on the description property`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` agent`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` query`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --match`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` any`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --prop`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` description=\"demo-agent\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-----------+------------+--------+--------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |CREATED |TAGS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|-----------|------------|--------|--------------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-agent |demo-agent |Now |drink=\"water\" |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-----------+------------+--------+--------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Search for an agent based on a tag`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` agent`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` query`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --match`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` any`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --tag`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` drink=water`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-----------+------------+--------+--------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |CREATED |TAGS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|-----------|------------|--------|--------------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-agent |demo-agent |Now |drink=\"water\" |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-----------+------------+--------+--------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Search for an agent based on a property and tag`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` agent`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` query`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --match`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` any`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --prop`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` description=\"demo-agent\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --tag`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` drink=water`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-----------+------------+--------+--------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |CREATED |TAGS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|-----------|------------|--------|--------------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-agent |demo-agent |Now |drink=\"water\" |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-----------+------------+--------+--------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`agent-tag`,children:`agent tag`}),`\n`,_jsx(_components.p,{children:`Manage the tags belonging to one or more referenced agents`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln agent tag \u003cref...> --tag KEY=VALUE [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`Built-in tags, which begin with cpln/*, can’t be modified.`})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-12`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`30`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`30`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref One or more resource references. Usually it is the name of the resource. [array] [required] [default: []]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Command options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --tag Attach tags (e.g., --tag drink=water)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --remove-tag Remove tags (e.g., --remove-tag tagname)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --dry-run Validate the request and print the resource that would be written, without writing it. Defaults the output format to yaml-slim [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsxs(Accordion,{title:`Example`,id:`example-10`,children:[_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Add a tag`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` agent`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tag`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-agent`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --tag`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` drink=water`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-----------+------------+--------+--------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |CREATED |TAGS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|-----------|------------|--------|--------------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-agent |demo-agent |Now |drink=\"water\" |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-----------+------------+--------+--------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Update same tag (after running the example above)`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` agent`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tag`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-agent`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --tag`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` drink=coffee`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-----------+------------+-------------+---------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |CREATED |TAGS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|-----------|------------|-------------|---------------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-agent |demo-agent |1 minute ago |drink=\"coffee\" |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-----------+------------+-------------+---------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Remove tag (after running the example above)`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` agent`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tag`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-agent`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --remove-tag`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` drink`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-----------+------------+-------------+-----+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |CREATED |TAGS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|-----------|------------|-------------|-----|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-agent |demo-agent |1 minute ago | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+-----------+------------+-------------+-----+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`agent-up`,children:`agent up`}),`\n`,_jsx(_components.p,{children:`Run an agent within a local Docker instance`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln agent up --bootstrap-file FILE_NAME [--background] [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-13`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`29`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`29`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Command options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --bootstrap-file Path to the bootstrap config file [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --background, -b If set, run the agent as a background process [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --image Advanced use: Use a different agent Docker image`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --net Docker network to use [default: \"bridge\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --exposeProxy, -p Expose port 3128 if agent is to be used as forward proxy. Has no effect on v1 agents [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsx(Accordion,{title:`Example`,id:`example-11`,children:_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` agent`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` up`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --bootstrap-file`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` bootstrap.config`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`The Control Plane agent will be executed in a local Docker instance using the referenced bootstrap config file`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`agent-update`,children:`agent update`}),`\n`,_jsx(_components.p,{children:`Update properties of the referenced agent`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln agent update \u003cref> --set UPDATE_PROPERTY [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-14`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`35`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`35`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref The resource reference. Usually it is the name of the resource. [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Update Properties:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --set Update the following properties (e.g., --set description=\"Updated Description\"):`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` description string`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` tags.\u003ckey> string`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --unset Unset a property (same paths as --set, e.g., --unset description)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Command options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --dry-run Validate the request and print the resource that would be written, without writing it. Defaults the output format to yaml-slim [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Context options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --profile Override the profile. The default profile can be set using the `cpln profile set-default` command or by setting the CPLN_PROFILE environment variable\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" --org Override the organization. The default organization can be set in your profile by using the `cpln profile update` command\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsx(Accordion,{title:`Options`,id:`options`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The `,_jsx(_components.code,{children:`--set`}),` option allows the modification of the following agent properties:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`description`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Description of the agent`}),`\n`,_jsx(_components.li,{children:`Type: string`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`tags`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Tags (key=value) associated with the agent`}),`\n`,_jsx(_components.li,{children:`Type: string`}),`\n`]}),`\n`]}),`\n`]}),`\n`]}),`\n`]})}),`\n`,_jsxs(Accordion,{title:`Example`,id:`example-12`,children:[_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`For the examples below, the initial agent is configured as:`}),`\n`]}),_jsx(CodeBlock,{numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+------------------+------------------+--------+-----+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |CREATED |TAGS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|------------------|------------------|--------|-----|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-agent-update |demo-agent-update |Now | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+------------------+------------------+--------+-----+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Update an agent’s description`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` agent`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` update`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-agent-update`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --set`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` description=\"new description\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+------------------+----------------+--------+-----+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |CREATED |TAGS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|------------------|----------------|--------|-----|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-agent-update |new description |Now | |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+------------------+----------------+--------+-----+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Update an agent’s tag`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` agent`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` update`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-agent-update`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --set`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tags.demo-key=demo-value`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+------------------+----------------+--------+----------------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|NAME |DESCRIPTION |CREATED |TAGS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|------------------|----------------|--------|----------------------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|demo-agent-update |new description |Now |demo-key=\"demo-value\" |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+------------------+----------------+--------+----------------------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})]}),`\n`,_jsx(_components.hr,{})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"agent","description":"cpln agent — Manage agents that connect self-hosted infrastructure to Control Plane.","keywords":["cpln agent","wormhole agent","self-hosted agent","private network access","on-prem connectivity","tunnel agent","agent token","agent bootstrap","cross-cloud connectivity","vpc access"],"href":"/cli-reference/commands/agent"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"agent access-report","slug":"agent-access-report","depth":4,"children":[]},{"title":"agent audit","slug":"agent-audit","depth":4,"children":[]},{"title":"agent create","slug":"agent-create","depth":4,"children":[]},{"title":"agent delete","slug":"agent-delete","depth":4,"children":[]},{"title":"agent edit","slug":"agent-edit","depth":4,"children":[]},{"title":"agent eventlog","slug":"agent-eventlog","depth":4,"children":[]},{"title":"agent get","slug":"agent-get","depth":4,"children":[]},{"title":"agent info","slug":"agent-info","depth":4,"children":[]},{"title":"agent manifest","slug":"agent-manifest","depth":4,"children":[]},{"title":"agent patch","slug":"agent-patch","depth":4,"children":[]},{"title":"agent permissions","slug":"agent-permissions","depth":4,"children":[]},{"title":"agent query","slug":"agent-query","depth":4,"children":[]},{"title":"agent tag","slug":"agent-tag","depth":4,"children":[]},{"title":"agent up","slug":"agent-up","depth":4,"children":[]},{"title":"agent update","slug":"agent-update","depth":4,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/controlplanecorporation/20452e834d3719a6/content/legacy-cli-hash-redirects.js","/_mintlify/custom/controlplanecorporation/dd1961f62f732454/content/sync-tabs.js"],"subdomain":"controlplanecorporation","siteName":"Control Plane","title":"agent - Control Plane","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-07T16:52:38.932Z","originalFileLocation":"cli-reference/commands/agent.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"cpln agent — Manage agents that connect self-hosted infrastructure to Control Plane.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Control Plane\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/controlplanecorporation/N_jUg8p-q778yjKC/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/controlplanecorporation/N_jUg8p-q778yjKC/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/controlplanecorporation/N_jUg8p-q778yjKC/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/controlplanecorporation/N_jUg8p-q778yjKC/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/controlplanecorporation/N_jUg8p-q778yjKC/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/controlplanecorporation/N_jUg8p-q778yjKC/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/controlplanecorporation/N_jUg8p-q778yjKC/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/controlplanecorporation/N_jUg8p-q778yjKC/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/controlplanecorporation/N_jUg8p-q778yjKC/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"agent - Control Plane\">\u003cmeta data-mint-head property=\"og:description\" content=\"cpln agent — Manage agents that connect self-hosted infrastructure to Control Plane.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Control Plane\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.controlplane.com/cli-reference/commands/agent\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://controlplanecorporation.mintlify.site/_mintlify/api/og/v2?division=Commands\u0026amp;title=agent\u0026amp;description=cpln+agent+%E2%80%94+Manage+agents+that+connect+self-hosted+infrastructure+to+Control+Plane.\u0026amp;theme=565533155d08f0e2a83ec355\u0026amp;signature=ab4ee4234d4e26f3e8aebfaed3ce58882a6e3c4e33319db3b8ab76d38311ccea\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"agent - Control Plane\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"cpln agent — Manage agents that connect self-hosted infrastructure to Control Plane.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://controlplanecorporation.mintlify.site/_mintlify/api/og/v2?division=Commands\u0026amp;title=agent\u0026amp;description=cpln+agent+%E2%80%94+Manage+agents+that+connect+self-hosted+infrastructure+to+Control+Plane.\u0026amp;theme=565533155d08f0e2a83ec355\u0026amp;signature=ab4ee4234d4e26f3e8aebfaed3ce58882a6e3c4e33319db3b8ab76d38311ccea\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/controlplanecorporation/N_jUg8p-q778yjKC/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Control Plane\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1563ff\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.controlplane.com/cli-reference/commands/agent\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/cli-reference/commands/agent.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.controlplane.com/#organization\",\"name\":\"Control Plane\",\"url\":\"https://docs.controlplane.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/controlplanecorporation/hwvJiAoqIziVJ3gK/logos/dark.svg?fit=max\u0026auto=format\u0026n=hwvJiAoqIziVJ3gK\u0026q=85\u0026s=ec7b5a4bb958adc4d92dedfb41ab2e3c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.controlplane.com#website\",\"name\":\"Control Plane\",\"url\":\"https://docs.controlplane.com\",\"publisher\":{\"@id\":\"https://docs.controlplane.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.controlplane.com/cli-reference/commands/agent#webpage\",\"url\":\"https://docs.controlplane.com/cli-reference/commands/agent\",\"name\":\"agent\",\"description\":\"cpln agent — Manage agents that connect self-hosted infrastructure to Control Plane.\",\"dateModified\":\"2026-10-07T16:52:38.932Z\",\"isPartOf\":{\"@id\":\"https://docs.controlplane.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.controlplane.com/cli-reference/commands/agent#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.controlplane.com/cli-reference/commands/agent#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Commands\",\"item\":\"https://docs.controlplane.com/cli-reference/commands/account\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"agent\",\"item\":\"https://docs.controlplane.com/cli-reference/commands/agent\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.controlplane.com/cli-reference/commands/agent#article\",\"headline\":\"agent\",\"name\":\"agent\",\"description\":\"cpln agent — Manage agents that connect self-hosted infrastructure to Control Plane.\",\"url\":\"https://docs.controlplane.com/cli-reference/commands/agent\",\"mainEntityOfPage\":{\"@id\":\"https://docs.controlplane.com/cli-reference/commands/agent#webpage\"},\"dateModified\":\"2026-10-07T16:52:38.932Z\",\"keywords\":\"cpln agent, wormhole agent, self-hosted agent, private network access, on-prem connectivity, tunnel agent, agent token, agent bootstrap, cross-cloud connectivity, vpc access\",\"publisher\":{\"@id\":\"https://docs.controlplane.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.controlplane.com#website\"}}]}\u003c/script>","agentPointerHref":"/cli-reference/commands/agent.md","siteName":"Control Plane","nav":{"global":{"anchors":[{"anchor":"Website","icon":"compass","href":"https://controlplane.com"},{"anchor":"Status","icon":"signal","href":"https://status.cpln.io/"},{"anchor":"Blog","icon":"newspaper","href":"https://controlplane.com/blog"},{"anchor":"FAQ","icon":"question","href":"https://controlplane.com/faq"},{"anchor":"Product Demos","icon":"video","href":"https://controlplane.com/product-demos"}]},"tabs":[{"tab":"Home","pages":[{"title":"Home","href":"/introduction"}]},{"tab":"How-to Guides","pages":[{"title":"How-to Guides","href":"/guides/overview"}]},{"tab":"Template Catalog","pages":[{"title":"Template Catalog","href":"/template-catalog/overview"}]},{"tab":"Managed Kubernetes","pages":[{"title":"Managed Kubernetes","href":"/mk8s/overview"}]},{"tab":"CPLN BYOK","pages":[{"title":"CPLN BYOK","href":"/byok/overview"}]},{"tab":"AI Agents","pages":[{"title":"AI Agents","href":"/ai/overview"}]},{"tab":"Infra as Code","pages":[{"title":"Infra as Code","href":"/iac/overview"}]},{"tab":"CLI Reference","groups":[{"group":"CLI Reference","pages":[{"title":"CLI Reference","sidebarTitle":"Overview","href":"/cli-reference/overview"},{"title":"Installation","href":"/cli-reference/installation"},{"title":"Release Notes","href":"/cli-reference/release-notes"},{"group":"Getting Started","pages":[{"title":"Quickstart","href":"/cli-reference/get-started/quickstart"},{"title":"Authentication","href":"/cli-reference/get-started/authentication"},{"title":"Profiles","href":"/cli-reference/get-started/profiles"},{"title":"Images","href":"/cli-reference/get-started/images"}]},{"group":"Using the CLI","pages":[{"title":"Getting Help","href":"/cli-reference/using-cli/help"},{"title":"Common Options","href":"/cli-reference/using-cli/common-options"},{"title":"Output Formats","href":"/cli-reference/using-cli/output"},{"title":"Shell Completion","href":"/cli-reference/using-cli/shell-completion"},{"title":"Troubleshooting","href":"/cli-reference/using-cli/troubleshooting"}]},{"group":"CI/CD \u0026 Development","pages":[{"title":"CI/CD Usage","href":"/cli-reference/ci-cd-development/ci-cd"},{"title":"Using the CLI in Containers","href":"/cli-reference/ci-cd-development/container-image"}]}]},{"group":"Commands","pages":[{"title":"account","description":"cpln account — Manage accounts linked to your organization.","href":"/cli-reference/commands/account"},{"title":"agent","href":"/cli-reference/commands/agent"},{"title":"apply","description":"cpln apply — Create or update resources using an input file.","href":"/cli-reference/commands/apply"},{"title":"auditctx","href":"/cli-reference/commands/auditctx"},{"title":"cloudaccount","href":"/cli-reference/commands/cloudaccount"},{"title":"convert","href":"/cli-reference/commands/convert"},{"title":"cp","href":"/cli-reference/commands/cp"},{"title":"delete","href":"/cli-reference/commands/delete"},{"title":"domain","href":"/cli-reference/commands/domain"},{"title":"group","href":"/cli-reference/commands/group"},{"title":"gvc","href":"/cli-reference/commands/gvc"},{"title":"helm","href":"/cli-reference/commands/helm"},{"title":"identity","href":"/cli-reference/commands/identity"},{"title":"image","href":"/cli-reference/commands/image"},{"title":"ipset","href":"/cli-reference/commands/ipset"},{"title":"location","href":"/cli-reference/commands/location"},{"title":"login","href":"/cli-reference/commands/login"},{"title":"logs","href":"/cli-reference/commands/logs"},{"title":"metrics","href":"/cli-reference/commands/metrics"},{"title":"misc","href":"/cli-reference/commands/misc"},{"title":"mk8s","href":"/cli-reference/commands/mk8s"},{"title":"operator","href":"/cli-reference/commands/operator"},{"title":"org","href":"/cli-reference/commands/org"},{"title":"policy","href":"/cli-reference/commands/policy"},{"title":"port-forward","href":"/cli-reference/commands/port-forward"},{"title":"profile","href":"/cli-reference/commands/profile"},{"title":"quota","href":"/cli-reference/commands/quota"},{"title":"rest","href":"/cli-reference/commands/rest"},{"title":"sandbox","href":"/cli-reference/commands/sandbox"},{"title":"secret","href":"/cli-reference/commands/secret"},{"title":"serviceaccount","href":"/cli-reference/commands/serviceaccount"},{"title":"stack","href":"/cli-reference/commands/stack"},{"title":"task","href":"/cli-reference/commands/task"},{"title":"upgrade","href":"/cli-reference/commands/upgrade"},{"title":"user","href":"/cli-reference/commands/user"},{"title":"version","href":"/cli-reference/commands/version"},{"title":"volumeset","href":"/cli-reference/commands/volumeset"},{"title":"workload","href":"/cli-reference/commands/workload"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/api"}]}]},"basePath":"","title":"agent - Control Plane","buildId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","deploymentId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","dynamics":[],"chunks":[]}