---
url: https://kit.kambium.net/docs/cloud-coding-agents.md
description: >-
  Give a cloud coding agent access to a Kambium Kit app and its private npm
  packages.
---

# Cloud coding agents

Connect your app's repository and give the cloud environment read access to the
private `@kambium` packages. The repo already contains the Node version requirement,
lockfile and project instructions. The agent can use those to set up the app.

## Codex Cloud

Create a cloud environment for your repository and ask Codex to set up the Kambium
Kit app. Supply package access when it asks. Codex can prepare installation and
startup instructions from the repository. Publish the environment when it can
install the app. [Codex cloud environments](https://learn.chatgpt.com/docs/environments/cloud-environments)

## Claude Code on the web

Select your repository and use a cloud environment with npm access. If you use
`NPM_TOKEN`, supply it to the session and ask Claude to install dependencies there.
The environment's setup script runs before session variables are available. Ask
Claude to read the generated `AGENTS.md` and follow its Kambium Kit skill link.
[Claude Code cloud environments](https://code.claude.com/docs/en/cloud-environments)

## Cursor Cloud Agents

Choose your repo in Cloud Agents and use Cursor's guided environment setup. Give
the environment npm read access so Cursor can install dependencies while creating
its build. [Cursor cloud environment setup](https://cursor.com/docs/cloud-agent/setup)

<span id="configure-installation-and-session-startup"></span>

::: details Configure private npm access

If the environment uses `NPM_TOKEN`, the project's `.npmrc` can contain this
literal placeholder:

```ini
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
```

Store a read-only token with the cloud provider so it is available when `npm ci`
runs. Allow access to `registry.npmjs.org` during installation. Commit the
placeholder, and keep the token in the provider's credential settings.

:::

<span id="choose-the-checks-the-task-needs"></span>
<span id="run-generated-browser-tests-unreleased"></span>
<span id="run-generated-browser-tests"></span>

::: details Run the app or browser tests in the cloud

When a task needs a running app, ask the agent to start local services and use
simulated accounts. The machine needs the same
[local runtime tools](https://kit.kambium.net/docs/local-runtime.md#local-runtime-requirements). The
[Airtable simulator guide](https://kit.kambium.net/docs/airtable-simulator.md#run-from-the-terminal) has the
terminal command, and [E2E tests](https://kit.kambium.net/docs/e2e-tests.md#run-the-generated-suite) covers
the disposable browser-test stack. Start services in the active session.

If the machine cannot run local services, use separate hosted development
resources. Keep production credentials out of the agent environment.
[Development with hosted services](https://kit.kambium.net/docs/local-development.md#development-with-hosted-services)

:::

<span id="give-the-agent-the-matching-guidance"></span>
<span id="project-guidance"></span>

Ask for the result you want to see and have the agent report how it checked it.
[Develop with coding agents](https://kit.kambium.net/docs/develop-with-agents.md)
