What if web frameworks offered a standard way to d...
# of-ai
n
What if web frameworks offered a standard way to discover capabilities that are then given to AI as tools? A
document.getTools()
perhaps? This could be achieved simply with plugins for NextJS, VueJS, SvelteKit etc. Small convention that eliminates a lot of brittleness when web agents try to discover capabilities and invoke them.
j
Interesting idea. • Feels a bit like AppleScript / Apple events scripting interface, but web apps? • Getting broad support might take more time than getting LLM:s to interact with real web apps? • A bit similar to Semantic Web, too, but in a nice way a lot simpler. • Could also think about creating polyfills for old web sites that support the API (and a way to add/find them).
f
Can almost think of it as some kind of accessibility feature. Screen readers, crawlers and AI bots could use structured information about a site’s or app’s capabilities. API