Plugins & Extensibility
Ciaren is plugin-first. The nodes on the canvas, the databases you connect
to, the engine a flow runs on and the code it exports are each defined as a
versioned provider contract that a plugin can implement. A plugin is a small
Python package that depends only on the public plugin API (app.plugin_api),
never on Ciaren's internals.
The open core ships a focused set of built-in capabilities. Long-tail connectors, SaaS integrations and organization-specific nodes belong in plugins, so you can add them without forking.
In one sentence
If Ciaren doesn't do something you need, add it as a plugin and ship it as a portable, optionally signed package.
Which page do I need?
| I want to… | Read | Kind of page |
|---|---|---|
| Install, approve, disable, or remove a plugin | Installing & Managing Plugins | How-to |
| Build my first plugin, step by step | Build Your First Plugin | Tutorial |
| Understand how a plugin fits together: runtimes, forms, events, manifest, discovery | Writing a Plugin | Guide |
| Look up an exact class, method, or field | Plugin API Reference | Reference |
| Add a trainable model type or a train node | ML Model Plugins | Guide |
| Add a database, API, or storage connector | Connector Plugins | Guide |
| Package, sign, and share a plugin | Packaging & Distribution | How-to |
| Follow a larger worked example with hyperparameters and code export | Build an Advanced Plugin (scikit-learn) | Tutorial |
Use the ciaren-plugin command line | Plugin CLI Reference | Reference |
| Check a manifest field | Plugin Manifest | Reference |
| Decide which plugins to trust | Plugin Security & Permissions | Explanation |
What you can extend
Each row below is a real interface in app.plugin_api. A single plugin can
implement one or several of them.
| Extension point | Provider contract | What a plugin can add |
|---|---|---|
| Nodes | NodeProvider | New canvas nodes that run end-to-end: preview, run, and Python code export. Sidebar forms render from the node's config_schema |
| Connectors | ConnectorProvider | New database / API / storage sources and sinks, with runtime behavior: test, list tables/objects, and read/write through the SQL & storage nodes. Connection forms render from the connector's metadata + config_schema |
| ML model types | ModelProvider | New trainable model types that appear inside the core Train nodes' model picker and train/log/export through the core ML pipeline |
| Storage | StorageProvider | New object/file storage backends |
| Execution engines | ExecutionProvider | New dataframe engines beyond the built-in polars and pandas |
| Exporters | ExporterProvider | New code/artifact export targets (e.g. notebooks) |
| Validators | ValidatorProvider | New data-quality / contract checks |
| AI capabilities | AIProvider | Pipeline builders, debuggers, optimizers |
| Authentication | AuthProvider | New authentication methods |
Plugin train nodes get first-class ML support too: a node can declare typed
model output handles, persist fitted models through the host's MLflow-backed
ModelStore, and emit model references that the core Predict / Feature
Importance nodes consume; see ML Model Plugins.
Flow assistant and plugins
The built-in flow assistant is part of Ciaren core, not a plugin. It never adds or configures plugin nodes or connectors, so build and edit those in the regular editor.
What runs today
Plugins can run nodes, connectors and ML model types end-to-end. The other contracts (extra engines, exporters, validators, AI capabilities, auth methods) are defined extension points, but the core does not call a plugin's implementation of them yet.
The plugin API is versioned. Until it reaches 1.0, a minor bump can change the
contract: a plugin with a manifest declares the api_version it targets, and
the loader rejects an incompatible one before importing it. Plugins installed
with pip (entry points) have no manifest and skip this check. The
Catalog & Plugins API shows what the running instance exposes.
How a plugin is discovered
Ciaren finds plugins two ways:
- Local directory: point
CIAREN_PLUGINS_DIRat a folder of plugins, or use~/.ciaren/plugins. Needs no install, which suits development. - Installed package: a plugin that declares the
ciaren.pluginsentry point is discovered once it ispip install-ed.
Fresh installs also include a small bundled Explore catalog with the Hello
Plugin, HTTPS Input Connector and MLP Classifier example packages. Bundled catalog entries are not
loaded automatically: they are shown as installable examples so users can try the
install and approval flow.
Set CIAREN_MARKETPLACE_INDEX=none to hide Explore, or point it at your own
marketplace JSON.

Once installed and approved, plugins show what they contribute (nodes, ML model types, connectors), with trust and signature badges:


# Develop against a local folder
export CIAREN_PLUGINS_DIR=/path/to/your/plugins
ciaren serve
# Inspect what's loaded
ciaren-plugin listA plugin from a local directory or the Plugins page is not imported until
you approve it, so its code never runs behind your back. The exception is an
entry-point package: you installed it with pip on purpose, so it loads without
approval. See Plugin Security & Permissions, and
Installing & Managing Plugins for the step-by-step
lifecycle.
Packaging & signing
Plugins can be packaged as portable .ciarenplugin files and cryptographically
signed (Ed25519). Installing with --trusted refuses any package not signed by
a key you trust.
# Publisher: generate a key, package, and sign
ciaren-plugin keygen
ciaren-plugin pack ./my-plugin ./my-plugin.ciarenplugin
ciaren-plugin sign ./my-plugin.ciarenplugin \
--key <private_hex> --key-id acme-2026 --publisher acme
# Consumer: install only trusted, signed packages
ciaren-plugin install ./my-plugin.ciarenplugin --trusted
ciaren-plugin verify ./my-plugin.ciarenpluginSee Packaging & Distribution for the full publisher workflow.
Complete, runnable examples
Four example plugins live in the repository. Hello, HTTPS Input Connector and MLP
Classifier also ship as pre-built packages in
examples/plugins/dist/,
signed with the ciaren-demo key (they show Untrusted key unless you add that
key to your trusted keys), and are bundled into the Explore catalog so a fresh
install lists them ready to install. The Validator plugin ships as source only:
- Hello plugin: the smallest node that runs end-to-end. Start here → Build Your First Plugin.
- Validator plugin:
a practical data-quality check: validates a column against a regex or allowed-value
set and adds a boolean pass/fail column. Shows
config_schemawithcolumn,select,string, andstring_listfields; the editor renders the form automatically. - HTTPS Input Connector plugin:
a read-only connector for HTTPS CSV/JSON documents that demonstrates the
connector runtime,
networkpermission, URL safety checks, redirect refusal, timeout, and streamed download limit. - MLP Classifier plugin: neural-network classification both ways: a model type inside the core Train Classifier picker, and a standalone train node that persists to MLflow and emits a typed model reference. Walk through it → Build an Advanced Plugin and ML Model Plugins.
Reading plain HTTP APIs needs no plugin at all; that's the built-in REST API connector. Build a connector plugin for sources beyond it.
Asking for a new integration
If you want Ciaren to support a new external system, start by building a plugin. If the Plugin API blocks that work, open an issue for the SDK gap rather than a request to add the system to core. Built something useful? Share it in a Discussion.