IVIA Middleware Logo

The IVIA Middleware

Accelerating Human-AI Research & Development

Stop spending time on repetitive engineering tasks. Focus on what matters: developing novel algorithms, visualizations, and interaction paradigms for Human-AI collaboration systems.

The Problem:
Isolated Silos

Modern AI systems require multiple components to work together. But researchers waste time rebuilding the same infrastructure for every project:

Duplicated infrastructure: Every app rebuilds databases, model inference services, auth systems, ...

No reusability: Apps are huge monoliths where components can't be shared between projects

Brittle systems: Tightly coupled code makes changes and updates risky and time-consuming

One-off prototypes: Code is hard to maintain, share, or reproduce across different environments

App 1

DB
Model
Vis
IAM

App 2

DB
Model
Vis
IAM

App 3

DB
Model
Vis
IAM

Applications

App 1
App 2
App 3
App 4

Middleware Orchestration Layer

Intelligent routing • Service discovery • Load balancing

Reusable Services

Database
Model
Auth
Cache
Storage
Analytics

The Vision:
Reusable Components

Instead of isolated silos, the IVIA Middleware enables a new paradigm: build once, use everywhere.

Pluggable Services: Mix and match model inference, databases, auth — like LEGO bricks

Orchestration Layer: Intelligent routing and coordination across all services

Shared Infrastructure: One service powers multiple applications — no duplication

Rapid Prototyping: From the idea to a working system in hours, not months

The IVIA Middleware streamlines the rapid development of interactive AI and data processing workflows. In the following, we will explore its architecture and explain how it helps researchers, developers, and end users to build and configure workflows.

The Backend You Don't Have to Build

Move from monolithic headaches and migration hell to
a scalable microservice architecture out of the box.

From Silos to Services

Modern human-AI collaboration apps are complex. They need GPU inference, databases, auth, and more. IVIA Middleware replaces this tangled mess with a clean, API-driven service layer.

Intelligent API Gateway

Our middleware acts as a smart API gateway, routing requests, managing state, and ensuring your services work together seamlessly. No more writing brittle integration code.

A Toolkit of Production-Ready APIs

Access a growing gallery of powerful human-AI collaboration and infrastructure services through standardized APIs. What used to take months to build is now a single API call away.

10x
Faster Development
100%
Code Reusability
5+
Active Developers
∞
Innovation Potential

Example: How an Application Is Built on the Middleware

generAItor is one of many complex visual analytics applications. Its parts map onto four shared layers that any other application can reuse.

Based on the generAItor system, we demonstrate how a complex Visual Analytics application decomposes into the four layers of the Middleware.

A Growing Gallery of Services

Every service in the catalog is built once and registered with the Middleware. From then on, any application can reuse it.

Service catalogServices · 31
Public services · 20
llm-inference
online
Loads a chosen language model onto a GPU for a timed session and runs text generation or other pipelines on batches.
Public
llm-embedding-extractor
online
Turns a batch of texts into one embedding vector per text, for similarity search or clustering.
Public
token-embedding-extractor
online
Returns per-token embeddings from chosen layers of a language model, optionally projected to 2D.
Public
text-tokenizer
online
Tokenizes text with the tokenizer of a chosen language model and returns the tokens with offsets and token IDs.
Public
embedding-keyword-extractor
online
Ranks the keywords and keyphrases of a text by how close their embeddings are to the embedding of the whole text.
Public
statistical-keyword-extractor
online
Extracts ranked keywords from one text or a batch with an unsupervised statistical method, in many languages.
Public
part-of-speech-tagger
online
Tags each word of an English text with its part of speech.
Public
sentence-splitter
online
Splits English text into sentences and marks each one in the document.
Public
linguistic-annotation-pipeline
online
Tokenization, part-of-speech tagging, parsing, named entity recognition and more for English text.
Public
lexical-episode-detection
online
Finds words and phrases that recur unusually densely in stretches of a transcript, ranked by significance for plotting.
Public
commonsense-knowledge-graph
online
Looks up commonsense relations and relatedness between words and phrases in a large knowledge graph.
Public
text-dataset-loader
online
Serves row ranges of public text datasets as JSON records.
Public
data-format-converter
online
Converts structured data between XML, YAML and JSON and runs queries to select or transform it.
Public
pca-projection
online
Projects a numeric matrix onto its principal components. Fast, deterministic, and reports the variance each component explains.
Public
tsne-projection
online
Embeds a numeric matrix in 2D with t-SNE, which keeps local neighborhoods and makes clusters visible.
Public
umap-projection
online
Embeds a numeric matrix in low dimensions with UMAP. Large inputs run as background jobs, and a fitted model can map new points.
Public
projection-cluster-quality
online
Clusters high-dimensional data with k-means and scores how well a 2D projection keeps those clusters apart, with hulls to draw.
Public
projection-distance-quality
online
Scores how well a 2D projection preserves the pairwise distances of its source data, using distance correlations and stress.
Public
projection-neighborhood-quality
online
Scores how well a 2D projection preserves each point's nearest neighbors, as trustworthiness, continuity and per-point overlap.
Public
2d-colormapping
online
Assigns colors to 2D points from a bivariate colormap, so each point in a projection is colored by its position.
Public
Private services · 11
zero-shot-text-classifier
online
Picks the best of several answer options for a text and gives a probability per option. Also answers yes/no and rating questions.
Member
llm-entity-extractor
online
Extracts entities from text with an LLM and assigns them to caller-defined categories, optionally streaming results.
Member
text-attribute-generator
online
Uses an LLM to write and test Python functions that measure text attributes described in plain words, then runs them on datasets.
Member
attribute-type-classifier
online
Tells whether a phrase names a soft attribute (subjective, like comfort), a hard one (measurable, like price), or neither.
Member
incremental-topic-hierarchy
online
Builds a topic hierarchy by inserting documents one at a time and reports why each document lands where it does.
Member
document-store
online
Stores original files with metadata and version history in collections, so other services can reference them by a stable ID.
Manager
graph-store
online
Stores typed nodes and edges with JSON properties and returns the neighborhood around given nodes up to a chosen depth.
Manager
multimodal-document-indexer
online
Extracts text from PDFs, Office files, emails, HTML, audio and video, then chunks, embeds and stores it in a vector index.
Member
document-search
online
Indexes text documents and answers combined semantic and keyword queries with ranked documents and matching snippets.
Manager
speech-to-text
online
Transcribes streamed audio in real time with speaker separation and delivers the live transcript as events.
Member
text-to-speech
online
Generates spoken audio from full texts or streamed text in several languages and delivers audio progressively.
Member

Services on the Middleware as of October 2026. The live catalog is in the Middleware portal.

Research Extension

Introducing Bonsai:Agentic Co-Development on the Middleware

We extended the IVIA Middleware with a mixed-initiative workspace where human and AI agents collaboratively build Visual Analytics applications — enforcing architectural guardrails at every step.

01 / PLAN

Plan

Decompose tasks and manage agents. Augmented task management ensures modularity and reuse from the start.

02 / DESIGN

Design

Human and AI agents collaborate within bounded contexts, enforcing interface contracts across all four Middleware layers.

03 / MONITOR

Monitor

Comprehensive provenance tracking of all multi-agent interactions. Safe collaborative development with full audit trails.

04 / REVIEW

Review

Agentic evaluation, automated testing, and performance dashboards validate the resulting VA application before deployment.

Preprint / arXiv: 2604.19247

Bonsai: A Mixed-Initiative Workspace for Human-AI Co-Development of Visual Analytics Applications

Thilo Spinner, Matthias Miller, Fabian Sperrle-Roth, and Mennatallah El-Assady · 2026

Human-AI Co-Development – Building on the IVIA Middleware (Layered Core)

Open Bonsai paper PDF on arXiv

See It In Action

Watch how researchers at ETH IVIA Lab create powerful pipelines in minutes, not months

Real-World Applications

These are complete systems built by researchers at ETH IVIA Lab using the middleware to orchestrate multiple services

Each application combines multiple pluggable services from the gallery into cohesive research tools

explAIner Logo

explAIner

Combines XAI services, visualization services, and data management to create an integrated platform for model understanding.

Services Used:
GPU InferenceDatabaseVisualizationAnalytics
LingVis Logo

LingVis

Orchestrates NLP models, embedding services, and collaborative tools for comprehensive visual text analytics.

Services Used:
NLP ModelsEmbeddingsStorageAuth
Visual Musicology Logo

Visual Musicology

Combines audio processing, document parsing, and visualization services for musical analysis and understanding.

Services Used:
Audio ProcessingDocument ParserVisualizationSearch

Ready to Accelerate Your Research?

Join researchers at ETH IVIA Lab and beyond. Stop reinventing the wheel and start building the future of Human-AI collaboration.

© 2026 IVIA Lab, ETH Zürich