Syncploy
AI-NATIVE CLOUD COMPILER•BUILT FOR CODING AGENTS

Build on AWS with AI.
Sleep Through the Night.

Let Claude Code, Cursor, and Antigravity ship production backends directly on AWS without fear of runaway bills. Syncploy gives your AI coding agents compile-time safety rails—statically eliminating infinite loops, unreserved concurrency bills, and hallucinated IAM permissions before deploy.

Start Building
npmVerified npm release: @syncploy/sdk (v0.1.7)
AI Agent Ready:Antigravity PluginClaude CodeCursor/llms.txt →
•
UNCAPPED RISK
AWS CLOUD
Runaway Live Spend+$148.00 / min
$14,820.50USD
CardholderDEV ACCOUNT #9482
Limit StatusCRITICAL: UNBOUNDED
AI-GUARDED • BUDGET PROTECTED
AWS CLOUD
Month-To-Date Spend$0.00 / idle
$0.42USD
CardholderDEV ACCOUNT #9482
Limit StatusVAULT SEALED (MAX $4.80)
Unguided AI: Uncapped Lambda loops & missing DLQs can drain bank limits overnight.
Infinite Loop Shield
Halts self-amplifying stream loops before your agent deploys
$0.00 Idle Bill
Pure serverless. Zero NAT gateways, zero idle EC2 zombies
Least-Privilege IAM
Auto-synthesized exact policies; zero hallucinated wildcards
Single-File Simplicity
Infra and business logic side-by-side in one app.ts file
The Agentic Infrastructure Pipeline

How It Works with Your AI Coding Agent

AI agents excel at writing TypeScript, but hallucinate dangerous cloud configs. Syncploy acts as your agent's compiler guardrail.

One-Click Context01

Point Your Agent

Point Cursor, Claude Code, or Antigravity to llms.txt or install the official Antigravity plugin. Your agent immediately understands all Syncploy primitives and constraints in a single context window.

// .cursorrules or Antigravity Plugin
# Add Syncploy context to your agent
Read: https://www.syncploy.com/llms.txt
Single-File TypeScript02

Prompt Naturally

Tell your agent to build an API, queue, or database. Everything lives in a single app.ts file side-by-side with business logic. No context-switching between Terraform, CDK, and YAML templates.

export const orders = new Table("orders");
export const checkout = api({
  method: "POST",
  path: "/checkout",
  concurrency: 10,
}, async (req) => { ... });
Deterministic Safety03

The Compiler Guards Your Wallet

The compiler inspects your AST in <1ms. If the agent created an infinite recursion loop, forgot a concurrency cap, or misconfigured timeouts, the compiler halts the build and provides the exact fix.

✖ [ERR_RECURSIVE_LOOP] (recursion Layer)
• Loop: Stream 'worker' -> Table 'orders'
= help: Break cycle by directing mutations 
        to a downstream queue or table.
Official Plugins for Antigravity & Claude Code
Install the pre-built Antigravity skill or pass /llms.txt directly to Claude Code.
Explore Agent Setup
The AI Safety Rails

The 4 Fatal Cloud Mistakes AI Agents Make

AI coding agents write working functions, but consistently configure financially lethal cloud architectures. Here is how Syncploy protects your AWS account.

Uncapped Scale Guard

1. Uncapped Concurrency Spikes

The Threat: The AI Trap: Agents generate public APIs without concurrency limits. Under a bot flood or traffic spike, Lambda scales to 1,000+ executions, racking up thousands in hours.
Syncploy Shield: Syncploy enforces strict compile-time concurrency limits and edge stage throttling. Your theoretical maximum 24/7 monthly compute liability is mathematically bounded before deploy.
concurrency: 5 // Max liability: ~$54/moActive
Infinite Loop Shield

2. Infinite Event-Driven Loops

The Threat: The AI Trap: Agents routinely connect stream consumers that write back to their own source DynamoDB table, spawning a self-amplifying event storm ($20,000+ overnight).
Syncploy Shield: The compiler checks your code for self-referencing triggers in <1ms. If an event loop exists, compilation aborts with clear self-healing instructions so your agent can fix it instantly.
✖ [ERR_RECURSIVE_LOOP] Table -> Stream -> TableActive
Zero Zombie Leaks

3. Auto-Expiring Logs & S3 Cleanup

The Threat: The AI Trap: CloudWatch logs default to 'Never Expire' and S3 keeps abandoned multipart uploads forever, silently bleeding money every month on forgotten agent prototypes.
Syncploy Shield: Syncploy automatically configures 14-day log auto-deletion for every function, and sets 7-day auto-cleanup rules for abandoned file uploads in S3.
AutoLogRotation: 14d • AutoCleanup: 7dActive
Zero Hallucinated IAM

4. Least-Privilege IAM & In-Code Budgets

The Threat: The AI Trap: Agents default to wildcard 'Action: *' policies to get code working, creating security vulnerabilities and leaving billing alarms unconfigured.
Syncploy Shield: Syncploy generates verified, least-privilege IAM policies directly from AST method calls, and lets you declare stack-scoped budget ceilings right in TypeScript.
new Budget("cap", { amount: 25 }) • Least-Privilege IAMActive
Zero-Trust Architecture

Enterprise Supply-Chain & Privacy Guarantees

We believe cloud tooling for AI coding agents should be completely transparent, offline-capable, and safe to execute without exfiltrating your code or AWS credentials.

Read Security Spec
Air-Gap Friendly

100% Offline & Zero Telemetry

The AST compiler runs in <1ms locally in-memory. Zero outbound network calls, zero analytics trackers, and zero code exfiltration.

Malware Immune

Zero Lifecycle Scripts

Packages contain zero postinstall or preinstall hooks. It is physically impossible to execute malicious shell commands on npm install.

Zero Proxying

Vanilla CloudFormation Output

Syncploy is never an intermediary proxy. Handlers deploy directly to your AWS account. We never touch or intercept your credentials.

Enterprise Supply Chain

Official AWS SDKs Only

@syncploy/sdk depends exclusively on official @aws-sdk/* clients maintained by Amazon. Zero unverified open-source micro-packages.

PROVEN IN LIVE PRODUCTION•$0.42/MO TOTAL AWS BILL

Real-World Showcase: A Public AI Platform Running for $0.42/mo

How the live HIPAA-compliant EHR Annotation Platform handles public clinical file extraction, asynchronous OCR queues, and DynamoDB querying in live production — with zero fear of bot scrapers or DDoS, $0.00 idle server cost, and a $4.80 max theoretical monthly liability.

Live Monthly Spend
$0.42 / mo
Across 11 AWS services. Zero idle EC2 servers, zero NAT gateways, scales to absolute zero.
DDoS Blast Radius
$4.80 Max
Even under a continuous 10M-request bot attack, concurrency caps mathematically prevent bill spikes.
Data Safety
0 Replaced
100% preservation of DynamoDB tables & S3 ObjectLock compliance buckets with zero data loss.
Cold Starts
<50ms
Sub-50ms latency via Bun container with direct Function URL ingress ($0 API Gateway fee).
Merged
harsh-vardhhan/EHR-backend#227
+2,655-119
View PR #227

feat(infra): migrate AWS SAM to @syncploy/sdk with golden master CloudFormation parity

Replaced 600+ lines of handwritten AWS SAM YAML (template.yaml) with pure TypeScript constructs using @syncploy/sdk. Validated with automated AST cycle detection, zero-replacement diffing, and least-privilege deployment policies.

Production Rollout & Verification Trace (PR Series #227 → #242)
Step 1 • PR #227 IN_SYNC
IfC Synthesis & 1:1 Parity

Migrated all 11 AWS services to in-code constructs. Verified with syncploy diff confirming 0 table or compliance bucket replacements.

Step 2 • PR #235–#239 Scoped
Least-Privilege CI/CD Hardening

Generated exact GitHub Actions deploy policy (syncploy policy) with zero wildcard admin rights, preserving OIDC trust boundaries.

Step 3 • PR #241–#242 Live • <50ms
Live API Ingress & Concurrency Capping

Configured public Function URL ingress with concurrency: 5 and SQS DLQ redrive policies. Sub-50ms latency in production with a $0.42/mo real bill.

Want to inspect the architecture & safety diff? Explore the 11-service cloud topology, zero-replacement diffs, and least-privilege IAM policies.
The 3 Cloud Realities

Choosing Your Cloud Path with AI

Why pay 50x PaaS markups out of fear, or risk uncapped cloud liability on raw AWS, when AI can safely deploy serverless?

Architecture Dimension
PaaS Tax
Vercel / Supabase / Railway
AI Hallucination Risk
Raw AWS (CDK / Terraform)
AI-Guarded AWS
Syncploy
Monthly Base Cost$20 – $200/mo minimums + per-seat taxes$0.00 (until idle EC2/NAT gateways leak)$0.00 true scale-to-zero (pay only for ms used)
Bandwidth & Gateway Markup10x – 50x markup ($0.15–$0.40/GB bandwidth)$0.09/GB AWS retail price$0.09/GB wholesale AWS ($0 gateway tax via Function URLs)
Runaway Scale (DDoS) Protection❌ Shock overage bills ($10k+ surges with zero appeal)❌ Unreserved Lambdas scale to 1,000+ parallel instances✅ Compile-time concurrency bounds & blast radius caps
Event-Driven Recursion Loops❌ Unchecked (continuous function re-triggering)❌ None (Table -> Stream -> Table runs indefinitely)✅ Compile-time event loop detection halts deploy in <1ms
AI Agent Coding ExperienceSimple, but vendor-locked & proprietary dashboardsHigh hallucination risk across complex multi-file CDK/YAMLSingle-file TypeScript. Agent self-heals from compiler diagnostics.
Infrastructure OwnershipProprietary runtime lock-in & closed-source platformsFull ownership, but high operational complexity100% AWS ownership. Pure 1:1 CloudFormation export.