Agent
Use camber agent commands to manage Camber agents from your terminal.
This page covers common agent operations:
camber agent pullcamber agent updatecamber agent pushcamber agent team list,create, andupdate
Edit an agent with an AI coding agent
Hand this prompt to your AI coding agent, along with the agent tag and the changes you want. It pulls the agent, makes the edits, shows you every change, and pushes only after you approve.
# Edit a Camber Agent Locally
Pull a Camber agent to this computer, make the changes the user asks for, and push them back to Camber.
## What pull and push do
- `camber agent pull @<owner>.<alias>` restores the agent's Context Mirror into a local folder named `project_<owner>_<alias>/`, where any character other than a letter or digit becomes `_` (for example, `@camberteam.be-useful` becomes `project_camberteam_be_useful/`), and installs the agent for Claude Code or Cursor. It replaces that folder every time it runs.
- `camber agent push` uploads the folder's enabled sections and makes them the agent's new cloud state, like a force push. It has no dry run and no confirmation prompt. A successful push commits the next stable agent version immediately.
- `.camber/sync.yaml` in the pulled folder names the target agent and which sections push syncs.
Docs: https://docs.cambercloud.com/docs/camber-cli/agent/index.md
## Before you start
- Run `camber me`. If the CLI is missing or the user is not logged in, point them to https://docs.cambercloud.com/docs/camber-cli/installation/index.md and stop.
- Get the agent tag `@<owner>.<alias>` and the changes the user wants. If either is missing, ask.
## Step 1: Pull the agent
If `project_<owner>_<alias>/` already exists here, it may hold unsaved local edits that pull would replace. Tell the user and ask before pulling.
```bash
camber agent pull @<owner>.<alias> --integrate claude-code
```
Use `--integrate cursor` if you are running in Cursor. Pull prints one progress line per file, so the output can be long; only the last lines and the exit code matter.
## Step 2: Make the changes
Work inside `project_<owner>_<alias>/`:
- Agent instructions, including behavior rules such as language or tone: `instruction.md`
- Project files: `project/`
- Knowledge Base files: `knowledge-base/`
- Runtime files and data notes: `requirements/` and `schema/`
- Skills: `.claude/skills/<skill-name>/` or `.cursor/skills/<skill-name>/`. Each skill folder needs a valid `SKILL.md`.
Do not edit `.camber/sync.yaml` unless the user asks, for example to turn a section off with `enabled: false`.
## Step 3: Review before pushing
Show the user a list of every file you added, changed, or deleted, grouped by section. Remind them that the push overwrites the cloud copy of each enabled section, deletes managed skills that were deleted locally, and commits a new agent version right away. Wait for the user to say yes.
## Step 4: Push
Run from the folder that contains `.camber/sync.yaml`:
```bash
camber agent push --output json
```
Report the per-section counts and any warnings. In the counts, `skipped` means a file did not change since the last push. Files Camber cannot index in `knowledge-base/` or `chat/` are listed under `warnings`; show those to the user.
## Critical rules
- Never run `camber agent push` without the user's yes from Step 3.
- Never run `camber agent pull` over a folder with unsaved local edits without asking.
- To change only the agent's name or description, use `camber agent update @<owner>.<alias> --name "..." --description "..."` instead of a push. It takes effect immediately and creates no version.
- If a command fails, show the user the exact error and stop. Do not guess or work around it.
## After setup
Tell the user they can review the new version in the agent's Version History in Camber, and chat with it as `@<owner>.<alias>`.Or run the commands yourself, as described below.
Agent pull
Use camber agent pull when you want to bring a mirrored Camber agent back to your local machine.
The command restores the agent’s Context Mirror into a local project folder and installs the agent and skills for a supported agentic coding tool.
camber agent pull @owner.aliasBy default, this uses the Claude Code integration and writes into the current directory.
You can choose the agentic coding tool integration:
camber agent pull @owner.alias --integrate claude-code
camber agent pull @owner.alias --integrate cursorYou can also choose the parent destination:
camber agent pull @owner.alias --dest /path/to/local/folderPull output
The command creates one project folder under the destination:
project_<owner>_<alias>/
├── .camber/
│ └── sync.yaml
├── .claude/ or .cursor/
├── README.md
├── chat/
├── knowledge-base/
├── project/
├── requirements/
├── schema/
└── instruction.mdFor example:
camber agent pull @camberuser.context-mirror-agentcreates:
project_camberuser_context_mirror_agent/In the local folder name, any character other than a letter or a digit in the owner or alias, such as - or ., becomes _. This differs from the folder Camber creates in your project on the web, <owner>_<alias>_projects-directory/, which keeps -, _, and .. See Use a mirrored agent.
The pulled mirror files are copied from:
stash://<owner>/.camber/agent-context/<agent-alias>/Camber restores all files and folders stored in that mirror root. The folders shown above are the standard Context Mirror layout, but extra folders added to the mirror are pulled too.
Pull integrations
With --integrate claude-code, Camber writes the local agent file to:
project_<owner>_<alias>/.claude/agents/<owner>.<agent-alias>.mdSkills are restored to:
project_<owner>_<alias>/.claude/skills/<skill-name>/With --integrate cursor, Camber writes the local Cursor rule to:
project_<owner>_<alias>/.cursor/rules/camber-agent-<owner>.<agent-alias>.mdcSkills are restored to:
project_<owner>_<alias>/.cursor/skills/<skill-name>/Cloud skill folders are not restored as a root skills/ folder. Camber remaps each skill into the selected agentic coding tool’s skill folder.
Each skill folder keeps its SKILL.md, scripts, references, assets, and nested files.
Pull replace behavior
camber agent pull replaces the generated project_<owner>_<alias>/ folder each time it runs.
Use this when you want the local copy to match the latest state held by the Camber agent.
project_<owner>_<alias>/ unless you have saved them elsewhere. Running camber agent pull again replaces that folder.Pull JSON output
Use --output json when scripting:
camber agent pull @owner.alias --integrate claude-code --output jsonExample response:
{
"agent": "@owner.alias",
"integration": "claude-code",
"dest": "/path/to/project_owner_alias",
"agent_file": "/path/to/project_owner_alias/.claude/agents/owner.alias.md",
"mirror": ["README.md", "chat", "project", "requirements"],
"skills": ["api-endpoint-auditor", "test-case-generator"]
}If the agent does not have a Context Mirror folder in Stash, the command still creates the local Claude Code agent or Cursor rule from the Camber agent metadata.
Agent update
Use camber agent update when you want to update an existing Camber agent by tag.
The command resolves the agent from @owner.alias, so you do not need to know the agent UUID.
camber agent update @owner.alias \
--name "New agent name" \
--description "New description" \
--instructions-file ./instruction.mdYou can update one field or several fields in the same command.
Supported fields:
--name--description--instructions--instructions-file--structured-output--output json
--instructions and --instructions-file are mutually exclusive.
camber agent update takes effect immediately. The command does not create a private draft or a Version History entry, including for instructions and structured output. Use the web draft workflow or camber agent push when you need a versioned change. See Agent Versioning.The CLI does not update an agent alias. If the alias needs to change, create a new agent or use an admin-supported workflow. Context Mirror paths depend on the alias, so changing it casually can break existing mirror references.
Update instructions from a file
Use --instructions-file when your agent instructions are stored in Markdown:
camber agent update @owner.alias --instructions-file ./instruction.mdThis immediately replaces the agent instructions with the file content.
Update instructions inline
For short edits, use --instructions:
camber agent update @owner.alias --instructions "Answer concisely and use the project context when needed."Structured output
Enable structured output:
camber agent update @owner.alias --structured-output=trueDisable structured output:
camber agent update @owner.alias --structured-output=falseUpdate JSON output
Use --output json when scripting:
camber agent update @owner.alias \
--instructions-file ./instruction.md \
--output jsonExample response:
{
"id": "agent-uuid",
"name": "New agent name",
"alias": "alias",
"owner_name": "owner",
"tag": "@owner.alias",
"description": "New description",
"status": "ACTIVE"
}Agent push
Use camber agent push after pulling a mirrored agent locally, editing the pulled files, and wanting those local changes to become the new Camber agent mirror state.
This command is intentionally similar to a force push: the enabled local mirror sections become the desired cloud state for that agent.
Run the command from the pulled mirror root, the folder that contains .camber/sync.yaml:
cd project_owner_alias
camber agent pushUse JSON output when scripting:
camber agent push --output jsonThere is no --dry-run, no confirmation prompt, and no agent override flag. The target agent comes from .camber/sync.yaml.
Push local layout
camber agent pull creates the expected local layout:
project_<owner>_<alias>/
├── .camber/
│ └── sync.yaml
├── .claude/ or .cursor/
├── README.md
├── chat/
├── knowledge-base/
├── project/
├── requirements/
├── schema/
└── instruction.mdRun camber agent push from project_<owner>_<alias>/, not from the original repository root unless that root contains .camber/sync.yaml.
sync.yaml
.camber/sync.yaml tells the CLI which agent to update and which local sections to sync.
Example:
agent: "agent-uuid"
owner: "owner"
alias: "alias"
exclude:
- ".git/**"
- ".env*"
- ".venv/**"
- "__pycache__/**"
- "**/__pycache__/**"
instruction:
enabled: true
path: instruction.md
readme:
enabled: true
path: README.md
project:
enabled: true
path: project
knowledge_base:
enabled: true
path: knowledge-base
exclude: []
chat:
enabled: true
path: chat
exclude: []
requirements:
enabled: true
path: requirements
schema:
enabled: true
path: schema
skills:
enabled: true
path: .claude/skills
managed: "*"
exclude: []By default, sections are enabled. Set enabled: false on a section when you do not want camber agent push to change that cloud section.
Push behavior
Enabled sections are uploaded to a staging area first, then Camber commits them to the agent mirror:
README.mdinstruction.mdproject/requirements/schema/knowledge-base/chat/- configured skills folder
After a push succeeds, Camber commits the result as the next stable agent version. There is no separate Review & Commit step for a Context Mirror push. You can inspect its instructions, Skills, Knowledge Base, and Project Directory changes in Agent Versioning history.
instruction.md is special: after the mirror commit succeeds, Camber updates the agent instructions from this file. If instruction.md is missing, the mirror file is removed, but the agent instructions are not updated.
Files in these sections are indexed for agent retrieval:
knowledge-base/chat/- skill
references/folders
Unsupported files in indexed sections are skipped with a warning. They are not uploaded and are not indexed.
Project files under project/, plus README.md, instruction.md, requirements/, and schema/, are mirror files. They are not added to Knowledge Base by camber agent push.
Push skills
Skills are read from the configured skills.path.
With:
skills:
enabled: true
path: .claude/skills
managed: "*"all skill folders under .claude/skills are treated as the desired managed skill set for the Camber agent.
To manage only selected skills:
skills:
enabled: true
path: .claude/skills
managed:
- api-endpoint-auditor
- test-case-generatorManaged skills that are deleted locally are deleted from the Camber agent. Local skills that are not in the managed list are ignored.
Use skills.exclude to ignore selected skill folders:
skills:
exclude:
- old-skillPush excludes
Global excludes apply across sections. Section excludes apply only within that section.
Example:
project:
enabled: true
path: project
exclude:
- "experiments/**"
- "AGENTS.md"Excluded files and folders are not uploaded. They are also not deleted from the cloud mirror, because they are outside the managed push set.
Push failure behavior
The CLI validates local config before uploading:
.camber/sync.yamlmust exist- the agent UUID must match the remote agent
- paths must stay inside the mirror root
- symlinks are rejected
- managed skill folders must contain valid
SKILL.md
Files are uploaded to staging first. If upload fails, Camber does not commit the staged state.
If the backend commit fails, the staging folder is left in place for debugging and the command prints the staging path.
After a successful commit, staging is removed.
Push JSON output
camber agent push --output jsonExample response:
{
"agent": "@owner.alias",
"staging_prefix": "stash://owner/.camber/staging/alias/username/",
"final_prefix": "stash://owner/.camber/agent-context/alias/",
"warnings": [],
"sections": {
"project": {
"copied": 12,
"created": 0,
"updated": 0,
"deleted": 1,
"queued": 0,
"skipped": 0
}
}
}Typical Context Mirror flow
camber agent pull @owner.alias
cd project_owner_alias
# edit files, skills, chat, or instruction.md
camber agent pushAgent teams
Use camber agent team commands to list, create, and update Agent Teams from your terminal. The team’s leader is the agent shown as its supervisor in the web app.
Refer to agents and agent teams
Agents and agent teams are given by alias, never by UUID:
@owner.aliasis the agent or agent teamaliasowned byowner. The owner is a workspace unique name, your username for your personal workspace, ornovafor Camber’s agents.- In
--leader,--member,--add-member, and--remove-member, a barealiasis an agent with the same owner as the agent team.
List agent teams
camber agent team listThis lists the agent teams of your selected workspace (see Team Commands). Use --team for another workspace, or --system for the public agent teams:
camber agent team list --team my-workspace --search research
camber agent team list --systemSupported flags: --team, --system, --search, --page, --size, and --output json.
Create an agent team
camber agent team create \
--name "Research Team" \
--alias research-team \
--description "Answer research questions" \
--leader analyst \
--member writer \
--member @nova.researcherThe agent team is created in your selected workspace, or in the workspace given by --team. If your personal workspace is selected, you own the agent team.
--name,--alias, and--leaderare required.- Repeat
--memberfor each member. The leader is always a member, so you do not need to list it again. - An agent team needs at least two different agents, including the leader.
- The alias must be unique among the agent teams of that owner.
Example output:
Agent team created successfully.
Alias: research-team
Name: Research Team
ID: 3e8459e7-31db-4b5a-8b47-a0fba0dfaf83
Leader: @my-workspace.analyst
Members: @my-workspace.analyst, @my-workspace.writer, @nova.researcherUpdate an agent team
Give the agent team as @owner.alias. Only the flags you pass change:
camber agent team update @my-workspace.research-team \
--leader writer \
--add-member reviewer \
--remove-member analystSupported fields:
--name--new-alias--description: pass--description ""to clear it--leader: a new leader that is not a member yet is added as a member--add-memberand--remove-member: repeat for each agent--output json
The agent team must still have at least two agents, and its leader must stay a member. You cannot add and remove the same agent in one command. If any check fails, nothing changes.
Changes take effect immediately.
Agent team JSON output
Use --output json with create or update when scripting:
camber agent team update @my-workspace.research-team --new-alias researchers --output jsonExample response, shortened:
{
"id": "3e8459e7-31db-4b5a-8b47-a0fba0dfaf83",
"name": "Research Team",
"alias": "researchers",
"description": "Answer research questions",
"owner_type": "team",
"owner_id": "a5e9ef04-a080-4d1d-9141-229ec4014a8b",
"leader_agent": {
"alias": "writer",
"owner_name": "my-workspace",
"status": "ACTIVE"
},
"member_agents": [
{ "alias": "writer", "owner_name": "my-workspace", "status": "ACTIVE" },
{ "alias": "reviewer", "owner_name": "my-workspace", "status": "ACTIVE" },
{ "alias": "researcher", "owner_name": "nova", "status": "ACTIVE" }
]
}Agent team errors
| Error | What to check |
|---|---|
agent tag must be in the format @owner.alias | update needs the agent team as @owner.alias, for example @my-workspace.research-team. |
agent tag must be @owner.alias: @writer | An agent tag needs both parts. Use writer for an agent of the same owner, or @owner.writer. |
agent not found: @owner.alias | Check the agent’s alias and owner with camber agent list. |
Agent team not found | Check the agent team’s alias and owner with camber agent team list. |
You cannot manage agent teams for this owner | You must be a member of the workspace. For a username, it must be your own. |
agent team with this alias already exists for this owner | Choose another alias. |
an agent team requires at least two distinct agents | Add another member, or do not remove so many. |
an agent cannot be both added and removed | Pass the agent to only one of --add-member or --remove-member. |
one or more agents are unavailable in this owner scope | The agent team’s owner cannot use that agent. Check that the agent is active and accessible in that workspace. |