Skip to main content

Reference

Reference states how the machinery works: its interfaces, formats, settings and commands. It follows the structure of the code, it describes and does not instruct, and it gives no opinions. To learn by doing, start with the tutorials. To see what a feature does, read Features. To understand how it works, read Concepts.

  • Transports A FINOS Workspace deployment is several processes, and they talk to each other over a small number of channels.

Protocols

  • Plugin frame protocol This page describes how the host, which is the FINOS Workspace page, and a plugin's frame talk to each other.
  • Widget requests The web app builds every request in one place, the file frontend/src/lib/utils/widgetRequest.ts, and the FINOS Workspace API sends it to the backend from the routes under /app/d...
  • Widget rows Some widgets draw a view from data, for example an HTML page or a plugin's chart.
  • The MCP tool link A widget can name one MCP tool of its own backend.
  • Iframe widget protocol An iframe widget embeds a page that can talk to FINOS Workspace through window.postMessage.
  • FINOS Workspace bridge protocol The bridge is the connection between the FINOS Workspace MCP server and a signed-in FINOS Workspace tab.
  • Agent query protocol The web app asks its agent questions through one HTTP endpoint.
  • Widget data for the agent A language model can only read a widget's data after somebody has fetched it, and the agent does not fetch it from the widget's backend.
  • Tool results An MCP tool normally returns text, and the agent shows that text to the model.
  • Agent authentication The browser holds its session in an HttpOnly cookie, which a script cannot read and which the agent, on another origin, never receives.

HTTP API

  • FINOS Workspace API The FINOS Workspace API is the FastAPI application in backend-api/backend that the web app, the worker, the FINOS Workspace MCP server and the admin tools talk to.
  • FINOS Workspace API schemas The routes of the FINOS Workspace API exchange JSON documents.
  • Agent HTTP API The agent is a separate service from the FINOS Workspace API.

MCP

  • FINOS Workspace MCP server The instructions, tools, resources and prompts that the FINOS Workspace API serves to an AI tool.
  • Agent MCP server The agent keeps the work that needs no state of the agent's own in a second process, an MCP server in agent/mcp-server.

Plugins

Schemas

  • widgets.json A backend lists its widgets in a file named widgets.json.
  • apps.json An app is a template that a backend offers: a set of tabs of widgets, with their layout and their starting values, which a user can open as a dashboard.
  • plugin.json Every widget plugin carries a manifest named plugin.json, which describes the plugin, the permissions that it asks for and the widgets that it contributes.
  • Database tables The API stores its data in a relational database, which can be MySQL, PostgreSQL or SQLite.
  • agents.json The file agents.json is how an agent introduces itself to the web app.

Configuration

  • Overview You configure FINOS Workspace with environment variables, one set for each kind of service, and a few files.
  • Web app The web app is a static single-page application, so it cannot read environment variables itself.
  • Backend The API, the worker and the init job read their settings from the environment.
  • Agent and MCP server The agent is the built-in agent of FINOS Workspace.

Command line

  • Admin CLI The admin command line tool, python -m scripts.workspaceadmin, manages organizations, users, data backends and widget plugins from a terminal.

CSS

  • Styling surfaces FINOS Workspace draws five kinds of surface, and each kind takes its styling from a different place.
  • Theme scopes and cascade The web app has a light theme and a dark theme, and a stylesheet that changes colors has to know how the two are told apart and which declaration wins when several set the same ...
  • Theme presets A theme preset is a named set of custom property values that an admin designs on Admin → Theme → Presets, as Design and apply a theme in the admin area describes.
  • Brand color, font and text size The brand color, the font and the text size are custom properties like all the others.
  • Color palette The palette is the set of raw colors from which the semantic properties are built.
  • Semantic properties Components in the web app do not name colors directly.
  • Base properties Besides the semantic properties, the file frontend/src/index.css declares a second set of properties in the base layer, on :root and on .dark.
  • Component classes Besides the Tailwind utilities that it uses everywhere, the web app defines a number of utility classes of its own.
  • Selectors This page lists the rules of the web app's global stylesheets, other than the custom properties, which Semantic properties lists, and the utility classes, which Component classe...
  • HTML widgets and artifacts Three surfaces draw an HTML document that someone other than the app wrote.
  • Report classes The Agent can write a report as a single HTML document and show it as an artifact, as HTML widgets and artifacts describes.