Manual quick start (5 minutes)
For: first-time users who have Ciaren running. You get: your first flow, built, run, and exported as Python in about five minutes.
A saved pipeline is called a flow in the editor and the API. This walkthrough uses the visual editor. An API-only version is at the end.
Prefer to describe the flow?
With your own provider API key, the AI flow assistant can propose a flow like the one below from a sentence, and you edit it on the canvas afterwards. Follow the AI quick start. It is available from release 0.4.0.
Do I need an API key to use Ciaren?
No. Building by hand needs no model provider key. You can upload a CSV, connect nodes yourself, run the flow locally, and export pandas or Polars code. A remote data connector may need its own credentials.
To have Ciaren propose the nodes from a prompt instead, follow the AI quick start.
Before You Start
-
Ciaren running locally (Installation). If you installed from PyPI or used Docker, open
http://localhost:8055. If you run from source in development mode, openhttp://localhost:5173. -
Either the built-in Demo project or a small CSV. Any file with a header row works, for example
sales.csv:order_id,region,amount,notes 1,North,120.5, 2,South,,first order 2,South,,first order 3,,80,
No CSV at hand? Use the Demo project
Every fresh install seeds a Demo project with sample datasets, so you can follow this walkthrough without uploading anything. What it contains, and how to start without it, is on Demo Project & Tutorials.
What you'll build
You will have a pipeline that cleans a CSV, aggregates it, and writes a summary CSV, plus the equivalent Python script.
- 1InputFile Inputupload sales.csv
- 2CleanDrop Nullsremove rows missing amount
- 3CleanRemove Duplicatesdeduplicate rows
- 4TransformGroup By + Aggregatesum amount by region
- 5OutputFile Outputsales_summary.csv
1. Pick or Upload a Dataset
If you are using the Demo project, you can skip the upload and use an existing sample dataset.
To upload your own file:
- Open the app and go to Datasets. The drop zone is visible immediately, with the Upload to project dropdown defaulted to your first project (e.g. "Default"); change it if you want the file to land somewhere else.
- Drag your file onto the drop zone, or click it to browse and select one. It accepts CSV, TSV, Excel, Parquet, JSON, JSON Lines, or plain text.
Ciaren infers the column schema and stores a sample. Datasets are versioned: re-uploading a file with the same name adds a new version rather than overwriting the old one, so existing flows stay reproducible.
2. Create a flow
- Go to Flows → New flow. This opens a modal with Name/Description/Project fields and starter templates such as Blank flow, Clean & Deduplicate, Filter & Aggregate, Data Quality Checks, and Tidy Columns. Pick Blank flow for an empty canvas, as this walkthrough assumes.
- Drag a File Input node from the palette, select the dataset you uploaded, and set its File type to CSV.
- Add a few transformation nodes and connect them in order:
- Drop Nulls: remove rows missing an
amount. - Remove Duplicates: drop repeated rows.
- Group By Aggregate: group by
region, sumamount.
- Drop Nulls: remove rows missing an
- Add a File Output node at the end and connect it.

Each node has a config panel on the side. As you edit a node, the live preview updates on a sample of your data, so you can check each step before you run anything. The Interface Tour covers the layout, and the Transformations Reference covers every node.
3. Run the flow
Click Run. Ciaren executes the whole pipeline on the engine selected in the toolbar (pandas for a new flow), writes the output file, and records a run with status, logs, and per-node results (row/column counts and a sample).
With the sample sales.csv, the output has two rows: North with 120.5, and an
empty region with 80, because rows with a missing key form their own group.
Open the run from the Runs page to inspect each node and download the output.
4. Export Python
Click Export. Ciaren returns standalone, readable code for your flow, including polars, pandas, and lazy polars variants where available. Paste it into a script or a Jupyter notebook and it runs on its own, no Ciaren required.
5. (Optional) Schedule it
To run the flow automatically, click Schedule and set a frequency and timezone. The built-in scheduler handles retries, catch-up, and overlapping runs. See Scheduling.
Prefer the API?
Everything above is also available over REST. Explore it in the interactive docs
at http://localhost:8055/docs.
# 1. Upload a dataset (note the returned id)
curl -F "[email protected]" http://localhost:8055/api/datasets/upload
# 2. Inspect it
curl http://localhost:8055/api/datasets/{dataset_id}/schema
curl http://localhost:8055/api/datasets/{dataset_id}/sample
# 3. Create a flow: {"name": "Sales", "graph_json": {"nodes": [...], "edges": [...]}}
curl -X POST http://localhost:8055/api/flows \
-H "Content-Type: application/json" -d @flow.json
# 4. Preview, then run (optionally choose an engine)
curl -X POST http://localhost:8055/api/flows/{flow_id}/preview \
-H "Content-Type: application/json" -d '{"limit": 50}'
curl -X POST http://localhost:8055/api/flows/{flow_id}/runs \
-H "Content-Type: application/json" -d '{"engine": "polars"}'
curl http://localhost:8055/api/runs/{run_id}
# 5. Export Python (returns pandas, polars, lazy polars, and a portable .flow document)
curl -X POST http://localhost:8055/api/flows/{flow_id}/export/pythonThe flow graph format (node types, data.config, and edges) is described in
the Transformations Reference and the
REST API Reference.
Next Step
Continue to Demo Project & Tutorials to follow four ready-made flows step by step, from a linear cleanup to a three-input join.
Other places to go from here:
- Set up the AI flow assistant: describe a flow, review it, save it and reverse a saved change
- Interface Tour: learn the editor
- Transformations Reference: all node types
- Examples: real-world, end-to-end walkthroughs
- REST API Reference: every endpoint