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:
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 bypoly 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:
{"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:
{"environment": "sandbox", "status": "skipped"} instead. A failed validation adds "errors": [] alongside "valid": false.
Related pages
- Real-time configuration — how RTC fits the development workflow

