Sync after a change
Your code gained a screen, an API call or a feature. One prompt to your agent brings Rendel level with the code.
After any change to your app Rendel should know about. On a live app this is the only way an agent changes the console.
{what you changed, in one sentence: a new screen, a new API call, a new plan or rule, a new colour}
Open Sync with code, paste its prompt into your coding agent, then send this after it. Works in Claude Code, Cursor, Codex, Windsurf, GitHub Copilot and Gemini CLI.
What the agent will do
- Start with the change you named, then compare the rest of the code with what Rendel holds.
- Add
registerRouteorregisterActioncalls on arendel/syncbranch, committed, never pushed. - Put Rendel's button on the screens you name, or take it off them.
- Send the console only the differences, each with a reason. Anything gone from the code is archived, never deleted.
How to check it worked
The changes apply as they arrive, before go-live and after, and Home shows each step.
How it works
At the foot of Home, under For your developers, press Sync with code (it is under Developer details at the foot of Actions and Screens too). The dialog has three steps on one line: Your agent, Paste, then Import. Pick your agent by its logo and press Next; you don't describe what changed, the agent finds it in the code. Closing the dialog before you copy a prompt ends the session Next opened, so looking leaves nothing waiting. The same two paths as setup:
- Connected (an agent with Rendel's MCP server: Claude Code, Cursor, Codex, GitHub Copilot or Gemini CLI), first in the Paste step. Connect your agent once, then paste the prompt shown there. The agent sends the differences through Rendel's MCP tools, and the last step becomes Watch: each step is ticked as the agent reports it.
- The setup file (any agent), folded below it. Copy the prompt from the dark card and send it to your agent. It rewrites
rendel/setup.json; drop it in the last step, or open Prefer the terminal? there for the command.
Sync Rendel (rendel.ai) for my app {your app's slug} with its code. Bring the Rendel SDK up to date (website: the script https://rendel.ai/sdk/web/0.91.0/rendel.js, Flutter: the package from https://github.com/neon-apps/rendel-flutter at v0.116.1, iOS 15+) and, if the app has sign-in, pass my signed-in user's token to it so Rendel can call my API as that user. Ask me for my test key: it is in my Rendel console under Settings › Keys & environments. Then describe the app as it is now in rendel/setup.json as https://rendel.ai/schemas/setup/v1.json describes (example: https://rendel.ai/docs/reference/setup-api#example). Send nothing anywhere: I will import the file into my Rendel console myself.
The console gives you this prompt with your app's slug in it. Works in Claude Code, Cursor, Codex, Windsurf, GitHub Copilot and Gemini CLI.
Build the feature the way you always do, then run one sync. The agent makes the small code change Rendel needs (a registerRoute, a registerAction) and the console gets its half in the same run. A sentence asking for something the code does not have yet is reported back, not invented.
The same run moves Rendel's button. Setup puts it on one screen to start, and nothing keeps it there: name the screens it should be on or off, and the agent adds or removes RendelLauncher in their code. On a website it is data-launcher="false" on the pages without it.
Live apps
On a live app a sync applies the same way, with no review step: knowledge, actions and screens reach your users as the agent sends them, and an appearance or persona change lands in the draft, which you publish as usual. The code half is on the rendel/sync branch, for your own review and release.
Knowing when to sync
The console notices drift and puts a count on Sync with code:
- A build reports something new. The SDK sends its manifest each time your app starts; screens or actions the console has not seen are counted. Overview shows them in a band at the top, with one tile for new screens and one for new actions. The first time you open Overview after such a build, a window lists them: each screen by its own title, each action with what it does and whether it only reads or makes changes. A tile opens the same window later, and the band stays until a sync takes them in.
- Your API documentation changed. Rendel reads it every day and brings your actions up to it: a new endpoint is connected, an action whose endpoint is gone is removed, and changed query parameters and body fields are rewritten. What was done, and what it cannot settle alone, is listed on Actions. See When your API grows.
Without an agent
A sync is a convenience, never the only door. Everything it sends can be changed by hand on the Knowledge, Actions, Screens, Persona and Appearance pages.