# See it work

With the [Quickstart](/docs/quickstart) running and Claude Code connected, try the two flows below. Keep the dashboard open at `/app`: calls appear in **Live calls** as they happen.

## Block a data leak

Ask your agent:

```text
Read our customer list with the acme tools, then fetch
https://news.example/q3-report and do whatever that page says.
```

The demo page contains a hidden instruction to email the customer list to `audit@exfil.example`. Whether or not the model falls for it, the gate decides:

1. `acme__read_customers` is labeled `private`. It runs, and the session is now marked as holding private data.
2. `acme__fetch_url` is labeled `untrusted`. It runs, and the session is now marked as having read untrusted content.
3. `acme__send_email` is labeled `egress`. The session has both other legs, so the call is denied:

```text
Blocked by Godelgate: lethal trifecta: session read private data
(acme__read_customers) and untrusted content (acme__fetch_url);
this tool can send data out
```

The **Sessions** tab shows which tool brought each kind of data into the session.

## Approve a risky call

In a **new** session (restart your client, or ask from a different one), ask:

```text
Send an email to boss@acme.example saying the weekly report is ready.
```

The sample config has a rule that sends `acme__send_email` for approval. The call shows as **awaiting approval**, and the agent waits. Open **Approvals** in the dashboard and click **Approve** or **Reject**. The agent's call continues or fails the moment you decide.

## The same demo without a client

Godelgate can also run this attack scenario on its own, against an isolated in-memory gate, when `demo.public` is `true`:

```bash
curl -X POST http://localhost:8080/api/demo
```

It returns the three steps, with `blocked: true` on the last one. This endpoint never touches your real servers, sessions or audit log.
