# What your agent can and can't change

Your agent can read everything in a company, but it can't change anything. This article explains what happens when it tries, and how to get the data you need without a change. To allow writes in a simulator you run yourself, see [Allow writes in a simulator](https://console.era.eon.io/docs/allow-writes-in-a-simulator.md).

**The data plane is read-only.** Every system answers reads and refuses a call that would change your company's data. That's what makes it safe to run an agent you're testing. A write gets this answer:

```
{"error": "writes_disabled",
 "message": "this simulator is read-only: POST /api/chat.postMessage would change
             the tenant's data."}
```

To check whether a system accepts writes, call `GET /_meta`. A read-only system reports `{"writes": {"allowed": false}}`.

## Load your own records without a write

To add your own records, such as a Slack channel for a test, send them to the `/_admin` inject route of a simulator you run yourself:

```
$ curl -XPOST localhost:8115/_admin/tenants/acme/inject \
    -H content-type:application/json \
    -d '{"channels":[{"id":"chan-incident-42","name":"incident-42","members":["user-0"]}]}'
```

`/_admin` manages the simulator itself, so injecting records isn't a client write. It works while writes are refused, the records become part of the company's recipe, and they survive a restart when `REDIS_URL` is set. Set up test data this way, not with a POST through the product's API. Hosted systems answer `404 no such route` for `/_admin`. For every way to load data, see [Load data into a simulator](https://console.era.eon.io/docs/load-data-into-a-simulator.md).

## Change what the systems hold

To change what your company's systems hold, move your company to the next quarter instead of writing. `POST /api/design-partners/<tenant>/state/advance` moves every system in your company forward a quarter. For details, see [Move your company to the next quarter](https://console.era.eon.io/docs/move-your-company-to-the-next-quarter.md). A move rebuilds your company's records from the choices it was created with, so your whole company changes, not a row you posted.

## What counts as a write

Some products read over POST, such as a SOQL-style query, a GraphQL document, an Elasticsearch `_search` or a ClickHouse query. Those are reads, and systems answer them normally. A system refuses a call that would change your company's data, whatever its method.
