Is this necessary?
What are the ways we define middleware?
What are the other components of the tech stack besides the middleware?
What’s the vision with this? Will help to have some domains in mind.
In browser is probably ideal (such as Google’s NotebookLM)
Explore more.