|
| 1 | +# Theme E: AI is now the default route in, through and around PyScript |
| 2 | + |
| 3 | +## What it is |
| 4 | + |
| 5 | +Large language models as the medium of discovery, learning, |
| 6 | +construction and documentation for PyScript. This is not a single feature |
| 7 | +request; it is a shift in the environment, community and industry in which we |
| 8 | +operate. |
| 9 | + |
| 10 | +## What it means for PyScript |
| 11 | + |
| 12 | +AI now sits on almost every path a user takes. |
| 13 | +Discovery: Nitau, an engineer, found PyScript because "the LLM told me that |
| 14 | +PyScript runs Python in the browser using WebAssembly." Building: Claudiu, a |
| 15 | +hobbyist, has moved from writing code to directing it, teaching Claude to use |
| 16 | +his PyScript helper functions and stepping back until "I'm never reading the |
| 17 | +code, because the code is being produced much faster than I can read it." |
| 18 | +Momin, an engineer, has built an entire platform around a copy-paste-from-LLM |
| 19 | +workflow for non-technical students. Sai, an informatician, runs an AI agent |
| 20 | +that generates Python executed in PyScript, and finds it competitive with a |
| 21 | +"billion-dollar company's" full coding-agent setup, partly because "PyScript on |
| 22 | +the browser is way faster, I can see what's happening." |
| 23 | + |
| 24 | +There is a clear and important spread of attitudes, which we should represent |
| 25 | +faithfully rather than lose under the generic "AI" term. At one end, Claudiu is |
| 26 | +comfortable not reading the code. In the middle, Nitau uses "basic prompting" |
| 27 | +as "a conscious choice," remaining "the gatekeeper" who reviews everything |
| 28 | +before it enters his codebase, and Łukasz treats it as "a productivity |
| 29 | +booster, but sometimes it's more like a slot machine." At the other end, |
| 30 | +Kattni does not use AI at all, on ethical grounds (training data, climate, and |
| 31 | +what she called an "evangelical" culture), and also because her self-assessed |
| 32 | +Python knowledge means she "wouldn't be able to tell whether what I was just |
| 33 | +given is good or bad." Anna, a learner, deliberately avoids AI for schoolwork |
| 34 | +on principle while using it for lab work to move faster. |
| 35 | + |
| 36 | +Two practical sub-findings deserve emphasis. First, model quality against |
| 37 | +PyScript changed materially and recently: Łukasz reported that before December |
| 38 | +2025, using AI with PyScript was "pretty dangerous," and that with Opus 4.5 it |
| 39 | +became "tractable," speculating it may have been trained on the PyScript docs. |
| 40 | +Momin noted LLMs "cannot detect the current version of PyScript" and sometimes |
| 41 | +add random imports that break the code. Second, and strategically most |
| 42 | +important: our documentation increasingly reaches humans only after passing |
| 43 | +through an LLM. Nitau observed that he fed the docs' Markdown files to an AI |
| 44 | +and "it did a perfect job." Nicholas's own reflection, echoed to several |
| 45 | +interviewees, is that the people who read our documentation "are not people, |
| 46 | +they're LLMs." |
| 47 | + |
| 48 | +This extends beyond documentation. As AI-native tooling (coding agents such as |
| 49 | +Claude Code and GitHub Copilot) becomes the default way practitioners build, |
| 50 | +the question is no longer only whether a human can read our docs, but whether |
| 51 | +an AI agent can correctly represent our APIs and services when a practitioner |
| 52 | +prompts it. How well we express our work to these tools increasingly |
| 53 | +determines the quality of response a practitioner receives about PyScript, and |
| 54 | +about Anaconda's products more widely. Nicholas has |
| 55 | +[written in depth about the challenges this poses](https://ntoll.org/article/predico/). |
| 56 | + |
| 57 | +## Future steps |
| 58 | + |
| 59 | +Treat "how our resources are consumed by LLMs" as a |
| 60 | +first-class engineering, education and documentation problem (work Nicholas |
| 61 | +has already begun). Ensure the docs, API surface and examples are structured |
| 62 | +so an LLM produces correct, version-aware PyScript; the version-detection |
| 63 | +failure Momin reported is a concrete target. Keep a genuinely AI-free path |
| 64 | +fully supported and first-class, both because some valued community members |
| 65 | +(Kattni) require it and because learners (Anna) deliberately choose it. Avoid |
| 66 | +taking a single position on AI; the community spans the full range and trust |
| 67 | +depends on us respecting and embracing that. Treat how our APIs and services |
| 68 | +are represented inside AI-native coding tools as an extension of the |
| 69 | +documentation problem: what a coding agent generates about PyScript is now |
| 70 | +part of our public interface. |
| 71 | + |
| 72 | +## Standing across archetypes |
| 73 | + |
| 74 | +Universal, but polarised. Engineers and |
| 75 | +hobbyists are furthest into AI-assisted building; educators are the most |
| 76 | +cautious; learners are thoughtfully selective. |
| 77 | + |
| 78 | +## Challenges |
| 79 | + |
| 80 | +A definitional confusion has dogged discussion of AI and |
| 81 | +PyScript inside Anaconda. "AI in the browser" can mean two quite different |
| 82 | +things. |
| 83 | + |
| 84 | +1. The first is running LLMs *inside* the browser runtime itself, using |
| 85 | + experimental web APIs. |
| 86 | +2. The second is what every AI-using practitioner in these interviews actually |
| 87 | + does: use LLMs as ordinary and complementary tools (cloud services or |
| 88 | + agents) that generate or assist with Python, which then runs in PyScript. |
| 89 | + |
| 90 | +Internal advocacy at Anaconda has focused on the first sense of "AI in the |
| 91 | +browser" (running models inside the browser); all the practitioner evidence in |
| 92 | +this report concerns the second (LLMs as external tools generating PyScript |
| 93 | +code or consuming PyScript-based resources). Acting on this theme therefore |
| 94 | +requires realigning internal direction with the evidence, rather than |
| 95 | +advocating for something with no demonstrated use case, market signal or |
| 96 | +community demand. That realignment is beyond the PyScript team's sole |
| 97 | +authority. Furthermore, were in-browser models ever wanted, JavaScript would be |
| 98 | +the better-performing tool for the job. |
0 commit comments