# Agentic CI

> A CI workflow where an AI agent helps create or maintain validation steps, while the actual job remains deterministic, reviewable, and bounded.
>
> Source: https://local.cloud/glossary/agentic-ci/

Glossary

A CI workflow where an AI agent helps create or maintain validation steps, while the actual job remains deterministic, reviewable, and bounded.

[Read docs](https://local.cloud/docs/) [Check compatibility](https://local.cloud/compatibility/) [SDK examples](https://local.cloud/docs/sdk-examples/)

In LocalCloud

## Agentic CI with LocalCloud

- LocalCloud jobs should fail closed on missing health or env vars.
- Do not mix local emulator checks with deployment secrets.

Copy-ready setup

## Commands and prompts

### Copy a prompt for your coding agent

#### Start LocalCloud

Give an agent one URL and have it start the local GCP sandbox.

```
Fetch https://local.cloud/ai/agents.md and follow the instructions to start LocalCloud on my machine. Install the LocalCloud CLI if it is missing, verify Docker, start or reuse LocalCloud, export emulator environment variables, and run one local GCP SDK/API smoke check. Do not ask for or use real GCP credentials.
```

Production boundary

## Before production

Use LocalCloud for non-production development, testing, and CI under the [Public Preview License](https://local.cloud/license/), check [each service's local boundaries](https://local.cloud/compatibility/), and validate against real Google Cloud before you deploy.

Related

## Next steps

- [GCP integration testing in CI](https://local.cloud/gcp-integration-testing/) — Health gates, test design, and a prompt for the first agent-prepared CI change.
- [Agent setup guides](https://local.cloud/agents/) — Run coding agents against LocalCloud.
