DiscoveryVIP / AI EngineeringHelp Center

Getting started and complete searchable Help Center

Getting started: your first three minutes

This academy teaches how to design useful AI-assisted applications, implement conventional code around model proposals, test failures and measure value. Core learning uses fictional data and authored responses, so you need no key or account.

  1. Open the academy. Click Build Your First AI Application.
  2. Click Load Customer Feedback Classifier if you want to reset to the original sample. Confirm replacement.
  3. Read Customer message and Prepared AI instructions. The editable response is an authored fixture, not newly generated text.
  4. Click Run Application in Fixture Mode. Schema validation passes; the trace stops at review. Nothing is stored.
  5. Click Load Invalid Response, then run again. The exact failing field is $.priority because urgent is not low, normal or high.
  6. In Response JSON, change urgent to normal, keeping the quotes. Run again.
  7. Read the original message and decide whether the proposed classification makes sense. Click Approve Valid Record.
  8. The fictional local spreadsheet gains one human-approved row. A repeated identical commit is blocked. No actual Google account changes.
  9. Write your explanation, then click Save Experiment. Use Get Complete Classifier Source to open the real application project.

The model's requiresReview:false is a classification field, not permission to bypass the application's mandatory human approval. Distinguish the layers: an AI proposal supplies content; deterministic validation checks shape; business rules restrict use; a human reviews meaning; storage commits an approved record.

How to learn and choose lessons

Click Learn. The full path contains 20 expandable modules and 100 selectable lessons. Search lessons filters titles; Jump to Lesson selects any lesson directly. Previous/Continue move sequentially. Bookmark is a reminder, not mastery credit.

Follow Discover → Predict → Understand → Experiment → Build → Test → Explain → Reflect → Extend. Read the opening problem and source operations, predict before running, then compare actual results with independently authored expectations.

Each lesson supplies five implementation examples: normal operation, changed input, boundary/transfer, an executable assertion and an intentionally unsafe integration. The last example demonstrates that a correct result does not authorize unreviewed storage. It cannot award repaired credit. The separate 150 failure investigations cover 15 failure classes.

Load Repair Exercise replaces the draft with a deliberate defect. You implement the correction yourself. Show Finished Code reveals reference source without changing your draft. Three hints progress from boundary identification to a concrete repair. Add an independent test before claiming understanding.

Every shared control

Navigation
Start Here provides three entry paths. Learn opens the complete path. Engineering Studio opens 15 workspaces and 60 focused learning objects. Challenges switches between coding, failures and knowledge questions. Projects opens 40 focused applications. My Workspace shows current evidence, saved copies, versions and backups.
Appearance
Light/Dark changes the color theme and saves the preference. It does not change assessment requirements.
Source File and editor
Choose main.js for the operation or UI entry, config.js for a project schema/fixture/business rule, engine.js for the deterministic primitives and tests.js for independent assertions. Edit the actual source in the textarea. Ctrl/Command+Enter runs. Tab leaves the editor. Editor text size adjusts 12–30 pixels. Source anatomy provides a numbered reading view.
Run Code, Stop and Check My Work
Run Code executes actual JavaScript in isolation. Projects open a real DOM preview; console lessons use a worker. Stop destroys current execution. Check My Work compares actual logs with the stated case and requires an implementation; project checks run tests.js. Passing one observable case does not prove every behavior, factual claim or learner explanation.
Create, Duplicate, Rename and Delete File
Enter a safe unused relative filename. Create makes an empty file; Duplicate copies the active source. Rename/Delete ask before changing an existing file. main.js remains the entry. Update require("./relative.js") dependencies yourself after renaming.
Reset Source, Load Example and Show Finished Code
Reset restores the selected prepared reference after confirmation. Load Example replaces the draft with one of five cases. Finished Code is a reference display only. Keep a backup before replacing work.
Save, Save Explanation and Save Named Copy
Save stores drafts and notes on this browser/origin using IndexedDB. Save Named Copy makes a separate snapshot with the supplied label. My Workspace can load, rename or delete named copies. A named copy opens in a scratch project.
Optional AI Prompt Studio
Choose Explain, Implement or Review/Debug. Build Contextual Prompt includes the objective, actual current files, user edits, actual errors/output and expected behavior. Edit and copy it to an external assistant yourself. No AI call occurs. Remove private data and verify suggested changes with independent tests.
Export Project
Downloads actual readable source, fixture/configuration, deterministic engine, ready-built dist/app.js, build.mjs, tests where supplied and deployment/testing documents. Lesson exports show actual console output in their own standalone page. Project exports provide a complete reviewed form application.
Load Starter and Load Finished Project
Starter leaves a deliberate implementation error in config.js. Read tests.js, implement the rule and Run Project Tests. Finished Project explicitly replaces the draft with the complete reference. It does not silently write code while you work.
Run Project Tests
Executes independent schema, invalid-data, approval, duplicate and project-rule assertions. The preview form remains a separate interaction check. Actual source changes can break tests; a previous pass is not carried forward after edits.
Save Version and Restore Version
Within a project, name and save up to ten snapshots. Restore asks before replacing current source and clears previous objective evidence. Versions are included in the learning backup.
Three Worked Samples, Reset Sample and Workspace Guide
Each workspace has a normal, changed and boundary/failure setup. Load Worked Sample replaces its fields. Reset Sample restores the currently selected sample. One contextual Workspace Guide explains that area; detailed help stays here rather than appearing beside every button.
Save Workspace and Restore Saved Workspace
Save keeps the current fields, response, configuration and selected sample. Restore loads fields but does not fabricate a new execution result. Run the relevant action again. Workflow graph JSON is restored through its actual graph validator.
JSON Backup, Import and Reset Learning Data
Export JSON Backup preserves drafts, responses, approved fictional rows, notes, evaluations, actual event history and versions. Import validates a version-1 record, asks before replacement and clears objective check credit until rerun. Reset clears this academy only after confirmation. Browser clearing can remove local records, so keep a portable backup.
Print Implementation Report
Prints the actual My Workspace evidence. Browser Print can save a PDF. It does not create unobserved metrics. Printable lessons and educator worksheets also use normal browser printing.

AI Application Blueprint Designer

Define the user, problem, data, constraints and success metric. Generate an inspectable implementation specification.

Read the generated acceptance checks; they describe a proposal and do not certify business value.

Open Workspace

1. Reviewed feedback

Click and do: Keep the prepared fields. Click Generate Implementation Specification.

Expected: The output contains user/problem/input/output/metric plus explicit steps, acceptance checks and non-goals.

2. A different user

Click and do: Load Sample 2: User becomes Editor. Generate again.

Expected: The specification reflects the changed user. This is deterministic construction, not AI validation of the idea.

3. Missing requirement

Click and do: Load Sample 3: Meaningful problem is empty. Generate. Enter a specific problem and rerun.

Expected: The missing problem is rejected; the repaired specification is generated.

Prompt and Context Studio

Build instructions and examples with a stable output contract. Compare supplied responses against the same exact test set.

Edits change the actual prompt text; fixture responses do not regenerate themselves or become live inference.

Open Workspace

1. Stable instructions

Click and do: Load Sample 1. Click Build Prompt and Compare Cases.

Expected: A concrete prompt is assembled; the two authored exact-match cases pass.

2. Compare an observed mismatch

Click and do: Load Sample 2. Run. Compare actual product with expected support in case 2.

Expected: The second case fails transparently. The studio did not generate either result.

3. Failure vocabulary

Click and do: Load Sample 3. Run the supplied urgent versus normal case.

Expected: The exact comparison fails. Context injection text remains untrusted data, not executable authority.

API Request Inspector

Build a real request configuration, inspect its payload and replay explicit HTTP outcomes.

Credentials stay server-side. The local inspector does not send the displayed provider configuration. Optional live requests use the protected proxy separately.

Open Workspace

1. Inspect before sending

Click and do: Load Sample 1. Click Inspect Request and Replay Outcome.

Expected: A POST request configuration is displayed, with a server-secret placeholder. Status 200 is explicitly a recorded outcome.

2. Different request limit

Click and do: Set Maximum output tokens to 128. Inspect again.

Expected: The actual generationConfig contains maxOutputTokens:128; no network request occurs.

3. Unavailable provider

Click and do: Load Sample 3 and inspect the 503 recorded outcome.

Expected: The result shows an unavailable-provider error and an honest fallback recommendation, not fabricated output.

Structured Output Laboratory

Edit a JSON schema and response, then inspect precise actual failing paths.

Supported local schema keywords are documented; unsupported constructs fail explicitly. Shape validity is not factual accuracy.

Open Workspace

1. Valid response

Click and do: Load Sample 1. Click Validate Actual Response.

Expected: valid:true and no failing fields.

2. Boolean variation

Click and do: Load Sample 2 with requiresReview:true and validate.

Expected: The shape is valid. Meaning and approval are still separate.

3. Unsupported enum

Click and do: Load Sample 3. Validate priority urgent, then change it to normal.

Expected: The first run reports $.priority; the second accepts it.

Business Logic Studio

Transform fictional rows, enforce numeric limits and route controlled categories using deterministic rules.

The code implements the business rule. The model never authorizes an external action.

Open Workspace

1. Route a category

Click and do: Load Sample 1. Click Execute Deterministic Rule.

Expected: shipping routes to logistics.

2. Normalize names

Click and do: Load Sample 2 with the normalize operation. Run.

Expected: The name " Ari " becomes "Ari" while the stable ID remains.

3. Reject a numeric domain error

Click and do: Load Sample 3 with amount:-10 and limit:100. Run; repair amount to 10.

Expected: The first result is allowed:false; after repair it becomes true.

Visual Application Workflow Builder

Add executable nodes, connect edges and inspect dependency errors and actual bounded execution traces.

Click a node to select it. Edit ID/type/next edges in the form, use Move Earlier/Later for keyboard ordering, and save. Graph execution follows edges, not visual order.

Open Workspace

1. Explicit review gate

Click and do: Load Sample 1, architecture 6. Run Workflow without approval.

Expected: The trace stops at review. Check explicit fictional approval and rerun: one local record is stored.

2. Sequential transformations

Click and do: Load Sample 2, architecture 12. Run.

Expected: The input is trimmed and uppercased through actual nodes; inspect the resulting text and trace.

3. Bounded retry

Click and do: Load Sample 3, architecture 25. Run. Set the retry node attempts to 4 and Apply Node Changes, then rerun.

Expected: The configured recorded policy succeeds within three attempts; four attempts are rejected. Backoff is planned, not a claimed actual wait.

AI Interface Builder

Edit HTML, CSS and JavaScript; run an isolated real preview containing a form, validation, results and errors.

HTML and CSS are rendered in a sandbox. The preview has no external network access; use textContent for untrusted values.

Open Workspace

1. Actual form

Click and do: Load Sample 1. Click Run Interface Preview, then submit Run Validation inside the frame.

Expected: Actual schema checks run. Approve Local Record stores a reviewed local row.

2. Add semantic UI

Click and do: Choose details in Native component. Click Add Native Component, then run preview.

Expected: The added disclosure opens with keyboard/native behavior. HTML/CSS/JavaScript remain editable.

3. Invalid response preview

Click and do: Load Sample 3, run preview and submit its form.

Expected: The intentionally invalid fixture is rejected. Repair the response or Reset Sample and inspect the change.

Virtual Google Workspace

Read/write fictional Sheets ranges, create documents/files and draft emails using supported local adapters.

The local service adapter never changes a Google account. Every write requires explicit approval. Export Apps Script for separate authorized setup.

Open Workspace

1. Read fictional Sheets

Click and do: Load Sample 1. Execute Local Service.

Expected: The returned range includes the fictional id/message header and F1 row. No Google request occurs.

2. Create a local document

Click and do: Load Sample 2 with Docs: create document. Run without approval, then approve and rerun.

Expected: The first write is blocked; the second returns a fictional document and changed local snapshot.

3. Write a range

Click and do: Load Sample 3 with values [["F2","Review schema"]]. Approve and execute.

Expected: The fictional second sheet row changes. Export Apps Script Starter provides a separate real-Google setup path.

Evidence and Knowledge Laboratory

Chunk exact source text, perform actual local keyword retrieval and inspect source/quote checks.

Scores are lexical overlap, not model embeddings or factual confidence. Numerical vector examples are explicitly illustrative.

Open Workspace

1. Inspect lexical retrieval

Click and do: Load Sample 1. Click Chunk, Retrieve and Inspect Evidence.

Expected: Exact source chunks, lexical rankings and quote checks appear. "refund receipt" may rank the old text highly because no stemming/freshness authority is inferred.

2. Improve retrieval evidence

Click and do: Set Search query to "refunds receipt" and run. Use the independent relevant ID refund-policy.

Expected: The current policy matches both query terms. Inspect precision/recall on the supplied labels; this is not semantic confidence.

3. Reject an invented citation

Click and do: Load Sample 3 and run. Replace missing with refund-policy, then rerun.

Expected: sourceExists and quoteFound change from false to true. A human still checks whether the quote entails the claim.

Tool Calling and Permissions Studio

Choose a known local tool, inspect argument schemas and enforce an explicit allowlist and approval boundary.

Unknown tools and wrong argument types fail before execution. Draft creation is fictional and never sends email.

Open Workspace

1. Pure tool

Click and do: Load Sample 1. Validate and Execute Tool.

Expected: The allowlisted calculate tool returns sum:5.

2. Gated draft

Click and do: Load Sample 2. Run without approval, then explicitly approve and run.

Expected: The first call is blocked. The second creates a fictional draft with sent:false.

3. Wrong argument type

Click and do: Load Sample 3 with a:"2". Run, then change it to numeric 2.

Expected: The actual argument validator rejects the string; the repaired call returns sum:5.

AI Reliability Laboratory

Inject malformed JSON, invalid fields, provider errors, exhausted retries and unsupported evidence.

Each failure is an authored local experiment. Repair the data or policy, rerun and inspect real validation/trace evidence.

Open Workspace

1. Schema defect

Click and do: Load Sample 1 and Run Failure Experiment.

Expected: Unsupported priority is rejected. Change urgent to normal and rerun.

2. Recorded streaming and cancellation

Click and do: Load Sample 2, click Run Failure Experiment and Cancel Replay while it is active.

Expected: Actual timers produce incremental recorded text. Cancellation stops local replay; nothing is called live.

3. Retry exhaustion

Click and do: Load Sample 3 with one attempt and three simulated failures. Run.

Expected: The actual local trace reports Retry budget exhausted. No fake successful provider response is invented.

Evaluation Studio

Run exact/schema/substring checks on independent cases, preserve a baseline and show individual regressions.

Objective checks answer their stated question; human review of meaning is recorded separately and never auto-passed.

Open Workspace

1. Exact independent cases

Click and do: Load Sample 1. Run Evaluation.

Expected: Both authored cases pass their exact labels. Keep Current Run as Baseline.

2. Regression comparison

Click and do: Change one actual classification in Cases, then rerun.

Expected: The individual case fails and the comparison identifies the regression. Export Evaluation CSV downloads those actual records.

3. Separate meaning review

Click and do: Load Sample 3 and run. Write evidence in Human review findings and Save Human Review.

Expected: The priority mismatch fails objectively; written judgments are stored separately without an arbitrary quality score.

Cost and Performance Laboratory

Calculate forecast request costs and business value from editable workload, rate and review assumptions.

Rates and latency inputs are hypothetical unless you enter observations. Forecasts are not provider billing or measured business outcomes.

Open Workspace

1. Calculate stated assumptions

Click and do: Load Sample 1. Calculate Estimates and Break-Even.

Expected: API forecast is USD0.20/month. Value forecast saves 10 hours/month, nets USD250/month and breaks even after 2 months under the supplied assumptions.

2. Result cache effect

Click and do: Load Sample 2 with cacheHitRate:0.5. Calculate.

Expected: The API forecast is USD0.10/month. This application-result cache avoids complete requests; it is not provider context-cache pricing.

3. Review overhead defeats savings

Click and do: Load Sample 3 with reviewMinutes:10. Calculate.

Expected: The value forecast becomes negative and has no positive break-even. These are forecasts, not observed business outcomes.

Application Observability Studio

Inspect real events from local workflow runs, filter requests and export the actual trace.

Only executed local events appear. Actual local duration is not a claim about provider response time.

Open Workspace

1. Generate genuine events

Click and do: Click Run a Local Workflow to Create Events.

Expected: Actual local events include a request ID, stage, status and measured local elapsed time. Review blocks storage.

2. Filter a trace

Click and do: Copy a displayed request ID into Filter request ID or stage.

Expected: Only matching actual retained events are shown; Refresh Actual Events rereads the same real history.

3. Export evidence

Click and do: Click Export Actual Trace CSV.

Expected: The CSV contains actual retained events, not sample production metrics. An empty history produces no invented runs.

Complete AI Application Build Studio

Choose a multi-file project, edit source, test, preview, save versions and export runnable files.

Select config.js for schema/business rules, main.js for the real form, engine.js for deterministic primitives and tests.js for assertions.

Open Workspace

1. Complete classifier

Click and do: Load Sample 1. Open Multi-file Source Project. Load Finished Project, Run Code and interact with the form.

Expected: The real reviewed classifier works. Run Project Tests exercises schema, invalid data, approval and duplicates.

2. Grounded application

Click and do: Load Sample 2, project 21. Inspect config.js and its quote/source rule, then preview and test.

Expected: The project requires an existing source quote while reserving semantic entailment for review.

3. Repair system

Click and do: Load Sample 3, project 33. Compare the invalid fixture, schema and corrected response. Load Starter and implement its rule.

Expected: The starter explicitly fails until implemented. Show finished source or load the finished version only when needed, then test and export.

Workflow node controls and graph semantics

Reusable Architecture selects one of 30 configurations. Load Architecture replaces the graph. Select a visible node with click/Enter/Space or use Selected Node. Node ID must be unique. Node Type chooses an implemented operation. Next node IDs are comma-separated execution edges; Required completed node IDs enforce dependencies. Maximum visits bounds explicit loops to one through four visits.

Node-specific configuration contains the relevant operation, response, schema, branch field/equals/otherwise, allowlist, retry attempts/failures, parallel tasks, cache action/key, grader or retrieval limit. Apply Node Changes writes the form to the actual graph. Add Node makes a disconnected trim transformation until you connect it. Remove Node removes incoming references after confirmation. Move Earlier/Later changes visual order only; execution follows edges. Full editable graph JSON is an advanced source view; Apply Graph JSON validates it before use.

Run Workflow executes at most 100 trace steps. Invalid edges/types, unmet dependencies and excessive visits are blocked. Transforming data invalidates prior validation/approval. Store requires current validation and approval. Retry supports one to three actual local attempt decisions, with planned backoff labels rather than pretend waiting. Parallel executes up to eight supported local tasks. Cache is a version-keyed local example, not a remote distributed cache. Quote verification checks source/quote existence, not entailment. Export Graph and Trace preserves source and actual events.

Additional engineering inputs

API Inspector: Hypothetical capability records contain id, capabilities and unitCost. Required capability and Maximum hypothetical unit cost filter those records explicitly; they never claim actual provider capabilities or rates. Cost Studio: Hypothetical quality/latency/cost observations are compared with Required quality and Maximum latency. These labels distinguish manually supplied observations from measurements made by the workshop. Evidence Lab: Estimated context token budget selects whole retrieved passages using character estimates; no actual tokenizer or embedding call is implied. Tool Studio: Editable argument contract is validated first, then the built-in implementation enforces its own schema and allowlist as an independent boundary. Workflow: Retrieval/evidence documents JSON supplies the actual corpus used by retrieval and quote-check nodes.

Validation support and limits

The local validator supports boolean schemas, type (including arrays of types), enum, const, properties, required, additionalProperties, items, array bounds/uniqueness, string length and restricted simple patterns, numerical bounds/multipleOf, anyOf, oneOf and allOf. Unknown keywords such as $ref or format are rejected explicitly. This is a documented teaching subset, not a claim to full JSON Schema draft conformance. Use a fully supported validation library and provider-compatible schema for production needs beyond this subset.

Gemini, privacy and Apps Script

See Gemini & Apps Script setup. The static site has no provider key and never makes a live model call. The optional loopback server provides authentication, explicit quote approval, input/output caps, rate/concurrency limits, a local estimated budget and timeout handling. It is a separately configured reference integration, not a public multi-user service. Apps Script uses server-side properties, explicit authorizations and human-confirmed spreadsheet writes.

Use fictional data. Redaction experiments detect some email and phone patterns but cannot certify all sensitive data is removed. Prompt injection keyword checks are demonstrations, not complete defenses. Tool allowlists, schema checks and approval gates are enforced independently.

Troubleshooting

Nothing runs
Serve the folder through HTTP(S), not file://. Ensure all assets/vendor and content files uploaded. Read the actual error/status; a failed load is not success.
Why does editing the prompt not generate a different response?
Fixture mode deliberately uses authored/manual output. Edit Response JSON to compare a new recorded result, or set up the separate protected live server. The site never disguises fixtures as inference.
Where is the actual finished code?
Projects → Open Project → Load Finished Project → Run Code → Run Project Tests → Export Project. Extract all files. For a starter, you edit config.js yourself.
Why did my pass disappear?
Source/input edits invalidate objective evidence. Rerun checks on the current version. Imported backup checks are cleared for the same reason.
Why did a workflow stop?
Find the first failed trace event. Check exact schema path, graph edge/dependency, permission, retry budget or approval. Unapproved output cannot store.
How do I repair JSON?
First fix syntax, then missing fields/types/enums, then business rules, source evidence and meaning. Do not coerce arbitrary values to make the schema green.
Why is a valid quote not enough?
Quote existence and source identity are objective checks. A human must decide whether the quote actually supports the claim and is current.
Why is the estimate different from billing?
Rates, token allowances, retries and cache effects are assumptions. Provider metering and pricing can differ. The workshop never reports estimates as actual spend.
Saved work disappeared
Browser/origin changes or cleared storage can isolate local records. Import an exported backup. Source ZIPs and learning backups serve different purposes.