# Manage Data Graphs Using Rudder CLI


> Define a Data Graph with the Rudder CLI, including entities, events, and relationships



**Info**

Rudder CLI is **Generally Available**.

However, note that [Audiences](https://www.rudderstack.com/docs/audiences/overview/) and the Data Graph are in **Private Beta**, so this workflow is available only to workspaces enrolled in that beta. [Contact the Product team](mailto:product@rudderstack.com) to request access.

You can leverage [Rudder CLI](https://www.rudderstack.com/docs/rudder-cli/) to manage [Data Graphs](https://www.rudderstack.com/docs/audiences/data-graph/) as code using a YAML-driven workflow. You can keep data graph definitions in your repository, validate changes locally, and apply updates to your workspace in a controlled way.

## Data graph overview

A data graph maps warehouse tables to entities, events, and relationships that marketers use to build [Audiences](https://www.rudderstack.com/docs/audiences/overview/).

See [Core concepts](https://www.rudderstack.com/docs/audiences/data-graph/#core-concepts) for definitions of each component.

## Get started

- See the [Data Graph YAML Reference](https://www.rudderstack.com/docs/rudder-cli/data-graph/) for complete YAML schemas, and detailed spec on models and relationships

