Building blocks
How edits reach your project
Wren doesn’t edit your project as it works. It drafts everything on its own copy first, then saves it to your branch all at once:- It reads your project at the start of the session, and reads it again whenever you switch branches.
- It drafts the change, across as many parts of the project as the change touches.
- It saves the change to your branch once you approve, then shows you a summary of every resource that changed, each with a link to open it.
Main. See Branches.
Real-time configuration
Wren can read your real-time config schema and values, and edit both. Because real-time config takes effect immediately, writes to the live environment always ask first. Wren shows you exactly what it intends to change and waits for your confirmation. Sandbox and pre-release edits follow the normal plan-and-approve flow.Secrets
When a change needs a credential, such as an API key for a new integration, Wren opens a secure modal for you to enter it. Secret values are never sent to the model. Wren can see that a secret exists and reference it by name, but it never receives the value itself. The same applies when it uses a secret to authenticate a request: the value is injected server-side and stripped out of anything Wren reads back. Wren can prompt you to add, edit, or delete secrets. It cannot read one, and it will never echo a secret back into the chat.Secrets are unavailable in Auto mode by design: there’s nobody there to type the value. Wren records it as a blocker in its report instead.
Connecting to your APIs
When you ask Wren to wire up an integration, it doesn’t guess at your API’s response shape. It makes a single read-only request against the endpoint and reads the real response, so the function it writes matches what your API actually returns. The guardrails on that request:- Read-only. It only ever performs a GET. Wren cannot create, update, or delete anything through your API.
- Authenticated by reference. If the endpoint needs a key, you point Wren at an existing secret by name. The value is injected server-side and scrubbed from the response before Wren sees it.
- Public hosts only. Requests to private or internal network addresses are refused.
Custom metrics
Wren can list, create, and edit custom metrics from chat. This is useful when you’re building a flow and want the metric that measures it registered at the same time. A metric your agent writes reports nothing until it’s registered here, so if Wren adds aconv.write_metric call it will usually offer to register the matching metric too.
Related pages
Prompting guide
How to phrase a build request so you get what you meant.
Simulation tests
Author and run test cases for your agent.
Deployments
Promote branches from
Main to Live.
