Skip to main content
Manage Real-Time Configuration (RTC) — per-environment configuration that takes effect without a deployment. poly rtc requires a subcommand. Each environment holds a schema, which defines the shape of the configuration, and data, which holds the values. Locally these live in real_time_configuration/, one directory per environment: Each directory contains schema.json and data.json.

poly rtc pull

Pull RTC from Agent Studio and write it to local files. Examples:
--json output shape:

poly rtc push

Push RTC from local files to Agent Studio. --env is required — there is no default. Examples:
A push to live takes effect immediatelyRTC is not branched and not promoted through the deployment ladder. poly rtc push --env live writes straight to production.

Drift behavior

If the remote has changed since your last pull, the configuration has drifted. By default the ADK performs a three-way merge between the stored base, your local files, and the remote state, per key rather than per line. A key changed on only one side applies cleanly; a key changed differently on both sides is a conflict, and conflicts abort the push. Drift protection depends on base copies stored by poly rtc pull. Pushing without ever having pulled skips the check. --json output shape:

poly rtc edit

Pull the current configuration, open it in your editor, validate it, and push it back in one step. Edits data.json unless --schema is passed. Examples:
The file opens with $EDITOR or $VISUAL. Closing the editor without changes cancels the operation. Before pushing, the remote state is re-checked, so a change made elsewhere while you were editing is caught rather than overwritten — the push fails rather than merging.
No --json supportpoly rtc edit is inherently interactive (it opens an editor) and does not accept --json.

poly rtc diff

Show differences between local and remote RTC configuration. Examples:
--json output shape:
An environment with no local files reports {"environment": "sandbox", "status": "no_local_files"} instead.

poly rtc validate

Validate local data.json against schema.json for each environment. poly rtc push runs the same validation unless --skip-validation is passed. Examples:
--json output shape:
An environment missing local files reports {"environment": "sandbox", "status": "skipped"} instead. A failed validation adds "errors": [] alongside "valid": false.
Last modified on November 27, 2026