Quickstart

Welcome to Zipline.AI. This guide walks you through the core workflow: authoring features, backfilling data, deploying pipelines, and serving features online.

Choose a development mode

Zipline.AI supports three ways to edit and develop your configurations:

Mode How it works
Local CLI Work in a local configuration repository using the zipline CLI. Install its Zipline.AI skill with zipline init-agent to help your coding assistant author and debug configurations and run CLI commands.
UI editor Edit configurations in the Zipline.AI UI, which compiles and validates your changes and creates pull requests.
[Private Preview] UI agentic development Develop with an AI agent directly in the Zipline.AI UI. This mode is in private preview.

This Quickstart focuses on local CLI development with the Zipline.AI skill for your coding assistant. It also shows how the optional VS Code extension provides editor buttons for the same workflow.

Before you start

Start by exploring the public demo at try.zipline.ai and the companion demo repository, which contains demo configs, ready-to-use datasets, and tutorials.

To use the demo for development and follow the workflows below, you need operator access granted by the Zipline.AI team. Contact the Zipline.AI team to request it. Once access is granted, clone the companion repository and follow its setup instructions:

git clone https://github.com/zipline-ai/zipline-demo-quickstart.git
cd zipline-demo-quickstart/configs
export PYTHONPATH="$(pwd):${PYTHONPATH:-}"

Run the commands below from this configs/ directory, where the demo's teams.py is stored. If you are using your team's deployment instead, run them from its configuration project directory containing teams.py and confirm that it is configured for that environment and its data sources; see Project Setup.

For a guided first feature using the demo's existing configs, follow the companion repository's five-minute tutorial.

Step 1: Install the CLI and Zipline.AI Skill

The Zipline.AI skill provides context for your local coding assistant about the Chronon API and Zipline.AI CLI. It covers authoring GroupBys, Joins, StagingQuerys, and Models, debugging data issues, and using zipline commands.

First, install the zipline-ai CLI if you haven't already:

pip install zipline-ai

If your deployment requires authentication, follow CLI Authentication to sign in before running Hub commands.

Then install the skill for your preferred coding assistant:

zipline init-agent

This will prompt you to select your agent:

Which AI agent would you like to set up? (claude, codex, cursor, gemini, windsurf, copilot):

The context file is installed in the standard global location for that tool — for example, ~/.claude/skills/zipline/skill.md for Claude Code or ~/.cursor/skills/zipline/SKILL.md for Cursor. The command prints the exact path on success.

To install for a specific agent without the prompt:

zipline init-agent --agent claude    # Claude Code
zipline init-agent --agent codex     # Codex
zipline init-agent --agent cursor    # Cursor
zipline init-agent --agent gemini    # Gemini CLI
zipline init-agent --agent windsurf  # Windsurf
zipline init-agent --agent copilot   # GitHub Copilot

Step 2 (Optional): Install the Zipline.AI VS Code Extension

The Zipline.AI extension for VS Code and Cursor adds action buttons directly to your config files, letting you validate, backfill, deploy, and fetch without leaving your editor.

Install the Zipline.AI extension from the VS Code Marketplace, or find the same extension in Cursor using its identifier, ZiplineAI.zipline-assistant.

Don't use VS Code or Cursor? All of the same operations are available via the zipline CLI. The extension is a convenience layer — everything it does maps directly to a CLI command, and each section below links to the relevant command reference. The CLI experience requires more manual steps but works in any environment.

Using Your Local Coding Assistant

Once the Zipline.AI skill is installed, you can ask your local coding assistant to help with any part of the Zipline.AI workflow. Here are some examples of what you can do.

Get oriented

"Describe Zipline.AI to me at a high level. What are GroupBys and Joins, how do they relate to each other, and how do I use them to author, backfill, and serve features?"

The agent will explain the core concepts — how GroupBys define feature aggregations over a source table, how Joins combine multiple GroupBys into a wide training dataset with point-in-time correctness, and how the same definitions power both offline backfills and online serving. A good starting point before diving into authoring.

Author a new pipeline

"Using the demo's access_logs source in sources/app/ui_logs.py, author a GroupBy that sums request_count and error_event over 1-day and 7-day windows, keyed by route_family. Use Spark and check for an existing equivalent before creating a new config."

The agent will inspect the existing source and table schema, check for GroupBys with the same source and keys (to avoid duplication), and reuse the source's EventSource, Query, and time_column when writing the Aggregation list. It will then compile the config and run zipline hub validate to validate it before presenting the result.

Discover available tables

"What tables are available in the demo's public_demo_app database? Use the Spark engine."

The agent will run zipline hub list-tables public_demo_app --engine-type SPARK and return the available tables. The public demo uses AWS Glue and Spark; see the companion repository's data sources for schemas and existing configs. If you give a partial or misspelled table name elsewhere, the agent will use this command to find close matches and confirm the right table with you before proceeding.

Modify an existing feature

"Find the demo's endpoint_health GroupBy and add a 10-day window to its windowed aggregations. Bump the version."

The agent will read the existing GroupBy, add "10d" to every windows list, and increment its version argument while keeping the Python variable name unchanged. Renaming the variable creates a separate entity; see Naming and Versioning. The agent will recompile and re-validate after the change.

Using the VS Code Extension

The Zipline.AI extension adds a set of action buttons to the editor when you have a compiled config file open. Here is what each button does:

Zipline.AI VS Code extension buttons
Zipline.AI VS Code extension buttons

Validate

Validates your configuration against your data warehouse. Checks that all source tables exist, column names and types match, query syntax is valid, and dependencies resolve correctly. This is fast — it does not run any Spark jobs. Use it constantly during development.

CLI equivalent: zipline hub validate

Backfill

Runs a historical backfill for the selected config over a date range you specify. For a Join, this produces the wide training dataset with point-in-time correct feature values. For a GroupBy, it populates the offline snapshot table.

CLI equivalent: zipline hub backfill

Deploy

There are two deploy modes:

Adhoc deploy runs a one-off job from your current branch. Use this to test a feature end-to-end — including online serving — before merging. The job runs against your branch's configs, so your main branch is unaffected.

Scheduled deploy (merge-triggered) is the production path when your repository's CI runs zipline hub schedule-all after merges to the production branch. With that integration configured, merging a PR updates the recurring jobs automatically. Merging alone does not schedule jobs; confirm that your team has configured this CI step.

You can also manually schedule a deploy from a branch without merging. This is useful for running a dev version of a pipeline in parallel with production — for example, to do end-to-end A/B testing of a new feature version before promoting it to main. When doing this, make sure the version in your branch config is different from the one on main so the two pipelines run independently and don't overwrite each other's data.

For experiments from a branch, the recommended flow is:

  1. Author your features on a branch and run validate to validate them.
  2. Use Adhoc deploy to run the pipeline and test online serving from your branch.
  3. When you're satisfied, open a PR. After it merges, your team's schedule-all CI step schedules production runs.

CLI equivalents: zipline hub run-adhoc (adhoc) · zipline hub schedule (manual schedule deploy)

Fetch

Fetches feature values for a given primary key from the online KV store. Use this after an adhoc or scheduled deploy to verify that online serving is returning the values you expect.

CLI equivalent: zipline hub fetch

Go to Hub

Opens the Zipline.AI Hub UI for the selected config. From the Hub you can monitor job status, inspect output schemas, view lineage, and track data quality metrics.

Next Steps

Edit this page