Need more detail? Connect your coding agent to the full docs.

Skip to Content
AMIRILDocs

Data storage and retention

What Amiril keeps from your traces, rule decisions and tool calls. Set how long each environment keeps data before it is deleted, or stop storing message text.

Amiril stores every trace you send. It also stores the runs it builds from them and the signals it finds in each run. You choose how long each environment keeps this data. You can also stop storing message text, or hash phone numbers and email addresses. Message text and hashing apply only to data that arrives after you change them.

Where your data is stored

Amiril stores your data on Google Cloud, in the us-central1 region in the United States.

Data retention

Traces, runs and the SDK's rule decisions each belong to one environment. Each environment keeps them for its own retention period. Your plan sets the most any environment can keep. You can save a longer period, but Amiril still deletes data at the plan's limit.

EnvironmentDefault retention
ProductionAs long as your plan allows, which is 14 days on Free and 90 days on Team
Any other30 days

To change the period, open Environments in Settings and choose Change retention from the environment's menu. Amiril checks every hour and deletes the traces, runs and rule decisions older than the period. When you shorten it, the dialog warns you and its button reads Save and delete older data.

To remove an environment and its data, choose Archive from its menu. Its API keys stop working at once. Amiril deletes its data one retention period later, and you can unarchive it until then.

Stop storing message text

Message text is what was said in a run. That is the request your agent received, its conversation with the model and its answer. Amiril shows message text in the trace view. The Grounding check, one of the run's signals, reads it to test that an answer matches what the agent did. Run topics and turn topics group runs and turns by these words too.

Say a payments agent calls issue_payment. With message text off, Amiril still keeps the run's steps and that call with its arguments and result. It drops the customer's request, the conversation and the answer. The trace view, the Grounding check and topics no longer have them.

To turn it off, open Message text in Settings and turn off Store message text. The setting covers every environment.

Hash phone numbers and email addresses

Sometimes an agent states a phone number or email address that no tool result or earlier message contains. The Grounding check flags that as a signal. It keeps the value so it can spot the same one in other runs.

You can keep a hash of that value instead. Open Phone numbers and email addresses in Settings and turn on Store phone numbers and email addresses as hashes. Amiril then stores an HMAC-SHA256 under a key it derives for your workspace. The same value gives the same hash, so the check still finds repeats.

The hash replaces only the value the check keeps. Message text still keeps the number as written, so turn message text off as well to drop it.

This setting applies only to the environment you are in, which shows at the top of every page. Switch environments there and turn it on again for each one you want hashed.

What the SDK sends about rule decisions

The SDK checks each tool call against your rules inside your own process. It sends Amiril a record of each call a rule blocks, with the values the rule used. A rule in Shadow blocks nothing and only records what it would have done. The SDK sends that record too.

A rule can also flag a call, which lets it run and marks it for review. For flagged calls and allowed calls, the SDK sends only a count per rule. To remove or mask values before anything leaves your process, pass a function as the redact option.

What the gateway records about tool calls

The gateway sits between your agents and your tool servers and passes on only the tools you granted. For each call, Amiril records the tool and whether the gateway let it through. It also records how long the call took and how it ended, such as a tool error, a timeout or a server it could not reach. It does not store the arguments, the results or the headers.

Credentials and keys

Amiril encrypts the credentials for your tool servers with AES-256-GCM before it stores them. No page or API route shows them again. The gateway decrypts a credential only to call its tool server, and an agent never receives it.

Amiril stores API keys and gateway tokens as hashes, so it shows each one only once, when you create it.

WorkOS handles sign-in, so Amiril never stores a password.

Next steps

Last updated on