Open Source ยท Free Beta

APIs change.
Your app stays live.

Poly detects breaking API changes, AI-generates safe fixes, and patches responses before your code sees them โ€” zero proxy, zero deploy, zero downtime.

Your traffic never touches our servers
0+
APIs monitored
0.7%
Drift catch rate
0ms
Latency overhead

Without Poly

Third-party API renames name to full_name. Your app crashes in production at 3 AM.

crash.log
1// API response changed silently
2const user = res.data
3console.log(user.name)
4// โ†’ undefined ๐Ÿ’ฅ CRASH
  • โœ—Page breaks for all users
  • โœ—Emergency deploys at midnight
  • โœ—Angry customers, lost revenue

With Poly

Poly's SDK detects the drift, asks AI for a safe mapping, and patches the response before your code even sees it.

output.log
1// Poly patches response in-memory
2const user = res.data
3console.log(user.name)
4// โ†’ "John Doe" โœ“ WORKS
  • โœ“Zero downtime, instant fix
  • โœ“No deploy needed
  • โœ“Users never notice anything

See it in action

Watch Poly detect a breaking API change and fix it โ€” step by step, live in your browser.

Click "Run Demo" to see Poly detect and fix a real API breaking change โ€” all before your code notices.

How Poly sits in your stack

Poly runs entirely in your process. Only schema metadata reaches Poly Cloud for AI analysis โ€” never your data.

Your App
Poly SDK
Intercept
Detect Drift
AI Cloud
Patch
Your Code
only schema metadata
01

Detect

SDK intercepts every API response and compares it against the learned schema baseline. Detects 7 types of drift.

02

Analyze

Only schema metadata goes to Poly Cloud. AI generates a safe mapping. Protected fields like prices and tokens are never touched.

03

Patch

Response is transformed locally in-memory before your code sees it. Patch is cached โ€” no repeated AI calls.

Setup in 30 seconds

Wrap your existing HTTP client. That's the only change you need.

app.ts
1import { Poly } from "pritpolytt-sdk"
2import axios from "axios"
3
4// Initialize with your API key
5Poly.init({ apiKey: "poly_live_xxx" })
6
7// Wrap your HTTP client โ€” that's it!
8Poly.wrap(axios)

Built for production

Every design decision prioritizes reliability, security, and developer experience.

7 Drift Types

Auto-detected

Field renames, type changes, removals, additions, nested shifts, enum changes, and structure reordering โ€” caught before they crash your app.

renametyperemovenestedenumorderadd

Protected Fields

Zero data leaks

Mark prices, payments, auth tokens, or any field as protected. Poly will never include them in AI analysis โ€” guaranteed.

protected: ["price", "token", "ssn"]

Zero Proxy

Runs locally

Your traffic never routes through Poly servers. The SDK runs entirely in your process โ€” intercepting and patching locally.

Patch Cache

Instant reuse

Identical drift patterns are fixed instantly from local cache โ€” no repeated AI calls needed.

Confidence Scores

AI-powered

Every patch scored 0โ€“100%. Set thresholds to auto-apply high-confidence patches, review the rest.

Rule Engine

Override AI with custom rules. Force specific field mappings, block changes on critical endpoints, or whitelist trusted APIs โ€” you're in control.

Your data stays yours

Poly was designed with privacy as a first principle. Here's exactly what happens.

Stays in your process

  • โœ“ Full API response payloads โ€” never leave your machine
  • โœ“ User data, PII, business logic โ€” stays local
  • โœ“ Auth tokens, API keys, secrets โ€” never transmitted
  • โœ“ Patches apply in-memory โ€” zero latency

Sent to Poly Cloud (only)

  • โ†’ Field names and types โ€” full_name โ†’ name
  • โ†’ Schema structure โ€” nesting, arrays, enums
  • โ†’ Drift type classification โ€” rename, remove, etc.
  • โ†’ No values, no payloads โ€” just shapes
Free during beta

$0/month

No credit card. No limits. We're building in public and want your feedback.

Unlimited API calls Unlimited endpoints Priority support

Stop fearing API changes.

Install Poly, wrap your HTTP client, and never deal with a breaking API change again.

npm i github:Pritahi/poly-sdk