

Open Source
Multi Cloud Analytics,
IaC, Automation and Agent Tooling
StackQL provides a single, declarative interface for querying and mutating cloud control planes and data planes. As AI agents move from assistance to autonomous execution, they need a safe, auditable way to read state, change state, enforce constraints, and integrate across systems. StackQL fills this gap by modeling the world as a database — making infrastructure, services, and APIs accessible through familiar SQL semantics.
- Query
- Results
SELECT instance_state, COUNT(*) as num_instances
FROM aws.ec2.instances
WHERE region = 'us-west-1'
GROUP BY instance_state;
|---------------------------------|
| instanceState | num_instances |
|---------------------------------|
| running | 342 |
|---------------------------------|
| pending | 4 |
|---------------------------------|
| stopped | 38 |
|---------------------------------|
Deploying resources using your cloud provider is as easy as writing an INSERT statement...
INSERT INTO google.compute.disks (project, zone, name, sizeGb)
SELECT 'stackql-demo',
'australia-southeast1-a',
'test10gbdisk', 10;
Using StackQL you can develop your way: declarative or procedural. With an easy grammar to learn and no state file to manage, you can get started quickly and use StackQL interchangeably with other infrastructure as code tools, cloud native or otherwise. StackQL provides a universal interface for AI agents to interact with cloud infrastructure. Uses for StackQL include:
- AI Agent Integration - Enable agents to provision and query cloud resources
- Control Plane Communication - Programmatic infrastructure provisioning for agentic workflows
- Data Plane Observability - Real-time monitoring and analytics for AI-driven operations
- Cloud infrastructure deployment (using SQL)
- Cloud asset inventory and reporting (using SQL)
- Cloud compliance and control attestation (using SQL)
- Configuration drift detection (using SQL)
- and more, only limited by your imagination!
OK, Let's Get Started!
Installing StackQL
StackQL Resource Hierarchy
Using Providers
Using StackQL