Skip to main content

Installing an Agent

Adding an agent from the marketplace, a private registry, or a local file. Same process regardless of source — what differs is where the manifest comes from.

From the marketplace

Settings → Marketplace → Agents → browse → click an agent → Install. You're prompted if new permissions are required.

Under the hood: download, verify signature, check compatibility, install files, add to portfolio.

From a private registry

If your org runs a private registry:

codebolt agent install org/my-agent --registry https://codebolt.my-org.com

Or configure the registry once:

codebolt config add-registry https://codebolt.my-org.com --token <token>
codebolt agent install org/my-agent # now uses the private registry automatically

Private registries take precedence over the public marketplace when there's a name collision.

From a local directory

For agents under development, or agents committed to a project repo:

codebolt agent install ./path/to/agent-directory

This adds the local agent to your workspace without publishing it anywhere. Useful for:

  • Project-local agents — already in .codebolt/agents/ in the project repo; installed automatically when you open the project.
  • Development — iterate on an agent before publishing.
  • Sharing by email — someone zipped you an agent directory.

From a URL

codebolt agent install https://example.com/my-agent-1.0.0.tar.gz

Downloads, verifies checksum (if provided), installs. Use when the agent isn't on a registry but is hosted somewhere you trust.

What installation does

  1. Download / copy the agent to the Codebolt agents directory.
  2. Validate the manifest (agent.yaml).
  3. Install dependencies if it's a framework agent (runs npm install inside its directory).
  4. Check compatibility with your Codebolt version.
  5. Register the agent with the server so it appears in agent list.
  6. Optionally add to portfolio (if you opt in during install).

Install scopes

  • Workspace (default) — agent is available in the current workspace only.
  • User — available in every workspace. Promote from workspace with codebolt agent promote <name>.
  • Project-local — agent lives in .codebolt/agents/ and is committed to git; everyone who opens the project gets it.

For a team-shared agent, commit it to the project. For something you use across all your own work, promote to user scope.

Dependencies

Some agents depend on other extensions — an MCP server, a capability, a specific LLM provider. During install, you're prompted to install the dependencies if they're missing.

my-agent requires:
- mcp-server: linter-mcp (not installed) [Install]
- capability: ts-analyzer (not installed) [Install]
- provider: anthropic (configured ✓)

You can install everything at once or pause and handle dependencies manually.

Checking install state

codebolt agent list

Shows every installed agent with its source and version. --verbose adds install date, dependencies, and path.

codebolt agent show my-agent --status

Shows whether the agent is healthy, whether its dependencies are satisfied, and whether there's an update available.

Updating

codebolt agent update my-agent # latest
codebolt agent update my-agent@1.3.0 # specific version
codebolt agent update-all # all non-breaking

update-all skips any update that would cross a major version — those require explicit opt-in.

Uninstalling

codebolt agent uninstall my-agent

Removes the files, removes from portfolio, removes from the agent list. Does not delete:

  • Historical runs of that agent (still in the event log).
  • Memory the agent wrote (still in persistent memory).
  • Checkpoints taken during its runs.

To purge everything:

codebolt agent purge my-agent --delete-data

Irreversible.

Install troubleshooting

"Version incompatible"

The agent requires a newer or older Codebolt than you have. Update Codebolt, or find a compatible version of the agent.

"Dependency not satisfied"

Install the missing dependency and retry.

"Signature invalid"

The downloaded bundle is either tampered with or from an untrusted publisher. Don't bypass — investigate.

"Permission denied writing to agents directory"

Filesystem permission issue. Check ownership of ~/.codebolt/agents/ (or .codebolt/agents/ for project scope).

See also