Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Strake Logo

Strake

The AI Data Layer

License PRs Welcome Docs


Strake is the AI Data Layer. Not a query tool. Not a RAG pipeline. The sandboxed execution environment where agents meet your data and return answers, not rows.

Built on Apache Arrow DataFusion, Strake enables AI agents to discover, query, and process data across your entire stack (PostgreSQL, Snowflake, S3, and more) without the need for data movement or ETL. Give AI agents structured access to your entire data stack safely.

📚 Full Documentation: Check out the complete documentation for installation, architecture, and API references.


Key Features

  • MCP-Native Discovery: Built for the Model Context Protocol. Your agents immediately discover your entire data catalog and schemas.
  • Run Python, Not Prompts: Every agent execution runs inside strict native OS sandboxes for performance, or ephemeral MicroVMs for hardware-level isolation.
  • Zero-Copy Federation: Query Postgres, S3, Local Files, REST, gRPC, and more simultaneously with Pushdown optimization via Apache Arrow.
  • Read-Only by Default: Strict read-only enforcement by default to protect your upstream data sources.
  • Developer First: Built for engineers shipping agents to production. Type-safe configuration, rich CLI tooling, and local development workflows.
  • Python Native: Zero-copy integration with Pandas and Polars via PyO3.
  • GitOps Native: Manage your data mesh configuration as code. Version control your sources, policies, and metrics.
  • Observability: Built-in OpenTelemetry tracing and Prometheus metrics.
  • Enterprise Capabilities: OIDC Authentication, Row-Level Security, and Data Contracts (Enterprise Edition).

Code Mode: Don't Compute in Context

Most agents fail by swallowing thousands of raw SQL rows. Strake's Code Mode lets them process data in Python where it lives, inside a secure sandbox, sending only the parsed results that matter to the LLM.

import strake
from strake.mcp import run_python

script = """
# 1. Query 10M rows instantly via DataFusion
df = strake.sql("SELECT * FROM user_events").to_pandas()

# 2. Aggregate in Python to prevent context bloat
summary = df.groupby('feature_flag')['latency'].median()

# 3. Print exactly what the LLM needs
print(summary.to_json())
"""

# Runs isolated with OS Sandboxing or Firecracker VMs
result = await run_python(script)
print(result)

Quick Start (5-Minute Setup)

If you're building agents that need to query Postgres, S3, and a REST API in a single operation — without context overflow and without leaking credentials — Strake is the runtime you're missing.

1. Installation

Quick Install (Linux/macOS)

curl -sSfL https://strakedata.com/install.sh | sh

Install via Cargo (Rust)

cargo install --path crates/cli
cargo install --path crates/server

Python Client

pip install strake

2. Configuration (GitOps)

Initialize a new config and validate your sources:

# Initialize a new config
strake-cli init

# Validate configuration
strake-cli validate sources.yaml

# Sync configuration with live database schemas
strake-cli sync

3. Query with Python

First, define your data sources in a sources.yaml file:

sources:
  - name: local_files
    type: csv
    path: "data/*.csv"
    has_header: true
    tables:
      - name: measurements

Then, query using the Strake Python client:

import strake
import polars as pl

# Connect using your source configuration
conn = strake.connect(sources_config="sources.yaml")

# Query across sources using standard SQL
query = "SELECT * FROM measurements LIMIT 5"
data = conn.sql(query)

# Zero-copy integration with Polars/Pandas
df = pl.from_arrow(data)
print(df)

Project Structure

Component Description
strake-runtime Orchestration layer (Federation Engine, Sidecar).
strake-connectors Data source implementations (Postgres, S3, REST, etc).
strake-sql SQL Dialects, Query Optimization, and Substrait generation.
strake-common Shared types, configuration, and telemetry.
strake-error Unified error handling, error codes, and exception types.
strake-server Arrow Flight SQL server implementation.
strake-cli GitOps CLI for managing data mesh configurations.
strake-python Python bindings for high-performance data access.

Contributing

We welcome contributions! Please see our Contributing Guidelines for details on how to get started.

License

Strake is licensed under the Apache 2.0 license.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

strake-0.3.0rc1-cp310-abi3-win_amd64.whl (63.8 MB view details)

Uploaded CPython 3.10+Windows x86-64

strake-0.3.0rc1-cp310-abi3-manylinux_2_28_x86_64.whl (72.1 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ x86-64

strake-0.3.0rc1-cp310-abi3-macosx_11_0_arm64.whl (62.5 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

File details

Details for the file strake-0.3.0rc1-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: strake-0.3.0rc1-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 63.8 MB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for strake-0.3.0rc1-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 bf017cd033a85c807054ce154130442d9d622f906daac44b6bc530a3b04577c7
MD5 0c8d10ca34e259beda723c517a9408e1
BLAKE2b-256 9a2c741c95dabe5b02b807dc6a8cd60d371e79fbaaeb5c9b0413cbeace0e6fe7

See more details on using hashes here.

Provenance

The following attestation bundles were made for strake-0.3.0rc1-cp310-abi3-win_amd64.whl:

Publisher: release.yml on strake-data/strake

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file strake-0.3.0rc1-cp310-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for strake-0.3.0rc1-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e29d8695efdbbbba53b9c06b3fce3344c319915436087e2c2d6cde1f8cc2062e
MD5 f8edf83e2b1487d8a4d8fc708a27579b
BLAKE2b-256 c1da99764d6131926c69c4db0f0cad9a35c00cfc3bb3b227c1054533bb818883

See more details on using hashes here.

Provenance

The following attestation bundles were made for strake-0.3.0rc1-cp310-abi3-manylinux_2_28_x86_64.whl:

Publisher: release.yml on strake-data/strake

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file strake-0.3.0rc1-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for strake-0.3.0rc1-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d03eb39b771a5ae954ad7599040f2332574c5a0bed9622ed5a17ee603851ac70
MD5 68af39c063660ba36e0299f00edbf55d
BLAKE2b-256 3985a6b1dfe0f1171b9d998bc7613943c3bb156739677076cacca250cd9c6037

See more details on using hashes here.

Provenance

The following attestation bundles were made for strake-0.3.0rc1-cp310-abi3-macosx_11_0_arm64.whl:

Publisher: release.yml on strake-data/strake

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page