Open source · Python · Open-weight models
One model layer for every AI application on your machine.
Chat for twenty minutes, walk away, and the same GPU goes back to indexing your documents and photos. Marigold is a self-hosted inference platform: applications share one model cache and one queue instead of each bringing its own model server. Chat and embeddings on OpenAI-compatible endpoints, image, speech and the other model types on a typed API -- on a laptop, a box at home, or your own cloud account, air-gapped once models are cached.
pip install bayis-marigold
marigold cache init
marigold registry add https://examples.marigold.run/
marigold application install chat
marigold cache populate chat
marigold application start chat
Runs on infrastructure you control, from a laptop to your own AWS or Azure account. No third-party model provider sits in the path. The data question is answered by the architecture, not by a contract. Data sovereignty →
01
One shared weight cache, independent of which application is running. Downloaded once, reused by everything that needs it.
02
A marigold.toml, a models.yaml and the code that uses them, installed from a registry by name. The code runs in its own container and reaches models only through the API, never on the host.
03
We've written about this at length: models as a fat protocol, applications as thin clients on top -- the same shape that made early internet protocols durable. Read the essay →
01
Everything under one directory: the bundled Postgres, a local GPU or CPU worker, outputs on disk. Several applications share it, and requests queue rather than fight for the GPU.
02
A managed Postgres such as Supabase, rented GPU instances as workers, outputs in an S3 bucket. The same applications, with more throughput: add a GPU host and nothing else changes.
03
AWS RDS or Azure Database for PostgreSQL, GPU instances and object storage, all in your own account. Nothing routed through a third party. Deployment →
We are looking for design partners running Marigold in their own cloud accounts. Support and design partners →
Extract text, embed, classify, and gate restricted content before it reaches an index. Text and image embeddings in one pipeline enable cross-modal search.
Generate, score for safety, aesthetic quality, and prompt alignment. Regenerate automatically until thresholds are met or attempts run out.
Compare an observation image against a reference by structural embedding. On deviation, segment both, diff the masks, and describe the discrepancy in natural language.
Extract entities, classify, summarise, and convert to speech in multiple languages from one application run. Output: a summary plus audio per language.
Classify large volumes of unlabelled rows against a small labelled set. Low-confidence predictions go to an instruct model for explanation. No retraining.
Embed and compare images from multiple locations in parallel. On change, describe it and assemble a report, delivered as text and audio on a schedule.
Each of these is a set of small applications. The ones that recur are the basis of a standard library for Marigold applications.
Marigold (bayis-marigold on PyPI) is a self-hosted
inference server. The Marigold depth-estimation model from ETH
Zurich is a separate project.
Install the CLI, add the examples registry, install an application, cache its models and run it.
Declare models, write the code, package it, and publish a registry from a GitHub repository.
Where Marigold and Ollama differ: model types, API surface, request handling, and measured throughput.
Open source. Install it, run it on your own hardware.
Questions? ed@bayis.co.uk