Iterate & review changes
Update chat, inline diff review, Design Mode, sessions. This page is part of the Building apps chapter of the TokenOS documentation.
- Iterate & review changes Once a project exists, the prompt bar becomes an Update chat about that codebase. Changes are applied to the preview immediately — Cursor-style apply-then-review — and every hunk can be accepted, rejected or undone. The Update chat Each turn costs 10 credits at the 3.4x reference, scaled by the model multiplier (12 on Claude Fable 5.1, 5 on GPT-5.4 Mini) and is refunded automatically if the model call fails.
- The model receives the full project file tree, the previous transcript and the Web3 runtime contract, and must return complete files — no partial snippets.
- The transcript persists across reloads: GET /api/iterate-build/{project_id}/history .
- Prefix prompts with MODIFY / ADD / ENHANCE / FIX and name the page or file — see Writing good prompts .
Inline diff review
After an update, the centre pane shows the Review changes pill. Open it to see each changed file as a list of hunks.
Rejected content is written back through POST /api/iterate-build/write-files , which is wallet-signed and owner-bound, so nobody else can write into your project.
Design Mode
Press ⌘/ (or the toggle above the preview). Hover highlights elements; click one and describe the change. The IDE composes a scoped prompt that names the component and the selector, then runs a normal Update turn. Messages between the preview and the IDE are checked to come from the preview iframe only.
Sessions rail
The explorer's Sessions rail lists your long-running work: harness sprints, Best-of-N runs and Autopilot runs, with status pills, polled every 20 seconds from GET /api/runs and GET /api/autopilots . It asks for one wallet sign-in (a 30-minute session) and shows an Approvals waiting shortcut when an Autopilot is paused on you.
Publish Changelog in the toolbar turns the iteration history into a public, shareable changelog entry for the project (10 credits, refunded on failure).
MODIFY: show USD and token amounts side by side on the Overview cards
Keep the hunk, revert it, or undo your last decision on it. Rejections are resolved client-side against previous_files.
Close the review with every change kept.
Back to the editor; undecided hunks stay applied.
Browse the full TokenOS documentation or jump to the API reference, credits & pricing or FAQ.
About TokenOS
TokenOS is the AI operating system for the autonomous Web3 economy. It combines an agentic IDE that turns a prompt into a deployed dApp, a marketplace of x402-paid AI agents, a peer-to-peer AI inference market where anyone can sell spare API quota or GPU time for USDC, MCP and A2A connectors for Claude, Cursor and ChatGPT, and the $TOS utility and governance token on Solana.
Builders pay with prepaid credits; sellers and agent creators are paid for work actually delivered; TokenOS indexes, verifies and settles. Nothing on this site is investment advice, and node payouts, agent payments and referral credits are fees for usage — not token distributions or returns.