Treasure Code

Treasure Code is an AI-native command-line interface (CLI) for the Treasure Data Intelligent Customer Data Platform (CDP), announced as generally available on February 23, 2026.

Reviewed by 7wData

On this page

Publisher review

Treasure Code is an AI-native command-line interface (CLI) for the Treasure Data Intelligent Customer Data Platform (CDP), announced as generally available on February 23, 2026. It targets data engineers, platform teams, marketing operations, and advanced CDP users who need direct, programmatic control over data, customer workflows, and AI systems. By enabling technical teams and AI agents to operate the entire Treasure Data platform as code, it brings DevOps discipline and automation to every part of the CDP. The tool is augmented with Claude Code for natural-language-driven creation and iteration, allowing users to describe tasks in plain language and get production-ready SQL, segments, and workflows in minutes.

Treasure Code works by consolidating fragmented consoles and scripts into one consistent command layer, automating deployments from development to production in seconds. Key capabilities include executing tasks in natural language instead of complex SQL or CLI syntax, code-grade governance with version-controlled code management, peer reviews, and instant rollbacks. Over a quarter of Treasure Data customers adopted Treasure Code within days of its release, according to Chief Product Officer Rafa Flores. The tool is designed to handle the complexity of CDPs processing hundreds of millions of profiles and trillions of data points, reducing the operational burden and enabling brands to manage a CDP with fewer resources.

In the competitive CDP market, Treasure Code positions itself against Salesforce Data 360, Tealium Customer Data Hub, Twilio Segment, and Adobe Real-Time CDP. Unlike legacy CDPs that bolt on AI, Treasure Data CDP is built natively for autonomous execution with governed AI agents, keeping humans in the loop. The tool's agentic interface aims to differentiate it from competitors by providing a unified, AI-native command layer that reduces the time to build and change data and CDP workflows. Treasure Data is trusted by 80+ Global 2000 brands managing 2B+ profiles worldwide.

However, Treasure Code inherits significant technical debt from the underlying Treasure Data platform, which involves a complex architecture with Hive and Presto. Implementation time is longer compared to some alternatives, and the tool requires substantial technical knowledge for setup and use. A notable limitation is that Treasure Data does not support syncing data from warehouse to downstream tools, which may be a dealbreaker for composable CDP architectures. Additionally, the Journey Builder component reportedly needs maturity to be user-friendly for non-technical users, as noted in G2 reviews.

Get the AI & data signal, daily.

41k+ read Ins7ghts, 25k+ read AI Beat. Ins7ghts and AI Beat: two free emails every morning on AI and data. Unsubscribe anytime.

How it works

  1. AI-native CLI

    Provides an AI-native command-line interface that enables users to operate and automate data workflows, CDP configurations, customer journeys, and AI agents.

  2. Natural language execution

    Allows users to execute tasks in natural language instead of complex SQL or CLI syntax, turning technical intent into production reality instantly.

  3. Code-grade governance

    Manages CDP configurations as version-controlled code with peer reviews and instant rollbacks, bringing DevOps discipline to data operations.

  4. Zero-friction operations

    Consolidates fragmented consoles and scripts into one consistent command layer that automates deployments from development to production in seconds.

  5. Claude Code integration

    Augmented with Claude Code for natural-language-driven creation and iteration, enabling AI-assisted iteration with human verification.

  6. Agentic interface

    Introduces a unified agentic interface for executing all data operations, reducing the burden of operating a customer data platform.

  7. Rapid customer adoption

    Over a quarter of Treasure Data customers adopted Treasure Code within days of its release, indicating strong organic adoption.

Strengths and trade-offs

Strengths

  • Reduces operational burden of data operations, enabling brands to manage a CDP with fewer resources, as stated by CPO Rafa Flores.
  • Improves operator productivity and reduces time to build and change data and CDP workflows, as reported in the press release.
  • Enables technical teams and AI agents to securely operate the entire Treasure Data platform as code, bringing DevOps discipline to every part of the CDP.
  • Over a quarter of Treasure Data customers adopted Treasure Code within days of its GA release, demonstrating rapid organic adoption.

Trade-offs

  • High technical debt due to legacy technology involving a complex architecture with Hive and Presto.
  • Longer implementation time compared to some alternatives, as noted in Gartner reviews.
  • Requires substantial technical knowledge for setup and use, limiting accessibility for non-technical users.
  • Does not support syncing data from warehouse to downstream tools, which may be a limitation for composable CDP architectures.

Pricing context

Pricing is not explicitly mentioned in the provided sources. Treasure Code is likely bundled with Treasure Data CDP subscriptions, but no specific tiers or figures are available.

Getting started with Treasure Code

  1. Sign up for Treasure Data

    Visit the Treasure Data website and create an account. Choose a subscription plan that fits your needs, or contact sales for enterprise options. Complete the registration process to gain access to the CDP platform.

  2. Install Treasure Code CLI

    Download and install the Treasure Code CLI on your local machine using the provided package manager or installer. Follow the platform-specific instructions for your operating system to set up the command-line tool.

  3. Connect your data sources

    Use the CLI to authenticate with your Treasure Data account by providing your API key or credentials. Then, configure connections to your data sources, such as databases or cloud storage, using the command-line interface.

  4. Define a customer segment

    Write a natural language description of a customer segment, such as "users who purchased in the last 30 days." Use the CLI to execute this task, which generates production-ready SQL and creates the segment in your CDP.

  5. Schedule automated workflows

    Create a workflow script using the CLI to automate data processing or journey execution. Save the script as version-controlled code, then schedule it to run at specified intervals using the platform's scheduler.

Frequently Asked Questions

What is Treasure Code and how does it work?

Treasure Code is an AI-native command-line interface for the Treasure Data CDP, announced as generally available on February 23, 2026. It lets data engineers and AI agents operate the platform as code, using natural language or CLI commands to automate workflows.

What are the key features of Treasure Code?

Key features include an AI-native CLI for automating data workflows, natural language execution instead of complex SQL, code-grade governance with version control and rollbacks, and Claude Code integration for AI-assisted iteration. It consolidates fragmented consoles into one command layer.

How does Treasure Code compare to competitors like Salesforce Data 360?

Treasure Code positions against Salesforce Data 360, Tealium, Twilio Segment, and Adobe Real-Time CDP. Unlike legacy CDPs that bolt on AI, Treasure Data CDP is built natively for autonomous execution with governed AI agents, keeping humans in the loop.

What are the limitations of Treasure Code?

Treasure Code inherits technical debt from a complex Hive and Presto architecture, has longer implementation time than some alternatives, requires substantial technical knowledge for setup, and does not support syncing data from warehouse to downstream tools.

Who is Treasure Code designed for?

Treasure Code targets data engineers, platform teams, marketing operations, and advanced CDP users who need direct programmatic control over data and workflows. It enables technical teams and AI agents to securely operate the entire Treasure Data platform as code.

What is the pricing for Treasure Code?

Pricing for Treasure Code is not explicitly mentioned in available sources. It is likely bundled with Treasure Data CDP subscriptions, but no specific tiers or figures have been disclosed. Contact Treasure Data directly for detailed pricing information.

Alternatives

How Treasure Code compares

Direct head-to-head against 3 competitors. Picked by 7wData.

This tool

Treasure Code

Pricing
Pricing is not explicitly mentioned in the provided sources. Treasure Code is likely bundled with Treasure Data CDP subscriptions, but no specific tiers or figures are available.
Target
Treasure Code is an AI-native command-line interface (CLI) for the Treasure Data Intelligent Customer Data Platform (CDP), announced as generally available on February 23, 2026.
Strength
Reduces operational burden of data operations, enabling brands to manage a CDP with fewer resources, as stated by CPO Rafa Flores.
Watch for
High technical debt due to legacy technology involving a complex architecture with Hive and Presto.

RudderStack

Pricing
Free tier available; paid plans start at $100/month
Target
B2B and B2C enterprises
Deployment
Cloud, self-hosted
Strength
Open-source flexibility and real-time data pipelines
Watch for
Steeper learning curve for non-technical users

Improvado

Pricing
Custom pricing based on connectors and usage
Target
Marketing analytics teams
Deployment
Cloud
Strength
1,000+ pre-built marketing connectors
Watch for
Higher cost for custom connector builds

Segment

Pricing
Starts at $120/month
Target
Mid-market and enterprise
Deployment
Cloud
Strength
Simplified customer data integration
Watch for
Limited customization for advanced use cases

User reviews

No user reviews yet. Be the first to write one.

Sources

Reporting on this tool draws on these publicly available sources.

  1. www.businesswire.com
  2. finance.yahoo.com
  3. aws.amazon.com
  4. hightouch.com
  5. hightouch.com
  6. www.gartner.com
  7. www.gartner.com