Prerequisites
What you need before installing the CLI.
Reference, recipes, and runbooks for the Agentia Developer Experience. Search, copy, ship.
Install Agentia Skills in the project so your agent can load the correct work, data, promotion, testing, or AI playbook before it runs a command. Add the local MCP server when you also want native Agentia tools in the IDE. The CLI performs the operation, MCP exposes it as a tool, and the skill tells the agent which operation to choose and in which order.
Agentia-managed skills are versioned with the CLI. Refresh them after upgrading with `agentia setup skills update --target agents --no-prompt`.
What you need before installing the CLI.
Install the CLI, authenticate, add Agent Skills, and ship in under 10 minutes.
Portable, project-local Markdown playbooks that teach compatible coding agents how to operate Agentia CLI and its MCP tools safely: command order, prerequisites, workflow boundaries, examples, and guardrails for Copado CI/CD, Copado Robotic Testing, and Copado AI.
How Plan, Build, Test, Release, Operate, and Knowledge work together.
The exact order each skill teaches. Local Git work and Copado cloud commits are separate delivery paths — never mix them in one recipe.
agentia setup is a fully interactive onboarding experience: run it with no options and it walks you through preparing this machine and the current project — CI/CD and Agentia Testing authentication, Cursor MCP, local quality gates, and AGENTS.md. Then set your project defaults for local development and add Agent Skills for your coding agent. Defaults are stored once per project (or machine-wide with --global) so you do not have to pass the same project, environment, credential, team or sprint values on every command.
In the Governance Org, a Copado Admin should create and activate, or confirm that it exists, the Local Quality Gate Extension Configuration with Copado Phase Test, Extension Tool None, and Test Type Unit Test.
Every agentia command across CI/CD, Testing, and AI, searchable and copyable, with the Agent Skill that covers it.
How the IDE, CLI, AI agent and local quality gates connect to Git, Jira and the Agentia Pipelines, AI and Test services.
● CLI reference
270 commands across CI/CD, Testing, and AI: npm i -g @copado/agentia-cli@beta
Work items, promotions, environments, pipelines, jobs, metadata, data templates, functions, and repositories under `agentia cicd`.
Copado AI · Context Hub
You can get the same agent experience you know from Cursor or Claude Code, directly in VS Code, with Copado AI (Context Hub) as the model. If you are already a Copado customer, your agent runs on Copado AI, so you don't use tokens from those other model providers.
The model understands your org: fields, objects and schema you actually have, so suggestions fit your metadata.
The agent can plan work, commit, run tests and promote changes through Copado using the agentia CLI, MCP tools and skills.
The coding agent in VS Code runs the conversation, edits files and calls Agentia™ for you, end to end.
Cmd+Shift+X on macOS, Ctrl+Shift+X on Windows/Linux).Cline and install the official Cline extension. You can also get it from cline.bot.OpenAI Compatible.{org_id} and {workspace_id} with your Copado AI organization and workspace IDs.build.Install the Agentia™ CLI and add Agentia™ Skills so the agent knows how to work with Copado. See the Quickstart in the Agentia™ CLI tab.
Please note: Cline is a third-party extension. Copado is not responsible for the Cline extension, its updates or its behavior. Copado is responsible only for the Copado AI model usage.
The Agentia CLI is extensible: any developer can build a plugin on top of it and add new capabilities to the tool. Here is how to get started.
Scaffold a new plugin with the generator. It asks for the package name, description, author, command topic, and command name, then creates the project and installs its dependencies.
The destination can be a relative or an absolute path:
The generator creates a ready-to-build oclif plugin with this structure:
my-plugin/ ├── src/ │ ├── commands/ │ │ └── <topic>/ │ │ └── <command>.ts │ └── index.ts ├── package.json ├── package-lock.json ├── tsconfig.json ├── .gitignore └── README.md
The sample command (src/commands/<topic>/<command>.ts) extends the oclif Command class and declares its description, examples, args and flags, then does the work in run(). Add new commands by creating more files in the same shape under src/commands.
The sample extends AgentiaCommand from the Agentia plugin SDK, which gives you --json output and spinners for free. It gets Agentia from the SDK and reads a work item. Nothing to configure in code.
import {AgentiaCommand, getAgentiaHost} from '@copado/agentia-plugin-sdk'
export default class StoryShow extends AgentiaCommand {
static override description = 'Show the active user story'
public async run() {
const host = getAgentiaHost()
const story = await host.work.getWorkItem()
this.display(() => {
this.log(host.format.table(
[{field: 'name', header: 'Story'}, {field: 'status', header: 'Status'}],
[story],
))
})
return story
}
}What the plugin needs in package.json
Once the project is generated, build it and link it into your local Agentia CLI:
Then run the generated sample command:
Re-run npm run build after every change to your TypeScript files.
Publish to npm with provenance, then list the plugin in the Marketplace.
agentia <topic> <command>)--jsonagentia cicd work commit, and so on)agentia mcp start only loads tools shipped with the CLI)Need something that is not listed? New capabilities are added deliberately after review.
Current constraints to review before you plan a delivery. CLI limitations describe what the Agentia interface exposes today. Module limitations describe the behavior of the Copado modules behind it.
These limitations describe what the Agentia CLI interface exposes today, grouped by the module it fronts: Copado data templates, records, data commits, and dataset files under `agentia cicd data`, and Copado Robotic Testing (CRT) under `agentia testing`.
Deployment
Applies to: agentia cicd data
Data must be deployed through a User Story deployment step and the normal submit or promotion workflow. The CLI does not provide data-specific rollback, retry, resume, validation-only, or deployment-status commands.
Data Templates
Applies to: agentia cicd data template
Updating template detail replaces the complete v2 detail document; partial updates are not supported. The CLI does not provide a template-detail diff, edit preview, or concurrent-change warning. Legacy templates must be converted before their v2 detail can be read or updated.
Data Sets and files
The data command set does not provide direct Data Set create, get, list, update, or delete operations. Generated dataset files can be listed and read, but not deleted.
Filters and matching formulas
Advanced filters can be listed, created, updated, and deleted, but an individual filter cannot be retrieved directly by UUID with a get command. Record matching formulas can be listed, created, and updated, but not deleted.
Template synchronization
The CLI does not verify that applied sync entries match the entries included in the deployed metadata commit.
Authentication and connectivity
There is no offline mode, local record matching, local schema cache, or local dataset generation.
CRT authentication is separate and must be ready, not just set
Applies to: agentia auth set --crt / agentia auth get --crt --json
CRT credentials are independent of Copado CI/CD authentication and need a PAK, a CRT domain, and a positive organization ID. A stored credential can still be unusable, so set: true alone is not a readiness signal.
Workaround: Gate automation on `ready: true` from `agentia auth get --crt --json`, and correct anything reported in `missing` or `issues`.
Streaming, watching, and data-driven runs cannot be combined
Applies to: agentia testing build run
--stream-logs and --watch are human-terminal features and are not available with --json. A --datatable run cannot be combined with --wait-for-result, --stream-logs, --save-artifacts, or --xunit.
Workaround: For automation, run with `--json`, then poll `agentia testing build get` and read logs with `agentia testing build logs`.
Build search requires a job and is paged
Applies to: agentia testing build search / build list
Metrics-backed search requires both --project and --job, and build list --count also requires --job. Results are paged rather than returned as one complete history.
Workaround: Iterate with `--page` and `--page-size`, and narrow with `--from`, `--to`, `--status`, and `--run-type`.
Local file writes are always explicit
Applies to: agentia testing build logs / job download / data-table export / live
Artifacts, xUnit files, logs, DOM captures, screenshots, reports, and data-table exports are never written implicitly. Raw DOM requires both --dom and --output, and overwriting an existing export target requires --yes.
Workaround: Pass explicit `--output`, `--output-dir`, `--save-artifacts`, or `--xunit` paths in scripts.
Some operations are CLI-only
Applies to: agentia testing live view / live recorder / data-table export
The authenticated live view, the long-running recorder, and data-table export are not available through MCP, and the recorder does not support --json. Live MCP tools also never accept caller-selected local paths.
Workaround: Run these steps from a terminal; use MCP tools for the scriptable parts of the workflow.
Destructive operations always need confirmation
Applies to: agentia testing … delete / abort / live stop / data-table create|update
Non-interactive destructive and protected operations fail without --yes; the MCP equivalents require confirm: true instead. Data-table imports are additionally bounded by file, byte, row, column, and cell limits.
Workaround: Add `--yes` in CI, or `confirm: true` in MCP arguments, and split oversized data files before import.
Project permissions are project-scoped only
Applies to: agentia testing project permission
Permission commands manage view/edit access on a single project and accept exactly one of --user or --group. They are not tenant-administration commands.
Local and cloud development flows cannot be mixed
Applies to: agentia cicd work set / commit / push / submit
The local development flow is not compatible with cloud-side operations such as agentia cicd cloud commit or agentia cicd cloud promote. Pick one flow per User Story.
Workaround: Keep a User Story entirely in the local flow, or entirely in the cloud flow.
Local development requires a fully configured User Story
Applies to: agentia cicd work set
The Work Item/User Story must have a Credential and a Project tied to Pipelines and Environments, so the CLI can resolve the Pipeline and the stage the story is in when development starts.
Profiles and Permission Sets
Applies to: agentia cicd work commit / submit / done
Profiles can be very large and may cause issues during retrieval or commit if they reference metadata that is not present in the target org.
Reports and Dashboards
Applies to: agentia cicd work commit / submit / done
Reports and dashboards can be committed, but folder structure dependencies can sometimes cause dependency issues.
Experience Cloud (Community) metadata
Applies to: agentia cicd work commit / submit / done
Partially supported; some components may not retrieve cleanly.
Salesforce Industries / Omnistudio / Vlocity not supported
Applies to: agentia cicd work set / commit / push / submit
Local development does not support Salesforce Industries, Omnistudio, or Vlocity metadata.
Pushing with git instead of the CLI
Applies to: agentia cicd work push
If a git push is run instead of agentia cicd work push, everything will work as expected, but an empty commit might be generated in order for Copado to function.
Only the tip commit is registered
Applies to: agentia cicd work push
Copado only registers the last commit (the tip commit) on each agentia cicd work push, not every commit done. This is expected, and git only needs the last commit, the tip commit, of a branch.
Find and Replace adds an extra commit
If Global Find and Replace Rules or Environmental Variable Replacement is performed, a new commit will be added on top of the previous commits. This is slightly different from Copado Cloud, where every change and replacement is applied along a single commit, but in git the commit history should not be changed, so an additional commit is required.
These are limits of the underlying Copado modules, not of the CLI.
Can't find what you need? Ask support →