Quickstart
Get your AI agent deploying cloud infrastructure in under 5 minutes.
1Get an API key
curl -X POST https://api.synlake.ai/v1/register \
-H "Content-Type: application/json" \
-d '{"email": "agent@yourcompany.com", "name": "my-agent"}'
You'll receive an api_key starting with sk_synlake_. Save it — it won't be shown again. Free tier includes 100 calls/month, no card required.
2Query infrastructure
Describe what your agent needs. Synlake finds the best match across AWS, GCP, and Azure and returns a Terraform execution kit:
curl -X POST https://api.synlake.ai/v1/infrastructure/query \
-H "Authorization: Bearer sk_synlake_xxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"intent": "compute",
"requirements": {
"vcpus": 4, "memory_gb": 16,
"storage_gb": 100, "region": "us-east-1"
},
"constraints": { "max_monthly_budget": 150 },
"output": { "include_terraform": true, "include_cli": true }
}'
Response includes: recommendation (best instance + pricing), execution_kit (Terraform HCL + CLI command), alternatives (cross-provider options), and guardrails (budget, compliance, region checks).
3Estimate costs
Compare prices across providers without generating execution kits — faster and cheaper ($0.01/call):
curl -X POST https://api.synlake.ai/v1/infrastructure/estimate \
-H "Authorization: Bearer sk_synlake_xxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"intent": "compute",
"requirements": { "vcpus": 4, "memory_gb": 16 },
"providers": ["aws", "gcp", "azure"]
}'
4Validate before deploying
Dry-run any execution kit. Synlake checks cost vs budget, public access exposure, encryption, and IAM:
curl -X POST https://api.synlake.ai/v1/execution/validate \
-H "Authorization: Bearer sk_synlake_xxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"provider": "aws",
"execution_type": "terraform",
"code": "resource \"aws_instance\" \"s\" { instance_type = \"t3.xlarge\" }",
"agent_budget_limit": 150
}'
5MCP integration
Connect Synlake as an MCP server in Claude, Cursor, or any MCP-compatible agent:
{
"mcpServers": {
"synlake": {
"url": "https://api.synlake.ai/api/mcp",
"headers": {
"Authorization": "Bearer sk_synlake_xxxxxxxxxx"
}
}
}
}
Your agent gets native tools: query_infrastructure, estimate_cost, validate_execution, list_providers, get_usage.
Pricing
Free tier: 100 calls/month. Activate metered billing via POST /v1/billing/activate to unlock unlimited usage with spending caps.
Supported intents
| Intent | Infrastructure |
|---|---|
compute | VMs, containers, serverless |
storage | Object, block, file systems |
database | Managed SQL, NoSQL, caching |
networking | VPCs, load balancers, CDN |