It worked before that prompt.
Search for React.
Ready — no request has run.
The API now returns items. The UI still reads results. A green network response does not mean the feature works.
{ "items": ["React"], "accepted": true }Inspect the contract on either side.
const response = await fetch('/api/search?q=' + encodeURIComponent(query)); if (!response.ok) throw new Error('Search failed'); const data = await response.json(); if (!Array.isArray(data.results)) throw new Error('Unsupported response'); setResults(data.results); setStatus('Results loaded'); } catch { setStatus('Search unavailable'); }Prepared local example. Selecting a scenario does not contact a provider or run your server.
Start with what
you recognize.
A photo upload. A search field. A button you built yesterday. Follow one action into its source, then explore what happens when the request takes a different path.
Follow a featureFollow the thread.
Four steps, one familiar action. Choose a step.
<label> Search query <input value={query} onChange={e => setQuery(e.target.value)} /> </label> <button onClick={search}>Search</button> <p role="status">{status}</p>What happens when you click Search?
The button calls search(). Its status is displayed just below it. Select the request to continue along this same action.
examples/search-flow/Search.tsx:23Start with the Search button. Its handler gives you a concrete place to begin exploring this example.
How action discovery worksRecognize the action
<label> Search query <input value={query} onChange={e => setQuery(e.target.value)} /> </label> <button onClick={search}>Search</button> <p role="status">{status}</p>What happens when you click Search?
The button calls search(). Its status is displayed just below it. Select the request to continue along this same action.
Open the prepared exploration examples/search-flow/Search.tsx:23Follow its connections
from fastapi import FastAPI, HTTPExceptionapp = FastAPI()@app.get('/api/search')def search(q: str = '', variant: str = 'correct'): if variant == 'broken': raise HTTPException(500, 'Deliberate failure') if variant == 'ambiguous': return {'items': ['A result'], 'accepted': True} return {'results': [item for item in ['React', 'FastAPI', 'SQLite'] if q.lower() in item.lower()]}Follow the request to the server.
The handler calls /api/search with an escaped query. This backend defines the matching route. That match is source evidence; a live run would establish execution.
examples/search-flow/api.py:3Try a scenario
const response = await fetch('/api/search?q=' + encodeURIComponent(query)); if (!response.ok) throw new Error('Search failed'); const data = await response.json(); if (!Array.isArray(data.results)) throw new Error('Unsupported response'); setResults(data.results); setStatus('Results loaded'); } catch { setStatus('Search unavailable'); }What if the search request fails?
A non-success response throws. The catch branch sets “Search unavailable.” Check that status in an approved local run.
Results loaded
Understand the result
<button onClick={search}>Search</button> <p role="status">{status}</p> <ul>{results.map(result => <li key={result}>{result}</li>)}</ul>Know what to look for in a run.
React renders status below the Search button. Compare the prepared expectation with recorded events in your own app.
Prepared expectation: “Search unavailable.”
examples/search-flow/Search.tsx:24Your code moves.
Your context stays.
Keep building in your editor. Return to compare the source, revisit an explanation and rerun a configured experiment.
Understand changesSearch response changed
The response is still 200 OK. The UI expects a different field.
- 01Compare the captured source
- 02Revisit the affected exploration
- 03Rerun the approved scenario
See what changed since your last exploration.
Your project.
On your computer.
Install and connect folders on your development computer. Explore the demo from any screen. Python 3.12+ is required. The package includes the interface and local storage. Source exploration works before you connect AI or install browser experiments.
Read the setup guide- 01
Install and open
Get the Python installation package from the project owner. There is no public download yet; the setup guide explains installation.
After installation, rununravel - 02
Connect a project
Enter your folder's absolute path. Unravel captures supported source without changing it.
- 03
Explore. Then experiment.
Follow the code first. Browser experiments require your running development app and approved steps.
A few things to know.
Do I need an AI key?
No key is needed for source maps, comparisons, notes or configured experiments. Live explanations use your Anthropic key and consent to send selected source.
What projects work?
Initial discovery supports React/JavaScript/TypeScript and Python/FastAPI patterns. Dynamic code or unfamiliar frameworks may produce a partial map. Unravel shows what it found and what it could not establish.
Does it change my code?
Source exploration is read-only. Browser experiments interact with your development app and can change its data. Approve each recipe and use disposable data. Make code changes in your existing editor.
Are these demos live AI runs?
The public search example is a labeled simulation backed by reference source. Your local experiments record actual browser observations. They are shown separately from AI interpretations.