Explore generated answers
Compare synthetic conversation answers rendered with Workbench components and JSON Render.
Open the standalone local studio using the CLI commands. Choose Close review, Expense variance or Cash outlook to explore synthetic answers in a sample shared conversation.
The default examples replay prepared JSON Render specifications. They demonstrate the proposed interaction without credentials. The header labels that provenance explicitly. The experiment has its own Vite entry and is not imported by the production web application or API Worker.
Explore an answer
Each answer combines three metrics, a chart, an explanation, evidence items and source snapshot descriptions. Charts use Workbench’s shadcn chart container and Recharts, with an equivalent data table. The registry uses existing Base UI components, Hugeicons and design tokens.
Chart series selection and expanded views belong to the viewer. The evidence-first follow-up selects a retained revision; the original remains available. Save example retains a separate immutable snapshot for the current browser session. Reload clears those saves. Download snapshot exports the display specification and synthetic values as JSON.
The studio’s revision picker and session saves are proposed interactions for evaluation. Production Team replies use the persistence, authorization and selected-sharing integration below. Verified source receipts and persistent saved artifacts remain separate work. Sample source descriptions are provenance labels, not receipts from real tools.
Production Team replies
Wes can call the native render_ui tool during an authorized Team operation. It supplies concrete candidates from its authorized context: optional report containers, groups, metrics, plain text, bar or line charts, tables and source notes. Jev chooses membership, root, order and placement. A chart or table can be the entire answer without a report wrapper. Offer alternative chart types with a shared resource. Mark only explicitly essential content required; surrounding sections are optional. Source notes are agent-prepared descriptions, not verified tool receipts or new access grants.
Effect Schema owns the component props, request and persisted snapshot definitions. The shared compatibility layer exposes Standard Schema v1 validation through the narrow Zod props API required by JSON Render 0.21.1. The server uses a composition-only catalog; React registry and prompt-generation helpers stay in the web bundle. Tool JSON Schema is derived directly from the Effect definitions.
Composition consumes the upstream event iterator through Effect Stream. Each request allows two batched evaluations, 24 elements, depth four and a 25-second overall deadline. Cancellation interrupts the evaluator through an AbortSignal bridge. There are no automatic provider retries. Failed or incomplete composition returns a tool failure so Wes can finish in text. Required candidates must be present before a result can be retained.
The runtime rechecks the original invocation’s authority before and after composition. Successful results are stored by native operation and tool call, so completed tool replay uses the same snapshot. Only a successfully settled native run can attach that result to its canonical message. Current source dependencies and conversation authority are rechecked at delivery. A failed or canceled turn never publishes a visual answer. The last successful visual preparation in a turn is the retained display.
Messages store the versioned display alongside their original text in the same append. Retries must match both. A selected share copies the exact display and text into the authorized Client conversation; it does not copy private runtime metadata or grant source access. A follow-up creates another immutable message, preserving the earlier answer. Human message payloads cannot set a display.
The browser validates the supported display version and literal component tree before rendering. Actions, URLs, HTML, bindings, arbitrary components, cycles, disconnected nodes and oversized payloads are rejected. Unsupported displays show a note while the original text remains available. Set text to fallback for visual-only replies: the retained text is shown only if the visual is invalid or unsupported. Omitted text preserves accompanying prose for existing messages. Wes follows the requested format rather than adding a standard report. Charts include data tables. Chart filters and expanded sheets have independent personal state. Generated time identifies when the answer was composed; it does not establish the freshness of underlying records.
This slice enables display composition in Team replies and selected immutable sharing. Private-agent generation, forms, shared editing and persistent artifact saving remain separate work.
Generate local examples
The optional compose command uses the same production service and direct TypeSafe Effect provider. Supply a personal sandbox key using the Jev configuration, then run the command in the CLI reference. The browser never imports the provider or receives its key. Only prepared synthetic examples and candidate descriptions are submitted.
The command composes an original and an evidence-first version for each example. It replaces the ignored local results file only after all versions finish and validate. Reload the studio after success; its provenance label changes to Jev composition. The default examples use the same production renderer with prepared specifications.
JSON Render core and React are pinned together at 0.21.1. The compatibility workspace pins Zod 4.6.7 to match core’s resolved dependency; no duplicate handwritten Zod component schemas are maintained. Review experimental API changes before upgrading. See the upstream Jev example.
Evaluate the integration
Compare the same questions using a fixed report, ordinary LLM-written specs and Jev composition. Assess answer completeness, evidence correctness, candidate preparation effort, layout stability, latency, cost, keyboard navigation and recovery. A valid layout or high decision confidence does not establish answer quality.
The API Worker upload budget is 4,800,000 JavaScript bytes. Invite-only firm onboarding increased the measured upload from 4,741,210 to 4,754,942 bytes. With the pinned local profiler, sampled startup CPU was 58.65 ms before and 58.91 ms after; this is a local diagnostic, not a production timing guarantee. Compiler-tooling leak enforcement remains enabled. Keep server composition separate from the React catalog to avoid including browser schema helpers in that upload. Production and preview retain their existing resources and stage-owned credentials.