# Chalk > Chalk is the AI data platform: context, runtime, and learning for your agents and models. ## Introduction - [What is Chalk?](https://docs.chalk.ai/docs/what-is-chalk.md): Chalk is the platform for production AI: context, runtime, and learning for your agents and models. - [Core Concepts](https://docs.chalk.ai/docs/core-concepts.md): How Context, Runtime, and Learning fit together, from defining a feature to running and evaluating the agents and models that use it. - [Platform Architecture](https://docs.chalk.ai/docs/architecture.md): How it all fits together. - [Chalk Serverless](https://docs.chalk.ai/docs/serverless.md): Run Chalk on Chalk's infrastructure while you provide the offline store and data sources. - [Billing](https://docs.chalk.ai/docs/billing.md): How Chalk bills each kind of workload, and how to reduce your costs. - [Choosing Where to Run Code](https://docs.chalk.ai/docs/compute/overview.md): Choose between a Sandbox, a Scaling Group, and a Function for a workload you run on Chalk. - [Installation](https://docs.chalk.ai/docs/setup-guide.md): Install the Chalk CLI, create a project, and set up credentials and permissions for every part of Chalk. - [Editor setup](https://docs.chalk.ai/docs/editor-setup.md): Install Chalk language support in your editor. - [Development with LLMs](https://docs.chalk.ai/docs/development-with-llms.md): Write Chalk code with LLMs using Chalk's agent prompts and skills. ## Feature Engine - [Quick Start](https://docs.chalk.ai/docs/features-quick-start.md): Connect your data sources, then define, deploy, and query your first features. - [File Structure](https://docs.chalk.ai/docs/configuration.md): Configure your Chalk project and organize your features and resolvers. - [Best Practices](https://docs.chalk.ai/docs/best-practices.md): Learn our best practices for building and maintaining your Chalk solution - [Common Errors](https://docs.chalk.ai/docs/debugging-errors.md): Learn techniques for debugging different elements of Chalk. - [Debugging Queries](https://docs.chalk.ai/docs/debugging-queries.md): Learn techniques for debugging online and offline queries - [Frequently Asked Questions](https://docs.chalk.ai/docs/faq.md): A collection of questions frequently asked by customers - [Features Overview](https://docs.chalk.ai/docs/features.md): Define features for training and inference. - [Feature Types](https://docs.chalk.ai/docs/feature-types.md): Define features for training and inference. - [Discovery](https://docs.chalk.ai/docs/feature-discovery.md): Declare owners and metadata for features. - [Data Lineage](https://docs.chalk.ai/docs/data-lineage.md): Explore how features are computed and what they depend on, with views by feature, resolver, and source column. - [Feature Caching](https://docs.chalk.ai/docs/feature-caching.md): Cache pre-computed feature values in the online store - [Has One](https://docs.chalk.ai/docs/has-one.md): Define one-to-one relationships between feature classes. - [Has Many](https://docs.chalk.ai/docs/has-many.md): Define one-to-many and many-to-many relationships between feature classes. - [Composite Keys](https://docs.chalk.ai/docs/composite-keys.md): Model composite identifiers and joins in Chalk, including filter pushdown, SQL resolver outputs, and materialized aggregations. - [Feature DataFrames](https://docs.chalk.ai/docs/dataframe.md): Describe and fetch rows of features. - [Validation](https://docs.chalk.ai/docs/validation.md): Validate features and resolvers - [Versioning](https://docs.chalk.ai/docs/feature-versions.md): Rigorously update your features as their meaning changes. - [Embeddings](https://docs.chalk.ai/docs/embeddings.md): Automatically calculate embeddings from existing features - [Vector Search](https://docs.chalk.ai/docs/vector-search.md): Find the nearest neighbors across a vector relationship - [Prompts](https://docs.chalk.ai/docs/prompts.md): Define inline LLM completions in feature code. - [Windowed Aggregations](https://docs.chalk.ai/docs/aggregations.md): Define features as aggregations of data over sliding time ranges. - [Materialized Windowed Aggregations](https://docs.chalk.ai/docs/materialized_aggregations.md): Cache and materialize feature aggregations - [Training Sets with Materialized Aggregations](https://docs.chalk.ai/docs/training-sets-materialized-aggregations.md): Build training sets for windowed features by merging materialized aggregation buckets and offline tiles. - [Versioned Windowed Aggregations](https://docs.chalk.ai/docs/versioned-windowed-aggregations.md): Define multiple versions of a windowed aggregation with independent expressions, time windows, and materialization configs. - [Streaming with Materialized Aggregations](https://docs.chalk.ai/docs/windowed-streaming.md): Computing aggregate functions on streams. - [Stream Resolvers](https://docs.chalk.ai/docs/streams.md): Define streaming resolvers with Chalk expressions. - [Stream Sources](https://docs.chalk.ai/docs/stream-sources.md): Consuming Kafka streams. - [Testing Stream Resolvers](https://docs.chalk.ai/docs/streaming-testing.md): Locally verify stream resolver parsers and end-to-end scenarios. - [Resolvers Overview](https://docs.chalk.ai/docs/resolver-overview.md): Create resolvers to compute feature values. - [Online / Offline](https://docs.chalk.ai/docs/resolver-online-offline.md): Eliminate train-serve skew with shared logic. - [SQL Resolvers](https://docs.chalk.ai/docs/sql-resolvers.md): Define feature resolvers as a SQL query. - [Expressions](https://docs.chalk.ai/docs/expression.md): Using Chalk expressions to define features - [Python Resolvers](https://docs.chalk.ai/docs/python-resolvers.md): Specify dependencies and results of feature resolvers. - [Environments](https://docs.chalk.ai/docs/resolver-environments.md): Change resolver behavior by deployment. - [Routing tags](https://docs.chalk.ai/docs/resolver-tags.md): Select eligible resolvers and SQL source routes within an environment. - [Errors](https://docs.chalk.ai/docs/resolver-errors.md): Surface and handle failed feature values. - [Scheduling](https://docs.chalk.ai/docs/resolver-cron.md): Automate resolver runs. - [Reverse ETL](https://docs.chalk.ai/docs/reverse-etl.md): Move data from offline to online. - [Triggered Runs](https://docs.chalk.ai/docs/runs.md): Execute resolver runs via API - [Timeout](https://docs.chalk.ai/docs/timeout.md): Maximum execution time for resolvers - [Integrations Overview](https://docs.chalk.ai/docs/integrations.md): Integrate any API, 3rd-party client or data source without needing to orchestrate data pipelines - [Configuring Data Sources](https://docs.chalk.ai/docs/configuring-data-sources.md): Configure connections between Chalk and your data sources using the Chalk dashboard. - [Docker](https://docs.chalk.ai/docs/docker.md): Customize the base image for your pipelines. - [Amazon Web Services](https://docs.chalk.ai/docs/aws.md): Setup your AWS integration - [AWS Athena](https://docs.chalk.ai/docs/athena.md): Integrate with Athena - [Redshift](https://docs.chalk.ai/docs/redshift.md): Integrate with SQL data sources. - [S3 / Object Storage](https://docs.chalk.ai/docs/s3.md): Integrate with S3 compatible data sources. - [Google Cloud Platform](https://docs.chalk.ai/docs/gcp.md) - [BigQuery](https://docs.chalk.ai/docs/bigquery.md): Integrate with your BigQuery data warehouse. - [SQL Integration](https://docs.chalk.ai/docs/sql.md): Integrate with SQL-like sources. - [PostgreSQL](https://docs.chalk.ai/docs/postgresql.md): Integrate with SQL data sources. - [MySQL](https://docs.chalk.ai/docs/mysql.md): Integrate with MySQL data sources. - [Microsoft SQL Server](https://docs.chalk.ai/docs/mssql.md): Integrate with Microsoft SQL Server data sources. - [ClickHouse](https://docs.chalk.ai/docs/clickhouse.md): Integrate with ClickHouse and configure optional S3 data unloading. - [DynamoDB](https://docs.chalk.ai/docs/dynamodb.md): Integrate with DynamoDB. - [Snowflake](https://docs.chalk.ai/docs/snowflake.md): Integrate with Snowflake. - [Snowflake Unloading with S3](https://docs.chalk.ai/docs/snowflake-unloading-aws.md): Configure Snowflake data unloading to Amazon S3 for Chalk. - [Snowflake Unloading with GCS](https://docs.chalk.ai/docs/snowflake-unloading-gcs.md): Configure Snowflake data unloading to Google Cloud Storage for Chalk. - [Spanner](https://docs.chalk.ai/docs/spanner.md): Integrate with Spanner. - [Databricks](https://docs.chalk.ai/docs/databricks.md): Integrate with Databricks. - [Custom Data Source](https://docs.chalk.ai/docs/generic.md): Integrate with any data source you use. - [Datasource Management API](https://docs.chalk.ai/docs/datasource-api.md): Programmatically manage data sources using the Python SDK - [Test Integrations Locally](https://docs.chalk.ai/docs/local-development.md): Execute resolvers that connect to external systems - [Secrets and Engine Configuration Variables](https://docs.chalk.ai/docs/env-vars.md): Manage secrets and engine configuration variables for your Chalk deployments. - [Unit Tests](https://docs.chalk.ai/docs/unit-tests.md): Unit tests for Chalk resolvers - [Integration Tests](https://docs.chalk.ai/docs/integration-tests.md): Integration tests for Chalk resolvers - [Snapshot Tests](https://docs.chalk.ai/docs/snapshot-tests.md): Snapshot testing with Chalk - [Time Overview](https://docs.chalk.ai/docs/time.md): Manage feature timestamps and point-in-time query timestamps. - [Temporal Consistency](https://docs.chalk.ai/docs/temporal-consistency.md): Point-in-time queries for training data sets. - [Backfills](https://docs.chalk.ai/docs/backfilling-data.md): Chalk makes it easy to batch ingest historical feature data from datasets and bulk data sources. ## Deployment - [Feature Development Lifecycle](https://docs.chalk.ai/docs/lifecycle.md): Developing, testing, deploying, and backfilling a new feature - [Branches](https://docs.chalk.ai/docs/branches.md): Make rapid changes and explore features with branches. - [Python Acceleration](https://docs.chalk.ai/docs/static-resolver-optimization.md): Accelerate Python resolvers using Chalk's symbolic interpreter for columnar execution. - [Tasks](https://docs.chalk.ai/docs/tasks.md): Run arbitrary Python scripts in your Chalk deployment - [GitHub Actions](https://docs.chalk.ai/docs/github-actions.md): Deploy feature pipelines in GitHub Actions - [GitLab CI/CD](https://docs.chalk.ai/docs/gitlab-cicd.md): Deploy feature pipelines in GitLab CI/CD ## Queries - [Queries Overview](https://docs.chalk.ai/docs/query-overview.md): Fetch feature values via queries. - [Online Queries](https://docs.chalk.ai/docs/query-online.md): Fetch feature values via online queries - [Uploading Features](https://docs.chalk.ai/docs/upload-features.md): Write feature values directly to Chalk's online store. - [Scheduled Query](https://docs.chalk.ai/docs/scheduled-query.md): Run feature pipelines on a schedule - [Named Queries](https://docs.chalk.ai/docs/named-query.md): Track and manage named queries in Chalk - [Authentication](https://docs.chalk.ai/docs/online-authentication.md): Access the Chalk API. - [Query Caching](https://docs.chalk.ai/docs/query-caching.md): Override default max-staleness for individual requests. - [Offline Queries](https://docs.chalk.ai/docs/query-offline.md): Fetch offline feature values. - [Datasets](https://docs.chalk.ai/docs/datasets.md): Persist and evolve offline queries over time - [Pytorch Integration with Datasets](https://docs.chalk.ai/docs/pytorch-datasets.md): Create PyTorch Datasets from Chalk Datasets - [Metaplanning](https://docs.chalk.ai/docs/metaplanning.md): Automated offline query sharding - [SQL Interface](https://docs.chalk.ai/docs/sql-interface.md): Querying Chalk with SQL. - [Chalk Clients](https://docs.chalk.ai/docs/query-basics.md): Fetch feature values via online query. ## Model Platform - [Model Registry](https://docs.chalk.ai/docs/model_registry.md): Learn how to track, version, and run ML models in Chalk - [Model Deployments](https://docs.chalk.ai/docs/model_deployments.md): Learn how to deploy and manage machine learning models in Chalk - [Model Training](https://docs.chalk.ai/docs/model_training.md): Define a training function once, then run it locally or on managed containers with GPU resources. - [Model Gateway](https://docs.chalk.ai/docs/model-gateway.md): Route LLM traffic to multiple providers through one OpenAI-compatible router. - [MCP Gateway](https://docs.chalk.ai/docs/mcp-gateway.md): Register backends, connect agents, and control access through the MCP Gateway. - [LLM Toolchain](https://docs.chalk.ai/docs/chalk-for-ai-engineers.md): Integrate unstructured data and build context-aware prompts with Chalk. ## Notebooks - [Overview](https://docs.chalk.ai/docs/chalk-notebooks.md): Mix and match SQL, Python, and Markdown cells to explore, analyze and productionize features. - [Python cells](https://docs.chalk.ai/docs/notebook-python.md): Run Python, query Chalk features, and install packages in a notebook. - [SQL cells](https://docs.chalk.ai/docs/notebook-sql.md): Query Chalk features, configured datasources, and notebook DataFrames with SQL. - [SQL result caching](https://docs.chalk.ai/docs/notebook-sql-caching.md): Reuse recent SQL results instead of querying your datasource again. - [Text and Markdown cells](https://docs.chalk.ai/docs/notebook-text.md): Write notebook narrative as plain text or Markdown and interpolate values from other cells. - [External Notebooks](https://docs.chalk.ai/docs/notebook-development.md): Use Chalk from the external notebook of your choice. - [Authentication for External Notebooks](https://docs.chalk.ai/docs/notebook-setup.md): Set up Chalk in the external notebook of your choice. - [Inline Syntax](https://docs.chalk.ai/docs/notebook-inline.md): Defining features inline in notebooks - [Magics](https://docs.chalk.ai/docs/notebook-magics.md): Chalk cell magics for notebooks ## Sandboxes - [Overview](https://docs.chalk.ai/docs/compute/sandbox.md): What Chalk sandboxes are, where they run, and when to use one. - [Quick Start](https://docs.chalk.ai/docs/sandboxes/quick-start.md): Build an image, run a script in a Chalk sandbox, and terminate the sandbox. - [Tutorial](https://docs.chalk.ai/docs/sandboxes/tutorial.md): Start a sandbox, run code in it, save files to a volume, read them from a second sandbox, and clean up. - [Agent Tutorial](https://docs.chalk.ai/docs/sandboxes/agent-tutorial.md): Run a data-analysis agent in a Chalk sandbox, then cut off its network, keep its API key out of reach, and limit what it can change. - [Configuring Sandboxes](https://docs.chalk.ai/docs/sandboxes/configuring-sandboxes.md): Pass environment variables and secrets to a sandbox, mount volumes, manage scratch space in /tmp, and turn on resource detection. - [Lifecycle](https://docs.chalk.ai/docs/sandboxes/lifecycle.md): The stages a Chalk sandbox goes through, and how to inspect its status and terminate it. - [Running Commands](https://docs.chalk.ai/docs/sandboxes/running-commands.md): Run processes inside a running Chalk sandbox with exec, exec_stream, and exec_start. - [Attaching and Sessions](https://docs.chalk.ai/docs/sandboxes/attaching-and-sessions.md): Reconnect to a running Chalk sandbox from another process, and run work that outlasts a single session. - [Tunnels](https://docs.chalk.ai/docs/tunnels.md): Reach a TCP service inside a Chalk sandbox from your machine, with ssh, scp, port forwarding, and remote IDEs. - [Networking](https://docs.chalk.ai/docs/sandboxes/networking.md): Restrict a sandbox's outbound network access, give it managed SSH keys, and connect it to other workloads. - [Snapshots](https://docs.chalk.ai/docs/sandboxes/snapshots.md): Capture a sandbox's filesystem and runtime state, restore independent sandboxes, or suspend and resume one sandbox. - [Host Pools](https://docs.chalk.ai/docs/compute/host-pools.md): Configure the hosts that back Chalk sandboxes, and size them so sandbox workloads can be scheduled. - [Long-Running Sandboxes](https://docs.chalk.ai/docs/sandboxes/long-running-sandboxes.md): Run a Chalk sandbox for hours or days with a lifetime and a restart policy. - [Isolation](https://docs.chalk.ai/docs/sandboxes/isolation.md): How Chalk isolates sandboxes with gVisor, separates tenants, and restricts kernel access. - [MCP Server Access](https://docs.chalk.ai/docs/sandboxes/mcp-gateway.md): Let sandboxes call your organization's MCP servers through the MCP Gateway without seeing the upstream credentials. - [Coding Agent Sandbox](https://docs.chalk.ai/docs/sandboxes/coding-agent-sandbox.md): Start Claude Code in a fresh repository checkout, detach, and reconnect to the same session with tmux. - [SQLite Persistence](https://docs.chalk.ai/docs/compute/sqlite-persistence.md): Write a SQLite database in one sandbox and read it from others using a shared volume. - [Kafka Consumer](https://docs.chalk.ai/docs/compute/kafka-consumer.md): Subscribe to a Kafka topic from a sandbox and fan out processing to remote functions. ## Evaluations - [Overview](https://docs.chalk.ai/docs/compute/evaluations.md): Evaluate any LLM workload against historical production data and compare outcomes based on criteria you define. - [Quick Start](https://docs.chalk.ai/docs/evaluations/quick-start.md): Upload a dataset, deploy a task, and run a first evaluation with a built-in scorer. - [Tutorial](https://docs.chalk.ai/docs/evaluations/tutorial.md): Evaluate a support ticket router. Read the rows behind its score, add a scorer that checks the routing, and fix the router. - [Datasets](https://docs.chalk.ai/docs/evaluations/datasets.md): Upload, read, and refer to the dataset revisions that evaluations score. - [Tasks](https://docs.chalk.ai/docs/evaluations/tasks.md): Write the task function an evaluation calls once per dataset row, or attach a function that is already deployed. - [Scorers](https://docs.chalk.ai/docs/evaluations/scorers.md): Score each evaluation row with built-in scorers, LLM judges, SQL expressions, or functions you write. - [Creating and Running](https://docs.chalk.ai/docs/evaluations/running.md): Create an evaluation definition, run it, wait for the result, and rescore a finished run. - [Reading and Comparing Results](https://docs.chalk.ai/docs/evaluations/results.md): Read the scores a run writes to its result dataset, and compare evaluations and runs in the Evaluations dashboard. - [Suites](https://docs.chalk.ai/docs/evaluations/suites.md): Group evaluations and their runs into named suites, and list what a suite holds. - [Using EvaluationClient](https://docs.chalk.ai/docs/evaluations/using-evaluationclient.md): Hold one EvaluationClient across several calls, and handle the errors evaluation calls raise. ## Functions and Scaling Groups - [Overview](https://docs.chalk.ai/docs/compute/functions.md): Define and call remote functions that run on Chalk. - [Tutorial](https://docs.chalk.ai/docs/functions/tutorial.md): Deploy a function, call it once and many times at once, retry calls that fail, and delete what you deployed. - [Defining a Function](https://docs.chalk.ai/docs/functions/defining-a-function.md): Define a Chalk Function with the @chalkcompute.function decorator, call it, and ship the helpers it imports. - [Configuring Functions](https://docs.chalk.ai/docs/functions/configuring-functions.md): Combine settings in the @chalkcompute.function decorator, inject secrets, mount volumes, and find the settings functions share with other workloads. - [Retries](https://docs.chalk.ai/docs/functions/retries.md): Retry failed Chalk Function calls that go through the function queue, and which retry settings take effect. - [Rate and Concurrency Limits](https://docs.chalk.ai/docs/functions/rate-and-concurrency-limits.md): Cap how often a Chalk Function is called and how many of its calls run at once. - [Batching](https://docs.chalk.ai/docs/functions/batching.md): Have a Chalk Function receive incoming items in batches with max_buffer_duration and max_batching_size. - [Scheduling](https://docs.chalk.ai/docs/functions/scheduling.md): Run a Chalk Function on a recurring schedule with a crontab expression or a duration string. - [Calling and Fan-Out](https://docs.chalk.ai/docs/functions/calling-and-fan-out.md): Call deployed Chalk Functions with defer() and get(), fan out with gather(), compose nested calls, and handle errors. - [Streaming Results](https://docs.chalk.ai/docs/functions/streaming-results.md): Stream results from a Chalk Function to the caller with an async generator. - [Calling from Chalk DataFrames](https://docs.chalk.ai/docs/functions/calling-from-a-dataframe.md): Call a Chalk Function on every row of a dataset with F.catalog_call() in a static resolver. - [Managing Functions](https://docs.chalk.ai/docs/functions/managing-functions.md): List, inspect, and delete deployed Chalk Functions with the chalk CLI and the chalkcompute SDK. - [Function Queue Setup](https://docs.chalk.ai/docs/functions/function-queue-setup.md): Enable dataplane Redis and add the function-queue service to set up the function queue on your Chalk cluster. - [Overview and Quick Start](https://docs.chalk.ai/docs/compute/scaling-groups.md): Deploy autoscaling HTTP services with routing. - [Tutorial: Model on a GPU](https://docs.chalk.ai/docs/scaling-groups/gpu-tutorial.md): Deploy a small open model on a GPU with vLLM, ask it a question, and delete it. - [Configuring Scaling Groups](https://docs.chalk.ai/docs/scaling-groups/configuring-scaling-groups.md): Pass environment variables, secrets, and volumes to a scaling group, and find the settings it shares with other workloads. - [Authenticating Scaling Groups](https://docs.chalk.ai/docs/scaling-groups/authenticating-scaling-groups.md): Sign users into applications on scaling groups with Chalk as an OpenID Connect identity provider. - [Entrypoint and Protocol](https://docs.chalk.ai/docs/scaling-groups/entrypoint-and-protocol.md): Override a scaling group's container entrypoint, and serve gRPC instead of HTTP. - [DNS and Routing](https://docs.chalk.ai/docs/scaling-groups/dns-and-routing.md): Find a scaling group's DNS hostname and send requests to it from the SDK. - [Revisions and Rollback](https://docs.chalk.ai/docs/scaling-groups/revisions-and-rollback.md): Roll a new revision onto a scaling group, list its revisions, and roll back to an earlier one. - [Managing Scaling Groups](https://docs.chalk.ai/docs/scaling-groups/managing-scaling-groups.md): List, inspect, and delete scaling groups from the CLI and the SDK. - [Workflows](https://docs.chalk.ai/docs/compute/workflows.md): Run Python workflows on dynamically provisioned scaling groups with separate images for each task. - [Autoscaling](https://docs.chalk.ai/docs/workload-settings/autoscaling.md): Set replica ranges, scaling targets, scale to zero, and scheduled replica floors for scaling groups and functions. - [Health checks](https://docs.chalk.ai/docs/workload-settings/readiness-and-shutdown.md): Control when a scaling group or function replica receives traffic. - [Authentication](https://docs.chalk.ai/docs/workload-settings/authentication.md): Require a Chalk access token on every request to a scaling group or function. - [Dynamic Chalk Queries](https://docs.chalk.ai/docs/compute/dynamic-chalk-queries.md): Let an agent write and run Chalk queries on demand, fetching exactly the features it reasons it needs. - [Batched Embeddings](https://docs.chalk.ai/docs/compute/batched-embeddings.md): Batch and parallelize embedding calls across a Chalk DataFrames (chalkdf) pipeline with F.catalog_call(). - [RAG Pipeline](https://docs.chalk.ai/docs/compute/rag-pipeline.md): Build a retrieval-augmented generation function that embeds a query and searches OpenSearch. - [Fan-Out Inference](https://docs.chalk.ai/docs/compute/fan-out-inference.md): Orchestrate parallel embedding jobs across worker functions with shared volumes. - [LangChain Agents](https://docs.chalk.ai/docs/compute/langchain-agents.md): Deploy LangChain agents as Functions with persistent memory. - [OCR Pipeline](https://docs.chalk.ai/docs/compute/ocr-pipeline.md): Process images received via SMS by running OCR in a remote function. - [Deep Coding Agents](https://docs.chalk.ai/docs/compute/deep-coding-agents.md): Run coding agents like OpenCode in persistent Chalk scaling groups. - [Webhook Orchestrator](https://docs.chalk.ai/docs/compute/webhook-agent-orchestrator.md): Build a scaling group that listens for webhooks, spawns coding agents, and tracks state in SQLite. - [Model Inference](https://docs.chalk.ai/docs/compute/model-inference.md): Serve open-weight models from Hugging Face with vLLM on a Chalk GPU, behind an authenticated, OpenAI-compatible endpoint. ## Runtime Environment - [Images](https://docs.chalk.ai/docs/compute/images.md): Build and cache container images for compute workloads. - [Resources and GPUs](https://docs.chalk.ai/docs/workload-settings/resources-and-gpus.md): Set CPU, memory, and GPU requests for sandboxes, scaling groups, and functions. - [Environment and Secrets](https://docs.chalk.ai/docs/compute/secrets.md): Inject secrets into sandboxes, functions, and scaling groups without exposing them in source or images. - [Volumes](https://docs.chalk.ai/docs/compute/volumes.md): Persistent, versioned file storage for compute workloads. - [Workload Identity](https://docs.chalk.ai/docs/workload-settings/workload-identity.md): Give a sandbox, scaling group, or function a Chalk identity so code inside it can call Chalk APIs without a client ID or secret. - [Tags](https://docs.chalk.ai/docs/workload-settings/tags.md): Attach key-value tags to sandboxes, scaling groups, and functions for organization and filtering. ## Developer Interface - [What is Chalk SQL](https://docs.chalk.ai/docs/chalksql/what-is-chalk-sql.md): A SQL dialect for federated queries across everything in a Chalk environment. - [Example Workflows](https://docs.chalk.ai/docs/chalksql/example-workflows.md): Common ways to run Chalk SQL queries, from introspecting datasets to joining across sources. - [SQL Explorer](https://docs.chalk.ai/docs/chalksql/sql-explorer.md): Chalk's built-in console for Chalk SQL - [SQL as Input](https://docs.chalk.ai/docs/chalksql/sql-as-input.md): Compute the inputs to a bulk online or offline query dynamically with Chalk SQL. - [Chalk Catalog Components](https://docs.chalk.ai/docs/chalksql/chalk-catalog-components.md): How features, resolvers, datasets, and other Chalk concepts are exposed to Chalk SQL. - [Getting Started](https://docs.chalk.ai/docs/chalkdf/getting-started.md): Install and run your first chalkdf commands - [Installation](https://docs.chalk.ai/docs/chalkdf/installation.md): Install chalkdf to access DataFrame utilities. - [Chalk Assistant](https://docs.chalk.ai/docs/chalk-assistant.md): An in-dashboard AI assistant that runs on your AI provider. - [MCP Server](https://docs.chalk.ai/docs/mcp-server.md): Connect AI agents to your Chalk deployment over the Model Context Protocol. ## Observability - [Observability Overview](https://docs.chalk.ai/docs/observability.md): Monitor the execution of your feature pipelines & alert you when problems arise. - [Dashboards](https://docs.chalk.ai/docs/dashboards.md): Combine metrics, logs, and events from your feature pipelines into a single custom view. - [Monitors](https://docs.chalk.ai/docs/overview/monitors.md): Continuously evaluate metrics, platform health, or log queries, and open incidents when thresholds are met. - [Metrics Monitor](https://docs.chalk.ai/docs/metricmonitor.md): Define and monitor metrics - [Charts with Code](https://docs.chalk.ai/docs/charts.md): Define charts and alerts with code. - [Feature Drift](https://docs.chalk.ai/docs/featuredrift.md): Detect and setup alerting for drift in feature values - [Metrics Export](https://docs.chalk.ai/docs/metricexport.md): Export Chalk metrics to other monitoring systems. - [Export logs to Datadog](https://docs.chalk.ai/docs/datadog-telemetry-export.md): Connect your Datadog account, enable Chalk log export, and verify that your logs arrive. - [Alert Configuration](https://docs.chalk.ai/docs/alertconfig.md): Configure Alerts - [Log Export](https://docs.chalk.ai/docs/logexport.md): Export Chalk logs to other monitoring systems. - [Export telemetry over OTLP](https://docs.chalk.ai/docs/otlp-telemetry-export.md): Send Chalk logs, traces, and metrics to OTLP/HTTP destinations and verify receipt. - [Search Syntax](https://docs.chalk.ai/docs/log-search-syntax.md): Search Chalk logs and similar pages (access logs, kube events, traces, and spans) with text terms, fields, Boolean operators, wildcards, and grouped values. - [Search Aggregations](https://docs.chalk.ai/docs/search-aggregations.md): Summarize search results from logs, access logs, kube events, and spans with counts, percentiles, and other measures. - [Tracing](https://docs.chalk.ai/docs/tracing.md): Use tracing to debug and optimize query performance. - [Tracing Policy](https://docs.chalk.ai/docs/workload-settings/tracing.md): Set how many traces Chalk keeps for a function, scaling group, or sandbox with the tracing setting. - [Telemetry FAQ](https://docs.chalk.ai/docs/telemetry-faq.md): Export metrics to Prometheus, logs and traces over OTLP, or telemetry to Datadog, and troubleshoot telemetry issues. - [Introspection](https://docs.chalk.ai/docs/introspection.md): View metadata about your deployed Chalk features and resolvers. ## Infrastructure - [Choosing a store](https://docs.chalk.ai/docs/choosing-online-offline-stores.md): Selecting an online and offline store for your environment - [Capacity](https://docs.chalk.ai/docs/online-store-capacity.md): Understand how your online store fills up, how eviction affects Chalk, and how to add headroom. - [Survey](https://docs.chalk.ai/docs/online-store-survey.md): Use SQL Explorer to analyze online store key distribution and memory utilization - [Overview](https://docs.chalk.ai/docs/offline-stores.md): Historical feature storage and retrieval. - [Snowflake](https://docs.chalk.ai/docs/snowflake-offline-store.md): Understanding Snowflake offline store architecture and multi-environment deployments. - [Private EKS API Server Connectivity](https://docs.chalk.ai/docs/private-eks-api-server.md): How Chalk reaches a fully private EKS API server from the metadata plane. - [Resource Configuration](https://docs.chalk.ai/docs/resource-configuration.md): Configure your Chalk Kubernetes cluster - [Chalk Machine Types](https://docs.chalk.ai/docs/chalk-machine-types.md): Configure your Chalk Kubernetes cluster - [How `chalk apply` Works](https://docs.chalk.ai/docs/chalk-apply.md): How `chalk apply` packages a Chalk project, builds container images, and rolls them out into the Data Plane. - [Materialized Aggregate Diffs](https://docs.chalk.ai/docs/materialized-aggregate-diff.md): Find the materialized aggregate features that a change to your project would need to backfill, with `chalk apply --plan --remote` or on every `chalk apply`. - [Building Images Without Deploying](https://docs.chalk.ai/docs/chalk-deploy-build.md): Build a Chalk engine image and push it to a registry you own without creating a deployment. Mirror it into a separate cloud partition such as AWS GovCloud. - [GitHub App Setup](https://docs.chalk.ai/docs/github-app-setup.md): Configure a GitHub App for an air-gapped Chalk deployment. - [Blue-Green Deployments](https://docs.chalk.ai/docs/blue-green-deployment.md): Set up blue-green deployments for reliability. - [Multi-Region Failover](https://docs.chalk.ai/docs/multi-region-failover.md): Configure multi-region failover for high availability on AWS. - [Artifact Repository](https://docs.chalk.ai/docs/artifact-repositories.md): Configure private Python package indexes (AWS CodeArtifact, Google Artifact Registry, preauthenticated) for Chalk deployments. - [Debugging Persistence](https://docs.chalk.ai/docs/debug-persistence.md): Learn how to debug and troubleshoot feature persistence issues in Chalk - [Metadata Plane & Data Plane Communication](https://docs.chalk.ai/docs/metadata-plane-data-plane-communication.md): What data flows between the Chalk Metadata Plane and Data Plane, and what the security implications are. - [Performance Profiling](https://docs.chalk.ai/docs/profiling.md): Collect CPU profiles and system traces from engine nodes and upload them to cloud storage for performance analysis. ## Tutorials - [Fraud Detection Pipeline](https://docs.chalk.ai/docs/fraud-tutorial.md): Build a feature pipeline for fraud detection. - [Feature Versions](https://docs.chalk.ai/docs/feature-version-tutorial.md): Learn how to create and interact with versioned features - [Jupyter Notebooks](https://docs.chalk.ai/docs/notebook-tutorial.md): Work through an example using Chalk in a Jupyter notebook - [AWS SageMaker](https://docs.chalk.ai/docs/sagemaker-tutorial.md): Build a Chalk feature pipeline for training and serving models with AWS SageMaker. - [Model Development](https://docs.chalk.ai/docs/model-tutorial.md): Build a complete ML pipeline from features to inference - [Static Resolvers with Chalk DataFrames](https://docs.chalk.ai/docs/chalkdf/static-resolvers.md): Build vectorized batch feature computations using chalkdf and static resolvers - [Running Code in a Sandbox](https://docs.chalk.ai/docs/sandboxes/tutorial.md): Start a sandbox, run code in it, save files to a volume, read them from a second sandbox, and clean up. - [Locking Down an AI Agent](https://docs.chalk.ai/docs/sandboxes/agent-tutorial.md): Run a data-analysis agent in a Chalk sandbox, then cut off its network, keep its API key out of reach, and limit what it can change. - [Deploying and Calling Functions](https://docs.chalk.ai/docs/functions/tutorial.md): Deploy a function, call it once and many times at once, retry calls that fail, and delete what you deployed. - [Serving a Model on a GPU](https://docs.chalk.ai/docs/scaling-groups/gpu-tutorial.md): Deploy a small open model on a GPU with vLLM, ask it a question, and delete it. - [Improving an Evaluation Score](https://docs.chalk.ai/docs/evaluations/tutorial.md): Evaluate a support ticket router. Read the rows behind its score, add a scorer that checks the routing, and fix the router. ## References - [References Home](https://docs.chalk.ai/references) - [Python SDK](https://docs.chalk.ai/api-docs) - [Compute SDK](https://docs.chalk.ai/compute-docs) - [CLI](https://docs.chalk.ai/cli) - [Chalk DataFrames](https://docs.chalk.ai/dataframe-docs) - [Overview](https://docs.chalk.ai/docs/chalksql/statements/overview.md): The SQL statements supported by Chalk SQL. - [SELECT](https://docs.chalk.ai/docs/chalksql/statements/select.md): Retrieve rows from tables across your Chalk environment. - [DESCRIBE & SHOW](https://docs.chalk.ai/docs/chalksql/statements/describe.md): Inspect the schema of a table or query, or list available tables. - [EXPLAIN](https://docs.chalk.ai/docs/chalksql/statements/explain.md): Show the physical plan for a statement, optionally with execution statistics. - [COPY TO](https://docs.chalk.ai/docs/chalksql/statements/copy.md): Write the result of a query to Parquet, CSV, or Iceberg files. - [Expression Syntax](https://docs.chalk.ai/docs/chalksql/expressions.md): Syntax for literals, struct, map, and list access, CASE, casts, and lambdas. - [Function Reference](https://docs.chalk.ai/chalksql-docs) - [TypeScript](https://docs.chalk.ai/docs/client-typescript.md): Query features with Chalk's TypeScript client library - [Python](https://docs.chalk.ai/docs/client-python.md): Query features with Chalk's Python client library - [Go](https://docs.chalk.ai/docs/client-go.md): Query features with Chalk's Go client library - [Rust](https://docs.chalk.ai/docs/client-rust.md): Query features with Chalk's Rust client library - [Java](https://docs.chalk.ai/docs/client-java.md): Query features with Chalk's Java client library - [C#](https://docs.chalk.ai/docs/client-csharp.md): Query features with Chalk's C# client library - [Elixir](https://docs.chalk.ai/docs/client-elixir.md): Query features with Chalk's Elixir client library - [Ruby](https://docs.chalk.ai/docs/client-ruby.md): Query features with Chalk's Ruby client library ## Updates - [Changelog](https://docs.chalk.ai/docs/changelog.md): Updates to Chalk! - [Release Phases](https://docs.chalk.ai/docs/release-phases.md): What Private Preview, Public Preview, General Availability, and Deprecated mean. - [Security Release Notes](https://docs.chalk.ai/docs/security-release-notes.md): CVE fixes shipped in Chalk components. - [Platform Release Notes](https://docs.chalk.ai/release-notes) - [Chalkpy Release Notes](https://docs.chalk.ai/release-notes/chalkpy) ## Other pages - [Streaming Resource Groups](https://docs.chalk.ai/docs/streaming-resource-groups.md): Assign streaming resolvers to dedicated resource groups for workload isolation. - [GPUs and Resource Hints](https://docs.chalk.ai/docs/resource-hints.md): Schedule workloads on differentiated hardware & execution pools - [Error Handling](https://docs.chalk.ai/docs/query-errors.md): Run resolvers in the presence of upstream failures. - [Query Scheduling](https://docs.chalk.ai/docs/query-cron.md): Create and ingest datasets on a schedule - [Sharing sensitive data with Chalk](https://docs.chalk.ai/docs/public-key.md): Encrypt data with Chalk's public key before sending it, using GnuPG. - [OpenAI](https://docs.chalk.ai/docs/openai.md): Integrate with OpenAI for embedding models. - [Offline Query Heartbeat Timeout](https://docs.chalk.ai/docs/offline-query-timeout.md): Learn more about debugging offline query timeouts. - [Job Queue](https://docs.chalk.ai/docs/job-queue.md): Understanding Chalk's job queue and resource groups - [Tutorial: Backtesting](https://docs.chalk.ai/docs/fraud-6.md): Try out new feature values on historical data. - [Tutorial: Inference](https://docs.chalk.ai/docs/fraud-5.md): Integrate Chalk into your production decisioning systems. - [Tutorial: Python Resolvers](https://docs.chalk.ai/docs/fraud-4.md): Define resolvers in Python that call APIs and compute derived features. - [Tutorial: SQL Resolvers](https://docs.chalk.ai/docs/fraud-3.md): Mapping data from SQL sources to feature classes. - [Tutorial: Data Modeling](https://docs.chalk.ai/docs/fraud-2.md): Defining the features that we want to compute. - [Feature Studio](https://docs.chalk.ai/docs/feature-studio.md): Define, deploy, and manage features and resolvers with Chalk's Feature Studio. - [Support](https://docs.chalk.ai/docs/enterprise-support.md): Get in touch with our support team! - [Enterprise Deployment](https://docs.chalk.ai/docs/deployment.md): Enterprise Deployment Model - [Chalk Machine Type defaults](https://docs.chalk.ai/docs/chalk-machine-type-catalog.md): Search default primary instances and ordered fallbacks by cloud provider, workload, and Chalk Machine Type. - [Benchmarking](https://docs.chalk.ai/docs/benchmark.md): Preflighting scale to production - [AWS Cloud Deployment IAM Requirements](https://docs.chalk.ai/docs/aws-cloud-deployment.md): Deploying Chalk to your AWS account. - [Ambiguous Resolvers](https://docs.chalk.ai/docs/ambiguous-resolvers.md): Ambiguous Resolvers - [AIMD Queue Server](https://docs.chalk.ai/docs/aimd-queue-server.md): Adaptive concurrency control for maximizing query throughput within a latency budget