# Credentialless agent testing

> Running an AI agent's generated code against local endpoints with no cloud credentials or billing project, so a mistake can't create cloud resources or charges.
>
> Source: https://local.cloud/glossary/credentialless-agent-testing/

Glossary

Running an AI agent's generated code against local service endpoints without providing cloud credentials, service-account keys, or a billing project, so a mistake cannot create cloud resources or charges.

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

In LocalCloud

## Credentialless agent testing with LocalCloud

- Removes the blast radius of an agent calling a destructive cloud API.
- The same pattern serves human inner-loop development and demos.
- Does not remove the need to validate the same code against real Google Cloud before release, or replace production authorization tests.
- Keep local automation credentialless and put real-cloud validation in a separate guarded step.

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

- [Agent setup guides](https://local.cloud/agents/) — Run coding agents against LocalCloud.
