Run Functions and Launch Sandboxes with SQL

With Chalk, SQL can do more than query data. Learn how to use a single SQL query to execute Python functions, call AI models, and run agents in secure sandboxes.

On-demand Webinar

In this live demo, we'll show how to use Chalk Functions and Chalk Sandboxes to run AI agents directly from a query. We'll build a security scanning workflow that queries Python repositories in ClickHouse, launches agents in isolated sandboxes to investigate vulnerabilities, and returns findings directly to SQL, with the entire execution trace connected in one place.

  • Call AI models from SQL: Make model requests through Chalk's Model Gateway as part of a query.
  • Execute Python functions: Run custom code on data directly from SQL without building separate processing pipelines.
  • Launch secure sandboxes: Start isolated environments to run code and AI agents against repository data.
  • Scale execution: Run functions and agents in parallel with configurable concurrency and resource limits.
  • Trace the entire workflow: Inspect SQL execution, function calls, sandbox activity, and agent conversations in one connected trace.

Watch On Demand

Ready to do more from a SQL query?

Talk to an engineer and see how Chalk can power your agents and models.